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

Bug#1024611: marked as done (rocminfo FTCBFS: confused architecture terminology)



Your message dated Mon, 02 Jan 2023 22:25:04 +0000
with message-id <E1pCTEu-00By0h-4H@fasolo.debian.org>
and subject line Bug#1024611: fixed in rocminfo 5.2.3-2
has caused the Debian Bug report #1024611,
regarding rocminfo FTCBFS: confused architecture terminology
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.)


-- 
1024611: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1024611
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: rocminfo
Version: 5.2.3-1
Tags: patch upstream
User: debian-cross@lists.debian.org
Usertags: ftcbfs

rocminfo fails to cross build from source, because it passes invalid
compiler flags. The detection is broken due to confusing architecture
terminologies. The system we are building on is called "build" in Debian
and GNU, but for cmake it is called "host". The system we are building
for is called "host" in Debian and GNU, but for cmake it is empty (it
doesn't have a name). I'm attaching a patch for your convenience and
hope to not leave too much confusion.

Helmut
--- rocminfo-5.2.3.orig/CMakeLists.txt
+++ rocminfo-5.2.3/CMakeLists.txt
@@ -143,7 +143,7 @@
 #
 # Extend the compiler flags for 64-bit builds
 #
-if((${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "x86_64") OR (${CMAKE_HOST_SYSTEM_PROCESSOR} STREQUAL "AMD64"))
+if((${CMAKE_SYSTEM_PROCESSOR} STREQUAL "x86_64") OR (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "AMD64"))
   set(ROCMINFO_CXX_FLAGS ${ROCMINFO_CXX_FLAGS} -msse -msse2)
 endif()
 

--- End Message ---
--- Begin Message ---
Source: rocminfo
Source-Version: 5.2.3-2
Done: Étienne Mollier <emollier@debian.org>

We believe that the bug you reported is fixed in the latest version of
rocminfo, 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 1024611@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Étienne Mollier <emollier@debian.org> (supplier of updated rocminfo 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: Mon, 02 Jan 2023 22:35:17 +0100
Source: rocminfo
Architecture: source
Version: 5.2.3-2
Distribution: unstable
Urgency: medium
Maintainer: ROCm Team <debian-ai@lists.debian.org>
Changed-By: Étienne Mollier <emollier@debian.org>
Closes: 1024611 1026931
Changes:
 rocminfo (5.2.3-2) unstable; urgency=medium
 .
   * cross.patch: fix failure to cross-build from source.
     Thanks to Helmut Grohne for the heavy lifting (Closes: #1024611)
   * d/salsa-ci.yml: disable i386 while dependencies are missing.
   * d/control: rocminfo depends on kmod.
     Thanks to Cordell Bloor (Closes: #1026931)
   * d/copyright: update copyright year.
Checksums-Sha1:
 91f299a29d7047d8af392a9c8f6b50d676f6c7a7 2208 rocminfo_5.2.3-2.dsc
 2bf3d8830e3b4e6dc8f99322fdccb70d79dbda0e 4724 rocminfo_5.2.3-2.debian.tar.xz
Checksums-Sha256:
 7c7e415b32e95388641d43332c5378ff6841b42d0a8d323b84bb66cf177ef62b 2208 rocminfo_5.2.3-2.dsc
 133e7c2b25720089748c59b812614c0770ab7fa19f5e91f6700680770df0a9e2 4724 rocminfo_5.2.3-2.debian.tar.xz
Files:
 73936565ed61bb466c27f6bfa17469d0 2208 devel optional rocminfo_5.2.3-2.dsc
 d05340489e542e805272a80d3dec5c1c 4724 devel optional rocminfo_5.2.3-2.debian.tar.xz

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

iQJIBAEBCgAyFiEEj5GyJ8fW8rGUjII2eTz2fo8NEdoFAmOzU9MUHGVtb2xsaWVy
QGRlYmlhbi5vcmcACgkQeTz2fo8NEdokZA//cwomtfzrhYoevji8lGYg5bMMpK88
DBpFveARr7vFmaZ9HbNCHrUAAg0J03puR8hBsnZ7SuqnVAJxnSyI1bLI3Ss7Xd2W
p0Af3dJDffICHfJZ8gDLkPdV17TzroiIVZpGc+4QrQexFnCuLvH2IXg8DXF7fSFa
ePVGzBjqDwSH3SVO+tcrPzdui5rZ/uYqPRvWO7PP9CPePgABa/ap6vKtvkiglfcv
qpllUDI7fU/PZ8ksYMf8524T2LvUmZPfJAzta0fE5unU/fSG6p/XjZmzdhEKmTsx
jKtzkV+ni91WOdEXl10ShvYF3p4baL97ZBEjZiC7q28BJtGVoo4jtyX0vBqAOwhF
+TNDyFaM43AO2mA7vZRIFbhe0z/YBZLl/6ewQCh8S6wRUnEn8zlj3F6mN1tEhPLR
xmeOWrYKXcqZvGMPgav4Bke6EBwiqqeQoE6YmMEWo1mEVCwZpRYyt6nSDi8gt5Jh
oI7PDrdCOBqyhkXyCVaAnoXeQeOXzy+zGLrHjFrJ4B1DXf9CRmIPV8B+4NZK1Jl/
0cyPVE4vHwQ1biZrGijViG6H65tMwQWIjPNGhZzvrnibb0r1MPgMr0VNaYxLfoKn
P82TagirYzWiFcZdIKxYfzB3LDjVcNk5+mkEBeCWA7oEpHsaR3ncziUyHO4E6Ncv
givPtKCFjdbIPWc=
=XD8z
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: