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

pikaur is failing on Seafile, yay works fine. #862

Closed
plague-doctor opened this issue Jan 2, 2025 · 6 comments
Closed

pikaur is failing on Seafile, yay works fine. #862

plague-doctor opened this issue Jan 2, 2025 · 6 comments

Comments

@plague-doctor
Copy link

pikaur -Vq

Pikaur v1.32
Pacman v7.0.0 - libalpm v15.0.0 - pyalpm v0.10.6
Description:

Installing Seafile is failing in pikaur, however YAY works fine.

Attached log:
==> Making package: seafile 9.0.11-2 (Fri 03 Jan 2025 07:38:21 AEDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading seafile-9.0.11.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  747k  100  747k    0     0   894k      0 --:--:-- --:--:-- --:--:--  894k
  -> Found [email protected]
==> Validating source files with sha256sums...
    seafile-9.0.11.tar.gz ... Passed
    [email protected] ... Passed
==> Extracting sources...
  -> Extracting seafile-9.0.11.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
/var/cache/private/pikaur/build/seafile/PKGBUILD: line 42: ./autogen.sh: Permission denied
==> ERROR: A failure occurred in build().
    Aborting...
Finished with result: exit-code
Main processes terminated with: code=exited, status=4/NOPERMISSION
Service runtime: 3.223s
CPU time consumed: 2.846s
Memory peak: 12.6M (swap: 0B)

Command '/usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/private/pikaur/build/seafile -E VISUAL=nvim -E EDITOR=nvim -E GNUPGHOME=/etc/pacman.d/gnupg/ makepkg --force' failed to execute.
🛴 Try recovering?
@actionless
Copy link
Owner

you didn't attached the full as required in the issue template

@plague-doctor
Copy link
Author

🛴 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
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -E VISUAL=nvim -E EDITOR=nvim true
🛴 debug: main_0: Pikaur operation found for args ['/usr/bin/pikaur', '-S', 'seafile', '--verbose', '--pikaur-debug']: cli_install_packages
🛴 debug: install_info_fetcher:
Gonna fetch install info for:
    install_package_names=['seafile']
    not_found_repo_pkgs_names=[]
    pkgbuilds_packagelists={}
    manually_excluded_packages_names=[]
    skip_checkdeps_for_pkgnames=[]

🛴 debug: install_info_fetcher: Gonna get repo pkgs install info...
Reading repository package databases...
Reading local package database...
🛴 debug: install_info_fetcher: Checking if '['seafile']' is installable:
=> pacman --color=always --sync seafile --print-format %r/%n
🛴 debug: install_info_fetcher: Check failed - gonna check it separately:
🛴 debug: install_info_fetcher: Checking if 'seafile' exists in the repo:
=> pacman --color=always --sync seafile --print-format %r/%n --nodeps --nodeps
🛴 debug: install_info_fetcher:   'seafile' is NOT found in the repo.
🛴 debug: install_info_fetcher: Check partially passed - gonna get install infos:
🛴 debug: install_info_fetcher: gonna get AUR pkgs install info for:
    aur_packages_versionmatchers=['seafile']
    self.aur_updates_install_info=[]
    aur_packages_names_to_versions={'seafile': <VersionMatcher seafile['cmp_default']None>}
🛴 debug: aur_module: find_aur_packages: seafile uncached
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=seafile
🛴 debug: install_info_fetcher: found AUR pkgs:
    aur_pkg_list=[<AURPackageInfo "seafile" 9.0.11-2>]
not found AUR pkgs:
    not_found_aur_pkgs=[]
🛴 debug: install_info_fetcher: got AUR pkgs install info: [<AURInstallInfo "seafile" 9.0.11-2 -> 9.0.11-2>]
Resolving AUR dependencies...
🛴 debug: aur_deps: find_aur_deps: package_names=['seafile']
=> pacman --color=always --deptest libsearpc libevent libwebsockets fuse sqlite vala intltool
🛴 debug: pacman: get_not_found_repo_packages: pkg_names_to_check=['vala'] not_found_pkg_names=[]
=> pacman --color=always --sync vala --print-format %r/%n --nodeps
🛴 debug: aur_deps: find_missing_deps_for_aur_pkg: NOT not_found_repo_pkgs
🛴 debug: aur_deps: find_aur_deps: result_aur_deps={}
🛴 debug: install_info_fetcher: get_aur_deps_info: self.aur_deps_relations={}
🛴 debug: install_info_fetcher: get_aur_deps_info: aur_pkgs={}
🛴 debug: install_info_fetcher: get_aur_deps_info: [done]
=> pacman --color=always --sync vala --print-format %r/%n --nodeps --nodeps
🛴 debug: install_info_fetcher: Checking if '['vala']' is installable:
=> pacman --color=always --sync --needed vala --print-format %r/%n
🛴 debug: install_info_fetcher: Check passed - gonna get install infos:
🛴 debug: install_info_fetcher: get_repo_deps_info: [done]
🛴 debug: install_info_fetcher: :: marking dependant pkgs...
🛴 debug: install_info_fetcher:   :: mark_dependant :: get_repo_provided...
🛴 debug: install_info_fetcher:   :: mark_dependant :: get local pkgs...
🛴 debug: install_info_fetcher:   :: mark_dependant :: all_requested_pkg_names=['libxml2', 'docbook-xml', 'libxml2', 'libxslt', 'docbook-xml', 'docbook-xsl', 'glib2-docs', 'python', 'python-lxml', 'python-pygments', 'sh', 'bash', 'gcc', 'glib2', 'glibc', 'graphviz', 'gtk-doc', 'pkg-config', 'ttf-font', 'libsearpc', 'libevent', 'libwebsockets', 'fuse', 'sqlite', 'vala', 'intltool']
🛴 debug: install_info_fetcher:   :: mark_dependant :: explicit_aur_pkg_names=['seafile']
🛴 debug: install_info_fetcher:   :: mark_dependant ::  - docbook-xml
🛴 debug: install_info_fetcher:       :: mark_dependant ::    providing_for=[]
🛴 debug: install_info_fetcher:   :: mark_dependant ::  - docbook-xsl
🛴 debug: install_info_fetcher:       :: mark_dependant ::    providing_for=[]
🛴 debug: install_info_fetcher:   :: mark_dependant ::  - glib2-docs
🛴 debug: install_info_fetcher:       :: mark_dependant ::    providing_for=[]
🛴 debug: install_info_fetcher:   :: mark_dependant ::  - gtk-doc
🛴 debug: install_info_fetcher:       :: mark_dependant ::    providing_for=[]
🛴 debug: install_info_fetcher:   :: mark_dependant ::  - vala
🛴 debug: install_info_fetcher:       :: mark_dependant ::    provides=['libvala-0.56.so=0-64', 'libvaladoc-0.56.so=0-64', 'valadoc']
🛴 debug: install_info_fetcher:       :: mark_dependant ::    providing_for=[]
🛴 debug: install_info_fetcher:   :: mark_dependant ::  - seafile
🛴 debug: install_info_fetcher:       :: mark_dependant ::    providing_for=[]
🛴 debug: install_info_fetcher: == marked dependant pkgs.
🛴 debug: install_cli: self.install_info.all_install_info_containers=([], [<RepoInstallInfo "docbook-xml"  -> 4.5-10>, <RepoInstallInfo "docbook-xsl"  -> 1.79.2-9>, <RepoInstallInfo "glib2-docs"  -> 2.82.4-2>, <RepoInstallInfo "gtk-doc"  -> 1.34.0-2>, <RepoInstallInfo "vala"  -> 0.56.17-1>], [], [], [], [], [<AURInstallInfo "seafile" 9.0.11-2 -> 9.0.11-2>], [])

🛴 New dependencies will be installed from repository:
 docbook-xml (for docbook-xsl, gtk-doc)                     -> 4.5-10
 docbook-xsl (for gtk-doc)                                  -> 1.79.2-9
 glib2-docs (for gtk-doc)                                   -> 2.82.4-2
 gtk-doc (for vala)                                         -> 1.34.0-2
 vala (for seafile)                                         -> 0.56.17-1

🛴 AUR package will be installed:
 seafile                               9.0.11-2             -> 9.0.11-2

🛴 debug: prompt: Gonna get input from user...
🛴 debug: FileLock: Acquiring /root/.cache/pikaur_prompt_209418.lock...
🛴 debug: FileLock: Acquired /root/.cache/pikaur_prompt_209418.lock
🛴 debug: prompt_nolock: Restoring TTY...
🛴 debug: prompt_nolock: Using standard input reader...
🛴 Proceed with installation? [Y/n]
🛴 [v]iew package details   [m]anually select packages
🛴 [r] show if packages are required by already installed packages
>>
🛴 debug: FileLock: Releasing /root/.cache/pikaur_prompt_209418.lock
🛴 debug: FileLock: Released /root/.cache/pikaur_prompt_209418.lock
🛴 debug: prompt: No answer provided - using "Y".
🛴 debug: install_cli: << GET_PACKAGE_BUILD
🛴 debug: install_cli: self.pkgbuilds_packagelists={}
🛴 debug: aur_module: find_aur_packages: seafile cached
🛴 debug: aur_module: find_aur_packages: seafile cached
🛴 debug: build: Build dir: /var/cache/pikaur/build/seafile
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -E VISUAL=nvim -E EDITOR=nvim git -C /var/cache/pikaur/aur_repos/seafile pull origin master
🛴 debug: aur_module: find_aur_packages: seafile cached
🛴 debug: build: Build dir: /var/cache/pikaur/build/seafile
🛴 debug: install_cli: cloned_pkgbuilds={'seafile': <PackageBuild "seafile" ['seafile']>}
=> pacman --color=always --deptest libsearpc libevent libwebsockets fuse sqlite
=> pacman --color=always --deptest vala intltool
🛴 debug: install_cli: self.package_builds_by_name={'seafile': <PackageBuild "seafile" ['seafile']>}
🛴 debug: install_cli: self.package_builds_by_provides={'seafile-client-cli': <PackageBuild "seafile" ['seafile']>}
🛴 debug: install_cli: >> GET_PACKAGE_BUILD
looking for conflicting AUR packages...
🛴 debug: pacman: cached pformat ['pacman', '--color=always', '--sync', 'vala', '--print-format', '%r/%n', '--nodeps', '--nodeps']
🛴 debug: pacman: cached pformat ['pacman', '--color=always', '--sync', 'vala', '--print-format', '%r/%n', '--nodeps', '--nodeps']
🛴 debug: prompt: Gonna get input from user...
🛴 debug: FileLock: Acquiring /root/.cache/pikaur_prompt_143972.lock...
🛴 debug: FileLock: Acquired /root/.cache/pikaur_prompt_143972.lock
🛴 debug: prompt_nolock: Restoring TTY...
🛴 debug: prompt_nolock: Using standard input reader...
Do you want to see build files diff for seafile package? [Y/n] n
🛴 debug: FileLock: Releasing /root/.cache/pikaur_prompt_143972.lock
🛴 debug: FileLock: Released /root/.cache/pikaur_prompt_143972.lock
🛴 debug: prompt: Got answer: 'n'
🛴 warning: Not showing diff for seafile package (already reviewed)
🛴 debug: prompt: Gonna get input from user...
🛴 debug: FileLock: Acquiring /root/.cache/pikaur_prompt_156861.lock...
🛴 debug: FileLock: Acquired /root/.cache/pikaur_prompt_156861.lock
🛴 debug: prompt_nolock: Restoring TTY...
🛴 debug: prompt_nolock: Using standard input reader...
Do you want to edit PKGBUILD for seafile package? [y/N]
🛴 debug: FileLock: Releasing /root/.cache/pikaur_prompt_156861.lock
🛴 debug: FileLock: Released /root/.cache/pikaur_prompt_156861.lock
🛴 debug: prompt: No answer provided - using "N".

🛴 debug: install_cli: << BUILD PACKAGES
🛴 debug: install_cli:   Packages to be built: ['seafile']
🛴 debug: install_cli:   Gonna build PKGBUILDS: {'seafile': <PackageBuild "seafile" ['seafile']>}
🛴 debug: install_cli:   Gonna build pkgnames: ['seafile']
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -E VISUAL=nvim -E EDITOR=nvim mkdir -p /var/cache/private/pikaur/build/seafile
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -E VISUAL=nvim -E EDITOR=nvim cp -r /var/cache/private/pikaur/aur_repos/seafile/last_installed.txt /var/cache/private/pikaur/aur_repos/seafile/PKGBUILD /var/cache/private/pikaur/aur_repos/seafile/[email protected] /var/cache/private/pikaur/aur_repos/seafile/.SRCINFO /var/cache/private/pikaur/aur_repos/seafile/.gitignore /var/cache/private/pikaur/build/seafile
🛴 debug: FileLock: Acquiring /root/.cache/pikaur_build_deps.lock...
🛴 debug: FileLock: Acquired /root/.cache/pikaur_build_deps.lock
🛴 debug: build: << _FILTER_BUILT_DEPS
🛴 debug: build:   self.all_deps_to_install=['vala']
🛴 debug: build:   all_provided_pkgnames={'seafile': 'seafile', 'seafile-client-cli': 'seafile'}
🛴 debug: build:     vala vala
🛴 debug: build: >> _FILTER_BUILT_DEPS
🛴 debug: pacman: Discarding local cache...
Reading local package database...
=> pacman --color=always --deptest libsearpc libevent libwebsockets fuse sqlite
=> pacman --color=always --deptest vala intltool
🛴 debug: build: << _FILTER_BUILT_DEPS
🛴 debug: build:   self.all_deps_to_install=['vala']
🛴 debug: build:   all_provided_pkgnames={'seafile': 'seafile', 'seafile-client-cli': 'seafile'}
🛴 debug: build:     vala vala
🛴 debug: build: >> _FILTER_BUILT_DEPS
🛴 Installing repository dependencies for seafile:
pikspect => pacman --color=always --sync --asdeps vala
🛴 debug: pikspect: Opening virtual terminal...
🛴 debug: pikspect: fd: 6, pid: 710331
                                      resolving dependencies...
looking for conflicting packages...
🛴 debug: pikspect: Found right answer to `Proceed with installation? [Y/n]`: `Y`

Package (5)        New Version  Net Change

extra/docbook-xml  4.5-10         1.96 MiB
extra/docbook-xsl  1.79.2-9      26.32 MiB
core/glib2-docs    2.82.4-2      65.98 MiB
extra/gtk-doc      1.34.0-2       3.09 MiB
extra/vala         0.56.17-1     14.37 MiB

Total Installed Size:  111.73 MiB

:: Proceed with installation? [Y/n] Y
(5/5) checking keys in keyring                                                      [################################################] 100%
(5/5) checking package integrity                                                    [################################################] 100%
(5/5) loading package files                                                         [################################################] 100%
(5/5) checking for file conflicts                                                   [################################################] 100%
(5/5) checking available disk space                                                 [################################################] 100%
:: Processing package changes...
(1/5) installing docbook-xml                                                        [################################################] 100%
(2/5) installing docbook-xsl                                                        [################################################] 100%
(3/5) installing glib2-docs                                                         [################################################] 100%
(4/5) installing gtk-doc                                                            [################################################] 100%
Optional dependencies for gtk-doc
    dblatex: PDF support
(5/5) installing vala                                                               [################################################] 100%
:: Running post-transaction hooks...
(1/1) Arming ConditionNeedsUpdate...
🛴 debug: pikspect: pid 710331 finished with return code: 0
🛴 debug: pikspect: Exit details: (None, None, None)
🛴 debug: pacman: Discarding local cache...
Reading local package database...
🛴 debug: FileLock: Releasing /root/.cache/pikaur_build_deps.lock
🛴 debug: FileLock: Released /root/.cache/pikaur_build_deps.lock
=> /usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/private/pikaur/build/seafile -E VISUAL=nvim -E EDITOR=nvim makepkg --packagelist
🛴 debug: build: Package names: InteractiveSpawn returned 0:
STDOUT:
/var/cache/private/pikaur/build/seafile/seafile-9.0.11-2-x86_64.pkg.tar.zst
/var/cache/private/pikaur/build/seafile/seafile-debug-9.0.11-2-x86_64.pkg.tar.zst


STDERR:
Running as unit: run-p710401-i710701.service
Finished with result: success
Main processes terminated with: code=exited, status=0/SUCCESS
Service runtime: 1.205s
CPU time consumed: 1.419s
Memory peak: 8.1M (swap: 0B)

🛴 debug: build: PKGDEST: None
🛴 debug: build: Full path: /var/cache/private/pikaur/build/seafile/seafile-9.0.11-2-x86_64.pkg.tar.zst, base path: seafile-9.0.11-2-x86_64.pkg.tar.zst
🛴 debug: build: New package path: /var/cache/pikaur/pkg/seafile-9.0.11-2-x86_64.pkg.tar.zst
🛴 debug: build: Found debug packages: [PosixPath('/var/cache/private/pikaur/build/seafile/seafile-debug-9.0.11-2-x86_64.pkg.tar.zst')]

🛴 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/private/pikaur/build/seafile -E VISUAL=nvim -E EDITOR=nvim -E GNUPGHOME=/etc/pacman.d/gnupg/ makepkg --force
Running as unit: run-p713026-i713326.service
Press ^] three times within 1s to disconnect TTY.
==> Making package: seafile 9.0.11-2 (Fri 03 Jan 2025 08:08:52 AEDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading seafile-9.0.11.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  747k    0  747k    0     0   912k      0 --:--:-- --:--:-- --:--:-- 1656k
  -> Found [email protected]
==> Validating source files with sha256sums...
    seafile-9.0.11.tar.gz ... Passed
    [email protected] ... Passed
==> Extracting sources...
  -> Extracting seafile-9.0.11.tar.gz with bsdtar
==> Starting prepare()...
==> Starting build()...
/var/cache/private/pikaur/build/seafile/PKGBUILD: line 42: ./autogen.sh: Permission denied
==> ERROR: A failure occurred in build().
    Aborting...
Finished with result: exit-code
Main processes terminated with: code=exited, status=4/NOPERMISSION
Service runtime: 2.299s
CPU time consumed: 1.740s
Memory peak: 12.6M (swap: 0B)

Command '/usr/sbin/systemd-run --service-type=oneshot --pipe --wait --pty -p DynamicUser=yes -p CacheDirectory=pikaur -E HOME=/tmp -p WorkingDirectory=/var/cache/private/pikaur/build/seafile -E VISUAL=nvim -E EDITOR=nvim -E GNUPGHOME=/etc/pacman.d/gnupg/ makepkg --force' failed to execute.
🛴 debug: prompt: Gonna get input from user...
🛴 debug: FileLock: Acquiring /root/.cache/pikaur_prompt_145537.lock...
🛴 debug: FileLock: Acquired /root/.cache/pikaur_prompt_145537.lock
🛴 debug: prompt_nolock: Restoring TTY...
🛴 debug: prompt_nolock: Using standard input reader...
🛴 Try recovering?
[R] retry build
[p] PGP check skip
[c] checksums skip
[f] skip 'check()' function of PKGBUILD
[n] skip 'prepare()' 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

@actionless
Copy link
Owner

are you sure, that 🛴 debug: main_0: Setting stdout to utf-8... is the very first line?

@plague-doctor
Copy link
Author

of the debug? yes.

warning:

warning:
  [build]DynamicUsers = root
Dynamic Users feature will be disabled in the upcoming releases.
Consider either calling Pikaur from your actual user account without `sudo`, or creating `pikaur` user and specifying its UserId in Pikaur config
and set DynamicUsers to `never`

I do not call pikaur with sudo

@actionless actionless closed this as not planned Won't fix, can't repro, duplicate, stale Jan 2, 2025
@plague-doctor
Copy link
Author

very helpful.

Maybe a hint on how to tackle this issue?

My pikaur.conf

[sync]
alwaysshowpkgorigin = no
develpkgsexpiration = 20
upgradesorting = pkgname

[build]
keepbuilddir = no
keepdevbuilddir = yes
skipfailedbuild = no
alwaysusedynamicusers = no
DynamicUsers = never
noedit = yes
donteditbydefault = yes
nodiff = no
gitdiffargs = --ignore-space-change,--ignore-all-space

[colors]
version = 10
versiondiffold = 11
versiondiffnew = 9

[ui]
requireenterconfirm = no
diffpager = auto
printcommands = no

[misc]
sudoloopinterval = 1
pacmanpath = pacman
debug = no

What else should one do in order to make this working?

@actionless
Copy link
Owner

you running pikaur via root, probably because of using some sort of alias or whatsoever, so the /root/.config/pikaur.conf is being loaded, not the one which you're showing

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

No branches or pull requests

2 participants