Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 44407 - x11-plugins/wmxmms-0.1.4: source contains i386 objects -> build on ppc fails
Summary: x11-plugins/wmxmms-0.1.4: source contains i386 objects -> build on ppc fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: PPC Linux
: High normal (vote)
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-11 17:58 UTC by David Baehrens
Modified: 2004-04-12 00:03 UTC (History)
3 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Baehrens 2004-03-11 17:58:27 UTC
The source tarball contains WMxmms-0.1.4/src/{dockapp,wmxmms,xmms_func}.o which are i386 object files. make considers these files up to date and does not rebuild them. So ld fails with a format error.

Reproducible: Always
Steps to Reproduce:
1. emerge wmxmms
2.
3.

Actual Results:  
The build step of x11-plugins/wmxmms-0.1.4 fails with the following error:

[...]
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/wmxmms-0.1.4/work/WMxmms-0.1.4'
Making all in src
make[2]: Entering directory `/var/tmp/portage/wmxmms-0.1.4/work/WMxmms-0.1.
4/src'
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/X11R6/include -I/usr/local/include  
`/usr/bin/xmms-config --cflags` -DDATA_DIR=\"`/usr/bin/xmms-config --data-dir`\" 
 -O3 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt -c wmxmms.c
wmxmms.c: In function `update_title':
wmxmms.c:601: warning: assignment makes pointer from integer without a cast
wmxmms.c:604: warning: assignment makes pointer from integer without a cast
wmxmms.c: In function `update':
wmxmms.c:684: warning: assignment makes pointer from integer without a cast
gcc  -O3 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt `/usr/bin/gtk-config 
--libs` `/usr/bin/xmms-config --libs` -o WMxmms  wmxmms.o dockapp.o 
mouse_regions.o xmms_func.o -L/usr/X11R6/lib -L/usr/local/lib -lX11  -lXext 
-lXpm
/usr/lib/gcc-lib/powerpc-unknown-linux-gnu/3.2.3/../../../..
/powerpc-unknown-linux-gnu/bin/ld: dockapp.o: Relocations in generic ELF (EM: 3)
dockapp.o: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make[2]: *** [WMxmms] Error 1
make[2]: Leaving directory `/var/tmp/portage/wmxmms-0.1.4/work/WMxmms-0.1.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/wmxmms-0.1.4/work/WMxmms-0.1.4'
make: *** [all-recursive-am] Error 2

!!! ERROR: x11-plugins/wmxmms-0.1.4 failed.
!!! Function src_compile, Line 20, Exitcode 2
!!! (no error message)

Expected Results:  
Succfull compiling and merging of x11-plugins/wmxmms-0.1.4.

# emerge info
Portage 2.0.50-r1 (default-ppc-2004.0, gcc-3.2.3, glibc-2.3.2-r9, 2.4.24-ppc-r2)
=================================================================
System uname: 2.4.24-ppc-r2 ppc 740/750
Gentoo Base System version 1.4.3.13p1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CFLAGS="-O3 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
CHOST="powerpc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config 
/usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ 
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ 
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/lib/pbbuttonsd 
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/init.d /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -pipe -mcpu=750 -fsigned-char -mpowerpc-gfxopt"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo http://linux.rz.
ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.snt.utwente.
nl/pub/os/linux/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib acl alsa cdr crypt cscope cups directfb dvd emacs encode 
fbcon flac foomaticdb gdbm ggi gif gnome-libs gpm gtk gtk2 guile imap imlib java 
javascript jpeg libwww mad maildir mikmod mitshm motif mozilla mule ncurses nls 
oggvorbis opengl operanom2 oss pam perl png ppc python qt readline sdl slang 
spell ssl tcltk tcpd tetex tiff truetype unicode usb video_cards_mach64 
vim-with-x xface xinerama xml xml2 xmms xv zlib"
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-05 14:47:23 UTC
this isn't just gonna mess up ppc... I'll take this...
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-04-12 00:03:42 UTC
fixed in portage by doing a make clean after unpacking.