x86_64-pc-linux-gnu-gcc -O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -o .libs/mlviewctl -Wl,--export-dynamic mlviewctl.o mlview-dbus-cli.o -L/usr/lib64 /usr/lib64/libxslt.so -pthread /usr/lib64/libeel-2.so /usr/lib64/libgnomeui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libgailutil.so /usr/lib64/libglade-2.0.so /usr/lib64/libbonoboui-2.so /usr/lib64/libgnome-keyring.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libbonobo-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libbonobo-activation.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so -lrt /usr/lib64/libgtksourceview-1.0.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgnomeprint-2-2.so /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so -lm /usr/lib64/libpangocairo-1.0.so /usr/lib64/libcairo.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libxml2.so /usr/lib64/libpango-1.0.so /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so ./.libs/libmlviewdbusclient.so -lz creating mlviewctl x86_64-pc-linux-gnu-gcc -O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse -Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both -o .libs/mlview -Wl,--export-dynamic main.o -L/usr/lib64 -pthread ./.libs/libmlview.so recent-files/.libs/libeggrecent.a /usr/lib64/libxslt.so /usr/lib64/libeel-2.so /usr/lib64/libgnome-menu.so /usr/lib64/libfam.so /usr/lib64/libgnome-desktop-2.so /usr/lib64/libstartup-notification-1.so /usr/lib64/libXext.so /usr/lib64/libgnomeui-2.so /usr/lib64/libjpeg.so /usr/lib64/libgailutil.so /usr/lib64/libglade-2.0.so /usr/lib64/libbonoboui-2.so /usr/lib64/libSM.so /usr/lib64/libICE.so /usr/lib64/libgnome-keyring.so /usr/lib64/libgnomecanvas-2.so /usr/lib64/libgnome-2.so /usr/lib64/libpopt.so /usr/lib64/libbonobo-2.so /usr/lib64/libgnomevfs-2.so /usr/lib64/libdbus-glib-1.so /usr/lib64/libdbus-1.so /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so /usr/lib64/libgcrypt.so -lnsl /usr/lib64/libgpg-error.so -lresolv -lselinux -lutil /usr/lib64/libbonobo-activation.so /usr/lib64/libORBitCosNaming-2.so /usr/lib64/libgconf-2.so /usr/lib64/libORBit-2.so /usr/lib64/libgthread-2.0.so /usr/lib64/libgtksourceview-1.0.so /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgnomeprint-2-2.so -lrt /usr/lib64/libgdk-x11-2.0.so /usr/lib64/libatk-1.0.so /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libpangocairo-1.0.so /usr/lib64/libpangoft2-1.0.so /usr/lib64/libcairo.so /usr/lib64/libfontconfig.so /usr/lib64/libfreetype.so /usr/lib64/libdirectfb.so /usr/lib64/libfusion.so /usr/lib64/libdirect.so -lpthread /usr/lib64/libglitz.so /usr/lib64/libpng12.so /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libXau.so /usr/lib64/libXdmcp.so /usr/lib64/libart_lgpl_2.so /usr/lib64/libxml2.so /usr/lib64/libpango-1.0.so -lm /usr/lib64/libgobject-2.0.so /usr/lib64/libgmodule-2.0.so -ldl /usr/lib64/libglib-2.0.so -lz ./.libs/libmlview.so: undefined reference to `eel_gconf_get_string' ./.libs/libmlview.so: undefined reference to `glade_xml_signal_connect_data' ./.libs/libmlview.so: undefined reference to `glade_xml_new' ./.libs/libmlview.so: undefined reference to `gtk_source_view_set_show_line_numbers' ./.libs/libmlview.so: undefined reference to `xsltParseStylesheetDoc' ./.libs/libmlview.so: undefined reference to `gtk_source_view_set_tabs_width' ./.libs/libmlview.so: undefined reference to `xsltFreeStylesheet' ./.libs/libmlview.so: undefined reference to `gtk_source_languages_manager_get_language_from_mime_type' ./.libs/libmlview.so: undefined reference to `gtk_source_view_set_auto_indent' ./.libs/libmlview.so: undefined reference to `xsltApplyStylesheet' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_set_language' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_end_not_undoable_action' ./.libs/libmlview.so: undefined reference to `eel_gconf_get_integer' ./.libs/libmlview.so: undefined reference to `eel_gconf_client_get_global' ./.libs/libmlview.so: undefined reference to `eel_gconf_get_boolean' ./.libs/libmlview.so: undefined reference to `glade_xml_signal_autoconnect' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_get_type' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_undo' ./.libs/libmlview.so: undefined reference to `gtk_source_view_set_margin' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_set_highlight' ./.libs/libmlview.so: undefined reference to `glade_xml_get_widget' ./.libs/libmlview.so: undefined reference to `gtk_source_language_get_type' ./.libs/libmlview.so: undefined reference to `gtk_source_view_new' ./.libs/libmlview.so: undefined reference to `gtk_source_view_set_show_margin' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_begin_not_undoable_action' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_can_undo' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_can_redo' ./.libs/libmlview.so: undefined reference to `gtk_source_buffer_redo' ./.libs/libmlview.so: undefined reference to `gtk_source_view_get_type' ./.libs/libmlview.so: undefined reference to `gtk_source_languages_manager_new' collect2: ld returned 1 exit status make[3]: *** [mlview] Error 1 make[3]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-editors/mlview-0.8-r1/work/mlview-0.8/src' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-editors/mlview-0.8-r1/work/mlview-0.8/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/mnt/Dati/Gentoo/tmp/portage/app-editors/mlview-0.8-r1/work/mlview-0.8' make: *** [all] Error 2 !!! ERROR: app-editors/mlview-0.8-r1 failed.
Portage 2.1.2.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.5-r2, 2.6.21.2 x86_64) ================================================================= System uname: 2.6.21.2 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz Gentoo Base System release 1.12.10 Timestamp of tree: Thu, 24 May 2007 17:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-java/java-config: 1.3.7, 2.0.32 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17.50.0.16 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.21 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/run/dspam" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache1-php5/ext-active/ /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="39" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--as-needed -Wl,--hash-style=both" LINGUAS="it" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp/" PORTDIR="/mnt/Dati/Gentoo/portage/" PORTDIR_OVERLAY="/usr/local/portage/myportage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit 7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi activefilter adns aiglx aio alsa amd amd64 amr amrr amuled ao aoss apache2 arj asf aspnet2 async atk audacious audiofile authfile automount bash-completion berkdb bidi binary-drivers bitmap-fonts bittorrent bootsplash browserplugin bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cgi charconv chardet chroot clamav clearcase cli client codecs corba cracklib crypt cscope css ctype cups curl cvs daemon dar64 dba dbus depth32 dga dhcp dio directfb diskio divx djbfft dmi dri dvd dvdr dvdread edl encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glitz glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gtk gtk2 gtkhtml guile h264 hal iconv idea idn imagemagick imap innodb ipod irda irmc isdnlog jack java java5 javamail javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kdehiddenvisibility kerberos kqemu lame lcd lcms ldap libcaca libclamav libg++ libgda libusb lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mhash midi mikmod mime mmx mmx2 mmxext mng mono mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mpm-prefork msn msnextras mudflap musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin nv nvidia oav odbc ogg openal opengl openmp openssl operanom2 pam pcre pda pdf pdo pear perl php pmu png pnp postgres pppd pthreads python qemu-fast qhull qt3 qt4 quicktime quotas readline reflection rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp smp snortsam soap sockets socks5 softmmu softquota spamassassin speex spl sqlite3 sse sse2 sse3 ssl ssse3 subject-rewrite svg tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vorbis wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvm xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
ping :)
A couple things : 1) please tone down both your CFLAGS and LDFLAGS, you're almost edging the "ricer" category 2) none of us obviously use mlview, so if you could investigate this further, that would help a lot 3) I saw a -lselinux in the output you pasted... that's not good at all. #2 and #3 are not that big a deal, but #1 is. Please reopen this bug with sane CFLAGS and LDFLAGS. Thanks for your understanding
sorry for late. same scenario with Portage 2.1.3.7 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.5 x86_64) ================================================================= System uname: 2.6.22.5 x86_64 Intel(R) Core(TM)2 CPU 6300 @ 1.86GHz Gentoo Base System release 1.12.10 Timestamp of tree: Fri, 31 Aug 2007 14:00:01 +0000 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] app-shells/bash: 3.2_p17-r1 dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r5, 2.5.1-r2 dev-python/pycrypto: 2.0.1-r6 dev-util/ccache: 2.4-r7 sys-apps/baselayout: 1.12.10-r4 sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.18 sys-devel/gcc-config: 1.4.0-r1 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.22-r2 ACCEPT_KEYWORDS="amd64 ~amd64" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/mail/dspam /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /var/run/dspam" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/eselect/compiler /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O3 -pipe -march=nocona -mtune=nocona -fomit-frame-pointer -mmmx -msse -msse2 -msse3 -mfpmath=sse" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="39" LC_ALL="it_IT.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,--hash-style=both" LINGUAS="it" MAKEOPTS="-j4" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/mnt/Dati/Gentoo/tmp/" PORTDIR="/mnt/Dati/Gentoo/portage/" PORTDIR_OVERLAY="/usr/local/portage/myportage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="64bit 7zip X X509 Xaw3d a52 aac aalib accessibility ace acl acpi activefilter adns aiglx aio alsa amd amd64 amr amrr amuled ao aoss apache2 arj asf aspnet2 async atk audacious audiofile authfile automount bash-completion berkdb bidi binary-drivers bitmap-fonts bittorrent bootsplash browserplugin bzip2 cairo calendar caps cdda cddb cdio cdparanoia cdr cgi charconv chardet chroot ciao clamav clearcase cli client codecs corba cracklib crypt cscope css ctype cups curl cvs daemon dar64 dba dbus depth32 dga dhcp dio directfb diskio divx djbfft dmi dri dvd dvdr dvdread edl encode ethereal exif expat extraengine faac faad fam fastbuild fbcon ffmpeg fftw firefox flac flash foreign-package fortran ftp gcj gd gdbm geometry ggi gif gimp gimpprint glibc-omitfp glitz glut glx gnokii gnome gnutls gphoto2 gpm graphviz gs gtk gtk2 gtkhtml guile h264 hal hddtemp iconv idea idn imagemagick imap innodb ipod ipv6 irda irmc isdnlog jack java java5 javamail javascript jikes jit joystick jpeg jpeg2k junit justify kde kdeenablefinal kdehiddenvisibility kerberos kqemu lame lcd lcms ldap libcaca libclamav libgda libusb lirc live lm_sensors lua lzo mad mailwrapper matroska md5sum mdb mhash midi mikmod mime mmx mmx2 mmxext mng mono mozcalendar mozdevelop mozilla mozsvg mozxmlterm mp3 mp4 mp4live mpeg mpeg2 mpeg4 mplayer mpm-prefork msn msnextras mudflap musepack mysql mysqli mythtv nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses neXt network ngui nls nntp no_wxgtk1 nobsh nopie nossp noxalan nptl nptlonly nsplugin nv nvidia oav odbc ogg openal opengl openmp openssl operanom2 pam pcre pda pdf pdo pear perl php pmu png pnp postgres pppd pthreads pulseaudio python qemu-fast qhull qt3 qt4 quicktime quotas readline reflection rrdtool rtc ruby samba scanner sdl server session sftplogging sguil slang slp smp snortsam soap sockets socks5 softmmu softquota spamassassin speex spell spl sqlite3 sse sse2 sse3 ssl ssse3 subject-rewrite svg tao tcltk tcpd tetex tga theora tiff tokenizer truetype truetype-fonts trusted type1-fonts unicode usb userlocales vorbis wma wmf wmv wsconvert wxwindows x264 xanim xchatdccserver xchattext xcomposite xine xinerama xml xml2 xmlrpc xorg xosd xpm xprint xsl xv xvid xvm xvmc zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" USERLAND="GNU" VIDEO_CARDS="fbdev vesa vga nv nvidia" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS works. the flags are all ok, only -as-needed is breaking stuff (and this is the purpose of this bug)
ping
(In reply to comment #5) > ping Please try again with an _unset_ LDFLAGS. We're not doing this just to bother you but you are indeed using advanced ld options and we just want to make sure that the bug we're solving is in mlview and not binutils. Thanks
of course i tried... it's enough to disable as-needed flag to have it compiled, even aggressive LDFLAGS work
remi anything else i can try to help u debug this?
I've tried to fix this a few months ago and it turned out that trunk was in a much better shape autotool wise and it feeled like pure waste of time to fix this. I'd say it'd be better to ask for a new release.
ok when you have any news tell me and i'll test, this bug is 1 year old would be nice to close... in the meanwhile you can filter the as-needed flag in th ebuild (i think flameeyes will get angry for this! CC him)
I don't mind filtering --as-needed for one ebuild. Is there a bugreport upstream to fix the issue? And Diego won't complain if we put a nice comment explaining the situation :)
procede ! :)
(In reply to comment #11) > Is there a bugreport upstream to fix the issue? Now I'm blackmailing users :P I won't proceed until a bug report is opened! Seriously though, please do open one and paste the url here. Thanks
I reported to gnome DB: http://bugzilla.gnome.org/show_bug.cgi?id=550892
Remi?
Done! @Team, mlview is just plain dead. Last release is 2 years old and last meaningful commit was a year ago. Next time it breaks, I suggest we just drop it. Thanks
I agree. I've re-assinged it to maintainer-needed.
(In reply to comment #11) > I don't mind filtering --as-needed for one ebuild. Is there a bugreport > upstream to fix the issue? It's not a fix. Reopening.
epoMan scours the neighborhood... upstream.workaround 1 app-editors/mlview/mlview-0.8-r1.ebuild: Upstream asneeded linking bug (no-as-needed on line: 33)
+*mlview-0.9.0 (27 Mar 2010) + + 27 Mar 2010; Samuli Suominen <ssuominen@gentoo.org> +mlview-0.9.0.ebuild, + +files/mlview-0.9.0-desktop.patch, +files/mlview-0.9.0-gcc44.patch: + Version bump wrt #311573 by Michael Weber. ^ I've tested above with -Wl,--as-needed AND forced asneeded, doesn't fail here. The eel depend is gone, seeing some of these undefined references are from it.