#14 Can't build from source / Need Sync with Upstream?

Closed
opened 6 years ago by bugmenot · 4 comments
bugmenot commented 6 years ago

I am attempting to build from source but there are a lot of dead links and errors, I think maybe it needs a new sync from upstream version?

Thank you!

I am attempting to build from source but there are a lot of dead links and errors, I think maybe it needs a new sync from upstream version? Thank you!
bugmenot commented 6 years ago
Poster

It seems most of the 404 errors were solved by uncommenting these lines in download.pl

give sourceforge a few more tries, because it redirects to different mirrors

    for (1 .. 5) {
        push @mirrors, "https://downloads.sourceforge.net/$1";
    }
It seems most of the 404 errors were solved by uncommenting these lines in download.pl --- # give sourceforge a few more tries, because it redirects to different mirrors for (1 .. 5) { push @mirrors, "https://downloads.sourceforge.net/$1"; }
bugmenot commented 6 years ago
Poster

And... I couldn't get passed this error...

In file included from /home/user/libreCMC/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03-libre/common/env_embedded.c:30:0: /home/user/Projects/libreCMC/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03-libre/include/environment.h:137:21: error: 'CONFIG_ENV_SIZE' undeclared here (not in a function) unsigned char data[ENV_SIZE]; /* Environment data */

And... I couldn't get passed this error... In file included from /home/user/libreCMC/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03-libre/common/env_embedded.c:30:0: /home/user/Projects/libreCMC/build_dir/target-mips_24kc_musl-1.1.16/linux-ar71xx_generic/u-boot-nbg460n_550n_550nh/u-boot-2010.03-libre/include/environment.h:137:21: error: 'CONFIG_ENV_SIZE' undeclared here (not in a function) unsigned char data[ENV_SIZE]; /* Environment data */
RISCI_ATOM commented 6 years ago
Collaborator

I'm going to need a bit more info to fix both issues : what distro are you using to build libreCMC and which package was it failing on (in regards to the SourceForge 404)? I have not been able to replicate these issues on Trisquel 8 or ubuntu 17.10 (w/linux-libre kernel).

I'm going to need a bit more info to fix both issues : what distro are you using to build libreCMC and which package was it failing on (in regards to the SourceForge 404)? I have not been able to replicate these issues on Trisquel 8 or ubuntu 17.10 (w/linux-libre kernel).
bugmenot commented 6 years ago
Poster

I'll try and debug the sourceforge issue later, but the second issue is caused by a new version of glibc (glibc 2.26-4 currently). It affects upstream LEDE as well, so I'll have to wait for a fix. The error occurs on Arch-based distros.

I'll try and debug the sourceforge issue later, but the second issue is caused by a new version of glibc (glibc 2.26-4 currently). It affects upstream LEDE as well, so I'll have to wait for a fix. The error occurs on Arch-based distros.
Sign in to join this conversation.
Loading...
Cancel
Save
There is no content yet.