Crosscompile not supported?


#1

Hey there,

does TravisCI blocks crosscompiling? I just tried to install crossbuild-essential- for e.g. armhf.

  • I tried adding architecture to Ubuntu => failed (sudo dpkg --add-architecture armhf)

  • I also tried adding apt sources (e.g. - echo "deb 01.archive.ubuntu.com/ubuntu/ trusty main restricted universe multiverse " | sudo tee -a /etc/apt/sources.list)

  • I also tried defining arch in sources.list (echo “deb [arch=armhf] ports.ubuntu.com/ubuntu-ports trusty main universe” | sudo tee -a /etc/apt/sources.list)

Every time TravisCI stops here:

  • sudo apt-get install -y crossbuild-essential-armhf

    Error: Err:17 ://01.archive.ubuntu.com/ubuntu trusty/main armhf Packages
    404 Not Found [IP: 91.189.91.23 80]
    Err:20 .archive.ubuntu.com/ubuntu trusty/restricted armhf Packages
    404 Not Found [IP: 91.189.91.23 80]
    Err:27 ://01.archive.ubuntu.com/ubuntu trusty/universe armhf Packages
    404 Not Found [IP: 91.189.91.23 80]
    Err:30 /01.archive.ubuntu.com/ubuntu trusty/multiverse armhf Packages
    404 Not Found [IP: 91.189.91.23 80]
    Fetched 28.2 MB in 3s (9,159 kB/s)
    Reading package lists… Done
    N: Skipping acquire of configured file ‘main/binary-armhf/Packages’ as repository ‘://apt.postgresql.org/pub/repos/apt trusty-pgdg InRelease’ doesn’t support architecture ‘armhf’
    E: Failed to fetch ://01.archive.ubuntu.com/ubuntu/dists/trusty/main/binary-armhf/Packages 404 Not Found [IP: 91.189.91.23 80]
    E: Failed to fetch …ubuntu.com/ubuntu/dists/trusty/restricted/binary-armhf/Packages 404 Not Found [IP: 91.189.91.23 80]
    E: Failed to fetch /01.archive.ubuntu.com/ubuntu/dists/trusty/universe/binary-armhf/Packages 404 Not Found [IP: 91.189.91.23 80]
    E: Failed to fetch archive.ubuntu/ubuntu/dists/trusty/multiverse/binary-armhf/Packages 404 Not Found [IP: 91.189.91.23 80]
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    The command “sudo apt-get update” failed and exited with 100 during .

P.S. Two link limit… . Pls ignore all Syntax errors in sources. I was forced to break it