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

addpatch: devtools 1:1.0.4-1 #3399

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

magic0whi
Copy link

@magic0whi magic0whi commented Jan 1, 2024

Since Arch Linux RISC-V is using a different style of repo link. The correspondence sed regex in arch-nspawn also needs to be refit: from
http://riscv.mirror.pkgbuild.com/repo/extra,
to
http://riscv.mirror.pkgbuild.com/repo/$repo.

This fix sequence 404 errors while retrieving any package in clean chroot due to that /etc/pacman.d/mirrorlist still keep the form of 'Server = http[s]://**/repo/extra'.

At this time, any package build try in a claen chroots will result in fail if it has any make dependent packages not in group 'base-devel'.

@magic0whi
Copy link
Author

magic0whi commented Jan 1, 2024

TODO: Modify PKGBUILD (I forgot it)
Completed, now its time for me to sleep

Since Arch Linux RISC-V is using a different style of repo link. The correspondence `sed` regex in `arch-nspawn` also needs to be refit:
from
  http://riscv.mirror.pkgbuild.com/repo/extra,
to
  http://riscv.mirror.pkgbuild.com/repo/$repo.

This fix sequence 404 errors while retrieving any package in clean chroot due to that `/etc/pacman.d/mirrorlist` still keep the form of 'Server = http[s]://**/repo/extra'.

Signed-off-by: proteus <lollipop.studio.cn@gmail.com>
@Xeonacid
Copy link
Collaborator

Xeonacid commented Jan 3, 2024

At this time, any package build try in a claen chroots will result in fail if it have any make dependent packages not in group 'base-devel'.

Could you leave a reproduction step? We build a lot of packages using extra-riscv64-build on qemu-user or real hardware, but have not seen such problem. 🤔

@magic0whi
Copy link
Author

magic0whi commented Jan 12, 2024

At this time, any package build try in a claen chroots will result in fail if it have any make dependent packages not in group 'base-devel'.

Could you leave a reproduction step? We build a lot of packages using extra-riscv64-build on qemu-user or real hardware, but have not seen such problem. 🤔

Okey, I’ll pick a package to build, and then check out the different. My assume is that the extra-riscv64-build either prepared all the make depends at chroot initialization or itself checkd out makedeps in PKGBUILD and called pacman using host mirrorlist file at early time so when makepkg in chroot being excuted it does not need to install anymore packages.

@magic0whi
Copy link
Author

magic0whi commented Jan 12, 2024

At this time, any package build try in a claen chroots will result in fail if it have any make dependent packages not in group 'base-devel'.

Could you leave a reproduction step? We build a lot of packages using extra-riscv64-build on qemu-user or real hardware, but have not seen such problem. 🤔

Okey, I’ll pick a package to build, and then check out the different. My assume is that the extra-riscv64-build either prepared all the make depends at chroot initialization or itself checkd out makedeps in PKGBUILD and called pacman using host mirrorlist file at early time so when makepkg in chroot being excuted it does not need to install anymore packages.

Sorry for the inconvenience. Just found out that I’ve never mentioned I uses the ‘makechrootpkg -c -r $CHROOT’ to build packages (which is described as the classic way, just because I wanna pass some parameters like “-A” which ignore the arch limit in PKGBUILD)

@CoelacanthusHex
Copy link
Collaborator

At this time, any package build try in a claen chroots will result in fail if it have any make dependent packages not in group 'base-devel'.

Could you leave a reproduction step? We build a lot of packages using extra-riscv64-build on qemu-user or real hardware, but have not seen such problem. 🤔

Okey, I’ll pick a package to build, and then check out the different. My assume is that the extra-riscv64-build either prepared all the make depends at chroot initialization or itself checkd out makedeps in PKGBUILD and called pacman using host mirrorlist file at early time so when makepkg in chroot being excuted it does not need to install anymore packages.

Sorry for the inconvenience. Just found out that I’ve never mentioned I uses the ‘makechrootpkg -c -r $CHROOT’ to build packages (which is described as the classic way, just because I wanna pass some parameters like “-A” which ignore the arch limit in PKGBUILD)

You should change arch array in PKGBUILD instead. Invoking makechrootpkg manually is unsupported way in nowadays Arch packaging.

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

Successfully merging this pull request may close these issues.

None yet

3 participants