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 258946 - Netbeans does not parse error line using a custom makefile
Summary: Netbeans does not parse error line using a custom makefile
Status: RESOLVED INCOMPLETE
Alias: None
Product: cnd
Classification: Unclassified
Component: Toolchain (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-21 12:19 UTC by francogp
Modified: 2016-06-16 13:22 UTC (History)
1 user (show)

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 francogp 2016-04-21 12:19:04 UTC
I can't click and go to the error line. Here's an example:

------------------------------------------------------------------------
gcc -fno-pic -static -fno-builtin -fno-strict-aliasing -fvar-tracking -fvar-tracking-assignments -O0 -g -Wall -MD -gdwarf-2 -m32 -Werror -fno-omit-frame-pointer -fno-stack-protector   -c -o user/forktest.o user/forktest.c
user/forktest.c: In function ‘forktest’:                                                                                                                                          
user/forktest.c:28:14: error: ‘ss’ undeclared (first use in this function)                                                                                                        
       exit();ss;
              ^                                                                                                                                                                   
user/forktest.c:28:14: note: each undeclared identifier is reported only once for each function it appears in                                                                     
<integrado>: fallo en las instrucciones para el objetivo 'user/forktest.o'
make: *** [user/forktest.o] Error 1

RUN FINISHED; exit value 2; real time: 830ms; user: 30ms; system: 20ms
------------------------------------------------------------------------

I should be able to click on user/forktest.c:28:14 and go there.
Comment 1 Alexander Simon 2016-06-16 13:22:43 UTC
It seems the build log parser cannot find source file "user/forktest.c".
If build log contains relative path to source file, the build log parser rely on additional info such as:
- working directory
- commands "cd"
- make output "make Entering", "make Leaving", "Making all in"
If you build procedure does not print "helper info", the build log parser cannot find source file.

I cannot detect the problem without additional info:
- full build log
- project structure

I checked that mentioned strings are detected as hyperlink.