Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 250600 - app-admin/jinit fails to build with GCC 4.3
Summary: app-admin/jinit fails to build with GCC 4.3
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Ryan Hill (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-4.3
  Show dependency tree
 
Reported: 2008-12-11 10:47 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-01-07 23:52 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (jinit-0.1.12:20081211-045048.log,5.25 KB, text/plain)
2008-12-11 10:49 UTC, Diego Elio Pettenò (RETIRED)
Details
updated ebuild (jinit-0.1.12-r1.ebuild,786 bytes, text/plain)
2009-01-04 10:55 UTC, Michael Mair-Keimberger
Details
gcc43 patch (jinit-0.1.12-gcc43.patch,297 bytes, text/plain)
2009-01-04 10:56 UTC, Michael Mair-Keimberger
Details

Note You need to log in before you can comment on or make changes to this bug.
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.