Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 173154 - Segmentation fault on emerge world with copy to init.d
Summary: Segmentation fault on emerge world with copy to init.d
Status: RESOLVED DUPLICATE of bug 20600
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2007-04-02 15:55 UTC by Dick Kniep
Modified: 2007-04-04 07:14 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Dick Kniep 2007-04-02 15:55:55 UTC
linserver32 ~ # emerge world
Calculating world dependencies... done!

>>> Emerging (1 of 17) sys-apps/baselayout-1.12.9 to /
 * baselayout-1.12.9.tar.bz2 MD5 ;-) ...                                                                                                                            [ ok ]
 * baselayout-1.12.9.tar.bz2 RMD160 ;-) ...                                                                                                                         [ ok ]
 * baselayout-1.12.9.tar.bz2 SHA1 ;-) ...                                                                                                                           [ ok ]
 * baselayout-1.12.9.tar.bz2 SHA256 ;-) ...                                                                                                                         [ ok ]
 * baselayout-1.12.9.tar.bz2 size ;-) ...                                                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                                [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                               [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                                              [ ok ]
 * checking baselayout-1.12.9.tar.bz2 ;-) ...                                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking baselayout-1.12.9.tar.bz2 to /var/tmp/portage/sys-apps/baselayout-1.12.9/work
>>> Source unpacked.
/usr/lib/portage/bin/ line 906: 13187 Segmentation fault      cp "${EBUILD}" "build-info/${PF}.ebuild"
>>> Compiling source in /var/tmp/portage/sys-apps/baselayout-1.12.9/work/baselayout-1.12.9 ...
make: Entering directory `/var/tmp/portage/sys-apps/baselayout-1.12.9/work/baselayout-1.12.9/src'
i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -DLIBDIR=\"lib\"    consoletype.c   -o consoletype
i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -DLIBDIR=\"lib\"   -c -o runscript.o runscript.c
i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -DLIBDIR=\"lib\" -c -o rs-misc.o core/misc.c
i686-pc-linux-gnu-gcc   -o runscript runscript.o rs-misc.o -ldl
i686-pc-linux-gnu-gcc -march=pentium3 -O2 -pipe -fomit-frame-pointer -DLIBDIR=\"lib\"  -o start-stop-daemon start-stop-daemon.c
make: Leaving directory `/var/tmp/portage/sys-apps/baselayout-1.12.9/work/baselayout-1.12.9/src'
>>> Source compiled.
/usr/lib/portage/bin/ line 906: 13294 Segmentation fault      cp "${EBUILD}" "${PF}.ebuild"
>>> Test phase [not enabled]: sys-apps/baselayout-1.12.9

>>> Install baselayout-1.12.9 into /var/tmp/portage/sys-apps/baselayout-1.12.9/image/ category sys-apps
 * Creating directories...
/usr/portage/sys-apps/baselayout/baselayout-1.12.9.ebuild: line 147: 13644 Segmentation fault      cp -P "${S}"/init.d/* "${D}"/etc/init.d/

!!! ERROR: sys-apps/baselayout-1.12.9 failed.
Call stack:, line 1614:   Called dyn_install, line 1060:   Called qa_call 'src_install'
  environment, line 3453:   Called src_install
  baselayout-1.12.9.ebuild, line 275:   Called die

!!! doinitd
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/sys-apps/baselayout-1.12.9/temp/build.log'.

Reproducible: Always

Steps to Reproduce:
1.emerge world....

Actual Results:  
I don't know if it reproducable on any installation. Here it crashes all the time. Have been messing around with the USE switches of SSH, and have recompiled the kernel several times because there were problems with NFS

Expected Results:  
Upgraded system
Comment 1 SpanKY gentoo-dev 2007-04-02 16:09:56 UTC
if `cp` is segfaulting, it's hardly baselayout's fault

verify there's nothing in `dmesg` and your hardware is sane
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-04-04 07:14:38 UTC
Well, see above.

*** This bug has been marked as a duplicate of bug 20600 ***