2022-10-06 09:35:11 |
Benjamin Drung |
bug |
|
|
added bug |
2022-10-06 09:35:41 |
Benjamin Drung |
bug watch added |
|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=994677 |
|
2022-10-06 09:35:41 |
Benjamin Drung |
bug task added |
|
ladvd (Debian) |
|
2022-10-06 10:29:51 |
Bug Watch Updater |
ladvd (Debian): status |
Unknown |
Fix Committed |
|
2022-10-25 01:02:31 |
Bug Watch Updater |
ladvd (Debian): status |
Fix Committed |
Fix Released |
|
2023-11-11 20:47:10 |
Sudip Mukherjee |
description |
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wformat-security -DPIE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -MT util.lo -MD -MP -MF .deps/util.Tpo -c ../../src/util.c -fPIC -DPIC -o .libs/util.o
In file included from ../../src/common.h:40,
from ../../src/util.c:20:
/usr/include/bsd/vis.h:107:2: warning: #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils." [-Wcpp]
107 | #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils."
| ^~~~~~~
../../src/util.c: In function ‘my_chroot’:
../../src/util.c:151:20: error: ‘MAXPATHLEN’ undeclared (first use in this function)
151 | char component[MAXPATHLEN];
| ^~~~~~~~~~
../../src/util.c:151:20: note: each undeclared identifier is reported only once for each function it appears in
../../src/util.c:151:10: warning: unused variable ‘component’ [-Wunused-variable]
151 | char component[MAXPATHLEN];
| ^~~~~~~~~
make[3]: *** [Makefile:599: util.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
Full log: https://launchpadlibrarian.net/625443175/buildlog_ubuntu-kinetic-amd64.ladvd_1.1.2-1build1_BUILDING.txt.gz |
[ Impact ]
ladvd fails to build in Jammy.
[ Test Plan ]
Confirm that ladvd builds.
Execute ladvd in Jammy to confirm it starts runnning.
But for anyone testing, these are the commands for some basic testing to see ladvd is running.
ladvd -vvvvv -f -a
[ Where problems could occur ]
The patch is backported from Debian which is also an upstream fix.
The fix (apart from the white-space changes) is only adding header file to the source code to fix the ftbfs.
So, it should not change the behaviour and has little chance of regressing the user behaviour.
[ Other Info ]
The problem exists in 1.1.2-1 and has been fixed by Debian with the version 1.1.2-2.
It has been updated on Ubuntu Lunar, Mantic and Noble. But Jammy still has the problem and the ftbfs can be seen.
Original Bug Description:
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../src -Wdate-time -D_FORTIFY_SOURCE=2 -Wall -Wformat -Wformat-security -DPIE -D_FORTIFY_SOURCE=2 --param ssp-buffer-size=4 -fstack-protector -g -O2 -ffile-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -DLIBBSD_OVERLAY -isystem /usr/include/bsd -MT util.lo -MD -MP -MF .deps/util.Tpo -c ../../src/util.c -fPIC -DPIC -o .libs/util.o
In file included from ../../src/common.h:40,
from ../../src/util.c:20:
/usr/include/bsd/vis.h:107:2: warning: #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils." [-Wcpp]
107 | #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils."
| ^~~~~~~
../../src/util.c: In function ‘my_chroot’:
../../src/util.c:151:20: error: ‘MAXPATHLEN’ undeclared (first use in this function)
151 | char component[MAXPATHLEN];
| ^~~~~~~~~~
../../src/util.c:151:20: note: each undeclared identifier is reported only once for each function it appears in
../../src/util.c:151:10: warning: unused variable ‘component’ [-Wunused-variable]
151 | char component[MAXPATHLEN];
| ^~~~~~~~~
make[3]: *** [Makefile:599: util.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR>>/build/src'
Full log: https://launchpadlibrarian.net/625443175/buildlog_ubuntu-kinetic-amd64.ladvd_1.1.2-1build1_BUILDING.txt.gz |
|
2023-11-11 20:47:23 |
Sudip Mukherjee |
summary |
ladvd FTBFS: error: ‘MAXPATHLEN’ undeclared |
[SRU] ladvd FTBFS: error: ‘MAXPATHLEN’ undeclared |
|
2023-11-11 20:48:17 |
Sudip Mukherjee |
attachment added |
|
ladvd_1.1.2-1ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/ladvd/+bug/1991909/+attachment/5718378/+files/ladvd_1.1.2-1ubuntu1.debdiff |
|
2023-11-11 20:49:08 |
Sudip Mukherjee |
bug |
|
|
added subscriber Ubuntu Sponsors |
2023-11-12 15:00:42 |
Sudip Mukherjee |
bug |
|
|
added subscriber Sudip Mukherjee |
2023-11-16 12:39:58 |
Sudip Mukherjee |
attachment added |
|
ladvd_1.1.2-1ubuntu1.debdiff https://bugs.launchpad.net/ubuntu/+source/ladvd/+bug/1991909/+attachment/5720172/+files/ladvd_1.1.2-1ubuntu1.debdiff |
|
2023-11-16 19:54:27 |
Sergio Durigan Junior |
ladvd (Ubuntu): status |
New |
In Progress |
|
2023-11-16 19:54:35 |
Sergio Durigan Junior |
tags |
ftbfs |
block-proposed-jammy ftbfs |
|
2023-11-16 19:54:41 |
Sergio Durigan Junior |
removed subscriber Ubuntu Sponsors |
|
|
|
2023-11-16 21:43:34 |
Ubuntu Archive Robot |
bug |
|
|
added subscriber Sergio Durigan Junior |
2023-11-17 13:52:45 |
Timo Aaltonen |
ladvd (Ubuntu Jammy): status |
New |
Fix Committed |
|
2023-11-17 13:52:46 |
Timo Aaltonen |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2023-11-17 13:52:47 |
Timo Aaltonen |
bug |
|
|
added subscriber SRU Verification |
2023-11-17 13:52:48 |
Timo Aaltonen |
tags |
block-proposed-jammy ftbfs |
block-proposed-jammy ftbfs verification-needed verification-needed-jammy |
|
2023-11-17 13:55:01 |
Timo Aaltonen |
ladvd (Ubuntu): status |
In Progress |
Fix Released |
|
2023-11-23 20:00:38 |
Benjamin Drung |
tags |
block-proposed-jammy ftbfs verification-needed verification-needed-jammy |
block-proposed-jammy ftbfs verification-done verification-done-jammy |
|