Summary: | app-admin/jinit fails to build with GCC 4.3 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | 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)
2008-12-11 10:47:36 UTC
Created attachment 174939 [details]
Build log
mine 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. Created attachment 177320 [details]
updated ebuild
Created attachment 177321 [details]
gcc43 patch
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 helps if i build it on a platform its keyworded on. thanks for the patch. |