Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 174358

Summary: media-video/museseq patch to compile w/ LDFLAGS=-Wl,--as-needed
Product: Gentoo Linux Reporter: Daniel Lin <ephemient>
Component: New packagesAssignee: Gentoo Sound Team <sound>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 129413    

Description Daniel Lin 2007-04-13 01:44:26 UTC
media-video/museseq-0.9_pre2 fails the final link when LDFLAGS=-Wl,--as-needed.

Reproducible: Always

Steps to Reproduce:
1. add 'LDFLAGS="-Wl,--as-needed"' to /etc/make.conf
2. emerge museseq

Actual Results:  
!!! ERROR: media-sound/museseq-0.9_pre2 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  ebuild.sh, line 44:   Called src_compile
  museseq-0.9_pre2.ebuild, line 41:   Called die

!!! (no error message)
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/log/portage/media-sound:museseq-0.9_pre2:20070412-232247.log'.

Expected Results:  
>>> Source compiled.
>>> Test phase [not enabled]: media-sound/museseq-0.9_pre2

>>> Install museseq-0.9_pre2 into /var/tmp/portage/media-sound/museseq-0.9_pre2/image/ category media-sound

diff -uprN muse-0.9pre2/src/muse/Makefile.am muse-0.9pre2/src/muse/Makefile.am
--- muse/Makefile.am    2007-04-12 21:22:32.205483045 -0400
+++ muse/Makefile.am    2007-04-12 21:22:32.205483045 -0400
@@ -111,11 +111,11 @@ muse_LDADD = \
        cliplist/libcliplist.a \
       instruments/libinstruments.a \
        widgets/libwidgets.a \
-      ../synti/libsynti/libsynti.la
-
-muse_LDFLAGS = -fno_exceptions $(X_LIBS) $(QT_LIBS) \
+      ../synti/libsynti/libsynti.la \
+       $(X_LIBS) $(QT_LIBS) \
        -lasound $(SNDFILE_LIBS) $(JACK_LIBS) $(LASH_LIBS) $(FST_LIBS)

+muse_LDFLAGS = -fno_exceptions

 CLEANFILES = stamp-chown
Comment 1 Alexis Ballier gentoo-dev 2007-04-15 11:21:26 UTC
in cvs, thanks ;)