actionless / pikaur

AUR helper with minimal dependencies. Review PKGBUILDs all in once, next build them all without user interaction.
GNU General Public License v3.0
868 stars 87 forks source link

Pikaur incorrectly treat runtime dependencies as make dependencies #786

Closed bigsaltyfishes closed 6 months ago

bigsaltyfishes commented 6 months ago
Pikaur v1.19
Pacman v6.1.0 - libalpm v14.0.0 - pyalpm v0.10.6
Description:

It seems that pikaur will treat runtime dependencies as make dependencies, if a PKGBUILD defines runtime dependencies that not either exist in AUR nor installed in system, pikaur will failed to build package.

The description of depends in ArchWiki:

4.1 depends An array of packages that must be installed for the software to build and run. Dependencies defined inside the package() function are only required to run the software.

As -P/--pkgbuild option is used to build local PKGBUILDs, not to directly install them, then the runtime dependencies of building package should not be treated as build dependencies. Since pikaur's build behavior is different from running makepkg directly, I think this should be a bug.

Attached log:
PKGDEST=$PWD pikaur -P PKGBUILD --noconfirm --verbose --pikaur-debug 
:: debug: main_1000: Setting stdout to utf-8...
:: debug: main_1000: already set - nothing to do
:: debug: main_1000: Setting stderr to utf-8...
:: debug: main_1000: already set - nothing to do
:: debug: main_1000: Pikaur operation found for args ['/usr/sbin/pikaur', '-P', 'PKGBUILD', '--noconfirm', '--verbose', '--pikaur-debug']: cli_pkgbuild
=> sudo --preserve-env=PKGDEST -- /usr/sbin/pikaur -P PKGBUILD --noconfirm --verbose --pikaur-debug --pikaur-config=/home/bigsaltyfishes/.config/pikaur.conf --user-id=1000 --home-dir=/home/bigsaltyfishes
:: debug: main_0: Setting stdout to utf-8...
:: debug: main_0: already set - nothing to do
:: debug: main_0: Setting stderr to utf-8...
:: debug: main_0: already set - nothing to do
:: debug: main_0: Pikaur operation found for args ['/usr/sbin/pikaur', '-P', 'PKGBUILD', '--noconfirm', '--verbose', '--pikaur-debug', '--pikaur-config=/home/bigsaltyfishes/.config/pikaur.conf', '--user-id=1000', '--home-dir=/home/bigsaltyfishes']: cli_pkgbuild
:: debug: install_info_fetcher: 
Gonna fetch install info for:
    install_package_names=[]
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={'PKGBUILD': []}
    manually_excluded_packages_names=[]
    skip_checkdeps_for_pkgnames=[]

:: debug: install_info_fetcher: Gonna get repo pkgs install info...
:: debug: install_info_fetcher: gonna get AUR pkgs install info for:
    aur_packages_versionmatchers=[]
    self.aur_updates_install_info=[]
    aur_packages_names_to_versions={}
Reading local package database...
:: debug: install_info_fetcher: found AUR pkgs:
    aur_pkg_list=[]
not found AUR pkgs:
    not_found_aur_pkgs=[]
:: debug: install_info_fetcher: got AUR pkgs install info: []
:: debug: install_info_fetcher: gonna get install info from PKGBUILDs: []...
=> sudo --user=#1000 --preserve-env=PKGDEST -- makepkg --printsrcinfo -p PKGBUILD
:: debug: install_info_fetcher: got install info from PKGBUILDs: [<AURInstallInfo "molyuuos-customizations"   -> 1.0.0-1>].
Resolving AUR dependencies...
=> pacman --color=always --deptest e2fsprogs btrfs-progs util-linux mkinitcpio sudo polkit molyuuctl
=> pacman --color=always --sync molyuuctl --print-format %r/%n --nodeps
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=molyuuctl
Reading repository package databases...
=> pacman --color=always --deptest molyuuctl
:: error: Can't resolve dependencies for AUR package 'molyuuos-customizations':
:: error: Dependencies missing for molyuuos-customizations
:: warning: Following package cannot be found in AUR:
    molyuuctl    
:: debug: prompt: Gonna get input from user...
:: debug: FileLock: Acquiring /tmp/pikaur_prompt_732068.lock...
:: debug: FileLock: Acquired /tmp/pikaur_prompt_732068.lock
:: debug: prompt_nolock: Restoring TTY...
:: debug: prompt_nolock: Using standard input reader...
:: Try recovering molyuuos-customizations?
[e] edit PKGBUILD
[f] skip 'check()' function of PKGBUILD
[s] skip this package
[A] abort
> A
:: debug: FileLock: Releasing /tmp/pikaur_prompt_732068.lock
:: debug: FileLock: Released /tmp/pikaur_prompt_732068.lock
:: debug: prompt: Got answer: 'a'
:: debug: main_0: Restoring stdout...
:: debug: main_0: nothing to do
:: debug: main_0: Restoring stderr...
:: debug: main_0: nothing to do
:: debug: main_1000: Restoring stdout...
:: debug: main_1000: nothing to do
:: debug: main_1000: Restoring stderr...
:: debug: main_1000: nothing to do
actionless commented 6 months ago

could you show the log when doing the same sort of thing but using makepkg instead of pikaur?

bigsaltyfishes commented 6 months ago

could you show the log when doing the same sort of thing but using makepkg instead of pikaur?

Okay, here is the log:

❯ makepkg --printsrcinfo
pkgbase = molyuuos-customizations
        pkgdesc = MolyuuOS customizations - This package installs various MolyuuOS-specific files
        pkgver = 1.0.0
        pkgrel = 2
        url = https://github.com/MolyuuOS/molyuuos-customizations
        arch = x86_64
        license = MIT
        depends = e2fsprogs
        depends = btrfs-progs
        depends = util-linux
        depends = mkinitcpio
        depends = sudo
        depends = polkit

pkgname = molyuuos-customizations
        depends = molyuuctl
❯ pacman --deptest `makepkg --printsrcinfo|grep -oE "^\s*depends = (.+)"|sed -E 's/^\s*depends = (.+)/\1/'`
btrfs-progs
molyuuctl
❯ PKGDEST=$PWD makepkg -s -L --noconfirm
==> Making package: molyuuos-customizations 1.0.0-2 (Fri Apr 26 16:00:18 2024)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for molyuu: 
resolving dependencies...
looking for conflicting packages...

Packages (1) btrfs-progs-6.8-2

Total Installed Size:  6.50 MiB

:: Proceed with installation? [Y/n] 
(1/1) checking keys in keyring                                                                                   [###################################################################] 100%
(1/1) checking package integrity                                                                                 [###################################################################] 100%
(1/1) loading package files                                                                                      [###################################################################] 100%
(1/1) checking for file conflicts                                                                                [###################################################################] 100%
(1/1) checking available disk space                                                                              [###################################################################] 100%
:: Processing package changes...
(1/1) installing btrfs-progs                                                                                     [###################################################################] 100%
Optional dependencies for btrfs-progs
    python: libbtrfsutil python bindings [installed]
    e2fsprogs: btrfs-convert [installed]
    reiserfsprogs: btrfs-convert
:: Running post-transaction hooks...
(1/2) Reloading device manager configuration...
  Skipped: Device manager is not running.
(2/2) Updating linux initcpios...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/NetworkManager' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/NetworkManager'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/NetworkManager/conf.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/NetworkManager/conf.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/NetworkManager/conf.d/dns.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/NetworkManager/conf.d/dns.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/NetworkManager/conf.d/iwd_path.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/NetworkManager/conf.d/iwd_path.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/NetworkManager/conf.d/wifi_backend.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/NetworkManager/conf.d/wifi_backend.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/limits.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/limits.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/limits.d/15-proton-nice.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/limits.d/15-proton-nice.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/mkinitcpio.conf.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/mkinitcpio.conf.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/mkinitcpio.conf.d/20-steamdeck.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/mkinitcpio.conf.d/20-steamdeck.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/polkit-1' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/polkit-1'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/polkit-1/rules.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/polkit-1/rules.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/polkit-1/rules.d/40-system-tweaks.rules' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/polkit-1/rules.d/40-system-tweaks.rules'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/polkit-1/rules.d/41-steamvr.rules' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/polkit-1/rules.d/41-steamvr.rules'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/profile.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/profile.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/profile.d/libva.sh' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/profile.d/libva.sh'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/profile.d/steamos.sh' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/profile.d/steamos.sh'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/sudoers.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/sudoers.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/sudoers.d/systemctl_needed' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/sudoers.d/systemctl_needed'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/systemd' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/systemd'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/systemd/journald.conf.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/systemd/journald.conf.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/systemd/journald.conf.d/00-journal-persistent.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/systemd/journald.conf.d/00-journal-persistent.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/systemd/journald.conf.d/00-journal-size.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/systemd/journald.conf.d/00-journal-size.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/systemd/logind.conf.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/systemd/logind.conf.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/systemd/logind.conf.d/10-molyuuos.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/systemd/logind.conf.d/10-molyuuos.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/systemd/system' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/systemd/system'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/systemd/system/bluetooth-workaround.service' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/systemd/system/bluetooth-workaround.service'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/udev' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/udev'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/udev/rules.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/udev/rules.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/udev/rules.d/00-ntfs3-default-mount.rules' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/udev/rules.d/00-ntfs3-default-mount.rules'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/etc/udev/rules.d/81-wol.rules' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/etc/udev/rules.d/81-wol.rules'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/mkswapfile' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/mkswapfile'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/molyuu-session' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/molyuu-session'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/jupiter-fan-control' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/jupiter-fan-control'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/jupiter-get-als-gain'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-devkit-mode' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-devkit-mode'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-disable-wireless-power-management'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-enable-sshd' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-enable-sshd'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-poweroff-now' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-poweroff-now'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-priv-write' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-priv-write'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-reboot-now' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-reboot-now'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-reboot-other' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-reboot-other'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-restart-sddm' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-restart-sddm'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-set-hostname' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-set-hostname'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/bin/steamos-polkit-helpers/steamos-set-timezone' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/bin/steamos-polkit-helpers/steamos-set-timezone'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/initcpio' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/initcpio'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/initcpio/install' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/initcpio/install'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/initcpio/install/steam-deck' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/initcpio/install/steam-deck'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/sysctl.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/sysctl.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/sysctl.d/20-net-timeout.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/sysctl.d/20-net-timeout.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/sysctl.d/20-sched.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/sysctl.d/20-sched.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/sysctl.d/30-vm.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/sysctl.d/30-vm.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/sysusers.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/sysusers.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/lib/sysusers.d/steamos-users.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/lib/sysusers.d/steamos-users.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/X11' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/X11'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/X11/xorg.conf.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/X11/xorg.conf.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/X11/xorg.conf.d/10-steamos-virtualdisplaysize.conf' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/X11/xorg.conf.d/10-steamos-virtualdisplaysize.conf'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/polkit-1' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/polkit-1'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/polkit-1/actions' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/polkit-1/actions'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/polkit-1/actions/org.molyuuos.host.policy' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/polkit-1/actions/org.molyuuos.host.policy'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/polkit-1/actions/org.molyuuos.hwsupport.policy' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/polkit-1/actions/org.molyuuos.hwsupport.policy'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/polkit-1/actions/org.molyuuos.priv.write.policy' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/polkit-1/actions/org.molyuuos.priv.write.policy'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/polkit-1/actions/org.molyuuos.session.select.policy' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/polkit-1/actions/org.molyuuos.session.select.policy'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/polkit-1/actions/org.molyuuos.steamvr.policy' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/polkit-1/actions/org.molyuuos.steamvr.policy'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/polkit-1/actions/org.molyuuos.update.policy' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/polkit-1/actions/org.molyuuos.update.policy'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/wayland-sessions' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/wayland-sessions'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/wayland-sessions/steamos.desktop' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/wayland-sessions/steamos.desktop'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/wireplumber' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/wireplumber'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/wireplumber/main.lua.d' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/wireplumber/main.lua.d'
'/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/rootfs/usr/share/wireplumber/main.lua.d/50-alsa-config.lua' -> '/home/molyuu/Workspace/MolyuuOS/molyuuos-customizations/pkg/molyuuos-customizations/usr/share/wireplumber/main.lua.d/50-alsa-config.lua'
==> Tidying install...
  -> Removing libtool files...
  -> Purging unwanted files...
  -> Removing static library files...
  -> Stripping unneeded symbols from binaries and libraries...
  -> Compressing man and info pages...
==> Checking for packaging issues...
==> Creating package "molyuuos-customizations"...
  -> Generating .PKGINFO file...
  -> Generating .BUILDINFO file...
  -> Generating .MTREE file...
  -> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: molyuuos-customizations 1.0.0-2 (Fri Apr 26 16:00:23 2024)
actionless commented 6 months ago

thanks, please also upload a PKGBUILD with actual build commands to echo test

bigsaltyfishes commented 6 months ago

thanks, please also upload a PKGBUILD with actual build commands to echo test

Here is an example PKGBULD:

pkgname=samplepkg
pkgver=1.0.0
pkgrel=2
pkgdesc="Sample PKG"
arch=('x86_64')
url="https://example.com"
license=('MIT')

# Dependencies shoud be installed at both build time and runtime
depends=('curl')

# Dependencies should be installed at build time
makedepends=('bash')
checkdepends=('wget')

package() {
    # Dependencies should be installed at runtime
    depends=('a_runtime_dependency')

    bash -c "echo test"
}
actionless commented 6 months ago

thanks! i'll try to resolve it soon

actionless commented 6 months ago

i also added your pkgbuild example to the testsuite: https://github.com/actionless/pikaur/blob/master/pikaur_test/PKGBUILD_runtime_deps