Jump to content

Recommended Posts

Posted

Hi!

 

Sorry if this is kind of wrong posting, but I had an failure on compiling first for the Banana Pi for the Debian Stretch, complette image but without any other changes. Just wanted to compile a complete image for the Banana Pi, but got an error that terminated the compilation. After that I made a new image with the Ubuntu version with any problems. Thought that it might have something to do with the old hardware so I tried to compile another one for the Asus Tinker board for the Debian Stretch, but that gave me similar problems with termination of the compilation.

 

Here is the some few lines of the output

 

chip_5.34_all.deb".
[ o.k. ] Creating board support package [ tinkerboard next ]
[ .... ] Fingerprinting
[ o.k. ] Building package [ linux-stretch-root-next-tinkerboard ]
dpkg-deb: bygger paketet "linux-stretch-root-next-tinkerboard" i "/root/build/.tmp/stretch/linux-stretch-root-next-tinkerboard_5.34_armhf.deb".
[ o.k. ] Starting rootfs and image building process for [ tinkerboard stretch ]
[ o.k. ] Creating new rootfs for [ stretch ]
[ o.k. ] Installing base system [ Stage 1/2 ]
I: Retrieving InRelease
I: Failed to retrieve InRelease
I: Retrieving Release
E: Failed getting release file http://localhost:3142/httpredir.debian.org/debian/dists/stretch/Release
[ error ] ERROR in function create_rootfs_cache [ debootstrap-ng.sh:126 ]
[ error ] Debootstrap base system first stage failed
[ o.k. ] Process terminated
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:59 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated
root@ubuntu:~/build# ^C
root@ubuntu:~/build#

 

Is it only me who got this?  Are there something I have to do to make an complete compiling?

 

Sorry for this kind newbie question.

 

Posted

Debian mirror or your local network problem. Have you tried again?

Posted

I just run the ./compile.sh script for about an hour ago on the first attempt, then compiled succesfully the ubuntu version for the banana pi. Did this without any changes, just the full compile for a test run. Then after that a new compiling attempt for the asus tinker board,  complete compile for the debian stretch but with the same failure. I do another attempt and see if I get some different result.

 

Posted

Well, I don't know why, but I get the same trouble this time too.

 

dpkg-deb: bygger paketet "linux-firmware-image-next-sunxi" i "../linux-firmware-image-next-sunxi_5.34_armhf.deb".
dpkg-deb: bygger paketet "linux-dtb-next-sunxi" i "../linux-dtb-next-sunxi_5.34_armhf.deb".
dpkg-deb: bygger paketet "linux-headers-next-sunxi" i "../linux-headers-next-sunxi_5.34_armhf.deb".
dpkg-deb: bygger paketet "linux-image-next-sunxi" i "../linux-image-next-sunxi_5.34_armhf.deb".
dpkg-genchanges: varning: paketet linux-libc-dev-next-sunxi i styrinfofilen men inte i fillistfilen
dpkg-genchanges: endast binär insändning (inkluderar ej källkod)
dpkg-deb: bygger paketet "linux-source-4.13.11-next-sunxi" i "/root/build/.tmp/linux-source-next-sunxi_5.34_all.deb".
[ o.k. ] Creating board support package [ bananapi next ]
[ .... ] Fingerprinting
[ o.k. ] Building package [ linux-stretch-root-next-bananapi ]
dpkg-deb: bygger paketet "linux-stretch-root-next-bananapi" i "/root/build/.tmp/stretch/linux-stretch-root-next-bananapi_5.34_armhf.deb".
[ o.k. ] Starting rootfs and image building process for [ bananapi stretch ]
[ o.k. ] Creating new rootfs for [ stretch ]
[ o.k. ] Installing base system [ Stage 1/2 ]
I: Retrieving InRelease
I: Failed to retrieve InRelease
I: Retrieving Release
E: Failed getting release file http://localhost:3142/httpredir.debian.org/debian/dists/stretch/Release
[ error ] ERROR in function create_rootfs_cache [ debootstrap-ng.sh:126 ]
[ error ] Debootstrap base system first stage failed
[ o.k. ] Process terminated
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:59 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated

Posted

This is strange! Tried to compile the Jessie Next for the console but there seems to bee problems to fetch the files?

 

dpkg-deb: bygger paketet "linux-source-4.13.11-next-sunxi" i "/root/build/.tmp/linux-source-next-sunxi_5.34_all.deb".
[ o.k. ] Creating board support package [ bananapi next ]
[ .... ] Fingerprinting
[ o.k. ] Building package [ linux-jessie-root-next-bananapi ]
dpkg-deb: bygger paketet "linux-jessie-root-next-bananapi" i "/root/build/.tmp/jessie/linux-jessie-root-next-bananapi_5.34_armhf.deb".
[ o.k. ] Starting rootfs and image building process for [ bananapi jessie ]
[ o.k. ] Creating new rootfs for [ jessie ]
[ o.k. ] Installing base system [ Stage 1/2 ]
I: Retrieving InRelease
I: Failed to retrieve InRelease
I: Retrieving Release
E: Failed getting release file http://localhost:3142/httpredir.debian.org/debian/dists/jessie/Release
[ error ] ERROR in function create_rootfs_cache [ debootstrap-ng.sh:126 ]
[ error ] Debootstrap base system first stage failed
[ o.k. ] Process terminated
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:59 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated

Posted
11 hours ago, lafalken said:

this is strange! Tried to compile the Jessie Next for the console but there seems to bee problems to fetch the files?


I test from scratch. Ubuntu Xenial inside VirtualBox. Everything works just fine ... It must be something with your host machine or your network configuration. Can you start from scratch?

Posted
3 hours ago, Igor said:


I test from scratch. Ubuntu Xenial inside VirtualBox. Everything works just fine ... It must be something with your host machine or your network configuration. Can you start from scratch?

I have no problem to compile the Ubuntu Xenial 16.04 console version which I have made for all my arm computers. I also use the recommended VirtualBox setup after the instructions here at the forum.

 

Tried to do another compile for banana pi, for jessie but there happens something i stage 2 that end with some errors and terminated process.

 

dpkg-deb: bygger paketet "linux-firmware-image-sun7i" i "../linux-firmware-image-sun7i_5.34_armhf.deb".
dpkg-deb: bygger paketet "linux-headers-sun7i" i "../linux-headers-sun7i_5.34_armhf.deb".
dpkg-deb: bygger paketet "linux-image-sun7i" i "../linux-image-sun7i_5.34_armhf.deb".
dpkg-deb: bygger paketet "linux-source-3.4.113-default-sun7i" i "/root/build/.tmp/linux-source-default-sun7i_5.34_all.deb".
[ o.k. ] Creating board support package [ bananapi default ]
[ .... ] Fingerprinting
[ o.k. ] Building package [ linux-jessie-root-bananapi ]
dpkg-deb: bygger paketet "linux-jessie-root-bananapi" i "/root/build/.tmp/jessie/linux-jessie-root-bananapi_5.34_armhf.deb".
[ o.k. ] Starting rootfs and image building process for [ bananapi jessie ]
[ o.k. ] Creating new rootfs for [ jessie ]
[ o.k. ] Installing base system [ Stage 1/2 ]
I: Retrieving InRelease
I: Failed to retrieve InRelease
I: Retrieving Release
E: Failed getting release file http://localhost:3142/httpredir.debian.org/debian/dists/jessie/Release
[ error ] ERROR in function create_rootfs_cache [ debootstrap-ng.sh:126 ]
[ error ] Debootstrap base system first stage failed
[ o.k. ] Process terminated
[ error ] ERROR in function unmount_on_exit [ image-helpers.sh:59 ]
[ error ] debootstrap-ng was interrupted
[ o.k. ] Process terminated

Posted

I can see that something is wrong with host setup, apt-cacher, network ... which are script dependencies and so far we didn't notice any troubles. Check apt-cacher documentation or (faster) start from clean Xenial.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines