Source: php8.2 Severity: wishlist Tags: ftbfs patch User: [email protected] Usertags: riscv64 X-Debbugs-Cc: [email protected], [email protected], [email protected]
Hi, The package still in experimental builds with the changes attached, I built the package locally on this architecture, so please include it (or add an equivalent solution) in the next uploads, at least before moving to unstable. Thanks and cheers. -- Manuel A. Fernandez Montecelo <[email protected]>
diff -Nru php8.2-8.2.0~rc5/debian/changelog php8.2-8.2.0~rc5/debian/changelog --- php8.2-8.2.0~rc5/debian/changelog 2022-10-28 17:55:40.000000000 +0000 +++ php8.2-8.2.0~rc5/debian/changelog 2022-12-04 09:18:27.000000000 +0000 @@ -1,3 +1,10 @@ +php8.2 (8.2.0~rc5-1+0.riscv64.1) unreleased; urgency=medium + + * Non-maintainer upload. + * riscv64: fix linking against -latomic + + -- Manuel A. Fernandez Montecelo <[email protected]> Sun, 04 Dec 2022 09:18:27 +0000 + php8.2 (8.2.0~rc5-1) experimental; urgency=medium * New upstream version 8.2.0~rc5 diff -Nru php8.2-8.2.0~rc5/debian/rules php8.2-8.2.0~rc5/debian/rules --- php8.2-8.2.0~rc5/debian/rules 2022-10-28 17:55:40.000000000 +0000 +++ php8.2-8.2.0~rc5/debian/rules 2022-12-04 09:18:27.000000000 +0000 @@ -156,7 +156,12 @@ # Enable producing of debugging information DEB_CFLAGS_MAINT_APPEND += -g -DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +# needs to link explicitly against libatomic on riscv64 +ifneq (,$(filter $(DEB_HOST_ARCH),riscv64)) +DEB_LDFLAGS_MAINT_APPEND += -latomic +endif + +DEB_LDFLAGS_MAINT_APPEND += -Wl,--as-needed export DEB_CFLAGS_MAINT_APPEND export DEB_LDFLAGS_MAINT_APPEND

