travishegner / buildzfs Goto Github PK
View Code? Open in Web Editor NEWBasic script to build archlinux zfs packages when archzfs CI is not working correctly
Basic script to build archlinux zfs packages when archzfs CI is not working correctly
Hey,
thank you for the project,
I tried building archzfs and not the following log:
-> Running build hook: [kms]
==> WARNING: Possibly missing firmware for module: 'ast'
==> WARNING: Possibly missing firmware for module: 'amdgpu'
==> WARNING: Possibly missing firmware for module: 'i915'
==> WARNING: Possibly missing firmware for module: 'nouveau'
==> WARNING: Possibly missing firmware for module: 'radeon'
-> Running build hook: [keyboard]
==> WARNING: Possibly missing firmware for module: 'xhci_pci'
-> Running build hook: [keymap]
-> Running build hook: [consolefont]
==> WARNING: consolefont: no font found in configuration
-> Running build hook: [block]
==> WARNING: Possibly missing firmware for module: 'qed'
==> WARNING: Possibly missing firmware for module: 'bfa'
==> WARNING: Possibly missing firmware for module: 'wd719x'
==> WARNING: Possibly missing firmware for module: 'qla1280'
==> WARNING: Possibly missing firmware for module: 'isci'
==> WARNING: Possibly missing firmware for module: 'cxgb4'
==> WARNING: Possibly missing firmware for module: 'cxgb3'
==> WARNING: Possibly missing firmware for module: 'advansys'
==> WARNING: Possibly missing firmware for module: 'csiostor'
==> WARNING: Possibly missing firmware for module: 'qla2xxx'
==> WARNING: Possibly missing firmware for module: 'aic94xx'
==> WARNING: Possibly missing firmware for module: 'ums_eneub6250'
-> Running build hook: [filesystems]
-> Running build hook: [fsck]
==> Generating module dependencies
==> Creating zstd-compressed initcpio image: '/boot/initramfs-linux-fallback.img'
==> Image generation successful
error: command failed to execute correctly
(7/7) Warn about old perl modules
Cloning into 'zfs-utils'...
Cloning into 'zfs-linux'...
chown: changing ownership of '/home/arch/.gnupg': Invalid argument
chown: changing ownership of '/home/arch/.bashrc': Invalid argument
chown: changing ownership of '/home/arch': Invalid argument
chown: changing ownership of '/zfs-utils/zfs.initcpio.install': Invalid argument
chown: changing ownership of '/zfs-utils/PKGBUILD': Invalid argument
chown: changing ownership of '/zfs-utils/.SRCINFO': Invalid argument
chown: changing ownership of '/zfs-utils/.git/objects/pack/pack-2a0ff21a586ce521a8d100c29da361d2efac238d.idx': Invalid argument
chown: changing ownership of '/zfs-utils/.git/objects/pack/pack-2a0ff21a586ce521a8d100c29da361d2efac238d.pack': Invalid argument
chown: changing ownership of '/zfs-utils/.git/objects/pack/pack-2a0ff21a586ce521a8d100c29da361d2efac238d.rev': Invalid argument
chown: changing ownership of '/zfs-utils/.git/objects/pack': Invalid argument
chown: changing ownership of '/zfs-utils/.git/objects/info': Invalid argument
chown: changing ownership of '/zfs-utils/.git/objects': Invalid argument
chown: changing ownership of '/zfs-utils/.git/packed-refs': Invalid argument
chown: changing ownership of '/zfs-utils/.git/HEAD': Invalid argument
chown: changing ownership of '/zfs-utils/.git/shallow': Invalid argument
chown: changing ownership of '/zfs-utils/.git/branches': Invalid argument
chown: changing ownership of '/zfs-utils/.git/config': Invalid argument
chown: changing ownership of '/zfs-utils/.git/info/exclude': Invalid argument
chown: changing ownership of '/zfs-utils/.git/info': Invalid argument
chown: changing ownership of '/zfs-utils/.git/refs/remotes/origin/HEAD': Invalid argument
chown: changing ownership of '/zfs-utils/.git/refs/remotes/origin': Invalid argument
chown: changing ownership of '/zfs-utils/.git/refs/remotes': Invalid argument
chown: changing ownership of '/zfs-utils/.git/refs/tags': Invalid argument
chown: changing ownership of '/zfs-utils/.git/refs/heads/master': Invalid argument
chown: changing ownership of '/zfs-utils/.git/refs/heads': Invalid argument
chown: changing ownership of '/zfs-utils/.git/refs': Invalid argument
chown: changing ownership of '/zfs-utils/.git/index': Invalid argument
chown: changing ownership of '/zfs-utils/.git/logs/HEAD': Invalid argument
chown: changing ownership of '/zfs-utils/.git/logs/refs/remotes/origin/HEAD': Invalid argument
chown: changing ownership of '/zfs-utils/.git/logs/refs/remotes/origin': Invalid argument
chown: changing ownership of '/zfs-utils/.git/logs/refs/remotes': Invalid argument
chown: changing ownership of '/zfs-utils/.git/logs/refs/heads/master': Invalid argument
chown: changing ownership of '/zfs-utils/.git/logs/refs/heads': Invalid argument
chown: changing ownership of '/zfs-utils/.git/logs/refs': Invalid argument
chown: changing ownership of '/zfs-utils/.git/logs': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/pre-merge-commit.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/pre-applypatch.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/fsmonitor-watchman.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/pre-commit.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/applypatch-msg.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/sendemail-validate.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/pre-push.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/pre-rebase.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/pre-receive.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/prepare-commit-msg.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/post-update.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/commit-msg.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/update.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks/push-to-checkout.sample': Invalid argument
chown: changing ownership of '/zfs-utils/.git/hooks': Invalid argument
chown: changing ownership of '/zfs-utils/.git/description': Invalid argument
chown: changing ownership of '/zfs-utils/.git': Invalid argument
chown: changing ownership of '/zfs-utils/zfs.initcpio.hook': Invalid argument
chown: changing ownership of '/zfs-utils': Invalid argument
chown: changing ownership of '/zfs-linux/PKGBUILD': Invalid argument
chown: changing ownership of '/zfs-linux/.gitignore': Invalid argument
chown: changing ownership of '/zfs-linux/.SRCINFO': Invalid argument
chown: changing ownership of '/zfs-linux/zfs.install': Invalid argument
chown: changing ownership of '/zfs-linux/.git/objects/pack/pack-f60c27fbe561ece170fd6e118ddbe0ba2b1329af.idx': Invalid argument
chown: changing ownership of '/zfs-linux/.git/objects/pack/pack-f60c27fbe561ece170fd6e118ddbe0ba2b1329af.pack': Invalid argument
chown: changing ownership of '/zfs-linux/.git/objects/pack/pack-f60c27fbe561ece170fd6e118ddbe0ba2b1329af.rev': Invalid argument
chown: changing ownership of '/zfs-linux/.git/objects/pack': Invalid argument
chown: changing ownership of '/zfs-linux/.git/objects/info': Invalid argument
chown: changing ownership of '/zfs-linux/.git/objects': Invalid argument
chown: changing ownership of '/zfs-linux/.git/packed-refs': Invalid argument
chown: changing ownership of '/zfs-linux/.git/HEAD': Invalid argument
chown: changing ownership of '/zfs-linux/.git/shallow': Invalid argument
chown: changing ownership of '/zfs-linux/.git/branches': Invalid argument
chown: changing ownership of '/zfs-linux/.git/config': Invalid argument
chown: changing ownership of '/zfs-linux/.git/info/exclude': Invalid argument
chown: changing ownership of '/zfs-linux/.git/info': Invalid argument
chown: changing ownership of '/zfs-linux/.git/refs/remotes/origin/HEAD': Invalid argument
chown: changing ownership of '/zfs-linux/.git/refs/remotes/origin': Invalid argument
chown: changing ownership of '/zfs-linux/.git/refs/remotes': Invalid argument
chown: changing ownership of '/zfs-linux/.git/refs/tags': Invalid argument
chown: changing ownership of '/zfs-linux/.git/refs/heads/master': Invalid argument
chown: changing ownership of '/zfs-linux/.git/refs/heads': Invalid argument
chown: changing ownership of '/zfs-linux/.git/refs': Invalid argument
chown: changing ownership of '/zfs-linux/.git/index': Invalid argument
chown: changing ownership of '/zfs-linux/.git/logs/HEAD': Invalid argument
chown: changing ownership of '/zfs-linux/.git/logs/refs/remotes/origin/HEAD': Invalid argument
chown: changing ownership of '/zfs-linux/.git/logs/refs/remotes/origin': Invalid argument
chown: changing ownership of '/zfs-linux/.git/logs/refs/remotes': Invalid argument
chown: changing ownership of '/zfs-linux/.git/logs/refs/heads/master': Invalid argument
chown: changing ownership of '/zfs-linux/.git/logs/refs/heads': Invalid argument
chown: changing ownership of '/zfs-linux/.git/logs/refs': Invalid argument
chown: changing ownership of '/zfs-linux/.git/logs': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/pre-merge-commit.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/pre-applypatch.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/fsmonitor-watchman.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/pre-commit.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/applypatch-msg.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/sendemail-validate.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/pre-push.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/pre-rebase.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/pre-receive.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/prepare-commit-msg.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/post-update.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/commit-msg.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/update.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks/push-to-checkout.sample': Invalid argument
chown: changing ownership of '/zfs-linux/.git/hooks': Invalid argument
chown: changing ownership of '/zfs-linux/.git/description': Invalid argument
chown: changing ownership of '/zfs-linux/.git': Invalid argument
chown: changing ownership of '/zfs-linux': Invalid argument
Error: building at STEP "RUN pacman --noconfirm -Syu && pacman --noconfirm -S linux linux-headers base-devel git && useradd -m arch && mkdir -p /home/arch/.gnupg && git clone --depth 1 https://aur.archlinux.org/zfs-utils.git && git clone --depth 1 https://aur.archlinux.org/zfs-linux.git && chown -R arch:arch /home/arch /zfs-utils /zfs-linux && sed -i "s/^#MAKEFLAGS=\"-j2\"/MAKEFLAGS=\"-j$num_cpus\"/g" /etc/makepkg.conf && sed -i "s/^_kernelver=\".*\"/_kernelver=\"$(pacman -Q linux | cut -d ' ' -f 2)\"/g" /zfs-linux/PKGBUILD && sed -i "s/^_kernelver_full=\".*\"/_kernelver_full=\"$(pacman -Q linux | cut -d ' ' -f 2)\"/g" /zfs-linux/PKGBUILD && sed -i "s/^_zfsver=\".*\"/_zfsver=\"$zfs_release\"/g" /zfs-linux/PKGBUILD && sed -i "s/^pkgver=\".*\"/pkgver=\"$zfs_release\"/g" /zfs-utils/PKGBUILD": while running runtime: exit status 1
Did you manage to build a package with this script?
I made sure I have subuid and subgid configured properly with this guide: https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md#etcsubuid-and-etcsubgid-configuration
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.