Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 278026 - sys-devel/m4 has automagic dependency on dev-libs/libsigsegv
Summary: sys-devel/m4 has automagic dependency on dev-libs/libsigsegv
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 296427
  Show dependency tree
 
Reported: 2009-07-16 09:56 UTC by Ruslan U. Zakirov
Modified: 2010-03-31 11:51 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ruslan U. Zakirov 2009-07-16 09:56:56 UTC
Very long chain of events: emerge --deep --newuse world; emerge --depclean; incorrect gcc profile; gcc-config new profile mentions GCC_SPEC and suggests rebuilding gcc. emerge gcc fails with the following errors:

/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/./prev-gcc/xgcc -B/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/b
uild/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c   -march=k8 -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing
-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                                
  -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -Itreelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc -I/mnt
/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-
4.3.2/gcc/../include -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcpp/include  -I/mnt/storage/var/tmp/por
tage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../
libdecnumber/bid -I../libdecnumber    /mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang/tree1.c -o treelang/t
ree1.o
bison  -v --defines --output=treelang/parse.c /mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang/parse.y
m4: error while loading shared libraries: libsigsegv.so.0: cannot open shared object file: No such file or directory
bison: subsidiary program `m4' not found
make[3]: [treelang/parse.h] Ошибка 1 (игнорирована)
/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/./prev-gcc/xgcc -B/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/b
uild/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c   -march=k8 -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing
-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                                
  -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -Itreelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc -I/mnt
/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-
4.3.2/gcc/../include -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcpp/include  -I/mnt/storage/var/tmp/por
tage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../
libdecnumber/bid -I../libdecnumber    /mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang/treetree.c -o treelan
g/treetree.o 
/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/./prev-gcc/xgcc -B/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c   -march=k8 -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                                  -Wno-overlength-strings    -DHAVE_CONFIG_H -I. -Itreelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../include -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcpp/include  -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber/bid -I../libdecnumber    /mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang/tree-convert.c -o treelang/tree-convert.o
flex  -otreelang/lex.c /mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang/lex.l
m4: error while loading shared libraries: libsigsegv.so.0: cannot open shared object file: No such file or directory
make[3]: *** [treelang/lex.c] Обрыв канала
/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/./prev-gcc/xgcc -B/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c   -march=k8 -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                                
  -Wno-overlength-strings  -Wno-error  -DHAVE_CONFIG_H -I. -Itreelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../include -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcpp/include  -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber/bid -I../libdecnumber    treelang/lex.c -o treelang/lex.o
treelang/lex.c:1: предупреждение: ISO C forbids an empty source file
bison  -v --defines --output=treelang/parse.c /mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang/parse.y
m4: error while loading shared libraries: libsigsegv.so.0: cannot open shared object file: No such file or directory
make[3]: *** [treelang/parse.c] Обрыв канала
/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/./prev-gcc/xgcc -B/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/./prev-gcc/ -B/usr/x86_64-pc-linux-gnu/bin/ -c   -march=k8 -pipe -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros                                  -Wno-overlength-strings  -Wno-error  -DHAVE_CONFIG_H -I. -Itreelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/treelang -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../include -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libcpp/include  -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber -I/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/gcc-4.3.2/gcc/../libdecnumber/bid -I../libdecnumber    treelang/parse.c -o treelang/parse.o
xgcc: treelang/parse.c: Нет такого файла или каталога
xgcc: не заданы входные файлы
make[3]: *** [treelang/parse.o] Ошибка 1
make[3]: Leaving directory `/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build/gcc'
make[2]: *** [all-stage2-gcc] Ошибка 2
make[2]: Leaving directory `/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
make[1]: *** [stage2-bubble] Ошибка 2
make[1]: Leaving directory `/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/work/build'
make: *** [bootstrap-lean] Ошибка 2
 *
 * ERROR: sys-devel/gcc-4.3.2-r3 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 4885:  Called toolchain_src_compile
 *             environment, line 5411:  Called gcc_src_compile
 *             environment, line 3109:  Called gcc_do_make
 *             environment, line 2899:  Called die
 * The specific snippet of code:
 *       emake LDFLAGS="${LDFLAGS}" STAGE1_CFLAGS="${STAGE1_CFLAGS}" LIBPATH="${LIBPATH}" BOOT_CFLAGS="${BOOT_CFLAGS}" ${GCC_MAKE_TARGET} || die "emake failed with ${GCC_MAKE_TARGET}";
 *  The die message:
 *   emake failed with bootstrap-lean
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/build.log'.
 * The ebuild environment file is located at '/mnt/storage/var/tmp/portage/sys-devel/gcc-4.3.2-r3/temp/environment'.
 *

>>> Failed to emerge sys-devel/gcc-4.3.2-r3, Log file:
...


Going to install the lib and try again.

Reproducible: Always




emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.26-gentoo-r1-c27 x86_64)=================================================================System uname: Linux-2.6.26-gentoo-r1-c27-x86_64-AMD_Athlon-tm-_64_Processor_2800+-with-gentoo-2.0.1
Timestamp of tree: Wed, 15 Jul 2009 23:30:01 +0000
app-shells/bash:     4.0_p24
dev-lang/python:     2.6.2-r1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r3
sys-apps/sandbox:    2.0
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.19.1-r1
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -pipe -O2"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/locale/en_US.UTF-8 /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"CXXFLAGS="-march=k8 -pipe -O2"DISTDIR="/mnt/storage/var/distfiles"FEATURES="distlocks fixpackages nodoc noinfo parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"GENTOO_MIRRORS="ftp://mirror.yandex.ru/gentoo-distfiles/ ftp://ftp.linux.ee/pub/gentoo/distfiles/ http://mirror.gentoo.gr.jp"LANG="ru_RU.UTF-8"LC_ALL=""LDFLAGS="-Wl,-O1"LINGUAS="en ru"MAKEOPTS="-j1"
PKGDIR="/mnt/storage/var/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/mnt/storage/var/tmp"
PORTDIR="/mnt/storage/var/portage"
PORTDIR_OVERLAY="/mnt/storage/var/layman/perl-experimental"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cscope dbus dga dio djvu doc dri dvd dvdr dvdread emboss encode evo exif expat fam fastcgi ffmpeg firefox flac ftp gd gdbm gif gimp gnutls gtk hal http icecast iconv icq id3 imap innodb isdnlog jpeg jpeg2k kde lcms ldap libwww lm_sensors maildir midi mikmod mime mmap mmx mozdevelop mozilla moznocompose moznoirc mozsvg mp3 mpeg mudflap multilib musepack mysql ncurses nls nntp nojoystick nptl nptlonly nsplugin ogg oggvorbis opengl openmp pam pcre pdf pdflib perl png posix postgres ppds pppd qt3 qt3support qt4 quicktime readline reflection samba scanner sdl session spell spl sqlite sse sse2 ssl startup-notification svg symlink sysfs syslog tcpd tiff truetype udev unicode urandom usb userlocales vim-syntax vorbis wavpack xattr xml xml2 xorg xscreensaver xsl xulrunner xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias   auth_basic auth_digest authn_default authz_default authz_host authz_user        cache charset_lite deflate         deflate dir env expires file_cache filter headers info log_config       mime mime_magic rewrite setenvif status userdir unique_id usertrack version" APACHE2_MPMS="prefork" ELIBC="glibc" INPUT_DEVICES="keyboard evdev joystick" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en ru" USERLAND="GNU" VIDEO_CARDS="radeon"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Marijn Schouten (RETIRED) gentoo-dev 2009-07-16 10:26:21 UTC
please provide "eix libsigsegv" output.
Comment 2 Ruslan U. Zakirov 2009-07-16 12:30:29 UTC
installed libsigsegv and was able to re-emerge gcc
Comment 3 Ruslan U. Zakirov 2009-07-16 12:32:11 UTC
Regarding request for additional info: libsigsegv was not installed on my system. May be it was earlier, but --depclean deleted it. I've looked into gcc's ebuilds and the lib is not listed as dependency.
Comment 4 Wormo (RETIRED) gentoo-dev 2009-07-17 07:03:58 UTC
It looks like m4 was linked against libsigsegv:

m4: error while loading shared libraries: libsigsegv.so.0: cannot open shared
object file: No such file or directory
bison: subsidiary program `m4' not found

However, it did not have an explicit dependency on libsigsegv, but rather found it happened to be installed and used it. Thus m4 got broken when you did a depclean and whatever package explicitly asked for libsigsegv was gone.
Comment 5 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-31 11:51:11 UTC
Fixed in 1.4.14-r1.