Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pbuilder building error #395

Open
edPlus20 opened this issue Nov 30, 2023 · 1 comment
Open

Pbuilder building error #395

edPlus20 opened this issue Nov 30, 2023 · 1 comment

Comments

@edPlus20
Copy link

edPlus20 commented Nov 30, 2023

Hello,
I am running elbe in a newly installed Debian (Bookworm).
I am trying to build a debian image for raspberry Pi 4 following this tutorial and the elbe documentation:

I installed the software dependencies of Elbe and added my user to the kvm and libvirt.
I cloned the repository (master branch).

Created the initvm with the following command:
$ elbe initvm create --devel

At this point I download the linux from the raspberrypi firmware github
$ git clone https://github.com/raspberrypi/linux.git

The following step would be debianize this folder. Howeve the "elbe-debianize" is depracted and the following steps must be followed:

$ export CROSS_COMPILE=aarch64-linux-gnu-
$ export DEBEMAIL="`git config user.name` <`git config user.email`>"
$ export KDEB_CHANGELOG_DIST=unstable
$ make ARCH=arm64 defconfig
$ make ARCH=arm64 DPKG_FLAGS=-S KERNELRELEASE=6.2-elbe deb-pkg
$ rm debian/files
$ git add -f debian
$ git commit -sm 'add the deb-pkg generated debianization'
$ CC=aarch64-linux-gnu-gcc dpkg-buildpackage -b -aarm64

I copy pasted this commands (besides the KERNELRELEASE which I erased it).

Finally I run:

$ elbe pbuilder create --xmlfile=raspberry.xml --writeproject rpi.prj --cross
$ elbe pbuilder build --project $PRJ --cross --out ../out

Where "raspberry.xml" is created based of the beaglebone example from elbe and the modifications suggested in the elbe-raspberry tutorial.

When executing the pbuilder build I get the following from the command:
pbuild_pompt.txt
Error
E: Unable to locate package libstdc++-8-dev:armhf

How can I get this package inside the qemu virtual machine used by elbe ??

@t-8ch
Copy link
Contributor

t-8ch commented Mar 6, 2024

First of all sorry for the long delay.

Do you still have this issue?
Is it reproducible?
To me this looks like an issue with the debian repositories, as unlikely as it sounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants