Your message dated Mon, 03 Jul 2023 23:43:52 +0000
with message-id <[email protected]>
and subject line Bug#1040241: Removed package(s) from unstable
has caused the Debian Bug report #979747,
regarding rtpproxy: FTBFS with GCC 10
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.)
--
979747: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=979747
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rtpproxy
Version: 1.2.1-2.2
Severity: serious
Tags: patch ftbfs
Justification: fails to build from source (but built successfully in the past)
User: [email protected]
Usertags: origin-ubuntu hirsute ubuntu-patch
X-Debbugs-Cc: [email protected]
Hi,
rtpproxy currently FTBFS in Debian unstable with GCC 10 as default.
>From a local build:
gcc -std=gnu99 -Wall -Wno-uninitialized -g -O2 -ffile-prefix-map=/build/rtpproxy
-1.2.1=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro
-Wl,-z,now -o rtpproxy main.o rtp_server.o rtpp_record.o rtpp_util.o rtp.o rtp_
resizer.o rtpp_session.o rtpp_command.o rtpp_log.o rtpp_syslog_async.o -lm -lpth
read
/usr/bin/ld: rtpp_record.o:./rtpp_record.h:84: multiple definition of `__packed'
; main.o:./rtpp_record.h:84: first defined here
/usr/bin/ld: rtpp_session.o:./rtpp_record.h:84: multiple definition of `__packed
'; main.o:./rtpp_record.h:84: first defined here
/usr/bin/ld: rtpp_command.o:./rtpp_record.h:84: multiple definition of `__packed
'; main.o:./rtpp_record.h:84: first defined here
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:455: rtpproxy] Error 1
make[2]: Leaving directory '/build/rtpproxy-1.2.1'
make[1]: *** [Makefile:354: all] Error 2
make[1]: Leaving directory '/build/rtpproxy-1.2.1'
dh_auto_build: error: make -j8 returned exit code 2
make: *** [debian/rules:6: build] Error 25
In Ubuntu, the attached patch was applied to achieve the following:
* d/p/gcc-10.patch: Fix compilation with GCC 10.
Thanks for considering the patch.
Logan
diff -Nru rtpproxy-1.2.1/debian/patches/gcc-10.patch
rtpproxy-1.2.1/debian/patches/gcc-10.patch
--- rtpproxy-1.2.1/debian/patches/gcc-10.patch 1969-12-31 19:00:00.000000000
-0500
+++ rtpproxy-1.2.1/debian/patches/gcc-10.patch 2021-01-10 20:42:24.000000000
-0500
@@ -0,0 +1,11 @@
+--- a/rtpp_record.h
++++ b/rtpp_record.h
+@@ -81,7 +81,7 @@
+ uint32_t family;
+ struct ip iphdr;
+ struct udphdr udphdr;
+-} __packed;
++};
+
+ struct pkt_hdr_adhoc {
+ union sockaddr_in_s addr; /* Source address */
diff -Nru rtpproxy-1.2.1/debian/patches/series
rtpproxy-1.2.1/debian/patches/series
--- rtpproxy-1.2.1/debian/patches/series 2014-02-15 22:57:22.000000000
-0500
+++ rtpproxy-1.2.1/debian/patches/series 2021-01-10 20:38:05.000000000
-0500
@@ -1 +1,2 @@
syslog_format.patch
+gcc-10.patch
--- End Message ---
--- Begin Message ---
Version: 1.2.1-2.2+rm
Dear submitter,
as the package rtpproxy has just been removed from the Debian archive
unstable we hereby close the associated bug reports. We are sorry
that we couldn't deal with your issue properly.
For details on the removal, please see https://bugs.debian.org/1040241
The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.
Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.
This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].
Debian distribution maintenance software
pp.
Scott Kitterman (the ftpmaster behind the curtain)
--- End Message ---