Bug 831334 - doxygen-1.4.7-2 can't be rebuild in mock
Summary: doxygen-1.4.7-2 can't be rebuild in mock
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: doxygen
Version: 5.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Than Ngo
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-06-12 19:34 UTC by Levente Farkas
Modified: 2012-06-14 13:00 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-14 13:00:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build.log (54.45 KB, text/x-log)
2012-06-13 11:50 UTC, Levente Farkas
no flags Details
root.log (37.80 KB, text/x-log)
2012-06-13 11:50 UTC, Levente Farkas
no flags Details

Description Levente Farkas 2012-06-12 19:34:28 UTC
g++ -c -pipe -Wall -W -fno-exceptions -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m32 -march=i386 -mtune=generic -fasynchronous-unwind-tabl
es -DNO_DEBUG -I../../src -I/usr/lib/qt-3.3/include -o obj/moc_doxywizard.o moc/moc_doxywizard.cpp                                                                                                  
<stdout>: In function 'void configYY_init_buffer(yy_buffer_state*, FILE*)':                                                                                                                         
<stdout>:2131: error: 'isatty' was not declared in this scope                                                                                                                                       
gmake[2]: *** [obj/config.o] Error 1                                                                                                                                                                
gmake[2]: *** Waiting for unfinished jobs....                                                                                                                                                       
input.h:7: warning: 'class IInput' has virtual functions but non-virtual destructor                                                                                                                 
gmake[2]: Leaving directory `/builddir/build/BUILD/doxygen-1.4.7/addon/doxywizard'                                                                                                                  
gmake[1]: *** [all] Error 2                                                                                                                                                                         
gmake[1]: Leaving directory `/builddir/build/BUILD/doxygen-1.4.7/addon/doxywizard'                                                                                                                  
make: *** [all] Error 2

Comment 1 Than Ngo 2012-06-13 09:46:08 UTC
strange, i don't see this issue in our build system. it looks like you have new gcc version which requires #include <unistd.h>.

Could you please attach your build.log and root.log?

thanks

Comment 2 Levente Farkas 2012-06-13 11:49:37 UTC
it's a fully updated 5.8. ie with gcc-4.1.2-52.el5_8.1.
do you build on base 5.8 or updated 5.8?

Comment 3 Levente Farkas 2012-06-13 11:50:07 UTC
Created attachment 591454 [details]
build.log

Comment 4 Levente Farkas 2012-06-13 11:50:28 UTC
Created attachment 591455 [details]
root.log

Comment 5 Than Ngo 2012-06-13 15:56:46 UTC
I rebuilt doxygen with the rhel-5.8 (with all latest updates) without any problem.
Your root.log file tell me that you are using flex from media repository,
it's not the version shipped in rhel!

---
Package                 Arch      Version                   Repository   Size
flex                    i386      2.5.35-7.el5              media        308 k
--

I think it's the cause of this issue. Could you please use the flex version in rhel and try to rebuild doxygen again?

thanks

Comment 6 Levente Farkas 2012-06-13 17:20:16 UTC
sorry. you've got right:-(
anyway it'd be useful to be able to build with newer flex too.

Comment 7 Than Ngo 2012-06-14 13:00:57 UTC
The bug is caused in flex which generates config.cpp during the compiler process.
i recommend to not use new flex


Note You need to log in before you can comment on or make changes to this bug.