Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 64523 - emerge ladspa-cmt fails
Summary: emerge ladspa-cmt fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: High major
Assignee: Jeremy Huddleston (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-09-18 07:44 UTC by giancarlo storti gajani
Modified: 2004-09-22 02:56 UTC (History)
2 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 giancarlo storti gajani 2004-09-18 07:44:57 UTC
emerge ladspa-cmt fails, error is in src-unpack at line 39.

Reproducible: Always
Steps to Reproduce:
1. emerge rosegarden
2. or, directly, emerge ladspa-cmt
3.

Actual Results:  
root # emerge ladspa-cmt
Calculating dependencies ...done!
>>> emerge (1 of 1) media-libs/ladspa-cmt-1.15 to /
>>> md5 src_uri ;-) cmt_src_1.15.tgz
>>> Unpacking source...
>>> Unpacking cmt_src_1.15.tgz to /var/tmp/portage/ladspa-cmt-1.15/work

!!! ERROR: media-libs/ladspa-cmt-1.15 failed.
!!! Function src_unpack, Line 34, Exitcode 1
!!! macos patch failed 

Expected Results:  
apply patch and compile...


I found two errors in the "ladspa-cmt-ppc-macos.patch" file, both in the section
concerning the Makefile:
1. the line 
-CFLAGS      =   $(INCLUDES) -Wall -Werror -fPIC
+CFLAGS      =   $(INCLUDES) -Wall -Werror -O3 -fPIC

in this case the -CFLAGS line is wrong, makefile is already as the +CFLAGS line
wants,

2. the chunk:

@@ -68,7 +68,7 @@
 targets:   $(PLUGIN_LIB)
 
 $(PLUGIN_LIB):   $(PLUGIN_OBJECTS)
-   $(CXX)   -shared                  \
+   $(CXX)   -dynamiclib -ldl                      \
       -o $(PLUGIN_LIB)               \
       $(PLUGIN_OBJECTS)         

is in my opinion wrong, since it tries to set the (right) -shared option to the
(wrong) -dynamiclib -ldl options ...

I manually fixed as above and all was compiled ok (at least at first apparent
sight...)
Comment 1 pezcurrel 2004-09-18 15:05:04 UTC
same error on x86
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2004-09-22 02:56:37 UTC
fixed.  osx, please avoid this problem in the future...