Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107795 - mplayer-1.0_pre7 ebuild does not compile
Summary: mplayer-1.0_pre7 ebuild does not compile
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC OS X
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-01 08:27 UTC by Dirk Olmes
Modified: 2006-06-22 11:38 UTC (History)
0 users

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 Dirk Olmes 2005-10-01 08:27:34 UTC
build fails on the media-video/mplayer-1.0_pre7 ebuild.

Error:
cc -c -I../libvo -I../../libvo  -O4 -mcpu=750 -mtune=750 -pipe -ffast-math -fomit-frame-pointer -
DSYS_DARWIN -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64  -I. -I.. -I../osdep       -DMPG12PLAY  -
o gtf.o gtf.c
gtf.c:28: error: static declaration of 'round' follows non-static declaration
make[1]: *** [gtf.o] Error 1
make: *** [libvo/libvo.a] Error 2


Reproducible: Always
Steps to Reproduce:




PowerBook G3 (Pismo)
OSX 10.4 8C46
gcc4
Comment 1 Fabian Groffen gentoo-dev 2005-10-01 08:34:05 UTC
Warning: Possibly insane cflags detected.

Can you please post an `emerge info`?
Comment 2 Dirk Olmes 2005-10-01 09:13:18 UTC
This is a plain osx installation with a fresh portage installation and stock CFLAGS.

sh-2.05b# emerge info
!!! 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 opengl ppc-macos userland_Darwin kernel_Darwin elibc_Darwin"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 3 Fabian Groffen gentoo-dev 2006-06-22 11:38:45 UTC
mplayer-1.0_pre8 does compile out of the box.