util-linux FTBFS: cannot find -lmount

Bug #1442076 reported by themusicgod1
2
Affects Status Importance Assigned to Milestone
util-linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

libtool: install: /usr/bin/install -c kill /bin/kill
 /bin/mkdir -p '/usr/lib/python2.7/dist-packages/libmount'
 /bin/bash ./libtool --mode=install /usr/bin/install -c pylibmount.la '/usr/lib/python2.7/dist-packages/libmount'
libtool: install: warning: relinking `pylibmount.la'
libtool: install: (cd /home/themusicgod1/ddd/util-linux-2.25.2; /bin/bash /home/themusicgod1/ddd/util-linux-2.25.2/libtool --silent --tag CC --mode=relink gcc -std=gnu99 -fsigned-char -fno-common -Wall -Werror=sequence-point -Wextra -Wmissing-declarations -Wmissing-parameter-type -Wmissing-prototypes -Wno-missing-field-initializers -Wredundant-decls -Wsign-compare -Wtype-limits -Wuninitialized -Wunused-but-set-parameter -Wunused-but-set-variable -Wunused-parameter -Wunused-result -Wunused-variable -Wnested-externs -Wpointer-arith -Wstrict-prototypes -Wformat-security -I/usr/include/python2.7 -I/usr/include/x86_64-linux-gnu/python2.7 -I./libmount/src -fno-strict-aliasing -g -O2 -avoid-version -module -shared -export-dynamic -o pylibmount.la -rpath /usr/lib/python2.7/dist-packages/libmount libmount/python/pylibmount_la-pylibmount.lo libmount/python/pylibmount_la-fs.lo libmount/python/pylibmount_la-tab.lo libmount/python/pylibmount_la-context.lo libmount.la -lpython2.7 )
/usr/bin/ld: cannot find -lmount
collect2: error: ld returned 1 exit status
libtool: install: error: relink `pylibmount.la' with the above command before installing it
Makefile:4436: recipe for target 'install-pylibmountexecLTLIBRARIES' failed
make[3]: *** [install-pylibmountexecLTLIBRARIES] Error 1
make[3]: Leaving directory '/home/themusicgod1/ddd/util-linux-2.25.2'
Makefile:10522: recipe for target 'install-am' failed
make[2]: *** [install-am] Error 2
make[2]: Leaving directory '/home/themusicgod1/ddd/util-linux-2.25.2'
Makefile:10058: recipe for target 'install-recursive' failed
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory '/home/themusicgod1/ddd/util-linux-2.25.2'
Makefile:10516: recipe for target 'install' failed
make: *** [install] Error 2

Ubuntu: 15.04
util-linux: 2.25.2-4ubuntu2
linux: Linux Hedy 3.19.0-12-generic #12-Ubuntu SMP Fri Apr 3 04:03:26 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
python:
  Installed: 2.7.9-1
  Candidate: 2.7.9-1

ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: util-linux 2.25.2-4ubuntu2 [modified: bin/dmesg bin/lsblk bin/more bin/wdctl]
ProcVersionSignature: Ubuntu 3.19.0-12.12-generic 3.19.3
Uname: Linux 3.19.0-12-generic x86_64
ApportVersion: 2.17-0ubuntu1
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Apr 9 06:35:14 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-07-09 (273 days ago)
InstallationMedia: Ubuntu-GNOME 14.10 "Utopic Unicorn" - Alpha amd64 (20140708)
SourcePackage: util-linux
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
themusicgod1 (themusicgod1) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

I cannot reproduce this. It built fine on Launchpad (although already two months ago), and still builds fine with sbuild on current vivid. How exactly did you build this? Please include the full command and build log.

Changed in util-linux (Ubuntu):
status: New → Incomplete
Revision history for this message
themusicgod1 (themusicgod1) wrote :

can no longer reproduce

Revision history for this message
Martin Pitt (pitti) wrote :

Thanks for reporting back. Closing then.

Changed in util-linux (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Filipe Brandenburger (filbranden) wrote :

This is a real bug... The most likely reason why it stopped reproducing is because libmount-dev was installed in the base host?

In any case, upstream fix (or workaround) is here:
https://github.com/karelzak/util-linux/pull/247

Cheers,
Filipe

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.