Public bug reported:

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

** Affects: quota (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs patch

** Patch added: "fix Wily proposed build by moving lirpc from LDFLAGS to LIBS"
   
https://bugs.launchpad.net/bugs/1480047/+attachment/4436621/+files/move-tirpc-to-libs.debdiff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1480047

Title:
  failure to build on wily proposed due to wrong LDFLAGS usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/quota/+bug/1480047/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to