for details of box see https://bugs.gentoo.org/936058 See for box emerge --info Does not build for over 2 weeks * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' /var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/environment: line 1258: 687 Segmentation fault ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" * ERROR: app-text/ghostscript-gpl-10.03.1::gentoo failed (prepare phase): * eltpatch failed * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2129: Called eautoreconf * environment, line 1223: Called elibtoolize '--force' '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1/ijs' * environment, line 1260: Called die * The specific snippet of code: * ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-10.03.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-10.03.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1/ijs' * S: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1' with gcc 13 and 14 just now tested with gcc 11 both do not build with gcc13 and gcc14 10.03.0-r1 | + ~ + + + + + + ~ ~ ~ ~ ~ ~ ~ | 8 # 0/10.03 | gentoo 10.03.1 | + ~ + + + + + + ~ ~ ~ ~ ~ ~ ~ | 8 o | gentoo -- Sienna_Cichlid /home/roman # emerge -av =ghostscript-gpl-10.03.0-r1 These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 0.96 s (backtrack: 0/20). [ebuild N ] app-text/ghostscript-gpl-10.03.0-r1:0/10.03::gentoo USE="dbus (unicode) -X -cups -gtk -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-text/ghostscript-gpl-10.03.0-r1::gentoo * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' /var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/temp/environment: line 1258: 687 Segmentation fault ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" * ERROR: app-text/ghostscript-gpl-10.03.0-r1::gentoo failed (prepare phase): * eltpatch failed * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2129: Called eautoreconf * environment, line 1223: Called elibtoolize '--force' '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/work/ghostscript-10.03.0/ijs' * environment, line 1260: Called die * The specific snippet of code: * ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-10.03.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-10.03.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/work/ghostscript-10.03.0/ijs' * S: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/work/ghostscript-10.03.0' Sienna_Cichlid /home/roman # gcc-config -l [1] x86_64-pc-linux-gnu-11 * [2] x86_64-pc-linux-gnu-13 [3] x86_64-pc-linux-gnu-14 Sienna_Cichlid /home/roman # gcc-config 3 * Switching native-compiler to x86_64-pc-linux-gnu-14 ... >>> Regenerating /etc/ld.so.cache... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * . /etc/profile Sienna_Cichlid /home/roman # source /etc/profile Most other stuff does build - hard to find error when 98% of the packages build. Box up to date -> Can not finish update because package fails to build * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: /var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/temp/environment: line 1258: 687 Segmentation fault ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" * ERROR: app-text/ghostscript-gpl-10.03.0-r1::gentoo failed (prepare phase): * eltpatch failed * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2129: Called eautoreconf * environment, line 1223: Called elibtoolize '--force' '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/work/ghostscript-10.03.0/ijs' * environment, line 1260: Called die * The specific snippet of code: * ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-10.03.0-r1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-10.03.0-r1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/work/ghostscript-10.03.0/ijs' * S: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.0-r1/work/ghostscript-10.03.0' Sienna_Cichlid /home/roman # emerge -av ghostscript-gpl These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 0.95 s (backtrack: 0/20). [ebuild N ] app-text/ghostscript-gpl-10.03.1:0/10.03::gentoo USE="dbus (unicode) -X -cups -gtk -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: /var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/environment: line 1258: 687 Segmentation fault ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" * ERROR: app-text/ghostscript-gpl-10.03.1::gentoo failed (prepare phase): * eltpatch failed * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2129: Called eautoreconf * environment, line 1223: Called elibtoolize '--force' '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1/ijs' * environment, line 1260: Called die * The specific snippet of code: * ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-10.03.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-10.03.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1/ijs' * S: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1' Sienna_Cichlid /home/roman # emerge -av =ghostscript-gpl-10.02.1 These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 0.97 s (backtrack: 0/20). [ebuild N ] app-text/ghostscript-gpl-10.02.1:0/10.02::gentoo USE="dbus (unicode) -X -cups -gtk -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' /var/tmp/portage/app-text/ghostscript-gpl-10.02.1/temp/environment: line 1258: 687 Segmentation fault ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" * ERROR: app-text/ghostscript-gpl-10.02.1::gentoo failed (prepare phase): * eltpatch failed * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2129: Called eautoreconf * environment, line 1223: Called elibtoolize '--force' '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/work/ghostscript-10.02.1/ijs' * environment, line 1260: Called die * The specific snippet of code: * ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-10.02.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-10.02.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/work/ghostscript-10.02.1/ijs' * S: '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/work/ghostscript-10.02.1' Sienna_Cichlid /home/roman # emerge -pv ghostscript-gpl These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 0.99 s (backtrack: 0/20). [ebuild N ] app-text/ghostscript-gpl-10.03.1:0/10.03::gentoo USE="dbus (unicode) -X -cups -gtk -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Sienna_Cichlid /home/roman # echo "app-text/ghostscript-gpl -dbus" >> /etc/portage/package.use Sienna_Cichlid /home/roman # emerge -av ghostscript-gpl These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 0.95 s (backtrack: 0/20). [ebuild N ] app-text/ghostscript-gpl-10.03.1:0/10.03::gentoo USE="(unicode) -X -cups -dbus -gtk -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] So without any use flags - fails to build * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: /var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/environment: line 1258: 687 Segmentation fault ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" * ERROR: app-text/ghostscript-gpl-10.03.1::gentoo failed (prepare phase): * eltpatch failed * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2129: Called eautoreconf * environment, line 1223: Called elibtoolize '--force' '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1/ijs' * environment, line 1260: Called die * The specific snippet of code: * ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-10.03.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-10.03.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1/ijs' * S: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1' Sienna_Cichlid /home/roman # gcc-config -l [1] x86_64-pc-linux-gnu-11 [2] x86_64-pc-linux-gnu-13 [3] x86_64-pc-linux-gnu-14 * Sienna_Cichlid /home/roman # gcc-config 1 * Switching native-compiler to x86_64-pc-linux-gnu-11 ... >>> Regenerating /etc/ld.so.cache... [ ok ] * If you intend to use the gcc from the new profile in an already * running shell, please remember to do: * . /etc/profile Sienna_Cichlid /home/roman # source /etc/profile Sienna_Cichlid /home/roman # emerge -av =emerge: command-line interface to the Portage system Usage: emerge [ options ] [ action ] [ ebuild | tbz2 | file | @set | atom ] [ ... ] emerge [ options ] [ action ] < @system | @world > emerge < --sync | --metadata | --info > emerge --resume [ --pretend | --ask | --skipfirst ] emerge --help Options: -[abBcCdDefgGhjkKlnNoOpPqrsStuUvVwW] [ --color < y | n > ] [ --columns ] [ --complete-graph ] [ --deep ] [ --jobs JOBS ] [ --keep-going ] [ --load-average LOAD ] [ --newrepo ] [ --newuse ] [ --noconfmem ] [ --nospinner ] [ --oneshot ] [ --onlydeps ] [ --quiet-build [ y | n ] ] [ --reinstall changed-use ] [ --with-bdeps < y | n > ] Actions: [ --depclean | --list-sets | --search | --sync | --version ] For more help consult the man page. Sienna_Cichlid /home/roman # =^C Sienna_Cichlid /home/roman # emerge -av =ghostscript-gpl-10.02.1 These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 0.97 s (backtrack: 0/20). [ebuild N ] app-text/ghostscript-gpl-10.02.1:0/10.02::gentoo USE="(unicode) -X -cups -dbus -gtk -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] So old trick building with less use flags also does not work * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: /var/tmp/portage/app-text/ghostscript-gpl-10.02.1/temp/environment: line 1258: 687 Segmentation fault ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" * ERROR: app-text/ghostscript-gpl-10.02.1::gentoo failed (prepare phase): * eltpatch failed * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2129: Called eautoreconf * environment, line 1223: Called elibtoolize '--force' '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/work/ghostscript-10.02.1/ijs' * environment, line 1260: Called die * The specific snippet of code: * ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-10.02.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-10.02.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/work/ghostscript-10.02.1/ijs' * S: '/var/tmp/portage/app-text/ghostscript-gpl-10.02.1/work/ghostscript-10.02.1' -- Please fix that Reproducible: Always
Created attachment 897618 [details] emerge --info
None of the packages in portage tree does build for whatever reason
I'll remove those test changes Sienna_Cichlid /home/roman # tail -2 /etc/portage/package.use app-text/ghostscript-gpl -gtk -cups -X app-text/ghostscript-gpl -dbus I only added those to find root cause in the first place anyway
Sienna_Cichlid /home/roman # nano /etc/portage/package.use Sienna_Cichlid /home/roman # gcc-config -l [1] x86_64-pc-linux-gnu-11 * [2] x86_64-pc-linux-gnu-13 [3] x86_64-pc-linux-gnu-14 Sienna_Cichlid /home/roman # emerge -av ghostscript-gpl These are the packages that would be merged, in order: Calculating dependencies... done! Dependency resolution took 0.97 s (backtrack: 0/20). [ebuild N ] app-text/ghostscript-gpl-10.03.1:0/10.03::gentoo USE="X cups dbus gtk (unicode) -static-libs" L10N="-de (-ja) -ko -zh-CN -zh-TW" 0 KiB Total: 1 package (1 new), Size of downloads: 0 KiB Would you like to merge these packages? [Yes/No] >>> Verifying ebuild manifests >>> Emerging (1 of 1) app-text/ghostscript-gpl-10.03.1::gentoo * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' * yesno: invalid argument: '/etc/init.d/display-manager' /var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/environment: line 1258: 686 Segmentation fault ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" * ERROR: app-text/ghostscript-gpl-10.03.1::gentoo failed (prepare phase): * eltpatch failed * * Call stack: * ebuild.sh, line 136: Called src_prepare * environment, line 2129: Called eautoreconf * environment, line 1223: Called elibtoolize '--force' '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1/ijs' * environment, line 1260: Called die * The specific snippet of code: * ELT_LOGDIR=${T} LD=$(tc-getLD) eltpatch "${@}" || die "eltpatch failed" * * If you need support, post the output of `emerge --info '=app-text/ghostscript-gpl-10.03.1::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-text/ghostscript-gpl-10.03.1::gentoo'`. * The complete build log is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/temp/environment'. * Working directory: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1/ijs' * S: '/var/tmp/portage/app-text/ghostscript-gpl-10.03.1/work/ghostscript-10.03.1'
Your bash appears to be segfaulting. Try get a backtrace please.
Please attach the environment file as well. I suspect you have EINFO_VERBOSE or some related variable set to a strange value. Set the status to UNCONFIRMED once the requesting info has been provided.
Please provide the information requested in https://bugs.gentoo.org/936613#c2.
*** This bug has been marked as a duplicate of bug 936613 ***