First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 213455
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Ben de Groot <yngwin@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Graham Russell <ham123.43+gentoobugzilla@gmail.com>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
avidemux.log Error log text/plain Graham Russell 2008-03-14 23:51 0000 9.93 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 213455 depends on: Show dependency tree
Bug 213455 blocks: 227307
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-03-14 23:50 0000
When emerging media-video/avidemux-2.4.1 it errors when building when using
distcc, if I disable distcc it compiles fine.

Reproducible: Always

Steps to Reproduce:
1. unmask avidemux
2. emerge avidemux

Actual Results:  
Compile errors, see attachment for more details. 

 * ERROR: media-video/avidemux-2.4.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2523:  Called cmake-utils_src_compile
 *             environment, line  558:  Called cmake-utils_src_make
 *             environment, line  598:  Called die
 * The specific snippet of code:
 *           emake "$@" || die "Make failed!";
 *  The die message:
 *   Make failed!

Expected Results:  
It should compile...

The machine 10.0.0.3 has 32 Gentoo on with crossdev+distcc:

sudo emerge --info
Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r9 i686)
=================================================================
System uname: 2.6.23-gentoo-r9 i686 Intel(R) Core(TM)2 CPU T5600 @ 1.83GHz
Timestamp of tree: Wed, 12 Mar 2008 23:46:01 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distcc distlocks metadata-transfer parallel-fetch sandbox sfperms
strict unmerge-orphans userfetch"
GENTOO_MIRRORS=
<snip>
USE="X aac acl alsa berkdb cli cracklib crypt cups dbus dri dvdread exif flac
fortran gdbm gif gnome gpm gtk gtk+ hal iconv imagemagick ipv6 isdnlog jpeg
midi mmx mono mp3 mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pcre
perl pppd python readline reflection session spell spl ssl startup-notification
tcpd tiff unicode win32codecs x86 xorg xscreensaver zlib" 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" 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"
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 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" ELIBC="glibc"
INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz
cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU"
VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt
mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage
siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS,
PORTAGE_RSYNC_EXTRA_OPTS

Host machine:

emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0,
2.6.23-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.23-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor
3800+
Timestamp of tree: Fri, 14 Mar 2008 16:46:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[enabled]
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf
/etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
/etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo
/etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distcc distlocks metadata-transfer parallel-fetch sandbox
sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp.rhnet.is/pub/gentoo/ ftp://ftp.rhnet.is/pub/gentoo/ 
http://ftp.heanet.ie/pub/gentoo/ ftp://ftp.heanet.ie/pub/gentoo/
http://mirror.switch.ch/ftp/mirror/gentoo/
ftp://mirror.switch.ch/mirror/gentoo/  http://mirror.bytemark.co.uk/gentoo/
ftp://mirror.bytemark.co.uk/gentoo/ 
http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/ 
ftp://ftp.mirrorservice.org/sites/www.ibiblio.org/gentoo/ 
http://mirror.qubenet.net/mirror/gentoo/
ftp://mirror.qubenet.net/mirror/gentoo/  http://gentoo.virginmedia.com/
ftp://gentoo.virginmedia.com/sites/gentoo "
LINGUAS="uk"
MAKEOPTS="-j8"
PKGDIR="/usr/portage/packages"
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="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl alsa amd64 berkdb cdr cli cracklib crypt css cups dbus dri
dvd dvdr dvdread encode ffmpeg flac fortran gdbm gif gpm gtk gtk+ hal hddtemp
iconv imagemagick ipv6 isdnlog jpeg lm_sensors midi mmx mono mp3 mudflap
musepack ncurses nls nptl nptlonly ogg opengl openmp pam pcre perl png pppd
python qt3 qt4 readline reflection session sndfile spell spl sse sse2 ssl
startup-notification svg tcpd tiff unicode vcd vorbis x264 xinerama xorg
xscreensaver xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x
ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci"
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" 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 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"
ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad
cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="uk"
USERLAND="GNU" VIDEO_CARDS="nvidia vesa"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL,
LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

------- Comment #1 From Graham Russell 2008-03-14 23:51:55 0000 -------
Created an attachment (id=146176) [details]
Error log

------- Comment #2 From Jakub Moc (RETIRED) 2008-03-15 07:22:14 0000 -------
<snip>
In file included from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr.h:115,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/c++io.h:39,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/iosfwd:48,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/bits/stl_algobase.h:70,
                 from
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/algorithm:67,
                 from
/var/tmp/portage/media-video/avidemux-2.4.1/work/avidemux_2.4.1/avidemux/ADM_videoFilter/ADM_vidParticle.cpp:20:
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:88:
error: weakref 'int __gthrw_pthread_once(pthread_once_t*, void (*)())' must
have static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:89:
error: weakref 'void* __gthrw_pthread_getspecific(pthread_key_t)' must have
static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:90:
error: weakref 'int __gthrw_pthread_setspecific(pthread_key_t, const void*)'
must have static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:91:
error: weakref 'int __gthrw_pthread_create(pthread_t*, const pthread_attr_t*,
void* (*)(void*), void*)' must have static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:92:
error: weakref 'int __gthrw_pthread_cancel(pthread_t)' must have static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:93:
error: weakref 'int __gthrw_pthread_mutex_lock(pthread_mutex_t*)' must have
static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:94:
error: weakref 'int __gthrw_pthread_mutex_trylock(pthread_mutex_t*)' must have
static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:95:
error: weakref 'int __gthrw_pthread_mutex_unlock(pthread_mutex_t*)' must have
static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:96:
error: weakref 'int __gthrw_pthread_mutex_init(pthread_mutex_t*, const
pthread_mutexattr_t*)' must have static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:99:
error: weakref 'int __gthrw_pthread_key_create(pthread_key_t*, void
(*)(void*))' must have static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:100:
error: weakref 'int __gthrw_pthread_key_delete(pthread_key_t)' must have static
linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:101:
error: weakref 'int __gthrw_pthread_mutexattr_init(pthread_mutexattr_t*)' must
have static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:102:
error: weakref 'int __gthrw_pthread_mutexattr_settype(pthread_mutexattr_t*,
int)' must have static linkage
/usr/lib/gcc/x86_64-pc-linux-gnu/4.1.2/include/g++-v4/x86_64-pc-linux-gnu/bits/gthr-default.h:103:
error: weakref 'int __gthrw_pthread_mutexattr_destroy(pthread_mutexattr_t*)'
must have static linkage
make[2]: ***
[avidemux/ADM_videoFilter/CMakeFiles/ADM_videoFilter.dir/ADM_vidParticle.o]
Error 1
make[2]: *** Waiting for unfinished jobs....
</snip>

------- Comment #3 From Bruno Viaris 2008-06-20 12:26:51 0000 -------
Same problem with distcc on x86 platform: it stopped at the same point.

Disabling FEATURES="ditscc" solved the problem.

------- Comment #4 From Ben de Groot 2008-06-20 14:19:44 0000 -------
Added check for distcc in 2.4.1 ebuild.

First Last Prev Next    No search results available      Search page      Enter new bug