Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 411995

Summary: media-gfx/qrencode-3.2.0 installs broken libqrencode.pc with unsubstituted @LIBPTHREAD@ and breaks app-office/glabels compilation
Product: Gentoo Linux Reporter: jorgeml <jorgeml>
Component: [OLD] GNOMEAssignee: Christian Birchinger (RETIRED) <joker>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gnome-office+disabled, tetromino
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugzilla.redhat.com/show_bug.cgi?id=795582
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Build log
Build log conservative CFLAGS

Description jorgeml 2012-04-14 16:35:41 UTC
Created attachment 308923 [details]
Build log

I cannot emerge app-office/glabels-3.0.0.

Please find attached the build log.


jorgeml@baraddur /var/tmp/portage $ sudo emerge --info =app-office/glabels-3.0.0 
Portage 2.1.10.49 (hardened/linux/amd64, gcc-4.5.3, glibc-2.13-r4, 3.2.2-hardened-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.2.2-hardened-r1-x86_64-AMD_Phenom-tm-_II_X6_1055T_Processor-with-gentoo-2.0.3
Timestamp of tree: Sat, 14 Apr 2012 06:15:01 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.0.3
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo lcd-filtering
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/games/angband/edit/ /etc/gconf /etc/gentoo-release /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"
CXXFLAGS="-march=native -O2 -pipe -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps=y --jobs"
FEATURES="assume-digests binpkg-logs buildsyspkg collision-protect distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch xattr"
FFLAGS=""
GENTOO_MIRRORS="http://gentoo.tiscali.nl/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
LANG="es_ES.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="es_ES es en en_GB"
MAKEOPTS="-j 12 -l 10"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/lcd-filtering"
SYNC="rsync://rsync.nl.gentoo.org/gentoo-portage"
USE="3dnow 3dnowext 64bit X a52 aac aacplus acl addressbook alsa amd64 amr apng artworkextra aspell assistant audio autoipd avahi avcodec avformat banshee bash-completion berkdb bittorrent bluetooth boo bookmarks bootchart bpm branding bzip2 cairo calendar call caps cdda cdparanoia cdr celt cheese chromium cli clucene clutter colord connection-sharing consolekit coverart cracklib crypt css cups cxx daap dbus declarative detex dirac dmraid download dri drm dtmf dts dvd dvipdfm ebook eds embedded evo exif extensions extra extras fam fat festival ffmpeg firefox firefox-bookmarks firefox3 flac flickr fluidsynth fontconfig fts fuse gallium games gdbm gdm gdu gedit gensplash geoip geolocation gif git glchess glitz gnome gnome-keyring gnome-online-accounts gnome-shell gnutls gphoto2 gpm graphics graphite grub gsm gstreamer gtk gtk3 gudev hardened history holidays howl-compat hpcups hpijs hwdb hyperestraier icons iconv icu id3tag idn ieee1394 image innodb inotify ios iphone iplayer iptc ipv6 irc ithreads jabber java javascript jingle jpeg justify karma kdrive keymap kpathsea kqemu kvm lame lastfm lastfmfingerprint latex latex3 lcdfilter lcms lensfun libcanberra libkms libnotify libvirtd lightning lm_sensors luatex lvm lyrics lzma lzo mad map matroska mbrola mdadm mdnsresponder-compat mikmod mjpeg mmx mmxext mng modules mono mp3 mp3tunes mpeg mpi mplayer mtp mudflap multilib music musicbrainz mysql nautilus ncurses networkmanager nls nodrm nowlistening nptl nptlonly nsplugin ntfs offensive ofx ogg ogm opengl openmp otr pam pango parted passiv pax_kernel pcap pcre pdf pdfimport playlist plugins pm-utils png policykit pppd privacy private-headers projectm pstricks pulseaudio python qalculate qemu qt3support rdesktop rdp readline redeyes resolvconf romio rss rubber samba sasl scanner schroedinger science sdl search secure-delete seed sendto sensord session shutdown sip sipim skype smp socialweb sound speex spell spice sql sqlite sse sse2 ssl startup-notification stats stream stun subtitles subversion svg switcher symlink synctex sysfs syslog system-sqlite system-v8 taglib tcpd telepathy templates terminal test-programs tex4ht texteffect theora threads thumbnail thumbnails tidy tiff totem tracker truetype udev udisks unicode unlock-notify upnp urandom usb usbredir uswsusp utils v4l v4l2 vaapi vala vapigen vcd vcdx vde vhosts video videos vim vim-pager vim-syntax virt-network vlc vnc vorbis vpx wav wavpack web webcam webgl webinterface webkit webm webp webpresence webstart x264 xattr xcb xcomposite xetex xine xml xmp xorg xscreensaver xulrunner xv xvid youtube zeitgeist zeroconf zip zlib" ALSA_CARDS="snd-hda-intel" 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 authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog contextswitch cpu cpufreq entropy filecount hddtemp java mysql network notify_desktop processes protocols sensors thermal uptime users vmem" DRACUT_MODULES="lvm mdraid syslog plymouth" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="es_ES es en en_GB" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-office/glabels-3.0.0 was built with the following:
USE="eds (multilib) -barcode -doc"
Comment 1 Pacho Ramos gentoo-dev 2012-04-14 17:59:19 UTC
Does it build using less CFLAGS? Simply "-march=native -O2 -pipe"
Comment 2 jorgeml 2012-04-14 18:03:28 UTC
Created attachment 308955 [details]
Build log conservative CFLAGS

I tried with more conservative CFLAGS

# CFLAGS="-march=native -O2 -pipe" emerge -a1v app-office/glabels

But I did not suceed, see attachment.
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-14 18:15:34 UTC
Looks like something similar to https://bugzilla.redhat.com/show_bug.cgi?id=795582
In other words, some buggy package on your system had installed a pkgconfig file with the unsubstituted string "@LIBPTHREAD@"

Please give the output of the following command:
grep -r '@LIBPTHREAD@' /usr/*/pkgconfig

Do you have media-gfx/qrencode installed, and if so, what version?
Comment 4 jorgeml 2012-04-14 18:19:07 UTC
jorgeml@baraddur ~ $ grep -r '@LIBPTHREAD@' /usr/*/pkgconfig
grep: /usr/lib/pkgconfig/cblas.pc: No existe el fichero o el directorio
grep: /usr/lib/pkgconfig/lapack.pc: No existe el fichero o el directorio
/usr/lib/pkgconfig/libqrencode.pc:Libs: -L${libdir} -lqrencode @LIBPTHREAD@
grep: /usr/lib/pkgconfig/blas.pc: No existe el fichero o el directorio
grep: /usr/lib64/pkgconfig/cblas.pc: No existe el fichero o el directorio
grep: /usr/lib64/pkgconfig/lapack.pc: No existe el fichero o el directorio
/usr/lib64/pkgconfig/libqrencode.pc:Libs: -L${libdir} -lqrencode @LIBPTHREAD@
grep: /usr/lib64/pkgconfig/blas.pc: No existe el fichero o el directorio
 

jorgeml@baraddur ~ $ sudo emerge -a1v media-gfx/qrencode
ContraseƱa: 

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-gfx/qrencode-3.2.0  0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB

Would you like to merge these packages? [Yes/No] 


Thanks!
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-14 18:27:16 UTC
Reassigning to qrencode maintainers.

You might try upgrading to qrencode-3.3.0 and see if the problem is still present.
Comment 6 Alexandre Rostovtsev (RETIRED) gentoo-dev 2012-04-14 18:29:15 UTC
Looks like qrencode-3.3.0 does fix it.

*** This bug has been marked as a duplicate of bug 408989 ***
Comment 7 jorgeml 2012-04-14 18:32:46 UTC
Upgrading to qrencode-3.3.0 indeed solved the issue.

Thanks a lot!