Package Details: zelda3-git r314.fbbb3f9-1

Git Clone URL: https://aur.archlinux.org/zelda3-git.git (read-only, click to copy)
Package Base: zelda3-git
Description: A reverse engineered implementation of Zelda 3 - A Link to the Past
Upstream URL: https://github.com/snesrev/zelda3
Licenses: MIT
Submitter: aquova
Maintainer: aquova
Last Packager: aquova
Votes: 4
Popularity: 0.39
First Submitted: 2023-03-24 18:49 (UTC)
Last Updated: 2023-11-06 15:40 (UTC)

Latest Comments

TimRachul commented on 2023-11-19 21:03 (UTC)

Thanks for the upgrade, that worked again. Got another error, which i could fix when building this package. I don't get it 100%, but i'll try to explain it from my understanding:

It could also be a problem with my system, not 100% sure. Though i don't know why it would be.

https://pastebin.com/q6K8YwLY ^ Here a snippet of the log / relevant error part

I did that to fix the building:

echo $LD_LIBRARY_PATH

is by default empty and after a restart it's also empty.

Did than this:

export LD_LIBRARY_PATH=/usr/lib

verified if the libimagequant.so.0 is really missing:

ldconfig -p | grep libimagequant libimagequant.so.0.0.4 (libc6,x86-64) => /usr/lib/libimagequant.so.0.0.4 libimagequant.so (libc6,x86-64) => /usr/lib/libimagequant.so

^- so in fact like the error says, it's not there.

Dirty fix (not recommended):

sudo cp libimagequant.so /usr/lib/libimagequant.so.0

Then it build correctly. I removed this shitty simlink and after restarting echo $LD_LIBRARY_PATH is empty again like before on my system.

Just wanted to post here, so you maybe can look into that. In the meantime i set up a plain ARCH VM for some other PKGBUILD testing, so i'll try to verify, if the error is on my side ..

Thanks for maintaining the package anyway! :)

aquova commented on 2023-11-06 15:41 (UTC)

Thanks for the notice. It looks like the project changed the build process somewhat, so some files needed to go into different locations. I've updated the PKGBUILD to reflect this.

TimRachul commented on 2023-11-05 21:25 (UTC) (edited on 2023-11-05 21:26 (UTC) by TimRachul)

Hey, i get this error: (Even when the text shows it finds the zelda3.sfc in the pkgbuild directory at first)

➜ zelda3-git git:(master) ✗ makepkg -si ==> Making package: zelda3-git r312.a23632a-1 (Sun 05 Nov 2023 10:19:48 PM CET) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Cloning zelda3 git repo... Cloning into bare repository '/home/tim/zelda3-git/zelda3'... remote: Enumerating objects: 2945, done. remote: Counting objects: 100% (1228/1228), done. remote: Compressing objects: 100% (217/217), done. remote: Total 2945 (delta 1068), reused 1082 (delta 1006), pack-reused 1717 Receiving objects: 100% (2945/2945), 8.00 MiB | 11.58 MiB/s, done. Resolving deltas: 100% (1898/1898), done. -> Found zelda3.sfc ==> Validating source files with sha256sums... zelda3 ... Skipped zelda3.sfc ... Passed ==> Extracting sources... -> Creating working copy of zelda3 git repo... Cloning into 'zelda3'... done. ==> Starting prepare()... ==> Starting pkgver()... ==> Updated version: zelda3-git r314.fbbb3f9-1 ==> Starting build()... cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/ancilla.c -o src/ancilla.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/attract.c -o src/attract.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/audio.c -o src/audio.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/config.c -o src/config.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/dungeon.c -o src/dungeon.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/ending.c -o src/ending.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/glsl_shader.c -o src/glsl_shader.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/hud.c -o src/hud.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/load_gfx.c -o src/load_gfx.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/main.c -o src/main.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/messaging.c -o src/messaging.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/misc.c -o src/misc.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/nmi.c -o src/nmi.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/opengl.c -o src/opengl.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/overlord.c -o src/overlord.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/overworld.c -o src/overworld.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/player.c -o src/player.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/player_oam.c -o src/player_oam.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/poly.c -o src/poly.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/select_file.c -o src/select_file.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/spc_player.c -o src/spc_player.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/sprite.c -o src/sprite.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/sprite_main.c -o src/sprite_main.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/tagalong.c -o src/tagalong.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/tile_detect.c -o src/tile_detect.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/util.c -o src/util.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/zelda_cpu_infra.c -o src/zelda_cpu_infra.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 src/zelda_rtl.c -o src/zelda_rtl.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/apu.c -o snes/apu.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/cart.c -o snes/cart.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/cpu.c -o snes/cpu.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/dma.c -o snes/dma.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/dsp.c -o snes/dsp.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/input.c -o snes/input.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/ppu.c -o snes/ppu.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/snes.c -o snes/snes.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/snes_other.c -o snes/snes_other.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/spc.c -o snes/spc.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 snes/tracing.c -o snes/tracing.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 third_party/gl_core/gl_core_3_1.c -o third_party/gl_core/gl_core_3_1.o cc -c -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection -I . -I/usr/include/SDL2 -D_REENTRANT -DSYSTEM_VOLUME_MIXER_AVAILABLE=0 third_party/opus-1.3.1-stripped/opus_decoder_amalgam.c -o third_party/opus-1.3.1-stripped/opus_decoder_amalgam.o Extracting game resources /usr/bin/env python3 assets/restool.py --extract-from-rom cc src/ancilla.o src/attract.o src/audio.o src/config.o src/dungeon.o src/ending.o src/glsl_shader.o src/hud.o src/load_gfx.o src/main.o src/messaging.o src/misc.o src/nmi.o src/opengl.o src/overlord.o src/overworld.o src/player.o src/player_oam.o src/poly.o src/select_file.o src/spc_player.o src/sprite.o src/sprite_main.o src/tagalong.o src/tile_detect.o src/util.o src/zelda_cpu_infra.o src/zelda_rtl.o snes/apu.o snes/cart.o snes/cpu.o snes/dma.o snes/dsp.o snes/input.o snes/ppu.o snes/snes.o snes/snes_other.o snes/spc.o snes/tracing.o third_party/gl_core/gl_core_3_1.o third_party/opus-1.3.1-stripped/opus_decoder_amalgam.o -o zelda3 -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -fuse-ld=mold -L/usr/lib -lSDL2 -lm Traceback (most recent call last): File "/home/tim/zelda3-git/src/zelda3/assets/restool.py", line 34, in <module> ROM = util.load_rom(args.rom) ^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tim/zelda3-git/src/zelda3/assets/util.py", line 33, in load_rom ROM = LoadedRom(filename, support_multilanguage) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tim/zelda3-git/src/zelda3/assets/util.py", line 63, in init rom_path = self.__get_rom_path(path) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/tim/zelda3-git/src/zelda3/assets/util.py", line 125, in __get_rom_path raise Exception(f"Could not find any ROMs ({', '.join(COMMON_ROM_NAMES)}) at the default location {DEFAULT_ROM_DIRECTORY}.") ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Exception: Could not find any ROMs (zelda3.sfc, zelda3.smc) at the default location /home/tim/zelda3-git/src/zelda3/assets/... make: *** [Makefile:31: zelda3_assets.dat] Error 1 ==> ERROR: A failure occurred in build(). Aborting...

Could someone fix that? Thanks in advance. If you need any more information, please tell me.