AUR failing to build on EndeavourOS, but still installs
Opened this issue · 5 comments
Caliel666 commented
Caliel666 commented
make sure to link it to the path
ln -s "${pkgdir}/path/to/executable" "${pkgdir}/usr/bin/executable"
Brod8362 commented
On my test system (Arch), it installed to /usr/bin
:
[brod8362@shared d4m]$ pacman -Ql d4m-git
d4m-git /usr/
d4m-git /usr/bin/
d4m-git /usr/bin/d4m
d4m-git /usr/bin/d4m-gui
(...)
I also tested in a Manjaro VM, it also installed to the correct locations, and executing via the .desktop works as expected.
On the Manjaro VM, though, it doesn't seem like the icons are fucntional (KDE)
What AUR helper are you using?
Caliel666 commented
i'm using yay
installing, verifying and trying to run:
:: Checking for conflicts...
:: Checking for inner conflicts...
[Aur:1] d4m-git-r124.402ef8a-00
1 d4m-git (Build Files Exist)
==> Packages to cleanBuild?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> a
:: Deleting (1/1): /home/demuriel/.cache/yay/d4m-git
:: (1/1) Downloaded PKGBUILD: d4m-git
1 d4m-git (Build Files Exist)
==> Diffs to show?
==> [N]one [A]ll [Ab]ort [I]nstalled [No]tInstalled or (1 2 3, 1-3, ^4)
==> n
:: (1/1) Parsing SRCINFO: d4m-git
==> Making package: d4m-git r124.402ef8a-00 (Thu 28 Jul 2022 05:35:11 PM -03)
==> Retrieving sources...
-> Cloning d4m-git git repo...
Cloning into bare repository '/home/demuriel/.cache/yay/d4m-git/d4m-git'...
remote: Enumerating objects: 756, done.
remote: Counting objects: 100% (263/263), done.
remote: Compressing objects: 100% (133/133), done.
remote: Total 756 (delta 136), reused 202 (delta 98), pack-reused 493
Receiving objects: 100% (756/756), 928.98 KiB | 14.29 MiB/s, done.
Resolving deltas: 100% (419/419), done.
==> Validating source files with sha256sums...
d4m-git ... Skipped
==> Making package: d4m-git r124.402ef8a-00 (Thu 28 Jul 2022 05:35:12 PM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Updating d4m-git git repo...
==> Validating source files with sha256sums...
d4m-git ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
-> Creating working copy of d4m-git git repo...
Cloning into 'd4m-git'...
done.
==> Starting pkgver()...
==> Updated version: d4m-git r156.7d299a3-1
==> Sources are ready.
==> Making package: d4m-git r156.7d299a3-1 (Thu 28 Jul 2022 05:35:14 PM -03)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
==> Starting build()...
* Getting dependencies for sdist...
running egg_info
creating UNKNOWN.egg-info
writing UNKNOWN.egg-info/PKG-INFO
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
writing top-level names to UNKNOWN.egg-info/top_level.txt
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
* Building sdist...
running sdist
running egg_info
writing UNKNOWN.egg-info/PKG-INFO
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
writing top-level names to UNKNOWN.egg-info/top_level.txt
adding license file 'LICENSE'
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
running check
warning: check: missing required meta-data: name, url
warning: check: missing meta-data: either (author and author_email) or (maintainer and maintainer_email) should be supplied
creating UNKNOWN-0.0.0
creating UNKNOWN-0.0.0/.github
creating UNKNOWN-0.0.0/.github/workflows
creating UNKNOWN-0.0.0/UNKNOWN.egg-info
creating UNKNOWN-0.0.0/aur
creating UNKNOWN-0.0.0/flatpak
creating UNKNOWN-0.0.0/resources
creating UNKNOWN-0.0.0/src
creating UNKNOWN-0.0.0/src/d4m
creating UNKNOWN-0.0.0/windows
copying files to UNKNOWN-0.0.0...
copying .gitignore -> UNKNOWN-0.0.0
copying LICENSE -> UNKNOWN-0.0.0
copying README.md -> UNKNOWN-0.0.0
copying build_windows.bat -> UNKNOWN-0.0.0
copying install_windows.nsi -> UNKNOWN-0.0.0
copying pyproject.toml -> UNKNOWN-0.0.0
copying .github/workflows/python-publish.yml -> UNKNOWN-0.0.0/.github/workflows
copying .github/workflows/windows-installer.yml -> UNKNOWN-0.0.0/.github/workflows
copying UNKNOWN.egg-info/PKG-INFO -> UNKNOWN-0.0.0/UNKNOWN.egg-info
copying UNKNOWN.egg-info/SOURCES.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info
copying UNKNOWN.egg-info/dependency_links.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info
copying UNKNOWN.egg-info/top_level.txt -> UNKNOWN-0.0.0/UNKNOWN.egg-info
copying aur/PKGBUILD -> UNKNOWN-0.0.0/aur
copying aur/d4m.desktop -> UNKNOWN-0.0.0/aur
copying flatpak/build.sh -> UNKNOWN-0.0.0/flatpak
copying flatpak/d4m.sh -> UNKNOWN-0.0.0/flatpak
copying flatpak/flatpak.desktop -> UNKNOWN-0.0.0/flatpak
copying flatpak/pw.byakuren.d4m.yml -> UNKNOWN-0.0.0/flatpak
copying resources/EXPORT_github.png -> UNKNOWN-0.0.0/resources
copying resources/EXPORT_logo.png -> UNKNOWN-0.0.0/resources
copying resources/EXPORT_tagline.png -> UNKNOWN-0.0.0/resources
copying resources/d4m.gif -> UNKNOWN-0.0.0/resources
copying resources/export.sh -> UNKNOWN-0.0.0/resources
copying resources/gui.png -> UNKNOWN-0.0.0/resources
copying resources/logo.ico -> UNKNOWN-0.0.0/resources
copying resources/logo.svg -> UNKNOWN-0.0.0/resources
copying resources/tagline.svg -> UNKNOWN-0.0.0/resources
copying src/d4m/__init__.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/__main__.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/api.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/common.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/divamod.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/dma.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/gamebanana.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/global_config.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/gui.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/manage.py -> UNKNOWN-0.0.0/src/d4m
copying src/d4m/tui.py -> UNKNOWN-0.0.0/src/d4m
copying windows/libarchive.dll -> UNKNOWN-0.0.0/windows
Writing UNKNOWN-0.0.0/setup.cfg
Creating tar archive
removing 'UNKNOWN-0.0.0' (and everything under it)
* Building wheel from sdist
* Getting dependencies for wheel...
running egg_info
writing UNKNOWN.egg-info/PKG-INFO
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
writing top-level names to UNKNOWN.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
installing to build/bdist.linux-x86_64/wheel
running install
running install_egg_info
running egg_info
writing UNKNOWN.egg-info/PKG-INFO
writing dependency_links to UNKNOWN.egg-info/dependency_links.txt
writing top-level names to UNKNOWN.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'UNKNOWN.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'UNKNOWN.egg-info/SOURCES.txt'
Copying UNKNOWN.egg-info to build/bdist.linux-x86_64/wheel/UNKNOWN-0.0.0-py3.10.egg-info
running install_scripts
adding license file "LICENSE" (matched pattern "LICEN[CS]E*")
creating build/bdist.linux-x86_64/wheel/UNKNOWN-0.0.0.dist-info/WHEEL
creating '/home/demuriel/.cache/yay/d4m-git/src/d4m-git/dist/tmpap40xfm6/UNKNOWN-0.0.0-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'UNKNOWN-0.0.0.dist-info/LICENSE'
adding 'UNKNOWN-0.0.0.dist-info/METADATA'
adding 'UNKNOWN-0.0.0.dist-info/WHEEL'
adding 'UNKNOWN-0.0.0.dist-info/top_level.txt'
adding 'UNKNOWN-0.0.0.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built UNKNOWN-0.0.0.tar.gz and UNKNOWN-0.0.0-py3-none-any.whl
==> Entering fakeroot environment...
==> Starting package()...
==> 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 "d4m-git"...
-> Generating .PKGINFO file...
-> Generating .BUILDINFO file...
-> Generating .MTREE file...
-> Compressing package...
==> Leaving fakeroot environment.
==> Finished making: d4m-git r156.7d299a3-1 (Thu 28 Jul 2022 05:35:22 PM -03)
==> Cleaning up...
-> Found git repo: github.com/brod8362/d4m.git
[sudo] password for demuriel:
loading packages...
resolving dependencies...
looking for conflicting packages...
Package (1) New Version Net Change
d4m-git r156.7d299a3-1 0.00 MiB
Total Installed Size: 0.00 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [----------------------------------------] 100%
(1/1) checking package integrity [----------------------------------------] 100%
(1/1) loading package files [----------------------------------------] 100%
(1/1) checking for file conflicts [----------------------------------------] 100%
:: Processing package changes...
(1/1) installing d4m-git [----------------------------------------] 100%
:: Running post-transaction hooks...
(1/2) Arming ConditionNeedsUpdate...
(2/2) Updating the desktop file MIME type cache...
❯ pacman -Ql d4m-git
d4m-git /usr/
d4m-git /usr/lib/
d4m-git /usr/lib/python3.10/
d4m-git /usr/lib/python3.10/site-packages/
d4m-git /usr/lib/python3.10/site-packages/UNKNOWN-0.0.0.dist-info/
d4m-git /usr/lib/python3.10/site-packages/UNKNOWN-0.0.0.dist-info/LICENSE
d4m-git /usr/lib/python3.10/site-packages/UNKNOWN-0.0.0.dist-info/METADATA
d4m-git /usr/lib/python3.10/site-packages/UNKNOWN-0.0.0.dist-info/RECORD
d4m-git /usr/lib/python3.10/site-packages/UNKNOWN-0.0.0.dist-info/WHEEL
d4m-git /usr/lib/python3.10/site-packages/UNKNOWN-0.0.0.dist-info/top_level.txt
d4m-git /usr/share/
d4m-git /usr/share/applications/
d4m-git /usr/share/applications/d4m.desktop
d4m-git /usr/share/pixmaps/
d4m-git /usr/share/pixmaps/d4m.svg
❯ d4m-gui
zsh: command not found: d4m-gui
Caliel666 commented
now that i look at it, it "installed" but it also failed so i guess the issue is either me or my distro
Brod8362 commented
It seems like it's not even properly building the python package (evidenced by UNKNOWN-0.0.0
)
I'll set up an EndeavourOS VM myself and give it a shot and see if I can repro.