Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107525 - emerge error on net-print/gnome-cups-manager-0.31
Summary: emerge error on net-print/gnome-cups-manager-0.31
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 125418 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-09-28 10:35 UTC by Kurt Guenther
Modified: 2006-03-11 09:13 UTC (History)
7 users (show)

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


Attachments
da patch! (gnome-cups-manager-0.31-fix-gcc_issues.patch,12.77 KB, patch)
2005-11-16 21:32 UTC, pejcao
Details | Diff
da ebild with patch (gnome-cups-manager-0.31.ebuild,1.20 KB, text/plain)
2005-11-16 21:34 UTC, pejcao
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Kurt Guenther 2005-09-28 10:35:28 UTC
Link error during emerge 

Reproducible: Always
Steps to Reproduce:
1. emerge -uDav world
2.
3.

Actual Results:  
i686-pc-linux-gnu-gcc -march=pentium4 -O3 -pipe -o .libs/gnome-cups-add
-Wl,--export-dynamic add-printer.o druid-helper.o  -pthread
/usr/lib/libgnomeui-2.so -lSM -lICE /usr/lib/libbonoboui-2.so
/usr/lib/libgnomecanvas-2.so /usr/lib/libart_lgpl_2.so /usr/lib/libgnome-2.so
/usr/lib/libpopt.so /usr/lib/libgnomevfs-2.so /usr/lib/libgconf-2.so
/usr/lib/libglade-2.0.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libxml2.so -lz
/usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so
/usr/lib/libpangoxft-1.0.so /usr/lib/libpangox-1.0.so
/usr/lib/libpangoft2-1.0.so /usr/lib/libpango-1.0.so /usr/lib/libbonobo-2.so
/usr/lib/libbonobo-activation.so /usr/lib/libORBit-2.so -lm
/usr/lib/libgmodule-2.0.so -ldl /usr/lib/libgthread-2.0.so
/usr/lib/libgnomecups-1.0.so -lcups -lssl -lcrypto -lnsl
/usr/lib/libgobject-2.0.so /usr/lib/libgnome-keyring.so /usr/lib/libglib-2.0.so
../libgnomecups/.libs/libgnomecupsui-1.0.so
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::length(unsigned char const*)'
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::compare(unsigned char const*, unsigned char
const*, unsigned)'
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::assign(unsigned char*, unsigned, unsigned char)'
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::copy(unsigned char*, unsigned char const*,
unsigned)'
../libgnomecups/.libs/libgnomecupsui-1.0.so: undefined reference to
`std::char_traits<unsigned char>::move(unsigned char*, unsigned char const*,
unsigned)'
collect2: ld returned 1 exit status
make[2]: *** [gnome-cups-add] Error 1
make[2]: Leaving directory
`/var/tmp/portage/gnome-cups-manager-0.31/work/gnome-cups-manager-0.31/gnome-cups-add'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/var/tmp/portage/gnome-cups-manager-0.31/work/gnome-cups-manager-0.31'
make: *** [all] Error 2


Expected Results:  
success

Portage 2.0.52-r1 (default-linux/x86/2005.0, gcc-3.3.6, glibc-2.3.5-r1,
2.6.13-gentoo-r2 i686)
=================================================================
System uname: 2.6.13-gentoo-r2 i686 Mobile Intel(R) Pentium(R) 4 - M CPU 2.50GHz
Gentoo Base System version 1.12.0_pre8
dev-lang/python:     2.3.5, 2.4.1-r1
sys-apps/sandbox:    1.2.13
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.20
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium4 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X adns alsa apache2 apm arts avi berkdb bitmap-fonts bonobo cdr cli
crypt cups curl dba dga doc dvd eds elibc_glibc emacs emboss encode esd fam
foomaticdb fortran gd gdbm gif gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml
guile hal howloss imagemagick imlib ipv6 java jpeg junit ldap libg++ libwww mad
mikmod motif mozilla mp3 mpeg mysql ncurses nls odbc ogg oggvorbis opengl oss
pam pdflib perl png postgres python quicktime readline samba scanner sdl slang
snmp spell ssl svga tcpd tetex tiff truetype truetype-fonts type1-fonts unicode
usb vorbis xine xml xml2 xmms xv zlib userland_GNU kernel_linux"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY
Comment 1 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-09-28 12:22:40 UTC
Works fine here.

What version of libgnomecups do you have?  Could you try re-emerging libgnomecups?
Comment 2 Heinz Hombergs 2005-09-28 20:56:41 UTC
I got the same error's when compling gnome-cups-manager-0.31.
The version of libgnomecups is 0.2.2, I'm running a ~86 system.
Comment 3 Kurt Guenther 2005-09-29 05:51:27 UTC
Based on your suggestion, I tried re-emerging libgnomecups and had the same
results emerging the gnome-cups-manager-0.31.

I also have:   net-print/libgnomecups-0.2.2
Comment 4 Stefan Horning 2005-09-29 14:38:41 UTC
(In reply to comment #3)
> Based on your suggestion, I tried re-emerging libgnomecups and had the same
> results emerging the gnome-cups-manager-0.31.
> 
> I also have:   net-print/libgnomecups-0.2.2

Same scenario here. Same errors and versions.
~x86 System, AthlonXP
Comment 5 Matthew Almond 2005-09-30 07:01:18 UTC
I had the same problem - I found that switching my gcc version from
i686-pc-linux-gnu-3.3.4 to i686-pc-linux-gnu-3.4.4 fixed the problem for me.
Hope that helps.
Comment 6 Andrey Budarevsky 2005-10-07 07:25:51 UTC
(In reply to comment #5)
> I had the same problem - I found that switching my gcc version from
> i686-pc-linux-gnu-3.3.4 to i686-pc-linux-gnu-3.4.4 fixed the problem for me.
> Hope that helps.

I am confirming - the same here: switched to 3.4.4 profile that totaly resolved
the issue.
Comment 7 gglaboussole 2005-10-09 07:06:58 UTC
switching to gcc 3.4.4 good for me too
Comment 8 Peter Johanson (RETIRED) gentoo-dev 2005-10-09 12:17:40 UTC
Same issue here with gcc-3.3.6. Running an x86 system with select ~x86, so no
gcc-3.4 installed here.
Comment 9 Kurt Guenther 2005-10-09 16:56:04 UTC
I did the same and switched to gcc 3.4.4 to successfully emerge this package. 
Let me spell it out for anybody (like me) who doesn't know how to switch gcc
versions.  Run: 

   gcc-config -l 

to see the versions available.  Look for the number that precedes gcc 3.4.4
(plain), and then run. 

   gcc-config 3

substitute the correct number for 3.  It should emerge without any issues. 


Comment 10 pejcao 2005-10-10 15:07:26 UTC
from http://bugzilla.gnome.org/show_bug.cgi?id=315384

Can this patch being tested (if pass -->) included?
http://bugzilla.gnome.org/attachment.cgi?id=51929&action=view
Comment 11 Chris Smith 2005-10-11 14:47:24 UTC
(In reply to comment #9)
> I did the same and switched to gcc 3.4.4 to successfully emerge this package. 
> Let me spell it out for anybody (like me) who doesn't know how to switch gcc
> versions.  Run: 
> 
>    gcc-config -l 
> 
> to see the versions available.  Look for the number that precedes gcc 3.4.4
> (plain), and then run. 
> 
>    gcc-config 3
> 
> substitute the correct number for 3.  It should emerge without any issues. 
> 
> 
> 

(In reply to comment #9)
> I did the same and switched to gcc 3.4.4 to successfully emerge this package. 
> Let me spell it out for anybody (like me) who doesn't know how to switch gcc
> versions.  Run: 
> 
>    gcc-config -l 
> 
> to see the versions available.  Look for the number that precedes gcc 3.4.4
> (plain), and then run. 
> 
>    gcc-config 3
> 
> substitute the correct number for 3.  It should emerge without any issues. 
> 
> 
> 

Indeed, the fix is immaculate.  Domo.
Comment 12 pejcao 2005-10-11 22:31:42 UTC
For some reason, imho, it does'nt seems logical or practical to build||have
another gcc for a 496K little app ...

496K little app is gone ATM ;)
Comment 13 Daniel Gryniewicz (RETIRED) gentoo-dev 2005-10-12 09:11:37 UTC
comment #12: Could you test the patch in comment #10?  I can't, because I'm on
amd64, and therefore don't have a gcc 3.3.x
Comment 14 Hiroyuki Ikezoe 2005-11-13 15:59:04 UTC
I confirmed the patch fix this issue.

dang, please apply the patch.
Comment 15 pejcao 2005-11-16 21:32:47 UTC
Created attachment 73057 [details, diff]
da patch!

This is it!
Comment 16 pejcao 2005-11-16 21:34:37 UTC
Created attachment 73058 [details]
da ebild with patch

Needs formality on its header (and maybe add extraversion "-r1")
C ya!
Comment 17 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-15 22:27:26 UTC
Upstream has said no to the patch.  We wont apply this downstream either.  However, as gcc-3.4 has been stablized on most arches, this really is no longer a big issue.  The remaining arches are hppa, ia64, ppc64 and sparc.
Comment 18 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-01-27 22:40:02 UTC
Okay, added a warning to the ebuild.  Depending on a gcc version is really bad, and as a result, marking as CANTFIX.
Comment 19 foser (RETIRED) gentoo-dev 2006-03-11 09:13:54 UTC
*** Bug 125418 has been marked as a duplicate of this bug. ***