Page 2 of 7

Re: compile build failed

Posted: Sun Feb 24, 2019 7:28 pm
by Lantis
Alsa lib is not required as part of the build as far as I am aware, so it should not be halting there.
Regardless, you can download that library from another source if you can find it and place it in the downloads folder to skip the need to download during compile.

Re: compile build failed

Posted: Mon Feb 25, 2019 4:06 am
by Lantis
I was mistaken.
I’ll come up with a fix which should let it continue. Give me a day or so.

Re: compile build failed

Posted: Mon Feb 25, 2019 6:41 am
by Lantis
Try pulling the latest changes to master branch and try again. I have fixed the issue with alsa-lib

Re: compile build failed

Posted: Mon Feb 25, 2019 9:35 am
by Armik

Code: Select all

SHELL= flock /home/stas/gargoyle/mvebu-src/tmp/.alsa-lib-1.0.29.tar.bz2.flock -c '  /home/stas/gargoyle/mvebu-src/scripts/download.pl "/home/stas/gargoyle/mvebu-src/dl" "alsa-lib-1.0.29.tar.bz2" "de67e0eca72474d6b1121037dafe1024" "" "ftp://ftp.alsa-project.org/pub/lib/" "http://alsa.cybermirror.org/lib/"    '
+ curl -f --connect-timeout 20 --retry 5 --location --insecure ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.29.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (7) Failed to connect to ftp.alsa-project.org port 21: No route to host
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure http://alsa.cybermirror.org/lib/alsa-lib-1.0.29.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://sources.lede-project.org/alsa-lib-1.0.29.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://mirror2.openwrt.org/sources/alsa-lib-1.0.29.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
+ curl -f --connect-timeout 20 --retry 5 --location --insecure https://downloads.openwrt.org/sources/alsa-lib-1.0.29.tar.bz2
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   184  100   184    0     0    924      0 --:--:-- --:--:-- --:--:--   924
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 404 Not Found
Download failed.
No more mirrors to try - giving up.
Makefile:94: recipe for target '/home/stas/gargoyle/mvebu-src/dl/alsa-lib-1.0.29.tar.bz2' failed
make[4]: *** [/home/stas/gargoyle/mvebu-src/dl/alsa-lib-1.0.29.tar.bz2] Error 2
make[4]: Leaving directory '/home/stas/gargoyle/mvebu-src/package/alsa-lib'
time: package/alsa-lib/compile#0.10#0.06#1.98
package/Makefile:107: recipe for target 'package/alsa-lib/compile' failed
make[3]: *** [package/alsa-lib/compile] Error 2
make[3]: Leaving directory '/home/stas/gargoyle/mvebu-src'
package/Makefile:103: recipe for target '/home/stas/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.package_compile' failed
make[2]: *** [/home/stas/gargoyle/mvebu-src/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.package_compile] Error 2
make[2]: Leaving directory '/home/stas/gargoyle/mvebu-src'
/home/stas/gargoyle/mvebu-src/include/toplevel.mk:216: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: выход из каталога «/home/stas/gargoyle/mvebu-src»
stas@stas-virtual-machine:~/gargoyle$
again failed((

Re: compile build failed

Posted: Mon Feb 25, 2019 4:09 pm
by Lantis
It’s still trying to download the old one. Did you pull the latest changes from git?
Then run “make clean” and “make FULL_BUILD=true mvebu”.

Re: compile build failed

Posted: Tue Feb 26, 2019 1:19 pm
by Armik
thanks it turned out but the assembly with packages again gives an error.

Code: Select all

  AR      net/ipv6/built-in.o
  CC      net/llc/llc_core.o
  CC      net/llc/llc_input.o
  CC      net/llc/llc_output.o
  AR      net/llc/llc.o
  AR      net/llc/built-in.o
  CC      net/netfilter/core.o
  CC      net/netfilter/nf_log.o
  CC      net/netfilter/nf_queue.o
net/netfilter/nf_queue.c: In function '__nf_queue':
net/netfilter/nf_queue.c:178:2: error: label 'err_unlock' used but not defined
  goto err_unlock;
  ^~~~
scripts/Makefile.build:326: recipe for target 'net/netfilter/nf_queue.o' failed
make[8]: *** [net/netfilter/nf_queue.o] Error 1
scripts/Makefile.build:585: recipe for target 'net/netfilter' failed
make[7]: *** [net/netfilter] Error 2
Makefile:1039: recipe for target 'net' failed
make[6]: *** [net] Error 2
make[6]: Leaving directory '/home/stas/gargoyle/custom-src/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu_cortexa9/linux-4.14.99'
Makefile:21: recipe for target '/home/stas/gargoyle/custom-src/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu_cortexa9/linux-4.14.99/.image' failed
make[5]: *** [/home/stas/gargoyle/custom-src/build_dir/target-arm_cortex-a9+vfpv3_musl_eabi/linux-mvebu_cortexa9/linux-4.14.99/.image] Error 2
make[5]: Leaving directory '/home/stas/gargoyle/custom-src/target/linux/mvebu'
Makefile:13: recipe for target 'install' failed
make[4]: *** [install] Error 2
make[4]: Leaving directory '/home/stas/gargoyle/custom-src/target/linux'
time: target/linux/install#259.60#28.88#295.68
target/Makefile:23: recipe for target 'target/linux/install' failed
make[3]: *** [target/linux/install] Error 2
make[3]: Leaving directory '/home/stas/gargoyle/custom-src'
target/Makefile:19: recipe for target '/home/stas/gargoyle/custom-src/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.target_install' failed
make[2]: *** [/home/stas/gargoyle/custom-src/staging_dir/target-arm_cortex-a9+vfpv3_musl_eabi/stamp/.target_install] Error 2
make[2]: Leaving directory '/home/stas/gargoyle/custom-src'
/home/stas/gargoyle/custom-src/include/toplevel.mk:216: recipe for target 'world' failed
make[1]: *** [world] Error 2
make[1]: выход из каталога «/home/stas/gargoyle/custom-src»
stas@stas-virtual-machine:~/gargoyle$

Re: compile build failed

Posted: Tue Feb 26, 2019 2:46 pm
by ispyisail
My full build is still going (close to 24 hours)

Re: compile build failed

Posted: Tue Feb 26, 2019 4:09 pm
by Lantis
It still says you are doing a custom compile.
I would like to see a regular build first before we move to custom.

Re: compile build failed

Posted: Tue Feb 26, 2019 6:26 pm
by Armik
complete assembly was successful

Re: compile build failed

Posted: Tue Feb 26, 2019 7:03 pm
by ispyisail
mine is still building 27 hours latter