Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 327763 - games-puzzle/enigma-1.01 fails to build with net-libs/enet-1.3.0 (enet.h:498: error: too few arguments to function)
Summary: games-puzzle/enigma-1.01 fails to build with net-libs/enet-1.3.0 (enet.h:498:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: AMD64 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-11 09:24 UTC by Markus Walter
Modified: 2010-07-15 21:52 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log for merge of enigma (build.log,43.96 KB, text/plain)
2010-07-11 09:24 UTC, Markus Walter
Details
my emerge --info (info.txt,4.14 KB, text/plain)
2010-07-11 09:25 UTC, Markus Walter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2010-07-11 09:24:04 UTC
If I try to emerge the enigma on current unstable I get the following error:

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o actors.o actors.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o client.o client.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o DOMErrorReporter.o DOMErrorReporter.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o DOMSchemaResolver.o DOMSchemaResolver.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o d_models.o d_models.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o display.o display.cc
d_models.cc: In function 'void display::InitModels()':
d_models.cc:207: warning: format not a string literal and no format arguments
d_models.cc:221: warning: format not a string literal and no format arguments
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o editor.o editor.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o enigma.o enigma.cc
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.     -O2 -pipe -march=native -ggdb -DENABLE_ASSERT -DCXXLUA -DSYSTEM_DATA_DIR=\"/usr/share/games/enigma\" -DLOCALEDIR=\"/usr/share/locale\" -I../lib-src/zipios++ -I../lib-src/zipios++ -I../lib-src/lua -I../lib-src/enigma-core -I../lib-src -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o file.o file.cc
/usr/include/enet/enet.h: In member function 'bool<unnamed>::Client::network_start()':
/usr/include/enet/enet.h:498: error: too few arguments to function 'ENetHost* enet_host_create(const ENetAddress*, size_t, size_t, enet_uint32, enet_uint32)'
client.cc:132: error: at this point in file
/usr/include/enet/enet.h:500: error: too few arguments to function 'ENetPeer* enet_host_connect(ENetHost*, const ENetAddress*, size_t, enet_uint32)'
client.cc:151: error: at this point in file

If I downgrade enet to 1.2.1 everything works fine. Enigma is the only thing that depends on enet on my system. Build log and info attached.
Comment 1 Markus Walter 2010-07-11 09:24:40 UTC
Created attachment 238279 [details]
build log for merge of enigma
Comment 2 Markus Walter 2010-07-11 09:25:11 UTC
Created attachment 238283 [details]
my emerge --info

my system is ~amd64
Comment 3 Azamat H. Hackimov 2010-07-11 18:31:13 UTC
In enet-1.3.0 changed API for two functions - enet_host_connect() and enet_host_create(). Both now require more arguments, so all packages, that require enet will fail to compile.
Comment 4 Markus Walter 2010-07-15 21:52:30 UTC
Ah, enet is now slotted and enigma has the correct dependency. So this should be fixed.