Building 1.14 failed on Debian Sid

Get help with compiling or installing the game, and discuss announcements of new official releases.

Moderator: Forum Moderators

Post Reply
Paranoid
Posts: 8
Joined: November 29th, 2014, 2:25 pm

Building 1.14 failed on Debian Sid

Post by Paranoid »

Aloha,

build process of 1.14 failed around 78%:

Code: Select all

Building CXX object src/CMakeFiles/lua.dir/lua_jailbreak_exception.cpp.o
c++: error: for: No such file or directory
c++: error: Wesnoth/wesnoth-1.14.0/src/wesnoth_lua_config.h: No such file or directory
make[2]: *** [src/CMakeFiles/lua.dir/build.make:64: src/CMakeFiles/lua.dir/lua_jailbreak_exception.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:363: src/CMakeFiles/lua.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
Any ideas?
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Building 1.14 failed on Debian Sid

Post by Pentarctagon »

Moved to Release Announcements, Compiling & Installation. Also posting the whole log(via pastebin or a similar site) as well as the commands run is needed.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Paranoid
Posts: 8
Joined: November 29th, 2014, 2:25 pm

Re: Building 1.14 failed on Debian Sid

Post by Paranoid »

First i tried to build 1.14 using cmake && make. Build failed, see attached log.
Afterwards i try to build using scons. No problems.
Attachments
build.log
(102.41 KiB) Downloaded 515 times
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Building 1.14 failed on Debian Sid

Post by Pentarctagon »

What does it show if you do make VERBOSE=1?
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Paranoid
Posts: 8
Joined: November 29th, 2014, 2:25 pm

Re: Building 1.14 failed on Debian Sid

Post by Paranoid »

I'm paranoid (somewhat). So I had to scramble the build path, but i guess it will be ok.
Attachments
verbose.log.7z
(15.98 KiB) Downloaded 514 times
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Building 1.14 failed on Debian Sid

Post by Pentarctagon »

I don't actually see any errors in there, strangely. The one thing I do notice though is the first line has the -H and -B options set, which I don't have when I run cmake locally and it succeeds.
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Paranoid
Posts: 8
Joined: November 29th, 2014, 2:25 pm

Re: Building 1.14 failed on Debian Sid

Post by Paranoid »

Haha. Some funny news.
I played around and changed the pathname, deleting whitespaces. And now cmake && make are doin well. It's kinda strange cause i've done builds of 1.10 and 1.12 series (most recently 1.10.7 and 1.12.5) in the same path without problems.
User avatar
Pentarctagon
Project Manager
Posts: 5496
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: Building 1.14 failed on Debian Sid

Post by Pentarctagon »

Paranoid wrote: May 3rd, 2018, 8:23 am Haha. Some funny news.
I played around and changed the pathname, deleting whitespaces. And now cmake && make are doin well. It's kinda strange cause i've done builds of 1.10 and 1.12 series (most recently 1.10.7 and 1.12.5) in the same path without problems.
Thanks for replying with what fixed it for you - the root problem has been fixed as well :)
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
Post Reply