Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544542 - media-libs/gstreamer-1.4.5[introspection] fails to compile on distcc
Summary: media-libs/gstreamer-1.4.5[introspection] fails to compile on distcc
Status: RESOLVED DUPLICATE of bug 463846
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
Depends on:
Reported: 2015-03-26 12:17 UTC by Dainius Masiliūnas
Modified: 2015-03-26 12:51 UTC (History)
0 users

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

Build log (file_544542.txt,239.64 KB, text/plain)
2015-03-26 12:20 UTC, Dainius Masiliūnas
distccd log tail (distccd.log,11.15 KB, text/plain)
2015-03-26 12:34 UTC, Dainius Masiliūnas

Note You need to log in before you can comment on or make changes to this bug.
Description Dainius Masiliūnas 2015-03-26 12:17:43 UTC
media-libs/gstreamer-1.4.5, at least with the introspection USE flag on, does not qualify the cc line properly for the Gst-1.0.c file, causing it to be compiled with the wrong compiler on the distcc host (in my case, the client is i686, the server is amd64).

Reproducible: Always

Steps to Reproduce:
1. Emerge gstreamer-1.4.5 with introspection on an i686 distcc client
2. Use an amd64 discc host
Actual Results:  
Linking fails due to the wrong compiler being used, since "cc" defaults to the native host's compiler

Expected Results:  
The build system should use "i686-pc-linux-gnu-gcc" instead of "cc" everywhere

Portage 2.2.14 (python 3.3.5-final-0, default/linux/x86/13.0/desktop, gcc-4.8.3, glibc-2.19-r1, 3.12.21-gentoo-r1-atom i686)
                         System Settings
System uname: Linux-3.12.21-gentoo-r1-atom-i686-Intel-R-_Atom-TM-_CPU_Z670_@_1.50GHz-with-gentoo-2.2
KiB Mem:     2045152 total,    284436 free
KiB Swap:     524284 total,    513000 free
Timestamp of tree: Tue, 24 Mar 2015 23:15:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
distcc 3.1 i686-pc-linux-gnu [enabled]
app-shells/bash:          4.2_p53
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.1
dev-util/pkgconfig:       0.28-r1
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6-r1, 1.12.6, 1.13.4
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.3-r1, 4.8.3
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.16 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo dlang
CFLAGS="-O2 -march=atom --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom -pipe -fomit-frame-pointer -mfpmath=sse"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=atom --param l1-cache-size=24 --param l1-cache-line-size=64 --param l2-cache-size=512 -mtune=atom -pipe -fomit-frame-pointer -mfpmath=sse"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -march=i686 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4 -l3"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
USE="X a52 aac accessibility acl acpi alsa avahi bash-completion berkdb branding bzip2 cairo cli cracklib crypt curl cxx dbus dga dri dts emboss encode exif firefox flac fontconfig fortran gdbm gif glamor gnutls gpm gstreamer gtk gtk3 gzip iconv ipv6 jit jpeg ladspa lame lcms ldap libav libnotify libsamplerate lm_sensors lock mad mime mmx mng modules mp3 mp4 mpeg ncurses networkmanager nls nptb nptl nsplugin ogg openal opengl openmp orc pam pango pcre pdf png policykit ppds pulseaudio qt3support qt4 readline sdl session smartcard smp sound spell sse sse2 sse3 ssl startup-notification svg systemd taglib tcpd threads thunar tiff tk truetype tty-helpers udev udisks unicode upower usb vorbis wifi win32codecs wxwidgets x264 x86 xcb xcomposite xml xv xvid zeroconf zlib" ABI_X86="32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd 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 author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx sse sse2 sse3" CURL_SSL="gnutls" 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 ublox ubx" INPUT_DEVICES="evdev mutouch" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB lt" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby20" USERLAND="GNU" VIDEO_CARDS="modesetting fbdev" 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"
Comment 1 Dainius Masiliūnas 2015-03-26 12:20:52 UTC
Created attachment 399808 [details]
Build log
Comment 2 Dainius Masiliūnas 2015-03-26 12:34:40 UTC
Created attachment 399812 [details]
distccd log tail
Comment 3 Dainius Masiliūnas 2015-03-26 12:51:16 UTC
Ah, it's actually an issue of gobject-introspection itself.

*** This bug has been marked as a duplicate of bug 463846 ***