[SRU] ladvd FTBFS: error: ‘MAXPATHLEN’ undeclared
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ladvd (Debian) |
Fix Released
|
Unknown
|
|||
ladvd (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Jammy |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
[ 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-
In file included from ../../src/
/usr/include/
107 | #warning "NetBSD added incompatible strnvis() and strnunvis(), please see <bsd/vis.h> for more detils."
| ^~~~~~~
../../src/util.c: In function ‘my_chroot’:
../../src/
151 | char component[
| ^~~~~~~~~~
../../src/
../../src/
151 | char component[
| ^~~~~~~~~
make[3]: *** [Makefile:599: util.lo] Error 1
make[3]: Leaving directory '/<<PKGBUILDDIR
Changed in ladvd (Debian): | |
status: | Unknown → Fix Committed |
Changed in ladvd (Debian): | |
status: | Fix Committed → Fix Released |
The FTBFS has been fixed in version 1.1.2-2 and so it only affects Jammy.