← Back to team overview

touch-packages team mailing list archive

[Bug 1479474] [NEW] failure to detect libbsd on build due to wrong LDFLAGS usage

 

Public bug reported:

libedit build in Wily proposed is failing due to LIBBSD_LIBS 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.

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

** Patch added: "replace LDFLAGS with LIBS to fix Wily proposed build"
   https://bugs.launchpad.net/bugs/1479474/+attachment/4435852/+files/fix_libbsd.patch

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to libedit in Ubuntu.
https://bugs.launchpad.net/bugs/1479474

Title:
  failure to detect libbsd on build due to wrong LDFLAGS usage

Status in libedit package in Ubuntu:
  New

Bug description:
  libedit build in Wily proposed is failing due to LIBBSD_LIBS 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.

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


Follow ups