[Buildroot] [Bug 13141] Target-finalize fail with "depmod: ERROR: Bad version passed"

bugzilla at busybox.net bugzilla at busybox.net
Sun Aug 23 22:09:26 UTC 2020


https://bugs.busybox.net/show_bug.cgi?id=13141

Yann E. MORIN <yann.morin.1998 at free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yann.morin.1998 at free.fr

--- Comment #1 from Yann E. MORIN <yann.morin.1998 at free.fr> ---
Laurent, All,

Thanks for the report.

Could you try a few things for me, please:
 1- run:  make V=1
 2- in the LINUX_RUN_DEPMOD macro, add this as the first command:
        printf '"%s"\n' "$(LINUX_VERSION_PROBED)"
 3- try a build without ccache

Also, I noticed something weird in your report:


--> My manual commands (that succeed):
#/usr/bin/make  HOSTCC="/home/buildroot/output/host/bin/ccache /usr/bin/gcc -O2
-I/home/buildroot/output/host/include -L/home/buildroot/output/host/lib
-Wl,-rpath,/home/buildroot/output/host/lib" ARCH=arm
INSTALL_MOD_PATH=/home/buildroot/output/target
CROSS_COMPILE="/home/buildroot/output/host/bin/arm-buildroot-linux-gnueabihf-"
DEPMOD=/home/buildroot/output/host/sbin/depmod INSTALL_MOD_STRIP=1 -C
/home/buildroot/output/build/linux-linux4sam_6.2 --no-print-directory -s
kernelrelease 2>/dev/null

4.19.78-linux4sam-6.2


There is an empty line between the command and the version string. Is it
really what happens, or is it an artefact of your copy-paste?

Regards,
Yann E. MORIN.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the buildroot mailing list