Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 224237 - sys-apps/dbus-1.2.1 fails ebuild on mips
Summary: sys-apps/dbus-1.2.1 fails ebuild on mips
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: MIPS Linux
: High normal (vote)
Assignee: MIPS Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-30 15:15 UTC by Jon Akers
Modified: 2010-09-18 17:37 UTC (History)
0 users

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


Attachments
Output of "emerge --debug dbus" (dbus.txt,120.09 KB, text/plain)
2008-05-30 15:16 UTC, Jon Akers
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jon Akers 2008-05-30 15:15:11 UTC
Performing an emerge for dbus-1.2.1 fails with an emake failed. This is on a Fulong based mips workstation, Loongson CPU.

I have tried different methods to get this to work, and each time the build fails at exactly the same point. It is so close to getting actually finished... it looks like a post step in the ebuild process is broken somewhere.

Reproducible: Always

Steps to Reproduce:
1. emerge dbus

Actual Results:  
The first error is thus:

*** glibc detected *** /usr/lib/gcc/mipsel-unknown-linux-gnu/4.1.1/../../../../mipsel-unknown-linux-gnu/bin/ld: double free or corruption (out): 0x009848f0 ***
collect2: ld terminated with signal 6 [Aborted]
/usr/lib/gcc/mipsel-unknown-linux-gnu/4.1.1/../../../../mipsel-unknown-linux-gnu/bin/ld: BFD 2.17 assertion fail /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/bfd/elfxx-mips.c:10114
/usr/lib/gcc/mipsel-unknown-linux-gnu/4.1.1/../../../../mipsel-unknown-linux-gnu/bin/ld: BFD 2.17 assertion fail /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/bfd/elfxx-mips.c:2508
/usr/lib/gcc/mipsel-unknown-linux-gnu/4.1.1/../../../../mipsel-unknown-linux-gnu/bin/ld: BFD 2.17 assertion fail /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/bfd/elfxx-mips.c:2508

The assertion fail then occurs about 1000 times on the same line (2508) until we get to the following:

/usr/lib/gcc/mipsel-unknown-linux-gnu/4.1.1/../../../../mipsel-unknown-linux-gnu/bin/ld: BFD 2.17 assertion fail /var/tmp/portage/sys-devel/binutils-2.17-r1/work/binutils-2.17/bfd/elfxx-mips.c:2508
make[2]: *** [dbus-daemon-launch-helper-test] Error 1
make[2]: Leaving directory `/tmp/portage/sys-apps/dbus-1.2.1/work/dbus-1.2.1/bus'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/portage/sys-apps/dbus-1.2.1/work/dbus-1.2.1'
make: *** [all] Error 2
 * 
 * ERROR: sys-apps/dbus-1.2.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2803:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/sys-apps/dbus-1.2.1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sys-apps/dbus-1.2.1/temp/environment'.
 * 

 * Messages for package sys-apps/dbus-1.2.1:

 * 
 * ERROR: sys-apps/dbus-1.2.1 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2803:  Called die
 * The specific snippet of code:
 *       emake || die "make failed"
 *  The die message:
 *   make failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/tmp/portage/sys-apps/dbus-1.2.1/temp/build.log'.
 * The ebuild environment file is located at '/tmp/portage/sys-apps/dbus-1.2.1/temp/environment'.
 * 


Expected Results:  
dbus should have built fine.

I will also attach the output of "emerge --debug dbus" to this report.
Comment 1 Jon Akers 2008-05-30 15:16:01 UTC
Created attachment 154841 [details]
Output of "emerge --debug dbus"
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-06-05 01:10:49 UTC
this fails on the O2-5K with binutils-2.18 as well.  it works with binutils-2.18.50.0.7 but that version has a different showstopper issue on mips.  i was looking into this when my O2's power supply died a couple weeks ago.
Comment 3 Jon Akers 2008-06-06 18:45:51 UTC
(In reply to comment #2)
> this fails on the O2-5K with binutils-2.18 as well.  it works with
> binutils-2.18.50.0.7 but that version has a different showstopper issue on
> mips.  i was looking into this when my O2's power supply died a couple weeks
> ago.
> 

Currently the version of binutils I have installed is binutils-2.18-r1. Not sure if this is going to help at all. 
Comment 4 Jon Akers 2008-08-06 16:37:17 UTC
I have an odd listing of binutils:

kiona binutils # binutils-config -l
 [1] mips64-unknown-linux-gnu-2.18 *

 [2] mipsel-unknown-linux-gnu-2.17 *
 [3] mipsel-unknown-linux-gnu-2.18

If I switch to mipsel-unknown-linux-gnu-2.18, it makes things even worse. I have not tried installing binutils-2.18.50.0.7 on this machine, and at the moment I think I may want to avoid doing that in the first place.

This may just have to be a wait and see thing to see if a new version of either binutils or dbus fixes the issue.
Comment 5 Jon Akers 2008-08-14 19:23:56 UTC
Just tested against  sys-apps/dbus-1.2.3 and it is still failing with the exact same problem.
Comment 6 ippo 2010-08-06 17:14:56 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > (In reply to comment #1)
> > > Hi, can I please see the output of "groups" for your user? thx
> > > 
> > 
> > lp wheel cron audio cdrom video games cdrw users lpadmin portage plugdev jeremy
> > qemu
> 
> Noted. I was looking to see if you were in the 'users' group. I've had 1.2.24
> installed since April with no issues, so I don't know what the problem is.
> Sorry.
> 

Hi

I have this same problem after last update world including dbus (1.2.24) - when i wanna start wicd-client:
$ wicd-client
process 9099: arguments to dbus_connection_ref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2556.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace

or gajim:
$ gajim
process 9164: arguments to dbus_connection_ref() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 2556.
This is normally a bug in some application using the D-Bus library.
  D-Bus not built with -rdynamic so unable to print a backtrace

My uname -a:$ uname -a
Linux laptok 2.6.34-gentoo-r1 #1 Sun Jul 11 15:52:04 CEST 2010 i686 Intel(R) Pentium(R) M processor 1.70GHz GenuineIntel GNU/Linux

 $ emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop, gcc-4.4.3, glibc-2.11.2-r0, 2.6.34-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r1-i686-Intel-R-_Pentium-R-_M_processor_1.70GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 05 Aug 2010 16:35:01 +0000
distcc 3.1 i686-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r2, 3.1.2-r3
dev-util/ccache:     2.4-r7
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
ACCEPT_PROPERTIES="*"
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 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"
ARCH="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CCACHE_SIZE="2G"
CFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CLEAN_DELAY="5"
COLLISION_IGNORE="/lib/modules"
COLORFGBG="15;0"
COLORTERM="rxvt"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CVS_RSH="ssh"
CXXFLAGS="-O2 -march=pentium-m -pipe -fomit-frame-pointer"
DCCC_PATH="/usr/lib/distcc/bin"
DISPLAY=":0.0"
DISTCC_LOG=""
DISTCC_VERBOSE=""
DISTDIR="/usr/portage/distfiles"
EDITOR="/bin/nano"
ELIBC="glibc"
EMERGE_DEFAULT_OPTS="--ask --verbose --keep-going"
EMERGE_WARNING_DELAY="10"
EPREFIX=""
EROOT="/"
FEATURES="assume-digests ccache distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
FETCHCOMMAND="/usr/bin/wget -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
GCC_SPECS=""
GDK_NATIVE_WINDOWS="1"
GDK_USE_XFT="1"
GENTOO_MIRRORS="http://ftp.vectranet.pl/gentoo/ http://gentoo.mirror.pw.edu.pl/ http://gentoo.prz.rzeszow.pl http://gentoo.po.opole.pl ftp://ftp.vectranet.pl/gentoo/ ftp://gentoo.po.opole.pl http://gentoo.mirror.dkm.cz/pub/gentoo/ http://ftp.fi.muni.cz/pub/linux/gentoo/ http://gentoo.supp.name/ http://gentoo.mirror.web4u.cz/ ftp://gentoo.mirror.web4u.cz/ ftp://ftp.fi.muni.cz/pub/linux/gentoo/ ftp://gentoo.mirror.dkm.cz/pub/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo"
HOME="/home/filip"
HUSHLOGIN="FALSE"
INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/info"
INPUT_DEVICES="keyboard mouse"
JAVAC="/etc/java-config-2/current-system-vm/bin/javac"
JAVA_HOME="/etc/java-config-2/current-system-vm"
JDK_HOME="/etc/java-config-2/current-system-vm"
KERNEL="linux"
LANG="pl_PL.UTF-8"
LANGUAGE="48"
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text"
LC_ALL="pl_PL"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LESS="-R -M --shift 5"
LESSOPEN="|lesspipe.sh %s"
LINGUAS="pl"
LOGNAME="filip"
LS_COLORS="rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=01;05;37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01;31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.rar=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.jpg=01;35:*.jpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.axv=01;35:*.anx=01;35:*.ogv=01;35:*.ogx=01;35:*.pdf=00;32:*.ps=00;32:*.txt=00;32:*.patch=00;32:*.diff=00;32:*.log=00;32:*.tex=00;32:*.doc=00;32:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36:"
MAIL="/var/mail/filip"
MAKEOPTS="-j2"
MANPATH="/etc/java-config-2/current-system-vm/man:/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.20.1/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.4.3/man:/etc/java-config/system-vm/man/"
NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml"
OPENGL_PROFILE="xorg-x11"
PAGER="/usr/bin/less"
PATH="/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3"
PKGDIR="/usr/portage/packages"
PORTAGE_ARCHLIST="ppc x86-openbsd ppc-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd"
PORTAGE_BINHOST_CHUNKSIZE="3000"
PORTAGE_BIN_PATH="/usr/lib/portage/bin"
PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png"
PORTAGE_CONFIGROOT="/"
PORTAGE_DEBUG="0"
PORTAGE_DEPCACHEDIR="/var/cache/edb/dep"
PORTAGE_ELOG_CLASSES="warn error log"
PORTAGE_ELOG_MAILFROM="portage@localhost"
PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}"
PORTAGE_ELOG_MAILURI="root"
PORTAGE_ELOG_SYSTEM="echo save"
PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5"
PORTAGE_FETCH_RESUME_MIN_SIZE="350K"
PORTAGE_GID="250"
PORTAGE_INST_GID="0"
PORTAGE_INST_UID="0"
PORTAGE_NICENESS="5"
PORTAGE_PYM_PATH="/usr/lib/portage/pym"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_RSYNC_RETRIES="3"
PORTAGE_SYNC_STALE="30"
PORTAGE_TMPDIR="/var/tmp"
PORTAGE_VERBOSE="1"
PORTAGE_WORKDIR_MODE="0700"
PORTDIR="/usr/portage"
PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND"
PWD="/home/filip"
PYTHONDONTWRITEBYTECODE="1"
RESUMECOMMAND="/usr/bin/wget -c -t 5 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}""
ROOT="/"
ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.4.3"
RPMDIR="/usr/portage/rpm"
RUBY_TARGETS="ruby18"
SHELL="/bin/bash"
SHLVL="4"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
TERM="xterm"
USE="X a52 aac acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif gpm gtk iconv jpeg lcms ldap libnotify mad mikmod mng modules mp3 mp4 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl png ppds pppd python qt3support readline reflection saveconfig sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis x264 x86 xcb xml xorg xulrunner xv xvid 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 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" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="pl" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel vesa" 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" 
USER="filip"
USERLAND="GNU"
USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS CROSSCOMPILE_OPTS DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XTABLES_ADDONS"
USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND"
USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d"
VIDEO_CARDS="intel vesa"
WINDOWID="16777222"
WINDOWPATH="7"
XAUTHORITY="/home/filip/.Xauthority"
XDG_CONFIG_DIRS="/etc/xdg"
XDG_DATA_DIRS="/usr/local/share:/usr/share"
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"
XZ_OPT="--memory=max"
_="/usr/bin/emerge"

In my second system, x86_64, dbus 1.2.24 and gajim works fine, i don`t use wicd on my second system.

Sorry for mistakes but this is my first checking bug and English isn`t my native.

Regards
Comment 7 ippo 2010-08-06 22:05:29 UTC
(In reply to comment #6)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > (In reply to comment #1)
> > > > Hi, can I please see the output of "groups" for your user? thx
> > > > 
> > > 
> > > lp wheel cron audio cdrom video games cdrw users lpadmin portage plugdev jeremy
> > > qemu
> > 
> > Noted. I was looking to see if you were in the 'users' group. I've had 1.2.24
> > installed since April with no issues, so I don't know what the problem is.
> > Sorry.
> > 
> 
> Hi
> 
> I have this same problem after last update world including dbus (1.2.24) - 
....

Upgrade dbus to 1.2.24-r1 doesn`t work, downgrade to 1.2.3-r1 is still worse coz dbus and wicd doesn`t start.

Comment 8 Samuli Suominen (RETIRED) gentoo-dev 2010-09-18 17:37:00 UTC
@mips users: Please try dbus-1.4.0

As for the other issues reported here, it's normal that you need to:

# emerge -1 glib dbus-glib

After dbus and/or glib upgrade, these asserts are likely caused by that.