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
876 stars 89 forks source link

DynamicUsers breaks some builds #660

Closed kousu closed 1 year ago

kousu commented 2 years ago
$ pikaur -Vq
Pikaur v1.11
Pacman v6.0.1 - libalpm v13.0.1 - pyalpm v0.10.6
Description:

If I edit ~/.config/pikaur.conf to set [build].alwaysusedynamicusers = yes, or run pikaur as root (which forces that setting on), then builds using build deps outside of PATH=/usr/local/sbin:/usr/local/bin:/usr/bin fail.

Attached log:
[root@nigiri ~]# pikaur -S firefox-clearurls --rebuild --verbose --pikaur-debug
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp true
:: debug: Pikaur operation found for sys.argv=['/usr/bin/pikaur', '-S', 'firefox-clearurls', '--rebuild', '--verbose', '--pikaur-debug']: cli_install_packages
:: debug: install_info_fetcher: Gonna fetch install info for:
    install_package_names=['firefox-clearurls']
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={}
    manually_excluded_packages_names=[]

:: debug: install_info_fetcher: Gonna get repo pkgs install info...
Reading repository package databases...
Reading local package database...
=> pacman --color=always --sync firefox-clearurls --print-format %r/%n
=> pacman --color=always --sync firefox-clearurls --print-format %r/%n
:: debug: install_info_fetcher: gonna get AUR pkgs install info for:
    aur_packages_versionmatchers=['firefox-clearurls']
    self.aur_updates_install_info=[]
    aur_packages_names_to_versions={'firefox-clearurls': <VersionMatcher firefox-clearurls['cmp_default']None>}
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=firefox-clearurls
:: debug: install_info_fetcher: found AUR pkgs:
    aur_pkg_list=[<AURPackageInfo "firefox-clearurls" 1.25.0-1>]
    not_found_aur_pkgs=[]

:: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[<AURInstallInfo "firefox-clearurls" 1.25.0-1 -> 1.25.0-1>]
Resolving AUR dependencies...
=> pacman --color=always --deptest strip-nondeterminism zip

:: AUR package will be installed:
 firefox-clearurls                     1.25.0-1             -> 1.25.0-1

:: debug: PROMPT: Gonna get input from user...
:: debug: PROMPT: Restoring TTY...
:: debug: PROMPT: Using standard input reader...
:: Proceed with installation? [Y/n] 
:: [v]iew package details   [m]anually select packages
>> y
:: debug: PROMPT: Reverting to prev TTY state...
:: debug: PROMPT: Got answer: 'y'
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp git -C /var/cache/pikaur/aur_repos/firefox-clearurls pull origin master
looking for conflicting AUR packages...
:: warning: Not showing diff for firefox-clearurls package (already reviewed)
:: debug: PROMPT: Gonna get input from user...
:: debug: PROMPT: Restoring TTY...
:: debug: PROMPT: Using standard input reader...
Do you want to edit PKGBUILD for firefox-clearurls package? [y/N] n
:: debug: PROMPT: Reverting to prev TTY state...
:: debug: PROMPT: Got answer: 'n'

:: debug: Gonna build self.package_builds_by_name={'firefox-clearurls': <pikaur.build.PackageBuild object at 0x7fa0d43dbb80>}
:: debug: Gonna build pkg_build.package_names=['firefox-clearurls']
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp mkdir -p /var/cache/private/pikaur/build/firefox-clearurls
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp cp -r /var/cache/private/pikaur/aur_repos/firefox-clearurls/last_installed.txt /var/cache/private/pikaur/aur_repos/firefox-clearurls/PKGBUILD /var/cache/private/pikaur/aur_repos/firefox-clearurls/.gitignore /var/cache/private/pikaur/aur_repos/firefox-clearurls/.SRCINFO /var/cache/private/pikaur/build/firefox-clearurls/
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/pikaur/build/firefox-clearurls makepkg --packagelist

:: Starting the build:
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/pikaur/build/firefox-clearurls makepkg --force
Running as unit: run-u340.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: firefox-clearurls 1.25.0-1 (Sat 13 Aug 2022 12:31:36 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading 1.25.0.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  770k  100  770k    0     0  1015k      0 --:--:-- --:--:-- --:--:-- 1015k
==> Validating source files with md5sums...
    1.25.0.tar.gz ... Passed
==> Extracting sources...
  -> Extracting 1.25.0.tar.gz with bsdtar
==> Starting prepare()...
==> Entering fakeroot environment...
==> Starting package()...
  adding: clearurls.js (deflated 77%)
  adding: browser-polyfill.js (deflated 80%)
  adding: manifest.json (deflated 83%)
  adding: img/clearurls_128x128.png (deflated 1%)
  adding: img/clearurls_16x16.png (stored 0%)
  adding: img/clearurls_19x19.png (stored 0%)
  adding: img/clearurls_20x20.png (stored 0%)
  adding: img/clearurls_24x24.png (stored 0%)
  adding: img/clearurls_30x30.png (stored 0%)
  adding: img/clearurls_32x32.png (stored 0%)
  adding: img/clearurls_38x38.png (stored 0%)
  adding: img/clearurls_48x48.png (stored 0%)
  adding: img/clearurls_64x64.png (stored 0%)
  adding: img/clearurls_96x96.png (stored 0%)
  adding: img/clearurls_gray_128x128.png (deflated 4%)
  adding: img/clearurls_gray.png (stored 0%)
  adding: img/clearurls_gray.svg (deflated 71%)
  adding: img/clearurls.png (stored 0%)
  adding: img/clearurls.svg (deflated 70%)
  adding: external_js/bootstrap-colorpicker.min.js (deflated 79%)
  adding: external_js/bootstrap.min.js (deflated 74%)
  adding: external_js/clipboard-helper.js (deflated 45%)
  adding: external_js/dataTables/ (stored 0%)
  adding: external_js/dataTables/i18n/ (stored 0%)
  adding: external_js/dataTables/i18n/zh.lang (deflated 40%)
  adding: external_js/dataTables/i18n/ja.lang (deflated 40%)
  adding: external_js/dataTables/i18n/ne.lang (deflated 57%)
  adding: external_js/dataTables/i18n/te.lang (deflated 59%)
  adding: external_js/dataTables/i18n/nn.lang (deflated 54%)
  adding: external_js/dataTables/i18n/sk.lang (deflated 45%)
  adding: external_js/dataTables/i18n/hu.lang (deflated 47%)
  adding: external_js/dataTables/i18n/ro.lang (deflated 43%)
  adding: external_js/dataTables/i18n/ca.lang (deflated 44%)
  adding: external_js/dataTables/i18n/fr.lang (deflated 57%)
  adding: external_js/dataTables/i18n/cy.lang (deflated 48%)
  adding: external_js/dataTables/i18n/be.lang (deflated 49%)
  adding: external_js/dataTables/i18n/hy.lang (deflated 52%)
  adding: external_js/dataTables/i18n/ur.lang (deflated 42%)
  adding: external_js/dataTables/i18n/id.lang (deflated 45%)
  adding: external_js/dataTables/i18n/mn.lang (deflated 56%)
  adding: external_js/dataTables/i18n/es.lang (deflated 52%)
  adding: external_js/dataTables/i18n/da.lang (deflated 44%)
  adding: external_js/dataTables/i18n/uk.lang (deflated 50%)
  adding: external_js/dataTables/i18n/it.lang (deflated 50%)
  adding: external_js/dataTables/i18n/eu.lang (deflated 51%)
  adding: external_js/dataTables/i18n/sq.lang (deflated 52%)
  adding: external_js/dataTables/i18n/ms.lang (deflated 50%)
  adding: external_js/dataTables/i18n/ar.lang (deflated 39%)
  adding: external_js/dataTables/i18n/fi.lang (deflated 49%)
  adding: external_js/dataTables/i18n/hr.lang (deflated 52%)
  adding: external_js/dataTables/i18n/sr.lang (deflated 48%)
  adding: external_js/dataTables/i18n/nb.lang (deflated 49%)
  adding: external_js/dataTables/i18n/nl.lang (deflated 53%)
  adding: external_js/dataTables/i18n/gl.lang (deflated 51%)
  adding: external_js/dataTables/i18n/vi.lang (deflated 36%)
  adding: external_js/dataTables/i18n/gu.lang (deflated 56%)
  adding: external_js/dataTables/i18n/ka.lang (deflated 61%)
  adding: external_js/dataTables/i18n/sl.lang (deflated 44%)
  adding: external_js/dataTables/i18n/kk.lang (deflated 52%)
  adding: external_js/dataTables/i18n/README (deflated 69%)
  adding: external_js/dataTables/i18n/pl.lang (deflated 45%)
  adding: external_js/dataTables/i18n/is.lang (deflated 46%)
  adding: external_js/dataTables/i18n/ru.lang (deflated 52%)
  adding: external_js/dataTables/i18n/th.lang (deflated 58%)
  adding: external_js/dataTables/i18n/am.lang (deflated 54%)
  adding: external_js/dataTables/i18n/lt.lang (deflated 51%)
  adding: external_js/dataTables/i18n/ta.lang (deflated 58%)
  adding: external_js/dataTables/i18n/fa.lang (deflated 48%)
  adding: external_js/dataTables/i18n/sw.lang (deflated 49%)
  adding: external_js/dataTables/i18n/ko.lang (deflated 43%)
  adding: external_js/dataTables/i18n/cs.lang (deflated 45%)
  adding: external_js/dataTables/i18n/tr.lang (deflated 47%)
  adding: external_js/dataTables/i18n/el.lang (deflated 53%)
  adding: external_js/dataTables/i18n/uz.lang (deflated 47%)
  adding: external_js/dataTables/i18n/sv.lang (deflated 49%)
  adding: external_js/dataTables/i18n/hi.lang (deflated 52%)
  adding: external_js/dataTables/i18n/af.lang (deflated 50%)
  adding: external_js/dataTables/i18n/pt.lang (deflated 49%)
  adding: external_js/dataTables/i18n/en.lang (deflated 52%)
  adding: external_js/dataTables/i18n/bg.lang (deflated 49%)
  adding: external_js/dataTables/i18n/he.lang (deflated 48%)
  adding: external_js/dataTables/i18n/et.lang (deflated 42%)
  adding: external_js/dataTables/i18n/de.lang (deflated 51%)
  adding: external_js/dataTables/i18n/lv.lang (deflated 43%)
  adding: external_js/dataTables/i18n/si.lang (deflated 52%)
  adding: external_js/datatables.min.js (deflated 66%)
  adding: external_js/fontawesome/ (stored 0%)
  adding: external_js/fontawesome/all.min.js (deflated 63%)
  adding: external_js/ip-range-check.js (deflated 75%)
  adding: external_js/jquery-3.6.0.min.js (deflated 66%)
  adding: external_js/pickr.min.js (deflated 68%)
  adding: html/cleaningTool.html (deflated 60%)
  adding: html/log.html (deflated 64%)
  adding: html/popup.html (deflated 75%)
  adding: html/settings.html (deflated 76%)
  adding: html/siteBlockedAlert.html (deflated 51%)
  adding: core_js/badgedHandler.js (deflated 55%)
  adding: core_js/cleaning_tool.js (deflated 59%)
  adding: core_js/context_menu.js (deflated 55%)
  adding: core_js/eTagFilter.js (deflated 50%)
  adding: core_js/google_link_fix.js (deflated 52%)
  adding: core_js/historyListener.js (deflated 49%)
  adding: core_js/log.js (deflated 68%)
  adding: core_js/message_handler.js (deflated 48%)
  adding: core_js/popup.js (deflated 72%)
  adding: core_js/pureCleaning.js (deflated 53%)
  adding: core_js/settings.js (deflated 75%)
  adding: core_js/siteBlockedAlert.js (deflated 50%)
  adding: core_js/storage.js (deflated 72%)
  adding: core_js/tools.js (deflated 63%)
  adding: core_js/utils/ (stored 0%)
  adding: core_js/utils/Multimap.js (deflated 69%)
  adding: core_js/utils/URLHashParams.js (deflated 58%)
  adding: core_js/utils/Multimap.d.ts (deflated 54%)
  adding: core_js/utils/URLHashParams.d.ts (deflated 43%)
  adding: core_js/watchdog.js (deflated 50%)
  adding: core_js/write_version.js (deflated 42%)
  adding: core_js/yandex_link_fix.js (deflated 53%)
  adding: css/bootstrap.min.css (deflated 85%)
  adding: css/core.css (deflated 59%)
  adding: css/datatables.min.css (deflated 79%)
  adding: css/pickr.nano.min.css (deflated 78%)
  adding: css/switchButtons.css (deflated 55%)
  adding: fonts/glyphicons-halflings-regular.ttf (deflated 48%)
  adding: fonts/glyphicons-halflings-regular.woff (deflated 1%)
  adding: fonts/glyphicons-halflings-regular.woff2 (deflated 0%)
  adding: _locales/ar/ (stored 0%)
  adding: _locales/ar/messages.json (deflated 84%)
  adding: _locales/de/ (stored 0%)
  adding: _locales/de/messages.json (deflated 83%)
  adding: _locales/en/ (stored 0%)
  adding: _locales/en/messages.json (deflated 83%)
  adding: _locales/es/ (stored 0%)
  adding: _locales/es/messages.json (deflated 82%)
  adding: _locales/fr/ (stored 0%)
  adding: _locales/fr/messages.json (deflated 82%)
  adding: _locales/hu/ (stored 0%)
  adding: _locales/hu/messages.json (deflated 80%)
  adding: _locales/id/ (stored 0%)
  adding: _locales/id/messages.json (deflated 83%)
  adding: _locales/it/ (stored 0%)
  adding: _locales/it/messages.json (deflated 82%)
  adding: _locales/ja/ (stored 0%)
  adding: _locales/ja/messages.json (deflated 84%)
  adding: _locales/ko/ (stored 0%)
  adding: _locales/ko/messages.json (deflated 81%)
  adding: _locales/nl/ (stored 0%)
  adding: _locales/nl/messages.json (deflated 83%)
  adding: _locales/pl/ (stored 0%)
  adding: _locales/pl/messages.json (deflated 81%)
  adding: _locales/pt_BR/ (stored 0%)
  adding: _locales/pt_BR/messages.json (deflated 82%)
  adding: _locales/pt_PT/ (stored 0%)
  adding: _locales/pt_PT/messages.json (deflated 76%)
  adding: _locales/ru/ (stored 0%)
  adding: _locales/ru/messages.json (deflated 81%)
  adding: _locales/sl/ (stored 0%)
  adding: _locales/sl/messages.json (deflated 82%)
  adding: _locales/sv_SE/ (stored 0%)
  adding: _locales/sv_SE/messages.json (deflated 82%)
  adding: _locales/th/ (stored 0%)
  adding: _locales/th/messages.json (deflated 83%)
  adding: _locales/tr/ (stored 0%)
  adding: _locales/tr/messages.json (deflated 82%)
  adding: _locales/uk/ (stored 0%)
  adding: _locales/uk/messages.json (deflated 81%)
  adding: _locales/zh_CN/ (stored 0%)
  adding: _locales/zh_CN/messages.json (deflated 81%)
  adding: _locales/zh_TW/ (stored 0%)
  adding: _locales/zh_TW/messages.json (deflated 79%)
/var/cache/private/pikaur/build/firefox-clearurls/PKGBUILD: line 36: strip-nondeterminism: command not found
==> ERROR: A failure occurred in package().
    Aborting...
Finished with result: exit-code
Main processes terminated with: code=exited/status=4
Service runtime: 3.132s
CPU time consumed: 2.654s

Command '/usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/pikaur/build/firefox-clearurls makepkg --force' failed to execute.
:: debug: PROMPT: Gonna get input from user...
:: debug: PROMPT: Restoring TTY...
:: debug: PROMPT: Using standard input reader...
:: Try recovering?
[R] retry build
[p] PGP check skip
[c] checksums skip
[f] skip 'check()' function of PKGBUILD
[i] ignore architecture
[d] delete build dir and try again
[e] edit PKGBUILD
------------------------
[s] skip building this package
[a] abort building all the packages
> q
:: debug: PROMPT: Reverting to prev TTY state...
:: debug: PROMPT: Got answer: 'q'

Can't build 'firefox-clearurls'.

:: debug: install_cli: discarding install info for pkg... firefox-clearurls
:: debug: install_cli: ignoring pkg... firefox-clearurls
:: debug: install_info_fetcher: discarding canceled_pkg_name='firefox-clearurls'
:: debug: install_cli: discarded install info for pkg: firefox-clearurls
Failed to build following packages:
firefox-clearurls

If I run it as my normal user with that setting turned on it behaves the same:

``` [kousu@nigiri ~]$ cat ~/.config/pikaur.conf [sync] alwaysshowpkgorigin = no develpkgsexpiration = -1 upgradesorting = versiondiff showdownloadsize = no ignoreoutofdateaurupgrades = no [build] keepbuilddir = no keepdevbuilddir = yes keepbuilddeps = no skipfailedbuild = no alwaysusedynamicusers = yes ignorearch = no [review] noedit = no donteditbydefault = no nodiff = no gitdiffargs = --ignore-space-change,--ignore-all-space diffpager = auto hidedifffiles = .SRCINFO [colors] version = 10 versiondiffold = 11 versiondiffnew = 9 [ui] requireenterconfirm = yes printcommands = no aursearchsorting = hottest displaylastupdated = no groupbyrepository = yes reversesearchsorting = no [misc] sudoloopinterval = 59 pacmanpath = pacman privilegeescalationtool = sudo [network] aururl = https://aur.archlinux.org newsurl = https://www.archlinux.org/feeds/news/ socks5proxy = aurhttpproxy = aurhttpsproxy = [kousu@nigiri ~]$ pikaur -S firefox-clearurls --rebuild --verbose --pikaur-debug :: debug: Pikaur operation found for sys.argv=['/usr/bin/pikaur', '-S', 'firefox-clearurls', '--rebuild', '--verbose', '--pikaur-debug']: cli_install_packages => sudo /usr/bin/pikaur -S firefox-clearurls --rebuild --verbose --pikaur-debug --pikaur-config /home/kousu/.config/pikaur.conf [sudo] password for kousu: => /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp true :: debug: Pikaur operation found for sys.argv=['/usr/bin/pikaur', '-S', 'firefox-clearurls', '--rebuild', '--verbose', '--pikaur-debug', '--pikaur-config', '/home/kousu/.config/pikaur.conf']: cli_install_packages :: debug: install_info_fetcher: Gonna fetch install info for: install_package_names=['firefox-clearurls'] not_found_repo_pkgs_names=[] pkgbuilds_packagelists={} manually_excluded_packages_names=[] :: debug: install_info_fetcher: Gonna get repo pkgs install info... Reading repository package databases... Reading local package database... => pacman --color=always --sync firefox-clearurls --print-format %r/%n => pacman --color=always --sync firefox-clearurls --print-format %r/%n :: debug: install_info_fetcher: gonna get AUR pkgs install info for: aur_packages_versionmatchers=['firefox-clearurls'] self.aur_updates_install_info=[] aur_packages_names_to_versions={'firefox-clearurls': } => GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=firefox-clearurls :: debug: install_info_fetcher: found AUR pkgs: aur_pkg_list=[] not_found_aur_pkgs=[] :: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[ 1.25.0-1>] Resolving AUR dependencies... => pacman --color=always --deptest strip-nondeterminism zip :: AUR package will be installed: firefox-clearurls 1.25.0-1 -> 1.25.0-1 :: debug: PROMPT: Gonna get input from user... :: debug: PROMPT: Restoring TTY... :: debug: PROMPT: Using standard input reader... :: Proceed with installation? [Y/n] :: [v]iew package details [m]anually select packages >> y :: debug: PROMPT: Reverting to prev TTY state... :: debug: PROMPT: Got answer: 'y' => /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp git -C /var/cache/pikaur/aur_repos/firefox-clearurls pull origin master looking for conflicting AUR packages... :: warning: Not showing diff for firefox-clearurls package (already reviewed) :: debug: PROMPT: Gonna get input from user... :: debug: PROMPT: Restoring TTY... :: debug: PROMPT: Using standard input reader... Do you want to edit PKGBUILD for firefox-clearurls package? [y/N] n :: debug: PROMPT: Reverting to prev TTY state... :: debug: PROMPT: Got answer: 'n' :: debug: Gonna build self.package_builds_by_name={'firefox-clearurls': } :: debug: Gonna build pkg_build.package_names=['firefox-clearurls'] => /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp mkdir -p /var/cache/private/pikaur/build/firefox-clearurls => /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp cp -r /var/cache/private/pikaur/aur_repos/firefox-clearurls/last_installed.txt /var/cache/private/pikaur/aur_repos/firefox-clearurls/PKGBUILD /var/cache/private/pikaur/aur_repos/firefox-clearurls/.gitignore /var/cache/private/pikaur/aur_repos/firefox-clearurls/.SRCINFO /var/cache/private/pikaur/build/firefox-clearurls/ => /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/pikaur/build/firefox-clearurls makepkg --packagelist :: Starting the build: => /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/pikaur/build/firefox-clearurls makepkg --force Running as unit: run-u348.service Press ^] three times within 1s to disconnect TTY. ==> Making package: firefox-clearurls 1.25.0-1 (Sat 13 Aug 2022 12:32:45 PM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading 1.25.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 770k 100 770k 0 0 954k 0 --:--:-- --:--:-- --:--:-- 2129k ==> Validating source files with md5sums... 1.25.0.tar.gz ... Passed ==> Extracting sources... -> Extracting 1.25.0.tar.gz with bsdtar ==> Starting prepare()... ==> Entering fakeroot environment... ==> Starting package()... adding: clearurls.js (deflated 77%) adding: browser-polyfill.js (deflated 80%) adding: manifest.json (deflated 83%) adding: img/clearurls_128x128.png (deflated 1%) adding: img/clearurls_16x16.png (stored 0%) adding: img/clearurls_19x19.png (stored 0%) adding: img/clearurls_20x20.png (stored 0%) adding: img/clearurls_24x24.png (stored 0%) adding: img/clearurls_30x30.png (stored 0%) adding: img/clearurls_32x32.png (stored 0%) adding: img/clearurls_38x38.png (stored 0%) adding: img/clearurls_48x48.png (stored 0%) adding: img/clearurls_64x64.png (stored 0%) adding: img/clearurls_96x96.png (stored 0%) adding: img/clearurls_gray_128x128.png (deflated 4%) adding: img/clearurls_gray.png (stored 0%) adding: img/clearurls_gray.svg (deflated 71%) adding: img/clearurls.png (stored 0%) adding: img/clearurls.svg (deflated 70%) adding: external_js/bootstrap-colorpicker.min.js (deflated 79%) adding: external_js/bootstrap.min.js (deflated 74%) adding: external_js/clipboard-helper.js (deflated 45%) adding: external_js/dataTables/ (stored 0%) adding: external_js/dataTables/i18n/ (stored 0%) adding: external_js/dataTables/i18n/zh.lang (deflated 40%) adding: external_js/dataTables/i18n/ja.lang (deflated 40%) adding: external_js/dataTables/i18n/ne.lang (deflated 57%) adding: external_js/dataTables/i18n/te.lang (deflated 59%) adding: external_js/dataTables/i18n/nn.lang (deflated 54%) adding: external_js/dataTables/i18n/sk.lang (deflated 45%) adding: external_js/dataTables/i18n/hu.lang (deflated 47%) adding: external_js/dataTables/i18n/ro.lang (deflated 43%) adding: external_js/dataTables/i18n/ca.lang (deflated 44%) adding: external_js/dataTables/i18n/fr.lang (deflated 57%) adding: external_js/dataTables/i18n/cy.lang (deflated 48%) adding: external_js/dataTables/i18n/be.lang (deflated 49%) adding: external_js/dataTables/i18n/hy.lang (deflated 52%) adding: external_js/dataTables/i18n/ur.lang (deflated 42%) adding: external_js/dataTables/i18n/id.lang (deflated 45%) adding: external_js/dataTables/i18n/mn.lang (deflated 56%) adding: external_js/dataTables/i18n/es.lang (deflated 52%) adding: external_js/dataTables/i18n/da.lang (deflated 44%) adding: external_js/dataTables/i18n/uk.lang (deflated 50%) adding: external_js/dataTables/i18n/it.lang (deflated 50%) adding: external_js/dataTables/i18n/eu.lang (deflated 51%) adding: external_js/dataTables/i18n/sq.lang (deflated 52%) adding: external_js/dataTables/i18n/ms.lang (deflated 50%) adding: external_js/dataTables/i18n/ar.lang (deflated 39%) adding: external_js/dataTables/i18n/fi.lang (deflated 49%) adding: external_js/dataTables/i18n/hr.lang (deflated 52%) adding: external_js/dataTables/i18n/sr.lang (deflated 48%) adding: external_js/dataTables/i18n/nb.lang (deflated 49%) adding: external_js/dataTables/i18n/nl.lang (deflated 53%) adding: external_js/dataTables/i18n/gl.lang (deflated 51%) adding: external_js/dataTables/i18n/vi.lang (deflated 36%) adding: external_js/dataTables/i18n/gu.lang (deflated 56%) adding: external_js/dataTables/i18n/ka.lang (deflated 61%) adding: external_js/dataTables/i18n/sl.lang (deflated 44%) adding: external_js/dataTables/i18n/kk.lang (deflated 52%) adding: external_js/dataTables/i18n/README (deflated 69%) adding: external_js/dataTables/i18n/pl.lang (deflated 45%) adding: external_js/dataTables/i18n/is.lang (deflated 46%) adding: external_js/dataTables/i18n/ru.lang (deflated 52%) adding: external_js/dataTables/i18n/th.lang (deflated 58%) adding: external_js/dataTables/i18n/am.lang (deflated 54%) adding: external_js/dataTables/i18n/lt.lang (deflated 51%) adding: external_js/dataTables/i18n/ta.lang (deflated 58%) adding: external_js/dataTables/i18n/fa.lang (deflated 48%) adding: external_js/dataTables/i18n/sw.lang (deflated 49%) adding: external_js/dataTables/i18n/ko.lang (deflated 43%) adding: external_js/dataTables/i18n/cs.lang (deflated 45%) adding: external_js/dataTables/i18n/tr.lang (deflated 47%) adding: external_js/dataTables/i18n/el.lang (deflated 53%) adding: external_js/dataTables/i18n/uz.lang (deflated 47%) adding: external_js/dataTables/i18n/sv.lang (deflated 49%) adding: external_js/dataTables/i18n/hi.lang (deflated 52%) adding: external_js/dataTables/i18n/af.lang (deflated 50%) adding: external_js/dataTables/i18n/pt.lang (deflated 49%) adding: external_js/dataTables/i18n/en.lang (deflated 52%) adding: external_js/dataTables/i18n/bg.lang (deflated 49%) adding: external_js/dataTables/i18n/he.lang (deflated 48%) adding: external_js/dataTables/i18n/et.lang (deflated 42%) adding: external_js/dataTables/i18n/de.lang (deflated 51%) adding: external_js/dataTables/i18n/lv.lang (deflated 43%) adding: external_js/dataTables/i18n/si.lang (deflated 52%) adding: external_js/datatables.min.js (deflated 66%) adding: external_js/fontawesome/ (stored 0%) adding: external_js/fontawesome/all.min.js (deflated 63%) adding: external_js/ip-range-check.js (deflated 75%) adding: external_js/jquery-3.6.0.min.js (deflated 66%) adding: external_js/pickr.min.js (deflated 68%) adding: html/cleaningTool.html (deflated 60%) adding: html/log.html (deflated 64%) adding: html/popup.html (deflated 75%) adding: html/settings.html (deflated 76%) adding: html/siteBlockedAlert.html (deflated 51%) adding: core_js/badgedHandler.js (deflated 55%) adding: core_js/cleaning_tool.js (deflated 59%) adding: core_js/context_menu.js (deflated 55%) adding: core_js/eTagFilter.js (deflated 50%) adding: core_js/google_link_fix.js (deflated 52%) adding: core_js/historyListener.js (deflated 49%) adding: core_js/log.js (deflated 68%) adding: core_js/message_handler.js (deflated 48%) adding: core_js/popup.js (deflated 72%) adding: core_js/pureCleaning.js (deflated 53%) adding: core_js/settings.js (deflated 75%) adding: core_js/siteBlockedAlert.js (deflated 50%) adding: core_js/storage.js (deflated 72%) adding: core_js/tools.js (deflated 63%) adding: core_js/utils/ (stored 0%) adding: core_js/utils/Multimap.js (deflated 69%) adding: core_js/utils/URLHashParams.js (deflated 58%) adding: core_js/utils/Multimap.d.ts (deflated 54%) adding: core_js/utils/URLHashParams.d.ts (deflated 43%) adding: core_js/watchdog.js (deflated 50%) adding: core_js/write_version.js (deflated 42%) adding: core_js/yandex_link_fix.js (deflated 53%) adding: css/bootstrap.min.css (deflated 85%) adding: css/core.css (deflated 59%) adding: css/datatables.min.css (deflated 79%) adding: css/pickr.nano.min.css (deflated 78%) adding: css/switchButtons.css (deflated 55%) adding: fonts/glyphicons-halflings-regular.ttf (deflated 48%) adding: fonts/glyphicons-halflings-regular.woff (deflated 1%) adding: fonts/glyphicons-halflings-regular.woff2 (deflated 0%) adding: _locales/ar/ (stored 0%) adding: _locales/ar/messages.json (deflated 84%) adding: _locales/de/ (stored 0%) adding: _locales/de/messages.json (deflated 83%) adding: _locales/en/ (stored 0%) adding: _locales/en/messages.json (deflated 83%) adding: _locales/es/ (stored 0%) adding: _locales/es/messages.json (deflated 82%) adding: _locales/fr/ (stored 0%) adding: _locales/fr/messages.json (deflated 82%) adding: _locales/hu/ (stored 0%) adding: _locales/hu/messages.json (deflated 80%) adding: _locales/id/ (stored 0%) adding: _locales/id/messages.json (deflated 83%) adding: _locales/it/ (stored 0%) adding: _locales/it/messages.json (deflated 82%) adding: _locales/ja/ (stored 0%) adding: _locales/ja/messages.json (deflated 84%) adding: _locales/ko/ (stored 0%) adding: _locales/ko/messages.json (deflated 81%) adding: _locales/nl/ (stored 0%) adding: _locales/nl/messages.json (deflated 83%) adding: _locales/pl/ (stored 0%) adding: _locales/pl/messages.json (deflated 81%) adding: _locales/pt_BR/ (stored 0%) adding: _locales/pt_BR/messages.json (deflated 82%) adding: _locales/pt_PT/ (stored 0%) adding: _locales/pt_PT/messages.json (deflated 76%) adding: _locales/ru/ (stored 0%) adding: _locales/ru/messages.json (deflated 81%) adding: _locales/sl/ (stored 0%) adding: _locales/sl/messages.json (deflated 82%) adding: _locales/sv_SE/ (stored 0%) adding: _locales/sv_SE/messages.json (deflated 82%) adding: _locales/th/ (stored 0%) adding: _locales/th/messages.json (deflated 83%) adding: _locales/tr/ (stored 0%) adding: _locales/tr/messages.json (deflated 82%) adding: _locales/uk/ (stored 0%) adding: _locales/uk/messages.json (deflated 81%) adding: _locales/zh_CN/ (stored 0%) adding: _locales/zh_CN/messages.json (deflated 81%) adding: _locales/zh_TW/ (stored 0%) adding: _locales/zh_TW/messages.json (deflated 79%) /var/cache/private/pikaur/build/firefox-clearurls/PKGBUILD: line 36: strip-nondeterminism: command not found ==> ERROR: A failure occurred in package(). Aborting... Finished with result: exit-code Main processes terminated with: code=exited/status=4 Service runtime: 3.211s CPU time consumed: 2.657s Command '/usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/pikaur/build/firefox-clearurls makepkg --force' failed to execute. :: debug: PROMPT: Gonna get input from user... :: debug: PROMPT: Restoring TTY... :: debug: PROMPT: Using standard input reader... :: Try recovering? [R] retry build [p] PGP check skip [c] checksums skip [f] skip 'check()' function of PKGBUILD [i] ignore architecture [d] delete build dir and try again [e] edit PKGBUILD ------------------------ [s] skip building this package [a] abort building all the packages > q :: debug: PROMPT: Reverting to prev TTY state... :: debug: PROMPT: Got answer: 'q' Can't build 'firefox-clearurls'. :: debug: install_cli: discarding install info for pkg... firefox-clearurls :: debug: install_cli: ignoring pkg... firefox-clearurls :: debug: install_info_fetcher: discarding canceled_pkg_name='firefox-clearurls' :: debug: install_cli: discarded install info for pkg: firefox-clearurls Failed to build following packages: firefox-clearurls ```

But with that setting off, as my normal user, the build succeeds:

``` [kousu@nigiri ~]$ cat ~/.config/pikaur.conf [sync] alwaysshowpkgorigin = no develpkgsexpiration = -1 upgradesorting = versiondiff showdownloadsize = no ignoreoutofdateaurupgrades = no [build] keepbuilddir = no keepdevbuilddir = yes keepbuilddeps = no skipfailedbuild = no alwaysusedynamicusers = no ignorearch = no [review] noedit = no donteditbydefault = no nodiff = no gitdiffargs = --ignore-space-change,--ignore-all-space diffpager = auto hidedifffiles = .SRCINFO [colors] version = 10 versiondiffold = 11 versiondiffnew = 9 [ui] requireenterconfirm = yes printcommands = no aursearchsorting = hottest displaylastupdated = no groupbyrepository = yes reversesearchsorting = no [misc] sudoloopinterval = 59 pacmanpath = pacman privilegeescalationtool = sudo [network] aururl = https://aur.archlinux.org newsurl = https://www.archlinux.org/feeds/news/ socks5proxy = aurhttpproxy = aurhttpsproxy = [kousu@nigiri ~]$ pikaur -S firefox-clearurls --rebuild --verbose --pikaur-debug :: debug: Pikaur operation found for sys.argv=['/usr/bin/pikaur', '-S', 'firefox-clearurls', '--rebuild', '--verbose', '--pikaur-debug']: cli_install_packages :: debug: install_info_fetcher: Gonna fetch install info for: install_package_names=['firefox-clearurls'] not_found_repo_pkgs_names=[] pkgbuilds_packagelists={} manually_excluded_packages_names=[] :: debug: install_info_fetcher: Gonna get repo pkgs install info... Reading repository package databases... Reading local package database... => pacman --color=always --sync firefox-clearurls --print-format %r/%n => pacman --color=always --sync firefox-clearurls --print-format %r/%n :: debug: install_info_fetcher: gonna get AUR pkgs install info for: aur_packages_versionmatchers=['firefox-clearurls'] self.aur_updates_install_info=[] aur_packages_names_to_versions={'firefox-clearurls': } => GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=firefox-clearurls :: debug: install_info_fetcher: found AUR pkgs: aur_pkg_list=[] not_found_aur_pkgs=[] :: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[ 1.25.0-1>] Resolving AUR dependencies... => pacman --color=always --deptest strip-nondeterminism zip :: AUR package will be installed: firefox-clearurls 1.25.0-1 -> 1.25.0-1 :: debug: PROMPT: Gonna get input from user... :: debug: PROMPT: Restoring TTY... :: debug: PROMPT: Using standard input reader... :: Proceed with installation? [Y/n] :: [v]iew package details [m]anually select packages >> y :: debug: PROMPT: Reverting to prev TTY state... :: debug: PROMPT: Got answer: 'y' => git -C /home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls pull origin master looking for conflicting AUR packages... :: warning: Not showing diff for firefox-clearurls package (already reviewed) :: debug: PROMPT: Gonna get input from user... :: debug: PROMPT: Restoring TTY... :: debug: PROMPT: Using standard input reader... Do you want to edit PKGBUILD for firefox-clearurls package? [y/N] y :: debug: PROMPT: Reverting to prev TTY state... :: debug: PROMPT: Got answer: 'y' => /usr/bin/vim /home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls/PKGBUILD :: debug: install_cli: handle pkgbuild changed pkg_build= :: debug: install_cli: discarding install info for pkg... firefox-clearurls :: debug: install_info_fetcher: discarding canceled_pkg_name='firefox-clearurls' :: debug: install_cli: discarded install info for pkg: firefox-clearurls => makepkg --printsrcinfo -p PKGBUILD :: debug: install_info_fetcher: Gonna fetch install info for: install_package_names=[] not_found_repo_pkgs_names=[] pkgbuilds_packagelists={'/home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls/PKGBUILD': ['firefox-clearurls']} manually_excluded_packages_names=[] :: 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={} :: debug: install_info_fetcher: found AUR pkgs: aur_pkg_list=[] not_found_aur_pkgs=[] :: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[] :: debug: install_info_fetcher: gonna get install info from PKGBUILDs... self.aur_updates_install_info=[] :: debug: install_info_fetcher: got install info from PKGBUILDs... self.aur_updates_install_info=[ 1.25.0-1>] Resolving AUR dependencies... :: warning: Installation info changed (or new deps found) for firefox-clearurls package :: debug: install_info_fetcher: Gonna fetch install info for: install_package_names=[] not_found_repo_pkgs_names=[] pkgbuilds_packagelists={'/home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls/PKGBUILD': ['firefox-clearurls']} manually_excluded_packages_names=[] :: 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={} :: debug: install_info_fetcher: found AUR pkgs: aur_pkg_list=[] not_found_aur_pkgs=[] :: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[] :: debug: install_info_fetcher: gonna get install info from PKGBUILDs... self.aur_updates_install_info=[] :: debug: install_info_fetcher: got install info from PKGBUILDs... self.aur_updates_install_info=[ 1.25.0-1>] Resolving AUR dependencies... :: AUR package will be installed: firefox-clearurls 1.25.0-1 -> 1.25.0-1 :: debug: PROMPT: Gonna get input from user... :: debug: PROMPT: Restoring TTY... :: debug: PROMPT: Using standard input reader... :: Proceed with installation? [Y/n] :: [v]iew package details [m]anually select packages >> n :: debug: PROMPT: Reverting to prev TTY state... :: debug: PROMPT: Got answer: 'n' [kousu@nigiri ~]$ pikaur -S firefox-clearurls --rebuild --verbose --pikaur-debug :: debug: Pikaur operation found for sys.argv=['/usr/bin/pikaur', '-S', 'firefox-clearurls', '--rebuild', '--verbose', '--pikaur-debug']: cli_install_packages :: debug: install_info_fetcher: Gonna fetch install info for: install_package_names=['firefox-clearurls'] not_found_repo_pkgs_names=[] pkgbuilds_packagelists={} manually_excluded_packages_names=[] :: debug: install_info_fetcher: Gonna get repo pkgs install info... Reading repository package databases... Reading local package database... => pacman --color=always --sync firefox-clearurls --print-format %r/%n => pacman --color=always --sync firefox-clearurls --print-format %r/%n :: debug: install_info_fetcher: gonna get AUR pkgs install info for: aur_packages_versionmatchers=['firefox-clearurls'] self.aur_updates_install_info=[] aur_packages_names_to_versions={'firefox-clearurls': } => GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=firefox-clearurls :: debug: install_info_fetcher: found AUR pkgs: aur_pkg_list=[] not_found_aur_pkgs=[] :: debug: install_info_fetcher: got AUR pkgs install info: self.aur_updates_install_info=[ 1.25.0-1>] Resolving AUR dependencies... => pacman --color=always --deptest strip-nondeterminism zip :: AUR package will be installed: firefox-clearurls 1.25.0-1 -> 1.25.0-1 :: debug: PROMPT: Gonna get input from user... :: debug: PROMPT: Restoring TTY... :: debug: PROMPT: Using standard input reader... :: Proceed with installation? [Y/n] :: [v]iew package details [m]anually select packages >> y :: debug: PROMPT: Reverting to prev TTY state... :: debug: PROMPT: Got answer: 'y' => git -C /home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls pull origin master looking for conflicting AUR packages... :: warning: Not showing diff for firefox-clearurls package (already reviewed) :: debug: PROMPT: Gonna get input from user... :: debug: PROMPT: Restoring TTY... :: debug: PROMPT: Using standard input reader... Do you want to edit PKGBUILD for firefox-clearurls package? [y/N] n :: debug: PROMPT: Reverting to prev TTY state... :: debug: PROMPT: Got answer: 'n' :: debug: Gonna build self.package_builds_by_name={'firefox-clearurls': } :: debug: Gonna build pkg_build.package_names=['firefox-clearurls'] => mkdir -p /home/kousu/.cache/pikaur/build/firefox-clearurls => cp -r /home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls/PKGBUILD /home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls/last_installed.txt /home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls/.gitignore /home/kousu/.local/share/pikaur/aur_repos/firefox-clearurls/.SRCINFO /home/kousu/.cache/pikaur/build/firefox-clearurls/ => makepkg --packagelist :: Starting the build: => makepkg --force ==> Making package: firefox-clearurls 1.25.0-1 (Sat 13 Aug 2022 12:35:35 PM) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Downloading 1.25.0.tar.gz... % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 770k 100 770k 0 0 1032k 0 --:--:-- --:--:-- --:--:-- 1032k ==> Validating source files with md5sums... 1.25.0.tar.gz ... Passed ==> Extracting sources... -> Extracting 1.25.0.tar.gz with bsdtar ==> Starting prepare()... ==> Entering fakeroot environment... ==> Starting package()... adding: clearurls.js (deflated 77%) adding: browser-polyfill.js (deflated 80%) adding: manifest.json (deflated 83%) adding: img/clearurls_128x128.png (deflated 1%) adding: img/clearurls_16x16.png (stored 0%) adding: img/clearurls_19x19.png (stored 0%) adding: img/clearurls_20x20.png (stored 0%) adding: img/clearurls_24x24.png (stored 0%) adding: img/clearurls_30x30.png (stored 0%) adding: img/clearurls_32x32.png (stored 0%) adding: img/clearurls_38x38.png (stored 0%) adding: img/clearurls_48x48.png (stored 0%) adding: img/clearurls_64x64.png (stored 0%) adding: img/clearurls_96x96.png (stored 0%) adding: img/clearurls_gray_128x128.png (deflated 4%) adding: img/clearurls_gray.png (stored 0%) adding: img/clearurls_gray.svg (deflated 71%) adding: img/clearurls.png (stored 0%) adding: img/clearurls.svg (deflated 70%) adding: external_js/bootstrap-colorpicker.min.js (deflated 79%) adding: external_js/bootstrap.min.js (deflated 74%) adding: external_js/clipboard-helper.js (deflated 45%) adding: external_js/dataTables/ (stored 0%) adding: external_js/dataTables/i18n/ (stored 0%) adding: external_js/dataTables/i18n/sv.lang (deflated 49%) adding: external_js/dataTables/i18n/de.lang (deflated 51%) adding: external_js/dataTables/i18n/hu.lang (deflated 47%) adding: external_js/dataTables/i18n/am.lang (deflated 54%) adding: external_js/dataTables/i18n/README (deflated 69%) adding: external_js/dataTables/i18n/af.lang (deflated 50%) adding: external_js/dataTables/i18n/it.lang (deflated 50%) adding: external_js/dataTables/i18n/lt.lang (deflated 51%) adding: external_js/dataTables/i18n/hr.lang (deflated 52%) adding: external_js/dataTables/i18n/sq.lang (deflated 52%) adding: external_js/dataTables/i18n/uz.lang (deflated 47%) adding: external_js/dataTables/i18n/si.lang (deflated 52%) adding: external_js/dataTables/i18n/th.lang (deflated 58%) adding: external_js/dataTables/i18n/ka.lang (deflated 61%) adding: external_js/dataTables/i18n/zh.lang (deflated 40%) adding: external_js/dataTables/i18n/sl.lang (deflated 44%) adding: external_js/dataTables/i18n/vi.lang (deflated 36%) adding: external_js/dataTables/i18n/te.lang (deflated 59%) adding: external_js/dataTables/i18n/en.lang (deflated 52%) adding: external_js/dataTables/i18n/et.lang (deflated 42%) adding: external_js/dataTables/i18n/ms.lang (deflated 50%) adding: external_js/dataTables/i18n/ru.lang (deflated 52%) adding: external_js/dataTables/i18n/ur.lang (deflated 42%) adding: external_js/dataTables/i18n/uk.lang (deflated 50%) adding: external_js/dataTables/i18n/fi.lang (deflated 49%) adding: external_js/dataTables/i18n/mn.lang (deflated 56%) adding: external_js/dataTables/i18n/gl.lang (deflated 51%) adding: external_js/dataTables/i18n/ko.lang (deflated 43%) adding: external_js/dataTables/i18n/lv.lang (deflated 43%) adding: external_js/dataTables/i18n/es.lang (deflated 52%) adding: external_js/dataTables/i18n/be.lang (deflated 49%) adding: external_js/dataTables/i18n/cs.lang (deflated 45%) adding: external_js/dataTables/i18n/sk.lang (deflated 45%) adding: external_js/dataTables/i18n/nl.lang (deflated 53%) adding: external_js/dataTables/i18n/pt.lang (deflated 49%) adding: external_js/dataTables/i18n/bg.lang (deflated 49%) adding: external_js/dataTables/i18n/gu.lang (deflated 56%) adding: external_js/dataTables/i18n/ne.lang (deflated 57%) adding: external_js/dataTables/i18n/nb.lang (deflated 49%) adding: external_js/dataTables/i18n/tr.lang (deflated 47%) adding: external_js/dataTables/i18n/ar.lang (deflated 39%) adding: external_js/dataTables/i18n/kk.lang (deflated 52%) adding: external_js/dataTables/i18n/he.lang (deflated 48%) adding: external_js/dataTables/i18n/ro.lang (deflated 43%) adding: external_js/dataTables/i18n/sw.lang (deflated 49%) adding: external_js/dataTables/i18n/hy.lang (deflated 52%) adding: external_js/dataTables/i18n/nn.lang (deflated 54%) adding: external_js/dataTables/i18n/id.lang (deflated 45%) adding: external_js/dataTables/i18n/fa.lang (deflated 48%) adding: external_js/dataTables/i18n/is.lang (deflated 46%) adding: external_js/dataTables/i18n/ca.lang (deflated 44%) adding: external_js/dataTables/i18n/cy.lang (deflated 48%) adding: external_js/dataTables/i18n/ja.lang (deflated 40%) adding: external_js/dataTables/i18n/el.lang (deflated 53%) adding: external_js/dataTables/i18n/fr.lang (deflated 57%) adding: external_js/dataTables/i18n/eu.lang (deflated 51%) adding: external_js/dataTables/i18n/da.lang (deflated 44%) adding: external_js/dataTables/i18n/pl.lang (deflated 45%) adding: external_js/dataTables/i18n/ta.lang (deflated 58%) adding: external_js/dataTables/i18n/hi.lang (deflated 52%) adding: external_js/dataTables/i18n/sr.lang (deflated 48%) adding: external_js/datatables.min.js (deflated 66%) adding: external_js/fontawesome/ (stored 0%) adding: external_js/fontawesome/all.min.js (deflated 63%) adding: external_js/ip-range-check.js (deflated 75%) adding: external_js/jquery-3.6.0.min.js (deflated 66%) adding: external_js/pickr.min.js (deflated 68%) adding: html/cleaningTool.html (deflated 60%) adding: html/log.html (deflated 64%) adding: html/popup.html (deflated 75%) adding: html/settings.html (deflated 76%) adding: html/siteBlockedAlert.html (deflated 51%) adding: core_js/badgedHandler.js (deflated 55%) adding: core_js/cleaning_tool.js (deflated 59%) adding: core_js/context_menu.js (deflated 55%) adding: core_js/eTagFilter.js (deflated 50%) adding: core_js/google_link_fix.js (deflated 52%) adding: core_js/historyListener.js (deflated 49%) adding: core_js/log.js (deflated 68%) adding: core_js/message_handler.js (deflated 48%) adding: core_js/popup.js (deflated 72%) adding: core_js/pureCleaning.js (deflated 53%) adding: core_js/settings.js (deflated 75%) adding: core_js/siteBlockedAlert.js (deflated 50%) adding: core_js/storage.js (deflated 72%) adding: core_js/tools.js (deflated 63%) adding: core_js/utils/ (stored 0%) adding: core_js/utils/URLHashParams.d.ts (deflated 43%) adding: core_js/utils/Multimap.js (deflated 69%) adding: core_js/utils/URLHashParams.js (deflated 58%) adding: core_js/utils/Multimap.d.ts (deflated 54%) adding: core_js/watchdog.js (deflated 50%) adding: core_js/write_version.js (deflated 42%) adding: core_js/yandex_link_fix.js (deflated 53%) adding: css/bootstrap.min.css (deflated 85%) adding: css/core.css (deflated 59%) adding: css/datatables.min.css (deflated 79%) adding: css/pickr.nano.min.css (deflated 78%) adding: css/switchButtons.css (deflated 55%) adding: fonts/glyphicons-halflings-regular.ttf (deflated 48%) adding: fonts/glyphicons-halflings-regular.woff (deflated 1%) adding: fonts/glyphicons-halflings-regular.woff2 (deflated 0%) adding: _locales/ar/ (stored 0%) adding: _locales/ar/messages.json (deflated 84%) adding: _locales/de/ (stored 0%) adding: _locales/de/messages.json (deflated 83%) adding: _locales/en/ (stored 0%) adding: _locales/en/messages.json (deflated 83%) adding: _locales/es/ (stored 0%) adding: _locales/es/messages.json (deflated 82%) adding: _locales/fr/ (stored 0%) adding: _locales/fr/messages.json (deflated 82%) adding: _locales/hu/ (stored 0%) adding: _locales/hu/messages.json (deflated 80%) adding: _locales/id/ (stored 0%) adding: _locales/id/messages.json (deflated 83%) adding: _locales/it/ (stored 0%) adding: _locales/it/messages.json (deflated 82%) adding: _locales/ja/ (stored 0%) adding: _locales/ja/messages.json (deflated 84%) adding: _locales/ko/ (stored 0%) adding: _locales/ko/messages.json (deflated 81%) adding: _locales/nl/ (stored 0%) adding: _locales/nl/messages.json (deflated 83%) adding: _locales/pl/ (stored 0%) adding: _locales/pl/messages.json (deflated 81%) adding: _locales/pt_BR/ (stored 0%) adding: _locales/pt_BR/messages.json (deflated 82%) adding: _locales/pt_PT/ (stored 0%) adding: _locales/pt_PT/messages.json (deflated 76%) adding: _locales/ru/ (stored 0%) adding: _locales/ru/messages.json (deflated 81%) adding: _locales/sl/ (stored 0%) adding: _locales/sl/messages.json (deflated 82%) adding: _locales/sv_SE/ (stored 0%) adding: _locales/sv_SE/messages.json (deflated 82%) adding: _locales/th/ (stored 0%) adding: _locales/th/messages.json (deflated 83%) adding: _locales/tr/ (stored 0%) adding: _locales/tr/messages.json (deflated 82%) adding: _locales/uk/ (stored 0%) adding: _locales/uk/messages.json (deflated 81%) adding: _locales/zh_CN/ (stored 0%) adding: _locales/zh_CN/messages.json (deflated 81%) adding: _locales/zh_TW/ (stored 0%) adding: _locales/zh_TW/messages.json (deflated 79%) ==> 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 "firefox-clearurls"... -> Generating .PKGINFO file... -> Generating .BUILDINFO file... -> Generating .MTREE file... -> Compressing package... ==> Leaving fakeroot environment. ==> Finished making: firefox-clearurls 1.25.0-1 (Sat 13 Aug 2022 12:35:42 PM) => makepkg --packagelist :: debug: Build done for packages pkg_build.package_names=['firefox-clearurls'], removing from queue pikspect => sudo pacman --color=always --upgrade --verbose /home/kousu/.cache/pikaur/pkg/firefox-clearurls-1.25.0-1-any.pkg.tar.zst :: debug: pikspect: Opening virtual terminal... Root : / Conf File : /etc/pacman.conf DB Path : /var/lib/pacman/ Cache Dirs: /var/cache/pacman/pkg/ Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/ Lock File : /var/lib/pacman/db.lck Log File : /var/log/pacman.log GPG Dir : /etc/pacman.d/gnupg/ Targets : /home/kousu/.cache/pikaur/pkg/firefox-clearurls-1.25.0-1-any.pkg.tar.zst loading packages... warning: firefox-clearurls-1.25.0-1 is up to date -- reinstalling resolving dependencies... looking for conflicting packages... Packages (1) firefox-clearurls-1.25.0-1 Total Installed Size: 0.81 MiB Net Upgrade Size: 0.00 MiB :: Proceed with installation? [Y/n] Y (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) reinstalling firefox-clearurls [###########################################################] 100% :: Running post-transaction hooks... (1/2) Arming ConditionNeedsUpdate... (2/2) Refreshing PackageKit... ```

The problem is that strip-nondetermism is /usr/bin/vendor_perl/strip-nondeterminism, in a folder added to my PATH by /etc/profile.d/perlbin.sh, but DynamicUsers ignores that and just sets PATH=/usr/local/sbin:/usr/local/bin:/usr/bin.

I can't tell who needs to change here. Should all packages using unusual paths like that start adding the full path to those tools? But they build fine with yay and yaourt, so they aren't going to be super motivated to do that. Should systemd change so it loads /etc/profile even in DynamicUsers? Should pikaur add a --preserve-env like sudo has?

Thanks for your time! Hope you're having a good season.

actionless commented 2 years ago

it depends on what happens when you running manually smth like:

/usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/pikaur/build/firefox-clearurls makepkg --force

it's either wrong args of systemd used by pikaur or some bug in systemd. if you have any suggestions feel free to investigate further - i'm not using dynamic users myself