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 179858 - Sun Studio toolchain: "Job errors" in Output tab
Summary: Sun Studio toolchain: "Job errors" in Output tab
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-26 02:37 UTC by soldatov
Modified: 2010-02-09 10:03 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 soldatov 2010-01-26 02:37:00 UTC
~10 automatic tests fails with "Output tab contains warnings" message

dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
ifdefqe-02 --> 1 job
ifdefqe-02 --> 1 job
/opt/sun/sunstudio12.1/bin/dmake -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
/opt/sun/sunstudio12.1/bin/dmake  -f nbproject/Makefile-Debug.mk dist/Debug/SunStudio-Linux-x86/welcome_3
ifdefqe-02 --> 1 job
mkdir -p build/Debug/SunStudio-Linux-x86
CC    -c -g -o build/Debug/SunStudio-Linux-x86/welcome.o welcome.cc
ifdefqe-02 --> Job errors
ifdefqe-02 --> 1 job
mkdir -p dist/Debug/SunStudio-Linux-x86
CC    -o dist/Debug/SunStudio-Linux-x86/welcome_3 build/Debug/SunStudio-Linux-x86/welcome.o  
ifdefqe-02 --> Job errors
BUILD SUCCESSFUL (total time: 2s)

Scenario:
- Create Welcome
- Select Sun Studio toolchain
- Build project
==> "Job errors" in Output tab
Comment 1 Alexander Simon 2010-02-03 12:37:01 UTC
Repeatable on Solaris.
It is a Makeproject bug because make from popup menu on makefile node work without such logging.
Comment 2 Andrew Krasny 2010-02-08 09:44:58 UTC
Actually, this is not a bug ;)

When SPRO_EXPAND_ERRORS is used (as in our case), dmake does output to stderr even if there is no any compilation error. [but only in case if it is not merged with stdout]

See:

bash-3.00$ SPRO_EXPAND_ERRORS= dmake clean build 1>/dev/null
redbox --> Job errors
(/tmp/Welcome_4)welcome.cc:
:(/tmp/Welcome_4)welcome.cc
redbox --> Job errors
(/tmp/Welcome_4)build/Debug/SunStudio_12-Solaris-x86/welcome.o:
:(/tmp/Welcome_4)build/Debug/SunStudio_12-Solaris-x86/welcome.o
bash-3.00$
Comment 3 Alexander Simon 2010-02-08 09:59:46 UTC
Added two filter outs:
.* --> Job errors$
.* --> Job output$

change set:
http://hg.netbeans.org/cnd-main?cmd=changeset;node=f520b762a379
Comment 4 Quality Engineering 2010-02-08 21:40:24 UTC
Integrated into 'main-golden', will be available in build *201002090200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/f520b762a379
User: Alexander Simon <alexvsimon@netbeans.org>
Log: fixed BZ#179858 Sun Studio toolchain: "Job errors" in Output tab