You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on a build system using the makedeb arm64 docker container (on an arm64 Jammy host) to build versions of a couple packages for Jammy and Noble based systems. Things work great for Jammy, but not for Noble. I get a permissions error: [!] You do not have write permission for the directory $BUILDDIR (/home/makedeb). and note that on Jammy, the /home/makedeb directory is owned by user "ubuntu", but on Jammy it's "makedeb".
In my code, I've got PKGBUILDs ported from Arch, but I don't need an actual PKGBUILD to demonstrate the permissions issue, so here's the output from
docker-compose up
Creating network "makedeb-repro_default" with the default driver
Creating makedeb-repro_build-jammy_1 ... done
Creating makedeb-repro_build-noble_1 ... done
Attaching to makedeb-repro_build-jammy_1, makedeb-repro_build-noble_1
build-noble_1 | /home/makedeb
build-jammy_1 | /home/makedeb
build-noble_1 | total 8
build-noble_1 | drwxrwxr-x 2 ubuntu ubuntu 4096 Jun 15 21:15 .
build-noble_1 | drwxr-xr-x 1 root root 4096 Jun 15 00:11 ..
build-noble_1 | -rw-rw-r-- 1 ubuntu ubuntu 0 Jun 15 21:15 PKGBUILD
build-jammy_1 | total 8
build-jammy_1 | drwxrwxr-x 2 makedeb makedeb 4096 Jun 15 21:15 .
build-jammy_1 | drwxr-xr-x 1 root root 4096 Jun 10 00:05 ..
build-jammy_1 | -rw-rw-r-- 1 makedeb makedeb 0 Jun 15 21:15 PKGBUILD
build-noble_1 | [!] You do not have write permission for the directory $BUILDDIR (/home/makedeb).
build-noble_1 | Aborting...
build-jammy_1 | [!] is not available for the 'arm64' architecture.
build-jammy_1 | [!] pkgrel is not allowed to be empty.
build-jammy_1 | [!] pkgver is not allowed to be empty.
build-jammy_1 | [!] pkgname is not allowed to be empty.
build-jammy_1 | [!] A maintainer must be specified. This will be an error in a future release.
build-jammy_1 | [!] pkgdesc must be set.
makedeb-repro_build-noble_1 exited with code 11
makedeb-repro_build-jammy_1 exited with code 12
The text was updated successfully, but these errors were encountered:
dfloer
changed the title
Makedeb Docker Permissions Error, Works With Jammy
Makedeb Docker Permissions Error With Noble, Works With Jammy
Jun 15, 2024
I'm working on a build system using the makedeb arm64 docker container (on an arm64 Jammy host) to build versions of a couple packages for Jammy and Noble based systems. Things work great for Jammy, but not for Noble. I get a permissions error:
[!] You do not have write permission for the directory $BUILDDIR (/home/makedeb).
and note that on Jammy, the/home/makedeb
directory is owned by user "ubuntu", but on Jammy it's "makedeb".Here's a minimal repro:
docker-compose.yaml
Dockerfile-jammy
Dockerfile-noble
I then created a directory structure to test (empty PKGBUILD files are fine for this repro):
And then build and try to run the containers:
In my code, I've got PKGBUILDs ported from Arch, but I don't need an actual PKGBUILD to demonstrate the permissions issue, so here's the output from
The text was updated successfully, but these errors were encountered: