First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 64523
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeremy Huddleston <eradicator@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: giancarlo storti gajani <storti@elet.polimi.it>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 64523 depends on: Show dependency tree
Show dependency graph
Bug 64523 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-09-18 07:44 0000
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 From pezcurrel 2004-09-18 15:05:04 0000 -------
same error on x86

------- Comment #2 From Jeremy Huddleston 2004-09-22 02:56:37 0000 -------
fixed.  osx, please avoid this problem in the future...

First Last Prev Next    No search results available      Search page      Enter new bug