>>> Test phase [not enabled]: app-cdr/cdrtools-2.01 >>> Install cdrtools-2.01 into /var/tmp/portage/cdrtools-2.01/image/ category app-cdr >>> dobin: making cdda2wav/OBJ/*-*-cc/cdda2wav executable... install: cdda2wav/OBJ/*-*-cc/cdda2wav: No such file or directory !!! ERROR: app-cdr/cdrtools-2.01 failed. !!! Function src_install, Line 53, Exitcode 4 !!! cdda2wav Reproducible: Always Steps to Reproduce: 1. 2. 3. emerge info Invalid package name in package.provided: app-crypt/mit-krb5 !!! 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.21 (default-darwin/macos/10.4, gcc-4.0.0, libsystem-7.1-r0, 8.0.0 Power Macintosh) ================================================================= System uname: 8.0.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 ~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 /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig collision-protect distlocks strict userpriv" 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" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="ppc X Xaw3d cups emboss gd gif ipv6 jpeg lesstif libwww motif ncurses neXt nls opengl png ppc-macos python readline sqlite ssl tetex tiff truetype xinerama zlib userland_Darwin kernel_Darwin elibc_Darwin" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I can confirm this bug on x86 with 2.01.01_alpha01-r2 . Also, why is this bug posted three times? #91462 nor P2 PPC ppc-macos@gentoo.org NEW ERROR: app-cdr/cdrtools-2.01 failed #91832 nor P2 PPC ppc-macos@gentoo.org NEW ERROR: app-cdr/cdrtools-2.01 failed #94647 nor P2 PPC64 ppc-macos@gentoo.org NEW ERROR: app-cdr/cdrtools-2.01-r1 failed
*** Bug 91832 has been marked as a duplicate of this bug. ***
*** Bug 94647 has been marked as a duplicate of this bug. ***
I'm cc-ing the maintainer since this is not a ppc-macos only issue. I've also cleaned out the duplicate bug reports. Thanks for pointing them out!
Quick guess: gcc4? As I don't have gcc4 under linux neither Tiger installed (only Panther), can somebody check it with Panther? Or with gcc4-linux?
Don't think this is a gcc issue, but a system header issue. on 10.4 the the first failure I find is: gcc -D__attribute_const__=const -O -mcpu=G4 -O3 -pipe -maltivec -mabi=altivec -I. -IOBJ/ppc- darwin-cc -I../i$ ==> LINKING "OBJ/ppc-darwin-cc/cdda2wav" /usr/bin/ld: Undefined symbols: _sched_setscheduler Which is a pthreads call that I doubt darwin has... lemme dig around a little and see if I can figure it out. For other archs, I dunno...
Created attachment 60810 [details, diff] fixes and cleanup for darwin -small fix for case-insensitive filesystems -fix for _POSIX_PRIORITY_SCHEDULING not actually checking for a value -added -trigraphs to CFLAGS only on Darwin, this should be probably be done on other archs as well, but I'll leave that for them to decide -
Created attachment 60811 [details, diff] _POSIX_PRIORITY_SCHEDULING patch _POSIX_PRIORITY_SCHEDULING should actually have a value instead of merely being defined.
Created attachment 63497 [details, diff] cdrtools-2.01-r3.ebuild.patch for Darwin/BSD
*** Bug 98581 has been marked as a duplicate of this bug. ***
Remove the || die on epatch (it's pointless). Then you forgot to unset ARCH in src_compile(). That really really screw ups G/FBSD. I'll try a different patch for this.
Created attachment 63513 [details, diff] cdrtools-darwin-bsd.patch Ok this patch is against latest alpha of 2.01.01, and includes both ppc-macos and g/fbsd fixups (a part from the patch that i don't know if it's needed on this version). HTH
2.01.01_alpha03-r1 works fine "out of the box" for Gentoo/FreeBSD. Removing from CC now.
Old...