wget-ssl not building because of provides: error

Philip Prindeville philipp_subx at redfish-solutions.com
Tue Feb 3 15:23:16 PST 2026


I'm seeing the following when trying to build a new Bpi-R4 image using apk (I previously used opkg).  Looks related to:

--info "provides: wget   @wget-any "


Here's the tail of the build:

...
rm -rf /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl
mkdir -p /home/philipp/lede2/bin/targets/mediatek/filogic/packages /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl /home/philipp/lede2/staging_dir/target-aarch64_cortex-a53_musl/pkginfo
install -d -m0755 /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/usr/libexec
install -m0755 /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-install/usr/bin/wget /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/usr/libexec/wget-ssl
find /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="aarch64-openwrt-linux-musl-"  NO_RENAME=1 ; NM="aarch64-openwrt-linux-musl-nm" STRIP="/home/philipp/lede2/staging_dir/host/bin/sstrip -z" STRIP_KMOD="/home/philipp/lede2/scripts/strip-kmod.sh" PATCHELF="/home/philipp/lede2/staging_dir/host/bin/patchelf" /home/philipp/lede2/scripts/rstrip.sh /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl
rstrip.sh: /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/usr/libexec/wget-ssl: executable
install -d -m0755 /home/philipp/lede2/bin/packages/aarch64_cortex-a53/packages
mkdir -p /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/
mkdir -p /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/
(cd /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl; )
( echo "#!/bin/sh"; echo "[ \"\${IPKG_NO_SCRIPT}\" = \"1\" ] && exit 0"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo 'export root="${IPKG_INSTROOT}"'; echo 'export pkgname="wget-ssl"'; echo "add_group_and_user"; echo "default_postinst"; [ ! -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/postinst-pkg ] || sed -z 's/^\s*#!/#!/' "/home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/postinst-pkg"; ) > /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/post-install;
( echo "#!/bin/sh"; echo 'export PKG_UPGRADE=1'; [ ! -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/post-install ] || sed -z 's/^\s*#!/#!/' "/home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/post-install"; ) > /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/post-upgrade;
( echo "#!/bin/sh"; echo "[ -s "\${IPKG_INSTROOT}/lib/functions.sh" ] || exit 0"; echo ". \${IPKG_INSTROOT}/lib/functions.sh"; echo 'export root="${IPKG_INSTROOT}"'; echo 'export pkgname="wget-ssl"'; echo "default_prerm"; [ ! -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/prerm-pkg ] || sed -z 's/^\s*#!/#!/' "/home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/prerm-pkg"; ) > /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/pre-deinstall;
[ ! -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/postrm ] || sed -zi 's/^\s*#!/#!/' "/home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/postrm";
if [ -n "" ]; then echo  > /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/wget-ssl.rusers; fi;
if [ -n "400:/usr/bin/wget:/usr/libexec/wget-ssl" ]; then echo 400:/usr/bin/wget:/usr/libexec/wget-ssl > /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/wget-ssl.alternatives; fi;
(cd /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl && find . -type f,l -printf "/%P\n" | sort > /home/philipp/lede2/tmp/wget-ssl.list && mv /home/philipp/lede2/tmp/wget-ssl.list /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/wget-ssl.list)
# Move conffiles to IDIR and build conffiles_static with csums
if [ -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/conffiles ]; then mv -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/conffiles /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/wget-ssl.conffiles; for file in $(cat /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/wget-ssl.conffiles); do [ -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/$file ] || continue; csum=$(/home/philipp/lede2/staging_dir/host/bin/mkhash sha256 /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/$file); echo $file $csum >> /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/wget-ssl.conffiles_static; done; fi
# Some package (base-files) manually append stuff to conffiles
# Append stuff from it and delete the CONTROL directory since everything else should be migrated
if [ -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/CONTROL/conffiles ]; then echo $(IDIR_wget-ssl)/CONTROL/conffiles >> /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/wget-ssl.conffiles; for file in $(cat /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/CONTROL/conffiles); do [ -f /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/$file ] || continue; csum=$(/home/philipp/lede2/staging_dir/host/bin/mkhash sha256 /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/$file); echo $file $csum >> /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/lib/apk/packages/wget-ssl.conffiles_static; done; rm -rf /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/CONTROL/conffiles; fi
if [ -z "$(ls -A /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/CONTROL 2>/dev/null)" ]; then rm -rf /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/CONTROL; else echo "CONTROL directory /home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl/CONTROL is not empty! This is not right and should be checked!" >&2; exit 1; fi
/home/philipp/lede2/staging_dir/host/bin/fakeroot /home/philipp/lede2/staging_dir/host/bin/apk mkpkg --info "name:wget-ssl" --info "version:1.25.0-r2"  --info "description:Wget is a network utility to retrieve files from the Web using http and ftp, the two most widely used Internet protocols. It works non-interactively, so it will work in the background, after having logged off. The program supports recursive retrieval of web-authoring pages as well as ftp sites -- you can use wget to make mirrors of archives and home pages or to travel the Web like a WWW robot. This package is built with SSL support." --info "arch:aarch64_cortex-a53" --info "license:GPL-3.0-or-later" --info "origin:feeds/packages/feeds/packages/net/wget" --info "url:https://www.gnu.org/software/wget/index.html" --info "maintainer:" --info "provides: wget   @wget-any " --info "provider-priority:1" --script "post-install:/home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/post-install" --script "post-upgrade:/home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/post-upgrade" --script "pre-deinstall:/home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/apk-aarch64_cortex-a53/wget-ssl/pre-deinstall" --info "depends:libc libpcre2 zlib libopenssl3 librt" --files "/home/philipp/lede2/build_dir/target-aarch64_cortex-a53_musl/wget-ssl/wget-1.25.0/ipkg-aarch64_cortex-a53/wget-ssl" --output "/home/philipp/lede2/bin/packages/aarch64_cortex-a53/packages/wget-ssl-1.25.0-r2.apk"
ERROR: info field 'provides' has invalid value: dependency format is invalid
ERROR: failed to create package: dependency format is invalid
make[2]: *** [Makefile:136: /home/philipp/lede2/bin/packages/aarch64_cortex-a53/packages/wget-ssl-1.25.0-r2.apk] Error 99
make[2]: Leaving directory '/home/philipp/lede2/feeds/packages/net/wget'
time: package/feeds/packages/wget/ssl/compile#51.87#16.48#63.52
   ERROR: package/feeds/packages/wget failed to build (build variant: ssl).
make[1]: *** [package/Makefile:187: package/feeds/packages/wget/compile] Error 1
make[1]: Leaving directory '/home/philipp/lede2'
make: *** [/home/philipp/lede2/include/toplevel.mk:233: package/wget/compile] Error 2


Anyone else seeing this?


More information about the openwrt-devel mailing list