-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Build can fail on system with different awk #52
Comments
A quick patch for this would be:
If you have A more substantial fix would be updating the |
Edit: This patch is useless after
diff --git a/Makefile.am b/Makefile.am
index 9a72596..4a4ed7d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -21,7 +21,7 @@ PACK_NAME = $(TARGET)-$(VERSION)-$(OS)-$(MACHINE)
PALETTE_PATH = "./static/palette.gpl"
# Source files
-helapordo_SOURCES = src/helapordo.c src/game_core.c src/game_utils.c src/game_curses.c src/rooms.c src/artifacts.c src/specials.c src/main.c src/sprites.c src/floors.c sprites4curses/s4c-animate/animate.c koliseo/src/koliseo.c src/anvil__helapordo.c src/animations/mummy_shuffle.c src/animations/ghost_spell.c src/animations/boar_scream.c src/animations/troll_club.c src/animations/goblin_shoot.c src/animations/zombie_walk.c src/animations/imp_fireball.c src/animations/werewolf_transform.c src/animations/knight_tapis.c src/animations/mage_spark.c src/animations/archer_drop.c src/animations/assassin_poof.c src/animations/crawlingdude_crawl.c src/animations/srwarthog_square.c src/animations/headlessninja_throw.c src/animations/bluetroll_wonder.c src/animations/enter_door.c src/animations/alt_chest_opening.c src/game_lore.c src/game_lore_alt.c src/palette.c
+helapordo_SOURCES = src/helapordo.c src/game_core.c src/game_utils.c src/game_curses.c src/rooms.c src/artifacts.c src/specials.c src/main.c src/sprites.c src/floors.c sprites4curses/s4c-animate/animate.c koliseo/src/koliseo.c src/animations/mummy_shuffle.c src/animations/ghost_spell.c src/animations/boar_scream.c src/animations/troll_club.c src/animations/goblin_shoot.c src/animations/zombie_walk.c src/animations/imp_fireball.c src/animations/werewolf_transform.c src/animations/knight_tapis.c src/animations/mage_spark.c src/animations/archer_drop.c src/animations/assassin_poof.c src/animations/crawlingdude_crawl.c src/animations/srwarthog_square.c src/animations/headlessninja_throw.c src/animations/bluetroll_wonder.c src/animations/enter_door.c src/animations/alt_chest_opening.c src/game_lore.c src/game_lore_alt.c src/palette.c
# Linking rule
LDADD = $(HELAPORDO_LDFLAGS)
@@ -194,7 +194,7 @@ cleanob:
@echo -e "\033[1;33mDone.\e[0m"
# Default target (builds everything)
-all: ./anvil ./src/anvil__helapordo.c ./src/palette.c ./koliseo/src/koliseo.o ./sprites4curses/s4c-animate/animate.o $(TARGET)
+all: ./src/palette.c ./koliseo/src/koliseo.o ./sprites4curses/s4c-animate/animate.o $(TARGET)
# Target to clean and rebuild
rebuild: clean all
diff --git a/src/helapordo.h b/src/helapordo.h
index fa50d35..42e800a 100644
--- a/src/helapordo.h
+++ b/src/helapordo.h
@@ -52,7 +52,7 @@
#include "game_curses.h"
#include "sprites.h"
#include "floors.h"
-#include "anvil__helapordo.h"
+//#include "anvil__helapordo.h"
#include "game_lore.h"
#include "game_lore_alt.h" |
Since reverting the included To do things properly ,the |
Version |
Version
You can use |
Version |
…'t use KLS_Region (#78) ### Added - Print run seed when exiting from `retry()` - **Experimental**: these features are only available when running with `-X` flag. - Experimental features are bound to change soon. Don't expect full backwards-compatibility when using them. - Icon indicators for when you have an equipped item - The emojis can be turned off by passing `--enable-emoji=no` to `./configure` when building. - Updates should be noted on #77. - **Save/Load using binary files** - Tailored to `Rogue` gamemode, whereas before save was not working in that mode - Added all `packed` `SerXYZ` structures for saving/loading - Added `ser_XYZ/deser_XYZ()` functions for conversion - Updates should be noted on #66 ### Changed - Add `--enable-anvil` configure option to allow easy building without `anvil` - Should improve #52 considerably. Switching the default value for the enable flag could be considered. - Bump `koliseo` to `0.4.1` - Use `kls_conf_init()` to prep the used `Koliseo`s - **Now, only the debug build uses `KLS_Region`.** - **This should make the release version avoid all that extra jazz on the arena.** - Added `seed` field to `Path`. - Updated `installer` to `0.1.2` - Now creates `hlpd-1`, `hlpd-2`, `hlpd-3` directories, used for `Saveslot` handling. - Added `FLOORMENU_SAVE` to `saveType`. - Updated `const.c` test - Bump `amboso` to `2.0.5` - Should improve #52 by using a more recent `bash` on `macOS`, if the shell setup was done ### Fixes - Use `strlen()` for `whoami` push
Version |
Describe the bug
Since building needs
anvil
to generate its template header, it seems on some platforms build might fail due toanvil
relying onawk
to parse its config file.To Reproduce
Steps to reproduce the behavior:
awk invalid syntax
errorsExpected behavior
Build succeeds even if
awk
fails.Linux
>= 1.3.0
Additional context
See the related issue on amboso
My version of
awk
(working):Version of
awk
on the reporter machine:The text was updated successfully, but these errors were encountered: