Your message dated Sun, 24 Aug 2025 18:22:17 +0000
with message-id <[email protected]>
and subject line Bug#1110409: fixed in radlib 2.12.0-8
has caused the Debian Bug report #1110409,
regarding radlib FTCBFS: multiple reasons
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.)
--
1110409: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1110409
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: radlib
Version: 2.12.0-7
Tags: patch
User: [email protected]
Usertags: ftcbfs
X-Debbugs-Cc: [email protected]
Dear Maintainer,
radlib fails to cross-build because:
1. in d/rules, it uses ./configure command. This causes
the compiler to be passed as gcc instead of the (triplet prefixed)
cross-compiler.
Additionally, it also sets some options for --build and --host but these were
never
passed to configure.
2. The Makefile.* files have un-necessary invocations to compile and link
against
crt1.o, crtn.o etc -- the cross compiler should already take care of this.
Please consider to review/apply attached patch.
Thanks
Nilesh
diff -Nru radlib-2.12.0/debian/changelog radlib-2.12.0/debian/changelog
--- radlib-2.12.0/debian/changelog 2024-03-16 04:42:00.000000000 +0530
+++ radlib-2.12.0/debian/changelog 2025-08-05 01:51:21.000000000 +0530
@@ -1,3 +1,10 @@
+radlib (2.12.0-7.1) UNRELEASED; urgency=medium
+
+ * Non-maintainer upload.
+ * Fixup cross-builds (Closes: #-1)
+
+ -- Nilesh Patra <[email protected]> Tue, 05 Aug 2025 01:51:21 +0530
+
radlib (2.12.0-7) unstable; urgency=medium
* debian/control: bump standard to 4.6.2 (no changes)
diff -Nru radlib-2.12.0/debian/patches/cross.patch radlib-2.12.0/debian/patches/cross.patch
--- radlib-2.12.0/debian/patches/cross.patch 1970-01-01 05:30:00.000000000 +0530
+++ radlib-2.12.0/debian/patches/cross.patch 2025-08-05 01:50:44.000000000 +0530
@@ -0,0 +1,40 @@
+--- a/debug/Makefile.am
++++ b/debug/Makefile.am
+@@ -38,7 +38,3 @@
+ INCLUDES += -I$(prefix)/pgsql/include
+ endif
+ endif
+-
+-if CROSSCOMPILE
+-raddebug_LDFLAGS += $(prefix)/lib/crt1.o $(prefix)/lib/crti.o $(prefix)/lib/crtn.o
+-endif
+--- a/debug/Makefile.in
++++ b/debug/Makefile.in
+@@ -43,7 +43,6 @@
+ @MYSQL_TRUE@am__append_4 = -L$(prefix)/lib64/mysql -L$(prefix)/lib/mysql -L/usr/lib64/mysql -L/usr/lib/mysql
+ @MYSQL_FALSE@@PGRESQL_TRUE@am__append_5 = -L$(prefix)/pgsql/lib
+ @MYSQL_FALSE@@PGRESQL_TRUE@am__append_6 = -I$(prefix)/pgsql/include
+-@CROSSCOMPILE_TRUE@am__append_7 = $(prefix)/lib/crt1.o $(prefix)/lib/crti.o $(prefix)/lib/crtn.o
+ subdir = debug
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+--- a/msgRouter/Makefile.am
++++ b/msgRouter/Makefile.am
+@@ -38,7 +38,3 @@
+ INCLUDES += -I$(prefix)/pgsql/include
+ endif
+ endif
+-
+-if CROSSCOMPILE
+-radmrouted_LDFLAGS += $(prefix)/lib/crt1.o $(prefix)/lib/crti.o $(prefix)/lib/crtn.o
+-endif
+--- a/msgRouter/Makefile.in
++++ b/msgRouter/Makefile.in
+@@ -43,7 +43,6 @@
+ @MYSQL_TRUE@am__append_4 = -L$(prefix)/lib64/mysql -L$(prefix)/lib/mysql -L/usr/lib64/mysql -L/usr/lib/mysql
+ @MYSQL_FALSE@@PGRESQL_TRUE@am__append_5 = -L$(prefix)/lib -L$(prefix)/pgsql/lib
+ @MYSQL_FALSE@@PGRESQL_TRUE@am__append_6 = -I$(prefix)/pgsql/include
+-@CROSSCOMPILE_TRUE@am__append_7 = $(prefix)/lib/crt1.o $(prefix)/lib/crti.o $(prefix)/lib/crtn.o
+ subdir = msgRouter
+ DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
diff -Nru radlib-2.12.0/debian/patches/series radlib-2.12.0/debian/patches/series
--- radlib-2.12.0/debian/patches/series 2024-03-16 04:42:00.000000000 +0530
+++ radlib-2.12.0/debian/patches/series 2025-08-05 01:49:50.000000000 +0530
@@ -1,3 +1,4 @@
compile-errors.patch
umask.patch
implicit.patch
+cross.patch
diff -Nru radlib-2.12.0/debian/rules radlib-2.12.0/debian/rules
--- radlib-2.12.0/debian/rules 2024-03-16 04:42:00.000000000 +0530
+++ radlib-2.12.0/debian/rules 2025-08-05 01:51:21.000000000 +0530
@@ -2,6 +2,7 @@
# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
+include /usr/share/dpkg/buildtools.mk
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
@@ -21,5 +22,8 @@
--mandir=\$${prefix}/share/man \
--libdir=\$${prefix}/lib/$(DEB_HOST_MULTIARCH) \
--infodir=\$${prefix}/share/info \
+ CC="$(CC)" \
+ CXX="$(CXX)" \
CFLAGS="$(CFLAGS)" \
+ $(CROSS) \
LDFLAGS="-Wl,-z,defs -Wl,-z,now -L\$${prefix}/lib -lsqlite3 -lpthread"
--- End Message ---
--- Begin Message ---
Source: radlib
Source-Version: 2.12.0-8
Done: Thorsten Alteholz <[email protected]>
We believe that the bug you reported is fixed in the latest version of
radlib, 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.
Thorsten Alteholz <[email protected]> (supplier of updated radlib 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: Sun, 24 Aug 2025 19:12:00 +0200
Source: radlib
Architecture: source
Version: 2.12.0-8
Distribution: unstable
Urgency: medium
Maintainer: Debian IoT Maintainers
<[email protected]>
Changed-By: Thorsten Alteholz <[email protected]>
Closes: 1110409
Changes:
radlib (2.12.0-8) unstable; urgency=medium
.
[ Nilesh Patra ]
* Fixup cross-builds (Closes: #1110409)
.
[ Joachim Zobel ]
* Added hardening flags
.
[ Thorsten Alteholz ]
* debian/control: bump standard to 4.7.2 (no changes)
Checksums-Sha1:
b00af9c7a59fa07e7121dc6f48ece06fe7a22344 2192 radlib_2.12.0-8.dsc
b8a2905c8a37976cb7fe99495bef314a62076c57 503764 radlib_2.12.0.orig.tar.gz
f471b8425fc0e7819714851579ea1f4dad8db7c2 7376 radlib_2.12.0-8.debian.tar.xz
798804d86224b7cb31cb17368b286c60dbba1100 6926 radlib_2.12.0-8_amd64.buildinfo
Checksums-Sha256:
b4aa182879dce99290faca9da041db7e1834e7210d09fac6f6cc427c2457840e 2192
radlib_2.12.0-8.dsc
f44e1a6f12169bd976f84a8ee2e7a6167133cd27fd20d2906cb6a1a9ed220f4d 503764
radlib_2.12.0.orig.tar.gz
9d58d8ba9116f76d3598fad52e298d0b5c4800cc696493bdc04a2adc3b94bc08 7376
radlib_2.12.0-8.debian.tar.xz
ad5aab0093aa6dd8964ffbb1af774d2c37a4aa0a89dc7c07e43d3b07a7f8961c 6926
radlib_2.12.0-8_amd64.buildinfo
Files:
4c01d9f2c80aa3b303d202ce91fd4767 2192 libs optional radlib_2.12.0-8.dsc
5ad776e8131e44f417dbb4786dc7a57c 503764 libs optional radlib_2.12.0.orig.tar.gz
9148d7872c2b1e3e001d35fa70fb2344 7376 libs optional
radlib_2.12.0-8.debian.tar.xz
6d7cc371eaf489a93672edba33f13d9d 6926 libs optional
radlib_2.12.0-8_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQKnBAEBCgCRFiEEYgH7/9u94Hgi6ruWlvysDTh7WEcFAmirUidfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDYy
MDFGQkZGREJCREUwNzgyMkVBQkI5Njk2RkNBQzBEMzg3QjU4NDcTHGRlYmlhbkBh
bHRlaG9sei5kZQAKCRCW/KwNOHtYR6aLD/4jHZ92AwwhMDmH9xYkEOkzS907qx50
luDD7YHx5CoxZ8z7pSc7hrozMeFW5buw26ktJWHHuCmM4JfQM+pswn2Yt8MDAngV
QrYmqMJme3Y2WSy9SB0/inoFyeO2tbKHT47mLJz3pt6YhViejEfcowLVkwZybaeV
F43tuVvHRgAfUNG0yywze6qMviaoDn3SmdNfDTkLZowTwuuIor+UTnJU8csfRYt4
PeTNtJvju7gx4vPjziKpdkS8dnItTgFuP2ktY8k3l22JLQ0DPe7DFgahGX3f+mji
ut44+l2CjAoHCetjqh4AyAS5VdfTT8htFyELJjPQB2cX6bfeTpDFM6wJrs3yQOBb
+2QgGd5AKAYANZC0Usob2VlLKKKs8XuAaL+ySLY9VLdv5PXNMtLTa7lKeVJozSbj
VEAj9UATGTwuOYT6sA3CastkgiHG+L8pRLdFLfrxBuJOiRVB2BvHnsMGQN3CYyX2
eQdwsgzraFamgCe+CEYAsTY+U4xQZuuH2utSzLCaba53XN8qowfzoQL5iZz4wI61
8yA0+WHcaV157cPuu/0GhgE/p6v0rtycPrDyx9zE7Rm3fXgvI/kuGuA5Od7havZf
fsGbwuOXPnIwleidXW69DeKZce+u90BjewxzdpfBg7ZsSNAuYAm4x6/Ft3MlTDZK
zy6pZH8Nq2bDLQ==
=3z8r
-----END PGP SIGNATURE-----
pgpl8gRu5U8qk.pgp
Description: PGP signature
--- End Message ---