[Bug 1480047] Re: failure to build on wily proposed due to wrong LDFLAGS usage
Bug Watch Updater
1480047 at bugs.launchpad.net
Fri Jul 31 06:40:11 UTC 2015
** Changed in: quota (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1480047
Title:
failure to build on wily proposed due to wrong LDFLAGS usage
Status in quota package in Ubuntu:
New
Status in quota package in Debian:
New
Bug description:
quota build in Wily proposed is failing due to '-ltirpc' being added
to LDFLAGS instead of LIBS.
As stated in
https://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries
and
http://www.gnu.org/software/autoconf/manual/autoconf-2.60/html_node
/Preset-Output-Variables.html#index-LDFLAGS-93 libraries must be added
to LIBS instead of LDFLAGS.
The attached debdiff fixed the issue by:
1. Moving the '-ltirpc' entry from LDFLAGS to LIBS in debian/rules
2. Adding a $(LIBS) entry to binaries builds in Makefile.in
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quota/+bug/1480047/+subscriptions
More information about the Ubuntu-sponsors
mailing list