Skip to content

Instantly share code, notes, and snippets.

@winny-
Created March 23, 2017 17:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save winny-/f9cb9f0dc9ac0686e3b66616504c8863 to your computer and use it in GitHub Desktop.
Save winny-/f9cb9f0dc9ac0686e3b66616504c8863 to your computer and use it in GitHub Desktop.
brogue 1.7.4-1 (2015-06-13 04:27)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y
==> brogue dependencies:
- sdl (already installed)
- libtcod (already installed)
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> y
==> brogue dependencies:
- sdl (already installed)
- libtcod (already installed)
==> Edit brogue.install ? [Y/n] ("A" to abort)
==> ------------------------------------------
==> y
==> Continue building brogue ? [Y/n]
==> --------------------------------
==>
==> Building and installing package
==> Making package: brogue 1.7.4-1 (Thu Mar 23 12:55:00 CDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading brogue-1.7.4-linux-i386.tbz2...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 266 0 266 0 0 1381 0 --:--:-- --:--:-- --:--:-- 1385
100 560 0 560 0 0 2076 0 --:--:-- --:--:-- --:--:-- 2076
100 3372k 100 3372k 0 0 1145k 0 0:00:02 0:00:02 --:--:-- 1523k
-> Found brogue.sh
==> Validating source files with md5sums...
brogue-1.7.4-linux-i386.tbz2 ... Passed
brogue.sh ... Passed
==> Extracting sources...
-> Extracting brogue-1.7.4-linux-i386.tbz2 with bsdtar
==> Starting build()...
./brogue: error while loading shared libraries: libncurses.so.5: wrong ELF class: ELFCLASS64
rm -f src/brogue/*.o src/platform/*.o bin/brogue
./brogue: line 4: ./brogue: No such file or directory
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Architect.o -c src/brogue/Architect.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Combat.o -c src/brogue/Combat.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Dijkstra.o -c src/brogue/Dijkstra.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Globals.o -c src/brogue/Globals.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/IO.o -c src/brogue/IO.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Items.o -c src/brogue/Items.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Light.o -c src/brogue/Light.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Monsters.o -c src/brogue/Monsters.c
src/brogue/Globals.c:72:0: warning: ignoring #pragma mark Colors [-Wunknown-pragmas]
#pragma mark Colors
src/brogue/Globals.c:359:0: warning: ignoring #pragma mark Dynamic [-Wunknown-pragmas]
#pragma mark Dynamic color references
src/brogue/Globals.c:371:0: warning: ignoring #pragma mark Autogenerator [-Wunknown-pragmas]
#pragma mark Autogenerator definitions
src/brogue/Globals.c:435:0: warning: ignoring #pragma mark Terrain [-Wunknown-pragmas]
#pragma mark Terrain definitions
src/brogue/Architect.c: In function ‘addMachines’:
src/brogue/Architect.c:1681:55: warning: passing argument 4 of ‘buildAMachine’ makes integer from pointer without a cast [-Wint-conversion]
if (buildAMachine(MT_AMULET_AREA, -1, -1, NULL, NULL, NULL, NULL)) {
^~~~
src/brogue/Architect.c:935:9: note: expected ‘long unsigned int’ but argument is of type ‘void *’
boolean buildAMachine(enum machineTypes bp,
^~~~~~~~~~~~~
src/brogue/Globals.c:690:0: warning: ignoring #pragma mark Dungeon [-Wunknown-pragmas]
#pragma mark Dungeon Feature definitions
src/brogue/Globals.c:1010:0: warning: ignoring #pragma mark Dungeon [-Wunknown-pragmas]
#pragma mark Dungeon Profiles
src/brogue/Globals.c:1032:0: warning: ignoring #pragma mark Lights [-Wunknown-pragmas]
#pragma mark Lights
src/brogue/Globals.c:1101:0: warning: ignoring #pragma mark Blueprints [-Wunknown-pragmas]
#pragma mark Blueprints
src/brogue/Globals.c:1545:0: warning: ignoring #pragma mark Monster [-Wunknown-pragmas]
#pragma mark Monster definitions
src/brogue/Globals.c:1692:0: warning: ignoring #pragma mark Monster [-Wunknown-pragmas]
#pragma mark Monster words
src/brogue/Globals.c:1926:0: warning: ignoring #pragma mark Mutation [-Wunknown-pragmas]
#pragma mark Mutation definitions
src/brogue/Globals.c:1948:0: warning: ignoring #pragma mark Horde [-Wunknown-pragmas]
#pragma mark Horde definitions
src/brogue/Globals.c:2147:0: warning: ignoring #pragma mark Monster [-Wunknown-pragmas]
#pragma mark Monster class definitions
src/brogue/Globals.c:2168:0: warning: ignoring #pragma mark Item [-Wunknown-pragmas]
#pragma mark Item flavors
src/brogue/Globals.c:2288:0: warning: ignoring #pragma mark Item [-Wunknown-pragmas]
#pragma mark Item definitions
src/brogue/Items.c: In function ‘getLineCoordinates’:
src/brogue/Items.c:3318:23: warning: variable ‘previousLoc’ set but not used [-Wunused-but-set-variable]
short currentLoc[2], previousLoc[2];
^~~~~~~~~~~
src/brogue/Globals.c:2459:0: warning: ignoring #pragma mark Bolt [-Wunknown-pragmas]
#pragma mark Bolt definitions
src/brogue/Globals.c:2496:0: warning: ignoring #pragma mark Feat [-Wunknown-pragmas]
#pragma mark Feat definitions
src/brogue/Globals.c:2512:0: warning: ignoring #pragma mark Miscellaneous [-Wunknown-pragmas]
#pragma mark Miscellaneous definitions
src/brogue/IO.c: In function ‘actionMenu’:
src/brogue/IO.c:390:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Buttons.o -c src/brogue/Buttons.c
src/brogue/Items.c: In function ‘throwCommand’:
src/brogue/Items.c:5749:35: warning: variable ‘originLoc’ set but not used [-Wunused-but-set-variable]
short maxDistance, zapTarget[2], originLoc[2], quantity;
^~~~~~~~~
src/brogue/Monsters.c: In function ‘monsterDetails’:
src/brogue/Monsters.c:3991:20: warning: variable ‘displayedItemText’ set but not used [-Wunused-but-set-variable]
boolean anyFlags, displayedItemText = false, alreadyDisplayedDominationText = false;
^~~~~~~~~~~~~~~~~
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Movement.o -c src/brogue/Movement.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Recordings.o -c src/brogue/Recordings.c
src/brogue/Buttons.c: In function ‘buttonInputLoop’:
src/brogue/Buttons.c:327:8: warning: variable ‘x’ set but not used [-Wunused-but-set-variable]
short x, y, button; // (x, y) keeps track of the mouse location
^
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/RogueMain.o -c src/brogue/RogueMain.c
src/brogue/Recordings.c:31:0: warning: ignoring #pragma mark Recording [-Wunknown-pragmas]
#pragma mark Recording functions
src/brogue/Recordings.c:235:0: warning: ignoring #pragma mark Playback [-Wunknown-pragmas]
#pragma mark Playback functions
src/brogue/Recordings.c:442:0: warning: ignoring #pragma mark Hybrid [-Wunknown-pragmas]
#pragma mark Hybrid and miscellaneous
src/brogue/Recordings.c: In function ‘pausePlayback’:
src/brogue/Recordings.c:722:11: warning: variable ‘oldRNG’ set but not used [-Wunused-but-set-variable]
short oldRNG;
^~~~~~
src/brogue/Recordings.c: At top level:
src/brogue/Recordings.c:1173:0: warning: ignoring #pragma mark Debug [-Wunknown-pragmas]
#pragma mark Debug functions
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Random.o -c src/brogue/Random.c
src/brogue/RogueMain.c: In function ‘startLevel’:
src/brogue/RogueMain.c:880:55: warning: passing argument 7 of ‘getQualifyingPathLocNear’ makes integer from pointer without a cast [-Wint-conversion]
T_DIVIDES_LEVEL, NULL,
^~~~
In file included from src/brogue/RogueMain.c:24:0:
src/brogue/Rogue.h:3026:13: note: expected ‘long unsigned int’ but argument is of type ‘void *’
boolean getQualifyingPathLocNear(short *retValX, short *retValY,
^~~~~~~~~~~~~~~~~~~~~~~~
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/MainMenu.o -c src/brogue/MainMenu.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Grid.o -c src/brogue/Grid.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/brogue/Time.o -c src/brogue/Time.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/platform/main.o -c src/platform/main.c
In file included from src/platform/main.c:4:0:
src/libtcod-1.5.2/include/libtcod.h:131:0: warning: "false" redefined
#define false ((bool)0)
In file included from src/platform/platform.h:1:0,
from src/platform/main.c:1:
src/brogue/Rogue.h:77:0: note: this is the location of the previous definition
#define false 0
In file included from src/platform/main.c:4:0:
src/libtcod-1.5.2/include/libtcod.h:132:0: warning: "true" redefined
#define true ((bool)1)
In file included from src/platform/platform.h:1:0,
from src/platform/main.c:1:
src/brogue/Rogue.h:78:0: note: this is the location of the previous definition
#define true 1
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/platform/platformdependent.o -c src/platform/platformdependent.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/platform/curses-platform.o -c src/platform/curses-platform.c
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/platform/tcod-platform.o -c src/platform/tcod-platform.c
src/platform/platformdependent.c: In function ‘loadKeymap’:
src/platform/platformdependent.c:170:9: warning: implicit declaration of function ‘isspace’ [-Wimplicit-function-declaration]
if (isspace(buffer[i])) {
^~~~~~~
In file included from src/platform/platform.h:1:0,
from src/platform/tcod-platform.c:7:
src/brogue/Rogue.h:77:0: warning: "false" redefined
#define false 0
In file included from src/platform/tcod-platform.c:6:0:
src/libtcod-1.5.2/include/libtcod.h:131:0: note: this is the location of the previous definition
#define false ((bool)0)
In file included from src/platform/platform.h:1:0,
from src/platform/tcod-platform.c:7:
src/brogue/Rogue.h:78:0: warning: "true" redefined
#define true 1
In file included from src/platform/tcod-platform.c:6:0:
src/libtcod-1.5.2/include/libtcod.h:132:0: note: this is the location of the previous definition
#define true ((bool)1)
src/platform/tcod-platform.c: In function ‘tcod_nextKeyOrMouseEvent’:
src/platform/tcod-platform.c:360:10: warning: variable ‘tryAgain’ set but not used [-Wunused-but-set-variable]
boolean tryAgain;
^~~~~~~~
cc -Isrc/brogue -Isrc/platform -Wall -Wno-parentheses -DBROGUE_TCOD -Isrc/libtcod-1.5.2/include -DBROGUE_CURSES -g -o src/platform/term.o -c src/platform/term.c
src/platform/term.c:391:12: warning: ‘coerce_color’ defined but not used [-Wunused-function]
static int coerce_color (fcolor *fg, fcolor *bg) {
^~~~~~~~~~~~
src/platform/term.c:291:14: warning: ‘adamsDistance’ defined but not used [-Wunused-function]
static float adamsDistance(CIE *v1, CIE *v2) {
^~~~~~~~~~~~~
src/platform/term.c:286:14: warning: ‘CIExyY’ defined but not used [-Wunused-function]
static float CIExyY(CIE *L1, CIE *L2) {
^~~~~~
src/platform/term.c:121:13: warning: ‘term_enable_bracketed_paste’ defined but not used [-Wunused-function]
static void term_enable_bracketed_paste( ) {
^~~~~~~~~~~~~~~~~~~~~~~~~~~
cc -O2 -march=i586 -o bin/brogue src/brogue/Architect.o src/brogue/Combat.o src/brogue/Dijkstra.o src/brogue/Globals.o src/brogue/IO.o src/brogue/Items.o src/brogue/Light.o src/brogue/Monsters.o src/brogue/Buttons.o src/brogue/Movement.o src/brogue/Recordings.o src/brogue/RogueMain.o src/brogue/Random.o src/brogue/MainMenu.o src/brogue/Grid.o src/brogue/Time.o src/platform/main.o src/platform/platformdependent.o src/platform/curses-platform.o src/platform/tcod-platform.o src/platform/term.o -L. -Lsrc/libtcod-1.5.2 `sdl-config --cflags` `sdl-config --libs` -ltcod -Wl,-rpath,. -lncurses -lm -Wl,-rpath,.
src/platform/tcod-platform.o: In function `loadFont':
/tmp/yaourt-tmp-winston/aur-brogue/src/brogue-1.7.4/src/platform/tcod-platform.c:60: undefined reference to `TCOD_console_set_keyboard_repeat'
collect2: error: ld returned 1 exit status
make: *** [Makefile:84: bin/brogue] Error 1
==> ERROR: A failure occurred in build().
Aborting...
==> ERROR: Makepkg was unable to build brogue.
==> Restart building brogue ? [y/N]
==> -------------------------------
==>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment