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

Bug#996841: marked as done (openclonk FTCBFS: needs a native build pass)



Your message dated Fri, 23 Dec 2022 17:20:56 +0000
with message-id <E1p8lj6-008FKo-Lt@fasolo.debian.org>
and subject line Bug#996841: fixed in openclonk 8.1-3
has caused the Debian Bug report #996841,
regarding openclonk FTCBFS: needs a native build pass
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.)


-- 
996841: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=996841
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: openclonk
Version: 8.1-2
Tags: patch
User: debian-cross@lists.debian.org
Usertags: ftcbfs
Control: block -1 by 984274

openclonk fails to cross build from source, because it needs a native
build pass to build c4group and import it during a cross build pass. The
attached patch implements that, by running cmake in a separate build
directory with reduced dependencies. The remaining required dependencies
are duplicated with :native. With this patch, a cross build fails like
#984274. Please consider applying the attached patch.

Helmut
diff --minimal -Nru openclonk-8.1/debian/changelog openclonk-8.1/debian/changelog
--- openclonk-8.1/debian/changelog	2021-01-03 22:24:57.000000000 +0100
+++ openclonk-8.1/debian/changelog	2021-10-18 19:19:59.000000000 +0200
@@ -1,3 +1,9 @@
+openclonk (8.1-3) UNRELEASED; urgency=medium
+
+  * Fix FTCBFS: Pass -DIMPORT_NATIVE_TOOLS=path-to-native-build. (Closes: #-1)
+
+ -- Helmut Grohne <helmut@subdivi.de>  Mon, 18 Oct 2021 19:19:59 +0200
+
 openclonk (8.1-2) unstable; urgency=medium
 
   * Remove myself from Uploaders and orphan the package.
diff --minimal -Nru openclonk-8.1/debian/clean openclonk-8.1/debian/clean
--- openclonk-8.1/debian/clean	1970-01-01 01:00:00.000000000 +0100
+++ openclonk-8.1/debian/clean	2021-10-18 19:19:07.000000000 +0200
@@ -0,0 +1 @@
+build-native
diff --minimal -Nru openclonk-8.1/debian/control openclonk-8.1/debian/control
--- openclonk-8.1/debian/control	2021-01-03 22:24:57.000000000 +0100
+++ openclonk-8.1/debian/control	2021-10-18 19:19:59.000000000 +0200
@@ -2,7 +2,7 @@
 Section: games
 Priority: optional
 Maintainer: Debian QA Group <packages@qa.debian.org>
-Build-Depends: debhelper (>= 10), cmake (>= 3.0.2), libx11-dev, libxxf86vm-dev, libxrandr-dev, libxpm-dev, libglew-dev (>= 1.5.6), libgl1-mesa-dev, libpng-dev, libsdl2-dev, libsdl2-mixer-dev, libgtk-3-dev, qtbase5-dev, libjpeg-dev, zlib1g-dev, libupnp-dev, libfreetype6-dev, libboost-regex-dev, imagemagick, libtinyxml-dev, libopenal-dev, libalut-dev, libgtest-dev, libb2-dev
+Build-Depends: debhelper (>= 10), cmake (>= 3.0.2), libx11-dev, libxxf86vm-dev, libxrandr-dev, libxpm-dev, libglew-dev (>= 1.5.6), libgl1-mesa-dev, libpng-dev, libpng-dev:native, libsdl2-dev, libsdl2-mixer-dev, libgtk-3-dev, qtbase5-dev, libjpeg-dev, libjpeg-dev:native, zlib1g-dev, zlib1g-dev:native, libupnp-dev, libfreetype6-dev, libboost-regex-dev, imagemagick, libtinyxml-dev, libopenal-dev, libalut-dev, libgtest-dev, libb2-dev
 Standards-Version: 4.1.3
 Rules-Requires-Root: no
 Homepage: https://www.openclonk.org
diff --minimal -Nru openclonk-8.1/debian/rules openclonk-8.1/debian/rules
--- openclonk-8.1/debian/rules	2021-01-03 22:24:57.000000000 +0100
+++ openclonk-8.1/debian/rules	2021-10-18 19:19:59.000000000 +0200
@@ -12,7 +12,13 @@
 endif
 
 override_dh_auto_configure:
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+	dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_configure --builddirectory=build-native -- -DHEADLESS_ONLY=ON
+	dpkg-architecture -a$(DEB_BUILD_ARCH) -f -c dh_auto_build --builddirectory=build-native -- c4group
+	dh_auto_configure -- $(CONFIG_ARGS) -DIMPORT_NATIVE_TOOLS=../build-native/NativeToolsExport.cmake
+else
 	dh_auto_configure -- $(CONFIG_ARGS)
+endif
 
 override_dh_strip:
 	dh_strip --dbgsym-migration='openclonk-dbg (<< 8.0-1~)'

--- End Message ---
--- Begin Message ---
Source: openclonk
Source-Version: 8.1-3
Done: Bo YU <tsu.yubo@gmail.com>

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

Debian distribution maintenance software
pp.
Bo YU <tsu.yubo@gmail.com> (supplier of updated openclonk 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: Fri, 23 Dec 2022 21:49:46 +0800
Source: openclonk
Architecture: source
Version: 8.1-3
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Bo YU <tsu.yubo@gmail.com>
Closes: 984274 996841
Changes:
 openclonk (8.1-3) unstable; urgency=medium
 .
   * QA upload.
   * Fix FTCBFS: Pass -DIMPORT_NATIVE_TOOLS=path-to-native-build.
     Thanks to Helmut Grohne. (Closes: #996841)
   * Fix ftbfs on GCC-11. (Closes: #984274)
Checksums-Sha1:
 8466775dea617a12e0d407c609e6a7b594f2b856 2293 openclonk_8.1-3.dsc
 aaf4ff16f6b218100df9550e7c23180345e421c3 8036 openclonk_8.1-3.debian.tar.xz
 e4a7b1952d94a1ab624f1a6e02ac0915edcc4fda 18037 openclonk_8.1-3_source.buildinfo
Checksums-Sha256:
 bc43cde494e347b36d4286c2f610bc84f5a3dc35f2d91b82278498aa461f78a0 2293 openclonk_8.1-3.dsc
 05fbb7d82a88b37217f0478c3d60e06c72ce6ec4f3fb08260729431bd06b3b62 8036 openclonk_8.1-3.debian.tar.xz
 33f0b3980e60f3e2b12774ee205ff91ee1ae80b0d51574fc31f17b671f2383d6 18037 openclonk_8.1-3_source.buildinfo
Files:
 0a867fafe1face399846adc2dade3b33 2293 games optional openclonk_8.1-3.dsc
 48d0ec17dab8f40cf4cbeb670c4f619e 8036 games optional openclonk_8.1-3.debian.tar.xz
 3dc4be7159ad0ced154f516666b36837 18037 games optional openclonk_8.1-3_source.buildinfo

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

iQIzBAEBCgAdFiEEkjZVexcMh/iCHArDweDZLphvfH4FAmOl21EACgkQweDZLphv
fH4KgQ//ch3Z9XfL0r5eLITmSxk8op8ohRCqVLa1O8hmNZQYxoUa2ilZJESjpeao
VGi6SlDw/E+SEPLvPY6OPLz1ZRiw2EXauQbtgXoFdPdd7qx9p5TC8MkKjELeXduJ
YPGPX4FcC9mLskIojL5erNd1GalNHCM2NJ3nj2SUzKkgHVBa5h3VBX5Q/WoJ+2iQ
2UylaOmL/a3vPFpOhLdl2jwyZAdQmmOQzvXuXyO6hk6xvyPtn3WCKrtKuecluq7L
viYgoYK2L0C25LjSeIYudY3hgOEPMm784xDoLYsCx+BrNopxRN2+eKE9wjnFqnmD
miCULGz6qn/9oQwvkgPjELoJXxVOI41YXtZvT9iU9DDrG/1kPD3IQ80x7XnnMVzj
O3zDB4tLzhH6hE94Lr54rA3C68VxDVyKTA7CSSJIy+vM9Ldmr40u/ncQQIPxhiMm
38mJPK1EGLhEbjBNQSJz/ctnCJ7Kt6dxSCrgz8EGAGQQJwD91VyYekiN3kGmPQug
9NI7j5daHK0vmz7/cK/aOSIBqMOmoi3TcqbKLIoi0jtMi1lvig29F0P792NT/Rtt
XzeFkLRJ1iGKV1zeZi8Y2PKbVXv93P/JZEDBgBhTSFyu9EC7Fei3VdwNPTC4wI59
odesLgv4GOJdqyyuD/zS9EcGx0Tl66aqnCip2406p5tqDz4GJ3s=
=wz7X
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: