Bug 11186 - Building wireless-regdb fails on BR 2018.05.1
Summary: Building wireless-regdb fails on BR 2018.05.1
Status: RESOLVED FIXED
Alias: None
Product: buildroot
Classification: Unclassified
Component: Other (show other bugs)
Version: 2018.05
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-25 14:42 UTC by Matthias
Modified: 2018-07-26 07:16 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthias 2018-07-25 14:42:07 UTC
When trying to build a BR-image with crda/wireless-regdb I get the following error:

>>> wireless-regdb 2017.03.07 Extracting
xzcat /home/daemon/tfs/rpo2/dl/wireless-regdb/wireless-regdb-2017.03.07.tar.xz | tar --strip-components=1 -C /home/daemon/tfs/rpo2/work/porto/build/wireless-regdb-2017.03.07   -xf -
>>> wireless-regdb 2017.03.07 Patching
>>> wireless-regdb 2017.03.07 Configuring
>>> wireless-regdb 2017.03.07 Building
>>> wireless-regdb 2017.03.07 Installing to target
/usr/bin/install -m 644 -D -T /home/daemon/tfs/rpo2/work/porto/build/wireless-regdb-2017.03.07/regulatory.bin /home/daemon/tfs/rpo2/work/porto/target/usr/lib/crda/regulatory.bin
/usr/bin/install -m 644 -D -T /home/daemon/tfs/rpo2/work/porto/build/wireless-regdb-2017.03.07/sforshee.key.pub.pem /home/daemon/tfs/rpo2/work/porto/target/etc/wireless-regdb/pubkeys/sforshee.key.pub.pem
/usr/bin/install -m 644 -D -T /home/daemon/tfs/rpo2/work/porto/build/wireless-regdb-2017.03.07/regulatory.db /home/daemon/tfs/rpo2/work/porto/target/lib/firmware/regulatory.db
/usr/bin/install: cannot stat '/home/daemon/tfs/rpo2/work/porto/build/wireless-regdb-2017.03.07/regulatory.db': No such file or directory
package/pkg-generic.mk:304: recipe for target '/home/daemon/tfs/rpo2/work/porto/build/wireless-regdb-2017.03.07/.stamp_target_installed' failed
make[1]: *** [/home/daemon/tfs/rpo2/work/porto/build/wireless-regdb-2017.03.07/.stamp_target_installed] Error 1
Makefile:16: recipe for target '_all' failed
make: *** [_all] Error 2

The files "regulatory.db" and "regulatory.db.p7s" are missing in the used regdb archive "wireless-regdb-2017.03.07.tar.xz"

Looking at the wireless-regdb.mk of BR 2018.05.1 I wonder why "05" is using very old regdb 2017.03.07 when BR 2018.02.4 is using the much newer regdb 2018.05.31?

See
https://git.busybox.net/buildroot/tree/package/wireless-regdb/wireless-regdb.mk?h=2018.05.1
vs
https://git.busybox.net/buildroot/tree/package/wireless-regdb/wireless-regdb.mk?h=2018.02.4
Comment 1 Thomas Petazzoni 2018-07-25 16:07:25 UTC
This is already fixed in the 2018.05.x branch, in commit https://git.buildroot.org/buildroot/commit/?h=2018.05.x&id=eece13dcecdfc9dd283c068ec64000edb5fb09e4, and it will be part of the next 2018.05.2 release.
Comment 2 Matthias 2018-07-26 07:16:59 UTC
That's great, thank you!