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

pikaur failed to build duckstation-git #811

Closed visious25 closed 5 months ago

visious25 commented 5 months ago
$ pikaur -Vq
Pikaur v1.21
Pacman v6.1.0 - libalpm v14.0.0 - pyalpm v0.10.6
[Optional] Prerequisites:
Description:

pikaur failed to build duckstation-git. yay compiled duckstation without errors.

Attached log:
$ pikaur -S duckstation-git --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/bin/pikaur', '-S', 'duckstation-git', '--verbose', '--pikaur-debug']: cli_install_packages
=> sudo -- /usr/bin/pikaur -S duckstation-git --verbose --pikaur-debug --pikaur-config=/home/visious/.config/pikaur.conf --user-id=1000 --home-dir=/home/visious --xdg-cache-home=/home/visious/.cache --xdg-data-home=/home/visious/.local/share
[sudo] password for visious:       
:: 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/bin/pikaur', '-S', 'duckstation-git', '--verbose', '--pikaur-debug', '--pikaur-config=/home/visious/.config/pikaur.conf', '--user-id=1000', '--home-dir=/home/visious', '--xdg-cache-home=/home/visious/.cache', '--xdg-data-home=/home/visious/.local/share']: cli_install_packages
:: debug: install_info_fetcher: 
Gonna fetch install info for:
    install_package_names=['duckstation-git']
    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 '['duckstation-git']' is installable:
=> pacman --color=always --sync duckstation-git --print-format %r/%n
:: debug: install_info_fetcher: Check failed - gonna check it separately:
:: debug: install_info_fetcher: Checking if 'duckstation-git' exists in the repo:
=> pacman --color=always --sync duckstation-git --print-format %r/%n --nodeps --nodeps
:: debug: install_info_fetcher:   'duckstation-git' 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=['duckstation-git']
    self.aur_updates_install_info=[]
    aur_packages_names_to_versions={'duckstation-git': <VersionMatcher duckstation-git['cmp_default']None>}
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=duckstation-git
:: debug: install_info_fetcher: found AUR pkgs:
    aur_pkg_list=[<AURPackageInfo "duckstation-git" 0.1.r6886.g015804c-1>]
not found AUR pkgs:
    not_found_aur_pkgs=[]
:: debug: install_info_fetcher: got AUR pkgs install info: [<AURInstallInfo "duckstation-git"   -> 0.1.r6886.g015804c-1>]
Resolving AUR dependencies...
=> pacman --color=always --deptest sh glibc gcc-libs sdl2 qt6-base libwebp libwebp.so libjpeg-turbo libjpeg.so libpng libpng16.so libxrandr libx11 freetype2 libfreetype.so zstd libzstd.so zlib libz.so dbus libdbus-1.so curl libcurl.so systemd-libs libudev.so hicolor-icon-theme glslang spirv-tools libbacktrace libbacktrace.so git cmake clang lld llvm extra-cmake-modules qt6-tools qt6-wayland libdrm libpulse alsa-lib sndio ninja jack python spirv-headers
=> pacman --color=always --sync lld cmake sndio libbacktrace.so extra-cmake-modules ninja llvm qt6-wayland libbacktrace spirv-headers clang qt6-tools --print-format %r/%n --nodeps
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=libbacktrace.so&arg[]=libbacktrace
=> pacman --color=always --deptest libbacktrace.so
:: error: Can't resolve dependencies for AUR package 'duckstation-git':
:: error: Dependencies missing for duckstation-git
:: warning: Following packages cannot be found in AUR:
    libbacktrace.so    
    libbacktrace    
:: debug: prompt: Gonna get input from user...
:: debug: FileLock: Acquiring /tmp/pikaur_prompt_681828.lock...
:: debug: FileLock: Acquired /tmp/pikaur_prompt_681828.lock
:: debug: prompt_nolock: Restoring TTY...
:: debug: prompt_nolock: Using standard input reader...
:: Try recovering duckstation-git?
[e] edit PKGBUILD
[f] skip 'check()' function of PKGBUILD
[s] skip this package
[A] abort
> a
:: debug: FileLock: Releasing /tmp/pikaur_prompt_681828.lock
:: debug: FileLock: Released /tmp/pikaur_prompt_681828.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 5 months ago

https://github.com/actionless/pikaur/issues/402

actionless commented 5 months ago

Thanks for reporting! You can check with pikaur-git AUR package if it works for you now.

visious25 commented 5 months ago

Please give me two weeks to check with pikaur-git. The reason is updating my system each month.

actionless commented 5 months ago

in two weeks probably pikaur 1.22 would be released already

visious25 commented 5 months ago

No problem I'll check both of them, pikaur and pikaur-git.

visious25 commented 5 months ago
$ pikaur -Vq
Pikaur v1.22.3
Pacman v6.1.0 - libalpm v14.0.0 - pyalpm v0.10.6

Hi, I have tried both pikaur and pikaur-git. Both of them failed to build duckstation-git.

actionless commented 5 months ago

thanks for testing! what's the full log?

visious25 commented 5 months ago

You are wellcome.

$ pikaur -S duckstation-git --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/bin/pikaur', '-S', 'duckstation-git', '--verbose', '--pikaur-debug']: cli_install_packages
=> sudo -- /usr/bin/pikaur -S duckstation-git --verbose --pikaur-debug --pikaur-config=/home/visious/.config/pikaur.conf --user-id=1000 --home-dir=/home/visious --xdg-cache-home=/home/visious/.cache --xdg-config-home=/home/visious/.config --xdg-data-home=/home/visious/.local/share
:: 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/bin/pikaur', '-S', 'duckstation-git', '--verbose', '--pikaur-debug', '--pikaur-config=/home/visious/.config/pikaur.conf', '--user-id=1000', '--home-dir=/home/visious', '--xdg-cache-home=/home/visious/.cache', '--xdg-config-home=/home/visious/.config', '--xdg-data-home=/home/visious/.local/share']: cli_install_packages
:: debug: install_info_fetcher: 
Gonna fetch install info for:
    install_package_names=['duckstation-git']
    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 '['duckstation-git']' is installable:
=> pacman --color=always --sync duckstation-git --print-format %r/%n
:: debug: install_info_fetcher: Check failed - gonna check it separately:
:: debug: install_info_fetcher: Checking if 'duckstation-git' exists in the repo:
=> pacman --color=always --sync duckstation-git --print-format %r/%n --nodeps --nodeps
:: debug: install_info_fetcher:   'duckstation-git' 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=['duckstation-git']
    self.aur_updates_install_info=[]
    aur_packages_names_to_versions={'duckstation-git': <VersionMatcher duckstation-git['cmp_default']None>}
:: debug: aur_module: find_aur_packages: duckstation-git uncached
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=duckstation-git
:: debug: install_info_fetcher: found AUR pkgs:
    aur_pkg_list=[<AURPackageInfo "duckstation-git" 0.1.r6963.gccb76d1-1>]
not found AUR pkgs:
    not_found_aur_pkgs=[]
:: debug: install_info_fetcher: got AUR pkgs install info: [<AURInstallInfo "duckstation-git"   -> 0.1.r6963.gccb76d1-1>]
Resolving AUR dependencies...
:: debug: aur_deps: find_aur_deps: package_names=['duckstation-git']
=> pacman --color=always --deptest sh glibc gcc-libs sdl2 qt6-base libwebp.so libjpeg.so libpng16.so libxrandr libx11 freetype2 libfreetype.so libzstd.so libz.so libdbus-1.so libcurl.so systemd-libs libudev.so hicolor-icon-theme glslang spirv-tools libbacktrace.so git cmake clang lld llvm extra-cmake-modules qt6-tools qt6-wayland libdrm libpulse alsa-lib sndio ninja jack python spirv-headers
:: debug: pacman: get_not_found_repo_packages: pkg_names_to_check=['libbacktrace.so', 'ninja', 'sndio', 'qt6-tools', 'cmake', 'clang', 'extra-cmake-modules', 'spirv-headers', 'llvm', 'qt6-wayland', 'lld'] not_found_pkg_names=[]
=> pacman --color=always --sync libbacktrace.so ninja sndio qt6-tools cmake clang extra-cmake-modules spirv-headers llvm qt6-wayland lld --print-format %r/%n --nodeps
:: debug: aur_module: find_aur_packages: libbacktrace.so uncached
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=libbacktrace.so
:: debug: aur_module: find_aur_provided_deps: libbacktrace.so not cached
=> GET https://aur.archlinux.org/rpc/?v=5&type=search&arg=libbacktrace.so&by=provides
:: debug: aur_module: find_aur_packages: libbacktrace-git uncached
=> GET https://aur.archlinux.org/rpc/?v=5&type=info&arg[]=libbacktrace-git
:: debug: aur_deps: find_missing_deps_for_aur_pkg: version_matchers={'sh': <VersionMatcher sh['cmp_default']None>, 'glibc': <VersionMatcher glibc['cmp_default']None>, 'gcc-libs': <VersionMatcher gcc-libs['cmp_default']None>, 'sdl2': <VersionMatcher sdl2['cmp_default']None>, 'qt6-base': <VersionMatcher qt6-base['cmp_default']None>, 'libwebp.so': <VersionMatcher libwebp.so['cmp_default']None>, 'libjpeg.so': <VersionMatcher libjpeg.so['cmp_default']None>, 'libpng16.so': <VersionMatcher libpng16.so['cmp_default']None>, 'libxrandr': <VersionMatcher libxrandr['cmp_default']None>, 'libx11': <VersionMatcher libx11['cmp_default']None>, 'freetype2': <VersionMatcher freetype2['cmp_default']None>, 'libfreetype.so': <VersionMatcher libfreetype.so['cmp_default']None>, 'libzstd.so': <VersionMatcher libzstd.so['cmp_default']None>, 'libz.so': <VersionMatcher libz.so['cmp_default']None>, 'libdbus-1.so': <VersionMatcher libdbus-1.so['cmp_default']None>, 'libcurl.so': <VersionMatcher libcurl.so['cmp_default']None>, 'systemd-libs': <VersionMatcher systemd-libs['cmp_default']None>, 'libudev.so': <VersionMatcher libudev.so['cmp_default']None>, 'hicolor-icon-theme': <VersionMatcher hicolor-icon-theme['cmp_default']None>, 'glslang': <VersionMatcher glslang['cmp_default']None>, 'spirv-tools': <VersionMatcher spirv-tools['cmp_default']None>, 'libbacktrace.so': <VersionMatcher libbacktrace.so['cmp_default']None>, 'git': <VersionMatcher git['cmp_default']None>, 'cmake': <VersionMatcher cmake['cmp_default']None>, 'clang': <VersionMatcher clang['cmp_default']None>, 'lld': <VersionMatcher lld['cmp_default']None>, 'llvm': <VersionMatcher llvm['cmp_default']None>, 'extra-cmake-modules': <VersionMatcher extra-cmake-modules['cmp_default']None>, 'qt6-tools': <VersionMatcher qt6-tools['cmp_default']None>, 'qt6-wayland': <VersionMatcher qt6-wayland['cmp_default']None>, 'libdrm': <VersionMatcher libdrm['cmp_default']None>, 'libpulse': <VersionMatcher libpulse['cmp_default']None>, 'alsa-lib': <VersionMatcher alsa-lib['cmp_default']None>, 'sndio': <VersionMatcher sndio['cmp_default']None>, 'ninja': <VersionMatcher ninja['cmp_default']None>, 'jack': <VersionMatcher jack['cmp_default']None>, 'python': <VersionMatcher python['cmp_default']None>, 'spirv-headers': <VersionMatcher spirv-headers['cmp_default']None>}
:: debug: aur_deps: find_missing_deps_for_aur_pkg: libbacktrace-git pkg version_matchers=[<VersionMatcher libbacktrace.so['cmp_default']None>]
:: debug: aur_module: find_aur_packages: libbacktrace.so cached as not found
:: debug: aur_module: find_aur_provided_deps: libbacktrace.so cached
:: debug: aur_module: find_aur_packages: libbacktrace-git cached
=> pacman --color=always --deptest gcc-libs zlib git libunwind
:: debug: aur_deps: find_missing_deps_for_aur_pkg: NOT not_found_local_pkgs
:: debug: aur_deps: find_aur_deps: result_aur_deps={'duckstation-git': ['libbacktrace.so']}
:: debug: aur_module: find_aur_packages: libbacktrace.so cached as not found
:: debug: aur_module: find_aur_provided_deps: libbacktrace.so cached
:: debug: aur_module: find_aur_packages: libbacktrace-git cached
:: debug: install_info_fetcher: get_aur_deps_info: aur_pkgs={'libbacktrace': <AURPackageInfo "libbacktrace-git" r87.g11427f3-1>, 'libbacktrace.so': <AURPackageInfo "libbacktrace-git" r87.g11427f3-1>}
=> pacman --color=always --sync cmake --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync clang --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync lld --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync llvm --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync extra-cmake-modules --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync qt6-tools --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync qt6-wayland --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync sndio --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync ninja --print-format %r/%n --nodeps --nodeps
=> pacman --color=always --sync spirv-headers --print-format %r/%n --nodeps --nodeps
:: debug: install_info_fetcher: Checking if '['cmake', 'qt6-tools', 'sndio', 'spirv-headers', 'lld', 'extra-cmake-modules', 'clang', 'qt6-wayland', 'ninja', 'llvm']' is installable:
=> pacman --color=always --sync --needed cmake qt6-tools sndio spirv-headers lld extra-cmake-modules clang qt6-wayland ninja llvm --print-format %r/%n
:: debug: install_info_fetcher: Check passed - gonna get install infos:
:: debug: install_info_fetcher: :: marking dependant pkgs...
:: debug: install_info_fetcher: all_requested_pkg_names=['gcc-libs', 'gcc-libs', 'glibc', 'libnsl', 'glibc', 'cppdap', 'curl', 'expat', 'gcc-libs', 'glibc', 'hicolor-icon-theme', 'jsoncpp', 'libarchive', 'libuv', 'ncurses', 'rhash', 'zlib', 'gcc-libs', 'glibc', 'qt6-base', 'zstd', 'glibc', 'glibc', 'libmd', 'alsa-lib', 'libbsd', 'llvm-libs', 'gcc-libs', 'zlib', 'zstd', 'cmake', 'gcc-libs', 'llvm-libs', 'gcc', 'compiler-rt', 'gcc-libs', 'glibc', 'qt6-base', 'gcc-libs', 'glibc', 'libglvnd', 'libxkbcommon', 'qt6-base', 'qt6-declarative', 'wayland', 'gcc-libs', 'llvm-libs', 'perl', 'sh', 'glibc', 'gcc-libs', 'sdl2', 'qt6-base', 'libwebp.so', 'libjpeg.so', 'libpng16.so', 'libxrandr', 'libx11', 'freetype2', 'libfreetype.so', 'libzstd.so', 'libz.so', 'libdbus-1.so', 'libcurl.so', 'systemd-libs', 'libudev.so', 'hicolor-icon-theme', 'glslang', 'spirv-tools', 'libbacktrace.so', 'git', 'cmake', 'clang', 'lld', 'llvm', 'extra-cmake-modules', 'qt6-tools', 'qt6-wayland', 'libdrm', 'libpulse', 'alsa-lib', 'sndio', 'ninja', 'jack', 'python', 'spirv-headers', 'gcc-libs', 'zlib', 'git', 'libunwind']
:: debug: install_info_fetcher: explicit_aur_pkg_names=['duckstation-git']
:: debug: install_info_fetcher:  - cppdap
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - jsoncpp
:: debug: install_info_fetcher:     provides=['libjsoncpp.so=25-64']
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - libuv
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - rhash
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - cmake
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - qt6-tools
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - libmd
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - libbsd
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - sndio
:: debug: install_info_fetcher:     provides=['libsndio.so=7-64']
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - spirv-headers
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - lld
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - extra-cmake-modules
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - compiler-rt
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - clang
:: debug: install_info_fetcher:     provides=['clang-analyzer=17.0.6', 'clang-tools-extra=17.0.6']
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - qt6-declarative
:: debug: install_info_fetcher:     provides=['qt6-quickcontrols2']
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - qt6-wayland
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - ninja
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - llvm
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - duckstation-git
:: debug: install_info_fetcher:     providing_for=[]
:: debug: install_info_fetcher:  - libbacktrace-git
:: debug: install_info_fetcher:     provides=['libbacktrace=r87.g11427f3', 'libbacktrace.so']
:: debug: install_info_fetcher:     providing_for=['libbacktrace.so', 'libbacktrace.so']
:: debug: install_info_fetcher: == marked dependant pkgs.
:: debug: install_cli: self.install_info.all_install_info_containers=([], [<RepoInstallInfo "cppdap"  -> 1.58.0-1>, <RepoInstallInfo "jsoncpp"  -> 1.9.5-2>, <RepoInstallInfo "libuv"  -> 1.48.0-2>, <RepoInstallInfo "rhash"  -> 1.4.4-1>, <RepoInstallInfo "cmake"  -> 3.29.6-1>, <RepoInstallInfo "qt6-tools"  -> 6.7.2-1>, <RepoInstallInfo "libmd"  -> 1.1.0-1>, <RepoInstallInfo "libbsd"  -> 0.12.2-2>, <RepoInstallInfo "sndio"  -> 1.9.0-2>, <RepoInstallInfo "spirv-headers"  -> 1:1.3.283.0-1>, <RepoInstallInfo "lld"  -> 17.0.6-1>, <RepoInstallInfo "extra-cmake-modules"  -> 6.3.0-1>, <RepoInstallInfo "compiler-rt"  -> 17.0.6-2>, <RepoInstallInfo "clang"  -> 17.0.6-2>, <RepoInstallInfo "qt6-declarative"  -> 6.7.2-1>, <RepoInstallInfo "qt6-wayland"  -> 6.7.2-1>, <RepoInstallInfo "ninja"  -> 1.12.1-1>, <RepoInstallInfo "llvm"  -> 17.0.6-5>], [], [], [], [], [<AURInstallInfo "duckstation-git"   -> 0.1.r6963.gccb76d1-1>], [<AURInstallInfo "libbacktrace-git"   -> r87.g11427f3-1>])

:: New dependencies will be installed from repository:
 clang (for duckstation-git)                                -> 17.0.6-2
 cmake (for extra-cmake-modules, duckstation-git)           -> 3.29.6-1
 compiler-rt (for clang)                                    -> 17.0.6-2
 cppdap (for cmake)                                         -> 1.58.0-1
 extra-cmake-modules (for duckstation-git)                  -> 6.3.0-1
 jsoncpp (for cmake)                                        -> 1.9.5-2
 libbsd (for sndio)                                         -> 0.12.2-2
 libmd (for libbsd)                                         -> 1.1.0-1
 libuv (for cmake)                                          -> 1.48.0-2
 lld (for duckstation-git)                                  -> 17.0.6-1
 llvm (for duckstation-git)                                 -> 17.0.6-5
 ninja (for duckstation-git)                                -> 1.12.1-1
 qt6-declarative (for qt6-wayland)                          -> 6.7.2-1
 qt6-tools (for duckstation-git)                            -> 6.7.2-1
 qt6-wayland (for duckstation-git)                          -> 6.7.2-1
 rhash (for cmake)                                          -> 1.4.4-1
 sndio (for duckstation-git)                                -> 1.9.0-2
 spirv-headers (for duckstation-git)                        -> 1:1.3.283.0-1

:: AUR package will be installed:
 duckstation-git                                            -> 0.1.r6963.gccb76d1-1

:: New dependency will be installed from AUR:
 libbacktrace-git (for duckstation-git)                     -> r87.g11427f3-1

:: debug: prompt: Gonna get input from user...
:: debug: FileLock: Acquiring /tmp/pikaur_prompt_862947.lock...
:: debug: FileLock: Acquired /tmp/pikaur_prompt_862947.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
>> y
:: debug: FileLock: Releasing /tmp/pikaur_prompt_862947.lock
:: debug: FileLock: Released /tmp/pikaur_prompt_862947.lock
:: debug: prompt: Got answer: 'y'
:: debug: aur_module: find_aur_packages: duckstation-git cached
:: debug: aur_module: find_aur_packages: libbacktrace-git cached
:: debug: aur_module: find_aur_packages: duckstation-git cached
:: debug: build: Build dir: /home/visious/.cache/pikaur/build/duckstation-git
:: debug: aur_module: find_aur_packages: libbacktrace-git cached
:: debug: build: Build dir: /home/visious/.cache/pikaur/build/libbacktrace-git
=> sudo --user=#1000 -- git -C /home/visious/.local/share/pikaur/aur_repos/libbacktrace-git pull origin master
=> sudo --user=#1000 -- git -C /home/visious/.local/share/pikaur/aur_repos/duckstation-git pull origin master
Can't pull 'duckstation-git' in '/home/visious/.local/share/pikaur/aur_repos/duckstation-git' from AUR:
Updating 058333b..a3a2415

From https://aur.archlinux.org/duckstation-git
 * branch            master     -> FETCH_HEAD
error: Your local changes to the following files would be overwritten by merge:
    .SRCINFO
    PKGBUILD
Please commit your changes or stash them before you merge.
Aborting

:: debug: prompt: Gonna get input from user...
:: debug: FileLock: Acquiring /tmp/pikaur_prompt_459633.lock...
:: debug: FileLock: Acquired /tmp/pikaur_prompt_459633.lock
:: debug: prompt_nolock: Restoring TTY...
:: debug: prompt_nolock: Using standard input reader...
:: Try recovering?
[T] try again
[d] git diff
[c] git checkout -- '*'
[r] remove dir and clone again
[p] git stash && ... && git stash pop
[s] skip this package
[a] abort
> a
:: debug: FileLock: Releasing /tmp/pikaur_prompt_459633.lock
:: debug: FileLock: Released /tmp/pikaur_prompt_459633.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 5 months ago

just read the error text and follow recommendations in that message - and you'll be good 💪

visious25 commented 4 months ago

I solved my problem by doing this:

$ rm -rf /home/$USER/.local/share/pikaur/aur_repos/duckstation-git
$ rm -rf /home/$USER/.local/share/pikaur/aur_repos/libbacktrace-git

And I hit again pikaur -S duckstation-git. Pikaur builded duckstation without any errors.

actionless commented 4 months ago

nice, but you could do it right from pikaur's error screen:

[c] git checkout -- '*'
(or)
[r] remove dir and clone again

instead of doing manually :)

visious25 commented 4 months ago

Thanks for the tip, I didn't know that. Have a nice day :)

actionless commented 4 months ago

you too 🌞