mod-audio / mod-plugin-builder

MOD Plugin Builder
79 stars 50 forks source link

"No hash found for fftw-3.3.8.tar.gz:" #153

Open ignis32 opened 2 years ago

ignis32 commented 2 years ago

Got bootstrap error, when bootstraping on ubuntu 5.15.0-41-generic #44~20.04.1-Ubuntu ./bootstrap.sh modduox

ignis@linuxboxone:/mnt/shared_folder/mod-plugin-builder$ ./bootstrap.sh  modduox
  GEN     /home/ignis/mod-workdir/modduox/Makefile
#
# configuration written to /home/ignis/mod-workdir/modduox/.config
#
/usr/bin/make -j1 O=/home/ignis/mod-workdir/modduox HOSTCC="/usr/bin/gcc" HOSTCXX="/usr/bin/g++" silentoldconfig
  GEN     /home/ignis/mod-workdir/modduox/Makefile
BR2_DEFCONFIG='' KCONFIG_AUTOCONFIG=/home/ignis/mod-workdir/modduox/build/buildroot-config/auto.conf KCONFIG_AUTOHEADER=/home/ignis/mod-workdir/modduox/build/buildroot-config/autoconf.h KCONFIG_TRISTATE=/home/ignis/mod-workdir/modduox/build/buildroot-config/tristate.config BR2_CONFIG=/home/ignis/mod-workdir/modduox/.config BR2_EXTERNAL=/mnt/shared_folder/mod-plugin-builder/plugins-dep HOST_GCC_VERSION="9" SKIP_LEGACY= /home/ignis/mod-workdir/modduox/build/buildroot-config/conf --silentoldconfig Config.in
>>> fftw-double 3.3.8 Downloading
--2022-07-22 04:15:31--  http://www.fftw.org/fftw-3.3.8.tar.gz
Resolving www.fftw.org (www.fftw.org)... 216.137.187.110
Connecting to www.fftw.org (www.fftw.org)|216.137.187.110|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4110137 (3,9M) [application/octet-stream]
Saving to: ‘/home/ignis/mod-workdir/modduox/build/.fftw-3.3.8.tar.gz.0UGJdX/output’

/home/ignis/mod-workdir/modduox/build/.fftw-3.3.8. 100%[===============================================================================================================>]   3,92M  2,43MB/s    in 1,6s    

2022-07-22 04:15:33 (2,43 MB/s) - ‘/home/ignis/mod-workdir/modduox/build/.fftw-3.3.8.tar.gz.0UGJdX/output’ saved [4110137/4110137]

ERROR: No hash found for fftw-3.3.8.tar.gz
--2022-07-22 04:15:33--  http://sources.buildroot.net/fftw-3.3.8.tar.gz
Resolving sources.buildroot.net (sources.buildroot.net)... 172.67.72.56, 104.26.1.37, 104.26.0.37, ...
Connecting to sources.buildroot.net (sources.buildroot.net)|172.67.72.56|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2022-07-22 04:15:33 ERROR 404: Not Found.

make[1]: *** [package/pkg-generic.mk:115: /home/ignis/mod-workdir/modduox/build/fftw-double-3.3.8/.stamp_downloaded] Error 1
make: *** [Makefile:36: _all] Error 2
ignis@linuxboxone:/mnt/shared_folder/mod-plugin-builder$ 

Looks like I was able to bypass this hash check by adding BR_NO_CHECK_HASH_FOR=fftw-3.3.8.tar.gz to mod-plugin-builder/global-packages/fftw/fftw-double/fftw-double.mk

ignis32 commented 2 years ago

Looks like this was caused by making clone of the mod-plugin-builder repo to the filesystem incapable of symlinks. (virtualbox shared folder).

This caused fftw-double.hash to be just a text file containing a relative path to the real file.

sensorium commented 1 year ago

I had the same problem using a Virtualbox shared folder. Turning off sharing didn't help, but the edit suggested in the opening comment worked (thankyou!)

luiscuriel commented 1 year ago

Just THANKS