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...)
same error on x86
fixed. osx, please avoid this problem in the future...