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

Bug 131848

Summary: media-gfx/pstoedit: fix build with --as-needed
Product: Gentoo Linux Reporter: TGL <tom.gl>
Component: Current packagesAssignee: TeX project <tex>
Status: RESOLVED FIXED    
Severity: minor CC: betelgeuse, dberkholz, flameeyes, jer
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 139024    
Bug Blocks: 129413    
Attachments: pstoedit-3.42-as-needed.patch
pstoedit-3.42-ebuild.patch

Description TGL 2006-04-30 17:31:27 UTC
libpstoedit has some unresolved symbols (from libdl), preventing final linking of the pstoedit binary when using -Wl,--as-needed. This patch fixes that.
Comment 1 TGL 2006-04-30 17:31:45 UTC
Created attachment 85885 [details, diff]
pstoedit-3.42-as-needed.patch
Comment 2 TGL 2006-04-30 17:32:14 UTC
Created attachment 85886 [details, diff]
pstoedit-3.42-ebuild.patch

the ebuild changes
Comment 3 TGL 2006-05-14 05:19:57 UTC
Sent upstream (by email).
Comment 4 Robert Marmorstein 2006-07-14 21:33:00 UTC
Actually, I found that I had to do the sed stuff (for pedantic) AFTER the eautoreconf or the emerge bailed on:

/usr/include/GraphicsMagick/magick/magick_types.h:58: error: ISO C++ does not support 'long long'

Comment 5 François Bissey 2006-12-27 19:43:23 UTC
The patch works for me on ppc but I had to patch the ebuild file by hands as
it has changed since this patch has been made.
Comment 6 brad walker 2007-01-06 09:13:57 UTC
upstream fixed --as-needed w/pstoedit-3.44 (bug #139024).
Comment 7 Petteri Räty (RETIRED) gentoo-dev 2007-04-06 23:27:48 UTC
(In reply to comment #6)
> upstream fixed --as-needed w/pstoedit-3.44 (bug #139024).
> 

Still fails here vanilla 3.44.
Comment 8 Petteri Räty (RETIRED) gentoo-dev 2007-04-07 01:03:39 UTC
Patch added to pstoedit-3.44 I just committed. Thanks for the fix.