control: retitle -1 Bug#889521: libmsv: missing build-dependency on file
control: tag -1 + patch
On 2018-02-04 08:38, Adrian Bunk wrote:
> Source: libmsv
> Version: 1.1.1-1
> Severity: serious
>
> https://buildd.debian.org/status/fetch.php?pkg=libmsv=mips64el=1.1.1-1=1517695216=0
>
> ...
> checking whether to build shared libraries... no
> ...
> mv debian/libmsv1/usr/lib/*.a debian/libmsv-dev/usr/lib
> mv debian/libmsv1/usr/lib/*.so debian/libmsv-dev/usr/lib
> mv: cannot stat 'debian/libmsv1/usr/lib/*.so': No such file or directory
> debian/rules:45: recipe for target 'binary-arch' failed
> make: *** [binary-arch] Error 1
The problem comes from the following lines at the beginning of the build
log when running the configure script:
| checking how to truncate binary pipes... /bin/dd bs=4096 count=1
| ./configure: line 6508: /usr/bin/file: No such file or directory
| ./configure: line 6516: /usr/bin/file: No such file or directory
| ./configure: line 6524: /usr/bin/file: No such file or directory
| checking for mt... no
The new upstream version has an updated libtool, which requires
/usr/bin/file on mips64el.
Note that file is also missing on other architectures, though the build
succeed. For example on amd64:
| checking how to truncate binary pipes... /bin/dd bs=4096 count=1
| ./configure: line 6548: /usr/bin/file: No such file or directory
| checking for mt... no
The fix for that is to build-depends on file, like done in the attached
patch.
> For some reason it Works for me on eller.
The default chroots on porterboxes have file installed.
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net
diff -Nru libmsv-1.1.1/debian/control libmsv-1.1.1/debian/control
--- libmsv-1.1.1/debian/control 2018-02-03 21:19:40.0 +0100
+++ libmsv-1.1.1/debian/control 2018-02-04 12:54:28.0 +0100
@@ -1,7 +1,7 @@
Source: libmsv
Priority: optional
Maintainer: Clint Adams
-Build-Depends: doxygen, libcurl4-nss-dev, libjansson-dev, dpkg (>= 1.19.0.3~)
+Build-Depends: doxygen, libcurl4-nss-dev, libjansson-dev, dpkg (>= 1.19.0.3~), file
Standards-Version: 4.1.3
Section: libs
Homepage: http://floss.scru.org/libmsv/
signature.asc
Description: PGP signature