Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 85007 - ladspa-sdk-1.12 fails (os10.3.8)
Summary: ladspa-sdk-1.12 fails (os10.3.8)
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-12 11:22 UTC by Ben Powers
Modified: 2006-04-12 10:52 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 Ben Powers 2005-03-12 11:22:50 UTC
I get the following error when attempting to emerge ladspa-sdk-1.12

sed: 1: "/var/tmp/portage/ladspa ...": undefined label 'mp/portage/ladspa-sdk-1.12/work/ladspa_sdk/src/makefile'

!!! ERROR: media-libs/ladspa-sdk-1.12 failed.
!!! Function src_unpack, Line 28, Exitcode 1
!!! sed makefile failed (mkdirhier)
!!! If you need support, post the topmost build error, NOT this status message.

Here is 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.19 (default-darwin/macos/10.3, gcc-3.3, libsystem-7.1-r0, 7.8.0 Power Macintosh)
=================================================================
System uname: 7.8.0 Power Macintosh powerpc
macos-20041118
Python:              dev-lang/python-2.3.5 [2.3 (#1, Sep 13 2003, 00:49:11)]
distcc 2.0.1-zeroconf powerpc-apple-darwin7.0 (protocol 1) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.57
sys-devel/automake:  1.9.5
sys-devel/binutils:  [Not Present]
sys-devel/libtool:   1.5.10
virtual/os-headers:  7.1
ACCEPT_KEYWORDS="ppc-macos"
AUTOCLEAN="yes"
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="autoaddcvs autoconfig ccache collision-protect distlocks 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"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X aalib aiff altivec audiofile avi divx emboss fftw gif gimp jack jpeg mpeg ncurses nls ogg opengl png ppc-macos python real svg theora tiff truetype xml2 xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Ben Powers 2005-03-13 18:30:02 UTC
I tried to make the cmt plugins on my own, and this is what happened. i think it's cause osx uses dylibs. I think the fix might be to patch the makefile, or maybe do USE="-cmt" to avoid building the test plugins altogether.

white:/private/var/tmp/portage/ladspa-sdk-1.12/work/ladspa_sdk/src root# make
cc -I. -Wall -Werror -O2 -pipe -fPIC -o plugins/amp.o -c plugins/amp.c
ld -o ../plugins/amp.so plugins/amp.o -shared
ld: unknown flag: -shared
make: *** [../plugins/amp.so] Error 1

the sed error still isn't fixed... why not just tell it to copy src/ladspa.h to /usr/local/include
Comment 2 Lina Pezzella (RETIRED) gentoo-dev 2005-03-13 22:29:55 UTC
I believe the flag to ld is -dylib. Patch the makefile to do -dylib instead of -shared on Darwin.
Comment 3 Kito (RETIRED) gentoo-dev 2005-03-14 08:45:38 UTC
You have a broken libtool/assembler. At a guess, you installed GNU libtool, which will break alot of packages on Darwin. I just tested ladspa-sdk and ladspa-cmt on 4 different machines, all work fine. Try reinstalling Xcode.
Comment 4 Lina Pezzella (RETIRED) gentoo-dev 2005-03-26 11:51:56 UTC
It installs fine here, however I get the following from the installation:

>>> /usr/lib/ladspa/
>>> /usr/lib/ladspa/amp.so
>>> /usr/lib/ladspa/delay.so
>>> /usr/lib/ladspa/filter.so
>>> /usr/lib/ladspa/noise.so
>>> /usr/lib/ladspa/sine.so

This is obviously not correct.

Kito: since you were the one to keyword this, would you be willing to take care of the .so mess?
Comment 5 Kito (RETIRED) gentoo-dev 2005-03-26 18:09:16 UTC
For now, they actually should be .so as most libs and apps that use the plugins look for that. They are still shared objects, and function normally.
Comment 6 Lina Pezzella (RETIRED) gentoo-dev 2005-03-26 19:41:00 UTC
Alrighty then. I'm going to close this one out as invalid since between the two of us (kito and myself)
we cover both supported profiles and it works both places.

IRC is often the best place for solving system-specific problems. Don't know that there's much you
can do if you overwrote your libtool though.