[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#900673: marked as done (ibutils FTCBFS: abuses AC_CHECK_FILE)



Your message dated Wed, 11 Nov 2020 14:46:46 +0000
with message-id <E1kcrOY-000DbZ-KR@fasolo.debian.org>
and subject line Bug#900673: fixed in ibutils 1.5.7+0.2.gbd7e502-3
has caused the Debian Bug report #900673,
regarding ibutils FTCBFS: abuses AC_CHECK_FILE
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
900673: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900673
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: ibutils
Version: 1.5.7+0.2.gbd7e502-1
Tags: patch upstream
User: helmutg@debian.org
Usertags: rebootstrap

ibutils fails to cross build from source, because it abuses
AC_CHECK_FILE to discover includes. AC_CHECK_FILE is meant for
discovering files on the host machine, but here it is being used for
discovering files on the build machine. A simple test -f is better and
makes ibutils cross buildable. Please consider applying the attached
patch.

Helmut
--- ibutils-1.5.7+0.2.gbd7e502.orig/ibis/config/osm.m4
+++ ibutils-1.5.7+0.2.gbd7e502/ibis/config/osm.m4
@@ -166,7 +166,7 @@
 
 
    dnl validate the defined path - so the build id header is there
-   AC_CHECK_FILE($osm_include_dir/opensm/osm_config.h,,
+   AS_IF([test -f "$osm_include_dir/opensm/osm_config.h"],,
       AC_MSG_ERROR([OSM: could not find $with_osm/include/opensm/osm_config.h]))
 
    dnl now figure out somehow if the build was for debug or not
--- ibutils-1.5.7+0.2.gbd7e502.orig/config/osm.m4
+++ ibutils-1.5.7+0.2.gbd7e502/config/osm.m4
@@ -166,7 +166,7 @@
 
 
    dnl validate the defined path - so the build id header is there
-   AC_CHECK_FILE($osm_include_dir/opensm/osm_config.h,,
+   AS_IF([test -f "$osm_include_dir/opensm/osm_config.h"],,
       AC_MSG_ERROR([OSM: could not find $with_osm/include/opensm/osm_config.h]))
 
    dnl now figure out somehow if the build was for debug or not
--- ibutils-1.5.7+0.2.gbd7e502.orig/ibmgtsim/config/osm.m4
+++ ibutils-1.5.7+0.2.gbd7e502/ibmgtsim/config/osm.m4
@@ -166,7 +166,7 @@
 
 
    dnl validate the defined path - so the build id header is there
-   AC_CHECK_FILE($osm_include_dir/opensm/osm_config.h,,
+   AS_IF([test -f "$osm_include_dir/opensm/osm_config.h"],,
       AC_MSG_ERROR([OSM: could not find $with_osm/include/opensm/osm_config.h]))
 
    dnl now figure out somehow if the build was for debug or not

--- End Message ---
--- Begin Message ---
Source: ibutils
Source-Version: 1.5.7+0.2.gbd7e502-3
Done: Benjamin Drung <benjamin.drung@cloud.ionos.com>

We believe that the bug you reported is fixed in the latest version of
ibutils, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 900673@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Benjamin Drung <benjamin.drung@cloud.ionos.com> (supplier of updated ibutils package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Wed, 11 Nov 2020 14:44:54 +0100
Source: ibutils
Architecture: source
Version: 1.5.7+0.2.gbd7e502-3
Distribution: unstable
Urgency: medium
Maintainer: Debian HPC Team <debian-hpc@lists.debian.org>
Changed-By: Benjamin Drung <benjamin.drung@cloud.ionos.com>
Closes: 900673 913239 957354
Changes:
 ibutils (1.5.7+0.2.gbd7e502-3) unstable; urgency=medium
 .
   * Team upload.
   * Build for all Linux architectures (Closes: #913239)
   * Fix cross build. Thanks to Helmut Grohne for the patch (Closes: #900673)
   * Fix build failure with GCC 10 (Closes: #957354)
   * debian/watch: Correct version comparison
   * Regenerate man pages from POD files and fix POD errors
   * ibdmsh: Correct whatis entry
   * Fix spelling mistakes (found by lintian)
   * Switch to debhelper 13
   * Bump Standards-Version to 4.5.0
   * Set Rules-Requires-Root: no
   * Set ACLOCAL_AMFLAGS = -I config
Checksums-Sha1:
 51e7a576fbdad1668bfb15fb53c50da34d4c44bc 2228 ibutils_1.5.7+0.2.gbd7e502-3.dsc
 0467570547d301f0a0273aca74a62bfb7875e1c4 34580 ibutils_1.5.7+0.2.gbd7e502-3.debian.tar.xz
 095d324f1f55cf43042b820be3678598086e6069 8162 ibutils_1.5.7+0.2.gbd7e502-3_source.buildinfo
Checksums-Sha256:
 ac2516732ac4cd00b954dcfd3517433bae59ff57145900491870bd69032bf58f 2228 ibutils_1.5.7+0.2.gbd7e502-3.dsc
 b5dac094f984d34ee67e43741354183e8fea49bded0056a3b444e313b1859c05 34580 ibutils_1.5.7+0.2.gbd7e502-3.debian.tar.xz
 f8f73f33a37a82c59ec7d58c27db99adba076a8b85cdc892332746e8d096ced3 8162 ibutils_1.5.7+0.2.gbd7e502-3_source.buildinfo
Files:
 f75af7fc607da020de8901d557117ed1 2228 net optional ibutils_1.5.7+0.2.gbd7e502-3.dsc
 64cfb8392dd0f505954ee21536269e19 34580 net optional ibutils_1.5.7+0.2.gbd7e502-3.debian.tar.xz
 aedb3f6e9b0cb4ededf236423e17c2e2 8162 net optional ibutils_1.5.7+0.2.gbd7e502-3_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEE5/q3CzlQJ15towl13YzVpd6MfnoFAl+r6/MACgkQ3YzVpd6M
fnq7bA/9GEDI+MVb9VvSrY7WqcH8Ns6TnZGOcOyT5jjZUCLFRu9+82AVOQ9yCWoJ
GuZrZjPknw1yFmKYMBEKc22JhHWXnm7EI+cJou8pekwYOyFy0ZrSazaDjLYjlZaJ
V1tzdwBlnFdHgR9VdA1B4mDkU4jC84AV0zplbIJpgVnYQQPr8W4tIQXKY8V7hMRq
wicJyQ/1/PdkGtJg7gzPIrYn91OmgwIXal4N6ixa41ixSOYp7eJ2xgK/ZSyGgSma
07BUT6LV6XC0gMFysvQw3LJijoKok/TRnw92qXLHiSqt9t54jFrmD6599MExSaSN
IxmCIXHSgXMt3vLWG/x/TmrY+zYOZgJTZVyYHslwT915FGKmbV2RdlmvBKk8gHZW
66XZtgfYBNNNZiAyZomCQ8wJ0tLWNKPzDLw86QwILTv/1YRgPVxBeAk1MlYi1LlH
j8Cm9/KNETIJS2FxFxf3m8FBeShm/ZpvVC4VZd2UQu84jKGguPwDe+6njXCKixfZ
aTj8MRQZAfO/GS0KZmVn22pcLTge4qBMe/5zqhaZxdIoFBqLh/c0GVNSmXGw2x2n
Na2Wwp+uJcbtnP52pYi2kD0GFe/rZVHKJnIvcpGeBuKWKzCUShr5FEl49zGAFpqs
TP3hkSCwv6Sd717NU+74b7im/2cclwfGuLJqoVzJEswpGc0/BW4=
=uH2r
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: