On 31/07/2023 13.17, Tzafrir Cohen wrote:
Trying to figure out the cause for the other error
https://ci.debian.net/data/autopkgtest/testing/amd64/d/dahdi-linux/36220583/log.gz
177s MODPOST /usr/src/modules/dahdi/drivers/dahdi/Module.symvers
178s ERROR: modpost: "unregister_hdlc_device"
[/usr/src/modules/dahdi/drivers/dahdi/dahdi.ko] undefined!
178s ERROR: modpost: "ppp_unregister_channel"
[/usr/src/modules/dahdi/drivers/dahdi/dahdi.ko] undefined!
That happens during module-assistant-autopkgtest on the -cloud- kernel ...
Try this in d/tests/control:
Test-Command: env BUILD_EXCLUSIVE_CONFIG="CONFIG_PCI CONFIG_USB"
/usr/share/modass/module-assistant-autopkgtest dahdi
(The missing symbols probably depend on other config settings,
e.g. CONFIG_HDLC and CONFIG_PPP (not checked), but we don't check
for them in the -dkms package either, so just reuse the existing
constraint.)
Andreas