Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#16439 - makepkg.conf breaks compilation of any package
Attached to Project:
Arch Linux
Opened by J. McBlane (Square) - Friday, 02 October 2009, 23:18 GMT
Last edited by Allan McRae (Allan) - Saturday, 03 October 2009, 00:02 GMT
Opened by J. McBlane (Square) - Friday, 02 October 2009, 23:18 GMT
Last edited by Allan McRae (Allan) - Saturday, 03 October 2009, 00:02 GMT
|
DetailsDescription:
makepkg.conf includes an LDFLAGS line that breaks compilation of anything at all through makepkg. The line was previously commented, but it uncommented in the new file provided in the newer package. The error given is: checking for C compiler default output file name... configure: error: in `/home/square/abs/irssi/src/irssi-0.8.14': configure: error: C compiler cannot create executables See `config.log' for more details. make: *** No targets specified and no makefile found. Stop. ==> ERROR: Build Failed. Aborting... And again, this happens with *any* package to be built, and after commenting the LDFLAGS line once more, everything builds properly. Additional info: * pacman 3.3.1-1 * makepkg.conf * broken line: LDFLAGS="-Wl, --hash-style=gnu -Wl, --as-needed" Steps to reproduce: Attempt to build a package with the makepkg.conf.pacnew provided from upgrading to the pacman version. |
This task depends upon
I've compiled a whole GNOME 2.28 repository with these flags and haven't seen any problems with them.
LDFLAGS="-Wl,--hash-style=gnu -Wl,--as-needed"
(without spaces as Jan said)