Re: Bug#889521: libmsv FTBFS on mips64el: shared library not built

Aurelien Jarno <[email protected]>
Newsgroups gmane.linux.debian.ports.mips
Message-ID <[email protected]>
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&arch=mips64el&ver=1.1.1-1&stamp=1517695216&raw=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
[email protected]                 http://www.aurel32.net
libmsv_1.1.1-1_mips64el.patch (text/x-diff, 544 B)
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.000000000 +0100
+++ libmsv-1.1.1/debian/control	2018-02-04 12:54:28.000000000 +0100
@@ -1,7 +1,7 @@
 Source: libmsv
 Priority: optional
 Maintainer: Clint Adams <[email protected]>
-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 (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIyBAEBCgAdFiEEUryGlb40+QrX1Ay4E4jA+JnoM2sFAlp29ScACgkQE4jA+Jno
M2soAQ/4ymdJlqCKcqXAUrVLDn0xDdGntOgtEFx+gQ9VvsKcLp3Ihdrtl2TKzCpi
1tYzA0gQ44KyM2urztpNBnV47dOgJ32OzgNglrL27zJ4mF/e8oeQ0hNXXUIMWFl3
IIxAKbrrshqADQMqF2fVayQLxDcAIn2KryA54tYO/PhfOWVuhxnZ/t1LnnZKLX7Q
nb5i2W0hS2IwLTltPzHuSXXDfZJrQIkeP3WuZa6k+ZOlgggk2l93Yr2LE2WrwbdD
cQYw4bcZZ+Yq0oLu+jjUd/2tpOC+AeZk2xfcOc2WwOJRNPbR5lUgKAJOkcc/Kc9h
fZzJ8f/Gyjnvaw2MVMwuTQOEApHt03hA7JuiRdGZG9egq5JMpNuw1qOOnt3GDDY0
rg/5YGd6B3GYOoS7t2ynmNNYKoc1aXMMdym2WAnYdtRLXtybwdVCSTuizsa5b5Su
5HyJb4KruAmh7ndCSRRDpmfCMUiU310SoXG3ytgT9tcMaSeSbpSImQv1+yCuGvPF
SCKWW2/DcqGx84Ej2hmfdJSqtEUenhdbntSizZMW5odP7SDxtNSIoDPpksmfeu1S
2GRx9PTyDfebWzVz/24Nl1to3k/4lgsSRtlGdi4Rh/nY/wZZI5N37oACmDvuMtE7
h8old1rv8z0ZRjlZ4KOlyjoZZaJIvu02RW0WZc6TN+Jal7Vlmg==
=hvAS
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.