Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 250600

Summary: app-admin/jinit fails to build with GCC 4.3
Product: Gentoo Linux Reporter: Diego Elio Pettenò (RETIRED) <flameeyes>
Component: New packagesAssignee: Ryan Hill (RETIRED) <rhill>
Status: RESOLVED FIXED    
Severity: normal CC: esigra, maintainer-needed, miki3
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 198121    
Attachments: Build log
updated ebuild
gcc43 patch

Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-11 10:47:36 UTC
Check attached build log.
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2008-12-11 10:49:25 UTC
Created attachment 174939 [details]
Build log
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-12-14 00:36:03 UTC
mine
Comment 3 Michael Mair-Keimberger 2009-01-04 10:55:21 UTC
If tried to fix this problem and created an gcc43 patch. Now it compiles fine, but it cant be installed due to a files collision with /sbin/shutdown from sys-apps/sysvinit
Maybe a RDEPEND="!sys-apps/sysvinit" in the ebuild would help, since jinit is a alternative to sysvinit, but i actually haven't add it to the ebuild.
Comment 4 Michael Mair-Keimberger 2009-01-04 10:55:59 UTC
Created attachment 177320 [details]
updated ebuild
Comment 5 Michael Mair-Keimberger 2009-01-04 10:56:26 UTC
Created attachment 177321 [details]
gcc43 patch
Comment 6 Ryan Hill (RETIRED) gentoo-dev 2009-01-07 23:20:38 UTC
make[3]: Entering directory `/var/tmp/portage/app-admin/jinit-0.1.12/work/jinit-0.1.12/init_ipc'
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -O3 -march=core2 -fomit-frame-pointer -pipe -MT init_ipc.o -MD -MP -MF ".deps/init_ipc.Tpo" -c -o init_ipc.o init_ipc.cc; \
        then mv -f ".deps/init_ipc.Tpo" ".deps/init_ipc.Po"; else rm -f ".deps/init_ipc.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -O3 -march=core2 -fomit-frame-pointer -pipe -MT Init.o -MD -MP -MF ".deps/Init.Tpo" -c -o Init.o Init.cc; \
        then mv -f ".deps/Init.Tpo" ".deps/Init.Po"; else rm -f ".deps/Init.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -O3 -march=core2 -fomit-frame-pointer -pipe -MT User.o -MD -MP -MF ".deps/User.Tpo" -c -o User.o User.cc; \
        then mv -f ".deps/User.Tpo" ".deps/User.Po"; else rm -f ".deps/User.Tpo"; exit 1; fi
if x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I.. -I..    -O3 -march=core2 -fomit-frame-pointer -pipe -MT sysvq.o -MD -MP -MF ".deps/sysvq.Tpo" -c -o sysvq.o sysvq.cc; \
        then mv -f ".deps/sysvq.Tpo" ".deps/sysvq.Po"; else rm -f ".deps/sysvq.Tpo"; exit 1; fi
In file included from InitConnection.hh:10,
                 from Init.cc:15:
../init/Respawner.hh: In member function 'void Respawner::init_utmp(utmp&)':
../init/Respawner.hh:161: error: cannot convert 'utmp::<anonymous struct>*' to 'timeval*' for argument '1' to 'int gettimeofday(timeval*, timezone*)'
make[3]: *** [Init.o] Error 1
Comment 7 Ryan Hill (RETIRED) gentoo-dev 2009-01-07 23:52:00 UTC
helps if i build it on a platform its keyworded on.

thanks for the patch.