This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 271147 - ELF files no longer recognised in "build result"
Summary: ELF files no longer recognised in "build result"
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.2
Hardware: PC Linux
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-24 07:07 UTC by hurricane
Modified: 2017-08-12 07:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description hurricane 2017-07-24 07:07:36 UTC
Until recently, whenever I was asking to debug a native C++ program, Netbeans would ask me to select what executable to debug by giving me a list of all binaries from all directories in the "prefix" build target.

Now it does not do it anymore.

I tried closing Netbeans and rebuilding the project from the start (configure.ac -> configure -> ...) then restarting Netbeans, but the issue remains.

Then I tried to manually select the executable, but I don't see any file in the directory.  If I switch from "Elf Executable Files" to "All Binary Files", I see them.

The file I was trying to point to is clearly an ELF:

/tmp/build/bin/project: ELF 64-bit LSB shared object, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, with debug_info, not stripped
Comment 1 soldatov 2017-07-24 08:22:16 UTC
> /tmp/build/bin/project: ELF 64-bit LSB *shared object*
'file' util can't recognize your file too. I think you speak about https://netbeans.org/bugzilla/show_bug.cgi?id=246757
Comment 2 hurricane 2017-07-24 10:00:07 UTC
(In reply to soldatov from comment #1)
> > /tmp/build/bin/project: ELF 64-bit LSB *shared object*
> 'file' util can't recognize your file too. I think you speak about
> https://netbeans.org/bugzilla/show_bug.cgi?id=246757

You may be right. I'm puzzled as why it worked as expected until at least the 11th of June.