Package Details: alex4 1.2.1-2

Git Clone URL: https://aur.archlinux.org/alex4.git (read-only, click to copy)
Package Base: alex4
Description: Help Alex the Allegator rescue Lola before the humans make a pair of shoes out of her!
Upstream URL: http://allegator.sourceforge.net
Keywords: game platformer
Licenses: GPL2
Submitter: None
Maintainer: carstene1ns
Last Packager: carstene1ns
Votes: 9
Popularity: 0.000000
First Submitted: 2011-05-26 12:00 (UTC)
Last Updated: 2021-05-24 11:58 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

1 2 3 Next › Last »

gameslayer commented on 2022-02-06 06:46 (UTC)

Please add aarch64 to the pkgbuild file :)

carstene1ns commented on 2021-05-24 11:59 (UTC)

@tototoro: Looks like you have missing data files.

New version should work with gcc 10.

tototoro commented on 2021-05-23 07:34 (UTC)

It built when I added -fcommon option to CFLAGS in Makefile. It segfaults when I run it:

Warning: Missing charsets in String to FontSet conversion
Warning: Missing charsets in String to FontSet conversion
Shutting down Allegro due to signal #11
Segmentation fault (core dumped)

gameslayer commented on 2021-03-20 13:24 (UTC) (edited on 2021-03-20 13:25 (UTC) by gameslayer)

Building alex4...
==> Making package: alex4 1.2.1-1 (Sat 20 Mar 2021 23:24:25)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found alex4-1.2.1.tar.gz
==> Validating source files with sha256sums...
    alex4-1.2.1.tar.gz ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting alex4-1.2.1.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
make: Entering directory '/var/tmp/pamac-build-corey/alex4/src/alex4-1.2.1'
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/main.o -c src/main.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/actor.o -c src/actor.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/bullet.o -c src/bullet.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/control.o -c src/control.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/edit.o -c src/edit.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/hisc.o -c src/hisc.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/map.o -c src/map.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/options.o -c src/options.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/particle.o -c src/particle.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/player.o -c src/player.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/script.o -c src/script.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/scroller.o -c src/scroller.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/shooter.o -c src/shooter.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/timer.o -c src/timer.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/token.o -c src/token.c
cc -D_FORTIFY_SOURCE=2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt `allegro-config --cflags` -DDATADIR=\"/usr/share/alex4/\" -o src/unix.o -c src/unix.c
cc -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o alex4 src/main.o src/actor.o src/bullet.o src/control.o src/edit.o src/hisc.o src/map.o src/options.o src/particle.o src/player.o src/script.o src/scroller.o src/shooter.o src/timer.o src/token.o src/unix.o -laldmb -ldumb `allegro-config --libs` -lm
/usr/bin/ld: src/actor.o:(.bss+0x1400): multiple definition of `particle'; src/main.o:(.bss+0x6260): first defined here
/usr/bin/ld: src/actor.o:(.bss+0x4448): multiple definition of `game_count'; src/main.o:(.bss+0x92a8): first defined here
/usr/bin/ld: src/actor.o:(.bss+0x0): multiple definition of `bullet'; src/main.o:(.bss+0x4e60): first defined here
/usr/bin/ld: src/actor.o:(.bss+0x4400): multiple definition of `player'; src/main.o:(.bss+0x9260): first defined here
/usr/bin/ld: src/actor.o:(.bss+0x444c): multiple definition of `cycle_count'; src/main.o:(.bss+0x92ac): first defined here
/usr/bin/ld: src/actor.o:(.bss+0x4450): multiple definition of `lps'; src/main.o:(.bss+0x92b0): first defined here
/usr/bin/ld: src/actor.o:(.bss+0x4454): multiple definition of `logic_count'; src/main.o:(.bss+0x92b4): first defined here
/usr/bin/ld: src/actor.o:(.bss+0x4458): multiple definition of `fps'; src/main.o:(.bss+0x92b8): first defined here
/usr/bin/ld: src/actor.o:(.bss+0x445c): multiple definition of `frame_count'; src/main.o:(.bss+0x92bc): first defined here
/usr/bin/ld: src/bullet.o:(.bss+0xc): multiple definition of `logic_count'; src/main.o:(.bss+0x92b4): first defined here
/usr/bin/ld: src/bullet.o:(.bss+0x1420): multiple definition of `particle'; src/main.o:(.bss+0x6260): first defined here
/usr/bin/ld: src/bullet.o:(.bss+0x0): multiple definition of `game_count'; src/main.o:(.bss+0x92a8): first defined here
/usr/bin/ld: src/bullet.o:(.bss+0x4): multiple definition of `cycle_count'; src/main.o:(.bss+0x92ac): first defined here
/usr/bin/ld: src/bullet.o:(.bss+0x8): multiple definition of `lps'; src/main.o:(.bss+0x92b0): first defined here
/usr/bin/ld: src/bullet.o:(.bss+0x10): multiple definition of `fps'; src/main.o:(.bss+0x92b8): first defined here
/usr/bin/ld: src/bullet.o:(.bss+0x14): multiple definition of `frame_count'; src/main.o:(.bss+0x92bc): first defined here
/usr/bin/ld: src/bullet.o:(.bss+0x20): multiple definition of `bullet'; src/main.o:(.bss+0x4e60): first defined here
/usr/bin/ld: src/edit.o:(.bss+0x8): multiple definition of `data'; src/main.o:(.bss+0x4df8): first defined here
/usr/bin/ld: src/edit.o:(.bss+0x430): multiple definition of `logic_count'; src/main.o:(.bss+0x92b4): first defined here
/usr/bin/ld: src/edit.o:(.bss+0x424): multiple definition of `game_count'; src/main.o:(.bss+0x92a8): first defined here
/usr/bin/ld: src/edit.o:(.bss+0x428): multiple definition of `cycle_count'; src/main.o:(.bss+0x92ac): first defined here
/usr/bin/ld: src/edit.o:(.bss+0x42c): multiple definition of `lps'; src/main.o:(.bss+0x92b0): first defined here
/usr/bin/ld: src/edit.o:(.bss+0x434): multiple definition of `fps'; src/main.o:(.bss+0x92b8): first defined here
/usr/bin/ld: src/edit.o:(.bss+0x438): multiple definition of `frame_count'; src/main.o:(.bss+0x92bc): first defined here
/usr/bin/ld: src/map.o:(.bss+0x0): multiple definition of `game_count'; src/main.o:(.bss+0x92a8): first defined here
/usr/bin/ld: src/map.o:(.bss+0x4): multiple definition of `cycle_count'; src/main.o:(.bss+0x92ac): first defined here
/usr/bin/ld: src/map.o:(.bss+0x8): multiple definition of `lps'; src/main.o:(.bss+0x92b0): first defined here
/usr/bin/ld: src/map.o:(.bss+0xc): multiple definition of `logic_count'; src/main.o:(.bss+0x92b4): first defined here
/usr/bin/ld: src/map.o:(.bss+0x10): multiple definition of `fps'; src/main.o:(.bss+0x92b8): first defined here
/usr/bin/ld: src/map.o:(.bss+0x14): multiple definition of `frame_count'; src/main.o:(.bss+0x92bc): first defined here
/usr/bin/ld: src/particle.o:(.bss+0x0): multiple definition of `data'; src/main.o:(.bss+0x4df8): first defined here
/usr/bin/ld: src/particle.o:(.bss+0x20): multiple definition of `particle'; src/main.o:(.bss+0x6260): first defined here
/usr/bin/ld: src/player.o:(.bss+0x0): multiple definition of `game_count'; src/main.o:(.bss+0x92a8): first defined here
/usr/bin/ld: src/player.o:(.bss+0x4): multiple definition of `cycle_count'; src/main.o:(.bss+0x92ac): first defined here
/usr/bin/ld: src/player.o:(.bss+0x8): multiple definition of `lps'; src/main.o:(.bss+0x92b0): first defined here
/usr/bin/ld: src/player.o:(.bss+0xc): multiple definition of `logic_count'; src/main.o:(.bss+0x92b4): first defined here
/usr/bin/ld: src/player.o:(.bss+0x10): multiple definition of `fps'; src/main.o:(.bss+0x92b8): first defined here
/usr/bin/ld: src/player.o:(.bss+0x14): multiple definition of `frame_count'; src/main.o:(.bss+0x92bc): first defined here
/usr/bin/ld: src/player.o:(.bss+0x20): multiple definition of `player'; src/main.o:(.bss+0x9260): first defined here
/usr/bin/ld: src/script.o:(.bss+0x2c): multiple definition of `cycle_count'; src/main.o:(.bss+0x92ac): first defined here
/usr/bin/ld: src/script.o:(.bss+0x20): multiple definition of `data'; src/main.o:(.bss+0x4df8): first defined here
/usr/bin/ld: src/script.o:(.bss+0x40): multiple definition of `active_sounds'; src/main.o:(.bss+0x4e20): first defined here
/usr/bin/ld: src/script.o:(.bss+0x34): multiple definition of `logic_count'; src/main.o:(.bss+0x92b4): first defined here
/usr/bin/ld: src/script.o:(.bss+0x28): multiple definition of `game_count'; src/main.o:(.bss+0x92a8): first defined here
/usr/bin/ld: src/script.o:(.bss+0x30): multiple definition of `lps'; src/main.o:(.bss+0x92b0): first defined here
/usr/bin/ld: src/script.o:(.bss+0x38): multiple definition of `fps'; src/main.o:(.bss+0x92b8): first defined here
/usr/bin/ld: src/script.o:(.bss+0x3c): multiple definition of `frame_count'; src/main.o:(.bss+0x92bc): first defined here
/usr/bin/ld: src/shooter.o:(.bss+0x14c70): multiple definition of `game_count'; src/main.o:(.bss+0x92a8): first defined here
/usr/bin/ld: src/shooter.o:(.bss+0x14c74): multiple definition of `cycle_count'; src/main.o:(.bss+0x92ac): first defined here
/usr/bin/ld: src/shooter.o:(.bss+0x14c7c): multiple definition of `logic_count'; src/main.o:(.bss+0x92b4): first defined here
/usr/bin/ld: src/shooter.o:(.bss+0x14c84): multiple definition of `frame_count'; src/main.o:(.bss+0x92bc): first defined here
/usr/bin/ld: src/shooter.o:(.bss+0x14c78): multiple definition of `lps'; src/main.o:(.bss+0x92b0): first defined here
/usr/bin/ld: src/shooter.o:(.bss+0x14c80): multiple definition of `fps'; src/main.o:(.bss+0x92b8): first defined here
/usr/bin/ld: src/timer.o:(.bss+0x14): multiple definition of `frame_count'; src/main.o:(.bss+0x92bc): first defined here
/usr/bin/ld: src/timer.o:(.bss+0x10): multiple definition of `fps'; src/main.o:(.bss+0x92b8): first defined here
/usr/bin/ld: src/timer.o:(.bss+0xc): multiple definition of `logic_count'; src/main.o:(.bss+0x92b4): first defined here
/usr/bin/ld: src/timer.o:(.bss+0x8): multiple definition of `lps'; src/main.o:(.bss+0x92b0): first defined here
/usr/bin/ld: src/timer.o:(.bss+0x4): multiple definition of `cycle_count'; src/main.o:(.bss+0x92ac): first defined here
/usr/bin/ld: src/timer.o:(.bss+0x0): multiple definition of `game_count'; src/main.o:(.bss+0x92a8): first defined here
collect2: error: ld returned 1 exit status
make: *** [Makefile:28: alex4] Error 1
make: Leaving directory '/var/tmp/pamac-build-corey/alex4/src/alex4-1.2.1'
==> ERROR: A failure occurred in build().
    Aborting...

carstene1ns commented on 2019-06-02 16:44 (UTC)

@archius: Sorry for the late reply. This should be fixed in the new version.

archius commented on 2019-04-28 08:02 (UTC)

This package fails to build, as the functions fmul, fsin and fcos have been renamed to fixmul, fixsin und fixcos in order to avoid conflicts with libc, see https://liballeg.org/stabledocs/en/api.html -> "Deprecated materials".

I suggest to replace them in the affected files via changed build-section:

build() { cd $pkgname-${pkgver%.*}-alpha/src sed -i 's/fmul/fixmul/g' shooter.c main.c sed -i 's/fsin/fixsin/g' shooter.c main.c sed -i 's/fcos/fixcos/g' shooter.c main.c make PREFIX=/usr }

carstene1ns commented on 2017-11-01 00:45 (UTC)

This now works again using the `aldumb` glue package. I have switched the source now to my personal fork, where I applied all compatibility patches I found.

NoSuck commented on 2017-10-26 05:23 (UTC)

This package fails to build, as Community's dumb package no longer provides support for Allegro 4. Discussion is taking place here: https://github.com/kode54/dumb/issues/75#issuecomment-339353093