Bug 105582 - error while emerging smpeg-0.4.4
|
Bug#:
105582
|
Product: Gentoo/Alt
|
Version: unspecified
|
Platform: PPC
|
|
OS/Version: OS X
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: osx@gentoo.org
|
Reported By: dirk.schoenberger@freenet.de
|
|
Component: Mac OSX
|
|
|
URL:
|
|
Summary: error while emerging smpeg-0.4.4
|
|
Keywords: InCVS
|
|
Status Whiteboard:
|
|
Opened: 2005-09-11 03:08 0000
|
while trying to emerge smpeg I ran across the attached problem
According to packages.gentoo.org smpeg is in testing for ppc
Reproducible: Always
Steps to Reproduce:
1. unask media-libs/smpeg-0.4.4-r6
2. emerge smpeg
3.
Actual Results:
....
echo timestamp > parseblock.lo
/bin/sh ../libtool --mode=compile g++ -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I. -O2
-pipe -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/SDL -D_THREAD_SAFE -
DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I.. -I../audio -I../video -fno-exceptions -fno-rtti
-c vhar128.cpp
g++ -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I. -O2 -pipe -fexpensive-optimizations -
fomit-frame-pointer -I/usr/include/SDL -D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -
DNOCONTROLS -I.. -I../audio -I../video -fno-exceptions -fno-rtti -c vhar128.cpp -o vhar128.o
echo timestamp > vhar128.lo
/bin/sh ../libtool --mode=compile gcc -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I. -O2 -
pipe -fexpensive-optimizations -fomit-frame-pointer -I/usr/include/SDL -D_THREAD_SAFE -
DTHREADED_AUDIO -DNDEBUG -I.. -DNOCONTROLS -I.. -I../audio -I../video -c mmxflags_asm.S
gcc -DPACKAGE=\"smpeg\" -DVERSION=\"0.4.4\" -I. -I. -O2 -pipe -fexpensive-optimizations -fomit-
frame-pointer -I/usr/include/SDL -D_THREAD_SAFE -DTHREADED_AUDIO -DNDEBUG -I.. -
DNOCONTROLS -I.. -I../audio -I../video -c mmxflags_asm.S -o mmxflags_asm.o
mmxflags_asm.S:61:unknown section type:
mmxflags_asm.S:61:Rest of line ignored. 1st junk character valued 112 (p).
make[1]: *** [mmxflags_asm.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
echo timestamp > video.lo
make: *** [all-recursive] Error 1
!!! ERROR: media-libs/smpeg-0.4.4-r6 failed.
!!! Function src_compile, Line 55, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
!!! Relying on the shell to locate gcc, this may break
!!! DISTCC, installing gcc-config and setting your current gcc
!!! profile will fix this
Portage 2.0.51.22-r2 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.2.0 Power
Macintosh)
===============================================================
==
System uname: 8.2.0 Power Macintosh powerpc
macos-20041118
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
dev-lang/python: [Not Present]
sys-apps/sandbox: [Not Present]
sys-devel/autoconf: [Not Present]
sys-devel/automake: [Not Present]
sys-devel/binutils: [Not Present]
sys-devel/libtool: [Not Present]
virtual/os-headers: 7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
CBUILD="powerpc-apple-darwin"
CFLAGS="-O2 -pipe"
CHOST="powerpc-apple-darwin"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/
qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig collision-protect distlocks sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/
gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc emboss imagemagick png ppc-macos sdl userland_Darwin kernel_Darwin elibc_Darwin"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
> fixed in cvs
which CVS? I am still no able to compile smpeg (and I am running on emerge --sync)
Moving to osx, this is not either marked for macos, so it's probably an
invalid.
post a complete emerge log then
ok, this is because stupid Darwin doesnt use ELF and i added a patch to smpeg
which assumes ELF
After an emerge sync, ekeyword and ebuild I successfully emerged smpeg 0.4.4.
Maybe I miss something, but aren't you supposed to bump the version if you change a package? I had to
clean my cache in /var/tmp/portage to fetch the latest version.
you did miss something
there's no point in revbumping an ebuild when all you do is fix a compile error
hmmm, libsdl doesn't compile for me, so cannot keyword
finally as ~ppc-macos in portage
(got the impression Mplayer gives better quality)