Your message dated Mon, 27 Sep 2021 19:19:05 +0000 with message-id <[email protected]> and subject line Bug#987700: fixed in bornagain 1.19.0-2 has caused the Debian Bug report #987700, regarding bornagain: buggy cmake 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 [email protected] immediately.) -- 987700: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=987700 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Source: bornagain Tags: patch Hi, cmake/BornAgain/Linux.cmake currently has the following lines: execute_process(COMMAND uname -m OUTPUT_VARIABLE SYSCTL_OUTPUT) if(${SYSCTL_OUTPUT} MATCHES x86_64) message(STATUS "Found a 64bit system") set(BIT_ENVIRONMENT "-m64") set(BORNAGAIN_ARCHITECTURE linuxx8664) else() message(STATUS "Found a 32bit system") set(BIT_ENVIRONMENT "-m32") add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY=1) endif() This has the following affects: * It stops cross building since it reads build's `uname`. * It stops building for most non-amd64 64-bit archs since it doesn't recognize them as 64-bit archs. * It stops building for most non-i386 archs since they don't accept `-m32`. Please consider applying this patch.diff --git a/cmake/BornAgain/Linux.cmake b/cmake/BornAgain/Linux.cmake index 2f482ee..98f67a5 100644 --- a/cmake/BornAgain/Linux.cmake +++ b/cmake/BornAgain/Linux.cmake @@ -1,14 +1,13 @@ set(BORNAGAIN_ARCHITECTURE linux) set(BORNAGAIN_PLATFORM linux) -execute_process(COMMAND uname -m OUTPUT_VARIABLE SYSCTL_OUTPUT) -if(${SYSCTL_OUTPUT} MATCHES x86_64) +if(CMAKE_SIZEOF_VOID_P GREATER 4) message(STATUS "Found a 64bit system") - set(BIT_ENVIRONMENT "-m64") - set(BORNAGAIN_ARCHITECTURE linuxx8664) + if(${CMAKE_SYSTEM_PROCESSOR} STREQUAL x86_64) + set(BORNAGAIN_ARCHITECTURE linuxx8664) + endif() else() message(STATUS "Found a 32bit system") - set(BIT_ENVIRONMENT "-m32") add_definitions(-DEIGEN_DONT_ALIGN_STATICALLY=1) endif()
--- End Message ---
--- Begin Message ---Source: bornagain Source-Version: 1.19.0-2 Done: Picca Frédéric-Emmanuel <[email protected]> We believe that the bug you reported is fixed in the latest version of bornagain, 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 [email protected], and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Picca Frédéric-Emmanuel <[email protected]> (supplier of updated bornagain 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 [email protected]) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Mon, 27 Sep 2021 21:01:20 +0200 Source: bornagain Architecture: source Version: 1.19.0-2 Distribution: unstable Urgency: medium Maintainer: Debian Science Maintainers <[email protected]> Changed-By: Picca Frédéric-Emmanuel <[email protected]> Closes: 983998 987677 987700 Changes: bornagain (1.19.0-2) unstable; urgency=medium . * Bug fix: "buggy cmake file", thanks to Yangfl (Closes: #987700). * Bug fix: "contains ccache prebuilt objects", thanks to Yangfl (Closes: #987677). * Bug fix: "ftbfs with GCC-11", thanks to Matthias Klose (Closes: #983998). Checksums-Sha1: 38d5c47e1d458de01bd8fdefe44a622941620bd5 2767 bornagain_1.19.0-2.dsc 676ec085bef0a8dd66f0070e418f3a6014c53916 8284 bornagain_1.19.0-2.debian.tar.xz Checksums-Sha256: 5881d6f007bf2c87e569df95f149719ff14adc364a53ace19839c89c543d32b3 2767 bornagain_1.19.0-2.dsc d0598c56ea3193ce03e4de06761a4e53983f31597141f8f6f2a0d1003470678b 8284 bornagain_1.19.0-2.debian.tar.xz Files: 864bfe6753ecc4e934dad9895b0dfdef 2767 science optional bornagain_1.19.0-2.dsc 467cbace73d660c00f8a5a1a9ca67d26 8284 science optional bornagain_1.19.0-2.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQJFBAEBCgAvFiEE2bRTt5m4gw2UXmoKW/VOXhK5ALsFAmFSFWcRHHBpY2NhQGRl Ymlhbi5vcmcACgkQW/VOXhK5ALtXVA//eyrS31SHXUI3+HlkyodokBq4RFJf1Swn Mt+W/FZ0ER14krdadaUi7eplh8QkefLzH2eFJYd4xR+W1dQWBfUKPYuniRp2a88/ +cz3gsGfDZp4bfuZqtGXjsukKR8sEEs0c4FMD7IwsMG/yr0Tr6B+8Sy/P6V2BNA5 nn4uK6XikUm+8ZIn1k9O9I9K8P7WA6EYFfddXNCyJ1hQkcF0n5SVZk1DXuENxQja y0dLKHpxcJJ+TNmYk4Vir5Ncp9TufitBVE3QUaIqDZNzroJdcV/Sr+77AH5+o1ai xe92CxuBYcsXBaCdO6k1rHfqmOzejlb9UX58HbZuusMvzVYNNrjzUqSTHi+POg2S ZOHXxtqY2XILUbPic+F5muYjp50CF8MA5+9hdEOgk1d0sYdqcuYJLDQP/5qtgI9A 7YAeh2VGYghC040pqhSMUGWaf06HbfDoxQ71QqdhXwRkZI5f9sa72wKHNkb6exxE 7JB2fjgeEHFHudZSjedC+8Ju7+IXqrs03FQL6LveC19iHYtwfXfw4PA1F6P7PYFE l2Y7r7Td+pFXXf2WNVbIAIYFbuXKl1A5JzsxLvRFQnj5JB5OEPXnSlVI7scpq9z2 m+/TqmS1rjwVs0fpQ70wZ6vR9cfbr8YgiiqB+4ifW7sLQagTNstyin9rAFWraegF hitmTeJguaM= =VJTa -----END PGP SIGNATURE-----
--- End Message ---
-- debian-science-maintainers mailing list [email protected] https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers
