Modify

Opened 2 years ago

Closed 2 years ago

#21596 closed defect (fixed)

x86_64_musl-1.1.11 linux-4.4 crypto drbg.ko missing compile error

Reported by: adriangabriel Owned by: developers
Priority: high Milestone:
Component: kernel Version: Trunk
Keywords: Cc:

Description

SHELL= /home/pynu/14ian2016p/openwrt/staging_dir/host/bin/flock /home/pynu/14ian2016p/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-pcompress/. /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/'
rm -rf /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-pcompress
touch /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/stamp/.kmod-crypto-pcompress_installed
if [ -f /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/pkginfo/linux.default.install.clean ]; then rm -f /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/pkginfo/linux.default.install /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/pkginfo/linux.default.install.clean; fi; echo "kmod-crypto-pcompress" >> /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/pkginfo/linux.default.install
rm -rf /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq
mkdir -p /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/stamp /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq
for mod in /home/pynu/14ian2016p/openwrt/build_dir/target-x86_64_musl-1.1.11/linux-x86_64/linux-4.4/crypto/crypto_wq.ko; do if grep -q "${mod##/home/pynu/14ian2016p/openwrt/build_dir/target-x86_64_musl-1.1.11/linux-x86_64/linux-4.4/}" "/home/pynu/14ian2016p/openwrt/build_dir/target-x86_64_musl-1.1.11/linux-x86_64/linux-4.4/modules.builtin"; then echo "NOTICE: module '$mod' is built-in."; elif [ -e $mod ]; then mkdir -p /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/lib/modules/4.4.0 ; cp -fpR -L $mod /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/lib/modules/4.4.0/ ; else echo "ERROR: module '$mod' is missing." >&2; exit 1; fi; done;

. /home/pynu/14ian2016p/openwrt/include/shell.sh; export modules=; probe_module() { mods="$1"; boot="$2"; shift 2; for mod in $mods; do mkdir -p /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules.d; echo "$mod" >> /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules.d/crypto-wq; done; if [ -e /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules.d/crypto-wq ]; then if [ "$boot" = "1" ]; then mkdir -p /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules-boot.d; ln -s ../modules.d/crypto-wq /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules-boot.d/; fi; modules="${modules:+$modules }$mods"; fi; }; add_module() { priority="$1"; mods="$2"; boot="$3"; shift 3; for mod in $mods; do mkdir -p /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules.d; echo "$mod" >> /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules.d/$priority-crypto-wq; done; if [ -e /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules.d/$priority-crypto-wq ]; then if [ "$boot" = "1" ]; then mkdir -p /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules-boot.d; ln -s ../modules.d/$priority-crypto-wq /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules-boot.d/; fi; modules="${modules:+$modules }$priority-crypto-wq"; fi; }; add_module "09" "crypto_wq" ""; if [ -n "$modules" ]; then mkdir -p /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/etc/modules.d; mkdir -p /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/CONTROL; echo "#!/bin/sh" > /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/CONTROL/postinst-pkg; echo "[ -z \"\$IPKG_INSTROOT\" ]
exit 0" >> /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/CONTROL/postinst-pkg; echo ". /lib/functions.sh" >> /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/CONTROL/postinst-pkg; echo "insert_modules $modules" >> /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/CONTROL/postinst-pkg; chmod 0755 /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/CONTROL/postinst-pkg; fi

SHELL= /home/pynu/14ian2016p/openwrt/staging_dir/host/bin/flock /home/pynu/14ian2016p/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq/. /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/'
rm -rf /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/tmp-kmod-crypto-wq
touch /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/root-x86/stamp/.kmod-crypto-wq_installed
NOTICE: module '/home/pynu/14ian2016p/openwrt/build_dir/target-x86_64_musl-1.1.11/linux-x86_64/linux-4.4/crypto/crypto_wq.ko' is built-in.
if [ -f /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/pkginfo/linux.default.install.clean ]; then rm -f /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/pkginfo/linux.default.install /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/pkginfo/linux.default.install.clean; fi; echo "kmod-crypto-wq" >> /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/pkginfo/linux.default.install
ERROR: module '/home/pynu/14ian2016p/openwrt/build_dir/target-x86_64_musl-1.1.11/linux-x86_64/linux-4.4/crypto/drbg.ko' is missing.
modules/crypto.mk:117: recipe for target '/home/pynu/14ian2016p/openwrt/bin/x86/packages/base/kmod-crypto-rng_4.4-1_x86_64.ipk' failed
make[3]: * /home/pynu/14ian2016p/openwrt/bin/x86/packages/base/kmod-crypto-rng_4.4-1_x86_64.ipk Error 1
make[3]: Leaving directory '/home/pynu/14ian2016p/openwrt/package/kernel/linux'
package/Makefile:191: recipe for target 'package/kernel/linux/compile' failed
make[2]:
* [package/kernel/linux/compile] Error 2
make[2]: Leaving directory '/home/pynu/14ian2016p/openwrt'
package/Makefile:188: recipe for target '/home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/stamp/.package_compile' failed
make[1]: * /home/pynu/14ian2016p/openwrt/staging_dir/target-x86_64_musl-1.1.11/stamp/.package_compile Error 2
make[1]: Leaving directory '/home/pynu/14ian2016p/openwrt'
/home/pynu/14ian2016p/openwrt/include/toplevel.mk:191: recipe for target 'world' failed
make:
* [world] Error 2

Attachments (0)

Change History (3)

comment:1 Changed 2 years ago by anonymous

The same:
ERROR: module '/home/android/openwrt/build_dir/target-x86_64_musl-1.1.11/linux-x86_64/linux-4.4/crypto/drbg.ko' is missing.

comment:2 Changed 2 years ago by lucize

diff --git a/package/kernel/linux/modules/crypto.mk b/package/kernel/linux/modules/crypto.mk
index 604be9f..d84c802 100644
--- a/package/kernel/linux/modules/crypto.mk
+++ b/package/kernel/linux/modules/crypto.mk
@@ -102,6 +102,7 @@ define KernelPackage/crypto-rng

TITLE:=CryptoAPI random number generation
DEPENDS:=+kmod-crypto-hash
KCONFIG:= \

+ CONFIG_CRYPTO_DRBG_MENU \

CONFIG_CRYPTO_DRBG \
CONFIG_CRYPTO_JITTERENTROPY \
CONFIG_CRYPTO_RNG2

comment:3 Changed 2 years ago by nbd

  • Resolution set to fixed
  • Status changed from new to closed

fixed in r48277

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.