Fails to package with:
==> Starting package()...
install: cannot stat 'logo.png': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
| Git Clone URL: | https://aur.archlinux.org/re3-git.git (read-only, click to copy) |
|---|---|
| Package Base: | re3-git |
| Description: | Grand Theft Auto III reverse engineered |
| Upstream URL: | https://github.com/GTAmodding/re3 |
| Keywords: | gta |
| Licenses: | LicenseRef-None |
| Conflicts: | re3 |
| Provides: | re3 |
| Submitter: | hazelnot |
| Maintainer: | eugene |
| Last Packager: | eugene |
| Votes: | 9 |
| Popularity: | 0.002515 |
| First Submitted: | 2020-10-16 15:27 (UTC) |
| Last Updated: | 2024-03-13 23:12 (UTC) |
Fails to package with:
==> Starting package()...
install: cannot stat 'logo.png': No such file or directory
==> ERROR: A failure occurred in package().
Aborting...
hello, i have problem with compiling
:: Загрузка последних исходников для пакета re3-git...
:: Начало сборки:
==> Сборка пакета re3-git r2981.a3964dfd-1 (Чт 01 июл 2021 13:05:43)
==> Проверка зависимостей для запуска...
==> Проверка зависимостей для сборки...
==> Получение исходных файлов...
-> Обновление репозитория 're3' (git)...
Извлечение из origin
-> Обновление репозитория 'librw' (git)...
Извлечение из origin
-> Обновление репозитория 'ogg' (git)...
Извлечение из origin
-> Обновление репозитория 'opus' (git)...
Извлечение из origin
-> Обновление репозитория 'opusfile' (git)...
Извлечение из origin
-> Найден crossplatform_fix.patch
-> Найден no_link_with_unnecessary_sndfile.patch
-> Найден re3-launcher
-> Найден re3.desktop
==> Проверка файлов source с использованием sha256sums...
re3 ... Пропущено
librw ... Пропущено
ogg ... Пропущено
opus ... Пропущено
opusfile ... Пропущено
crossplatform_fix.patch ... Готово
no_link_with_unnecessary_sndfile.patch ... Готово
re3-launcher ... Готово
re3.desktop ... Готово
==> Распаковка исходных файлов...
-> Создание рабочей копии репозитория 're3' (git)...
Сброс ветки «makepkg»
-> Создание рабочей копии репозитория 'librw' (git)...
Сброс ветки «makepkg»
-> Создание рабочей копии репозитория 'ogg' (git)...
Сброс ветки «makepkg»
-> Создание рабочей копии репозитория 'opus' (git)...
Сброс ветки «makepkg»
-> Создание рабочей копии репозитория 'opusfile' (git)...
Сброс ветки «makepkg»
==> Запускается prepare()...
patching file src/skel/crossplatform.h
Hunk #1 FAILED at 138.
1 out of 1 hunk FAILED -- saving rejects to file src/skel/crossplatform.h.rej
==> ОШИБКА: Произошел сбой в prepare().
Прерывание...
maybe additional deps will be need?
@eugene: thanks a lot for your fix, could you take a look at revc-git as well? much appreciated!
@Redi For -miami branch there is separate package revc-git. -lcs branch is not really useful as vital functionality is not implemented and resources package is not available (I don't have any public link for it).
Works like a charm. Would it be possible to get the -miami and -lcs branches too?
fixed the package by re-enabling no_link_with_unnecessary_sndfile.patch. I don't know why it was commented out previously. Tested in clean chroot.
i am unable to build, is there anything i am missing? i tried also in a clean environment:
Linking re3
/usr/bin/ld: cannot find -lsndfile
clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: [re3.make:639: ./bin/linux-amd64-librw_gl3_glfw-oal/Release/re3] Error 1
make: [Makefile:78: re3] Error 2
make: Leaving directory '/home/mok/.cache/paru/clone/re3-git/src/re3/build'
==> ERROR: A failure occured in build().
Aborting...
error: failed to build 're3-git-r2913.9a7fa478-1':
:: Packages failed to build: re3-git-r2913.9a7fa478-1
Back on github. https://github.com/halpz/re3
@gouster4, please, try again.
I suppose you had glfw-wayland installed. Builds fine for me with glfw-x11, so I added that as dependency.
Linking re3
/usr/bin/ld: obj/linux-amd64-librw_gl3_glfw-oal/Release/re3/glfw.o: in function checkKeyPresses()':
/var/tmp/pamac-build-pavel/re3-git/src/re3/build/../src/skel/glfw/glfw.cpp:1687: undefined reference toglfwGetX11Display'
/usr/bin/ld: obj/linux-amd64-librw_gl3_glfw-oal/Release/re3/glfw.o: in function main':
/var/tmp/pamac-build-pavel/re3-git/src/re3/build/../src/skel/glfw/glfw.cpp:1473: undefined reference toglfwGetX11Display'
collect2: error: ld returned 1 exit status
make[1]: [re3.make:639: ../bin/linux-amd64-librw_gl3_glfw-oal/Release/re3] Error 1
make: [Makefile:78: re3] Error 2
make: Leaving directory '/var/tmp/pamac-build-pavel/re3-git/src/re3/build'
Pinned Comments