Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 226873 - app-text/aspell: append-ldflags is used to pass libraries
Summary: app-text/aspell: append-ldflags is used to pass libraries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Spell checking utilities and dictionaries -- related bugs (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: append-ldflags-libs 259542
  Show dependency tree
 
Reported: 2008-06-14 18:10 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2009-03-03 09:04 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Fix append-ldflags (aspell-0.60.5.ebuild.diff,590 bytes, patch)
2009-02-27 16:44 UTC, Dustin Polke
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2008-06-14 18:10:49 UTC
I've made append-ldflags throw a warning when libraries are passed through it
to link them in.

The reason is that LDFLAGS should _not_ be used for libraries, as it has to be
positioned before the list of objects to link together, while libraries should
go after.

This mistake in commandline is what causes as-needed to either fail or not
apply at all (if LDFLAGS are put at the end).

Please fix your package not to pass libraries through LDFLAGS.
Comment 1 Auke Booij (tulcod) 2009-02-24 21:32:41 UTC
it actually seems to break the build at configure time for me on gcc 4.3.3 (c++ compiler cannot create executables). compiling manually without the LDFLAGS works fine.
Comment 2 Dustin Polke 2009-02-27 16:44:33 UTC
Created attachment 183382 [details, diff]
Fix append-ldflags

This patch applies for aspell-0.60.6 as well.
Comment 3 Peter Volkov (RETIRED) gentoo-dev 2009-03-03 09:04:31 UTC
Thank you for report. Fixed in aspell-0.60.6-r1.