#4741: Bulid failure from Github Zip file
------------------------------------+-------------------------
Reporter: OFelix | Owner:
Type: bug | Status: new
Priority: normal | Milestone: unspecified
Component: other | Version: unspecified
Operating System: GNU/Linux 64bit |
------------------------------------+-------------------------
System: Kubuntu 17.10 x64
If I download the zip file from the Github "Clone or Download" button the
package fails to build.
However, it builds okay if I download using: "git clone --depth 1
https://github.com/Warzone2100/warzone2100.git"
I attempted a crude comparison looking for missing files in the zip folder
structure compared to the git download but could not find any.
The build failure from the Zip file is:
mv -f $depbase.Tpo $depbase.Po
g++ -O0 -ggdb -Werror -Wno-enum-compare -Wall -Wextra -Wno-unused-
parameter -Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith
-Wno-format-security -Wno-expansion-to-defined -I/usr/include/harfbuzz
-I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include
-I/usr/include/freetype2 -I/usr/include/x86_64-linux-gnu/qt5/QtWidgets
-I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64-linux-
gnu/qt5/QtGui -I/usr/include/x86_64-linux-gnu/qt5 -I/usr/include/x86_64
-linux-gnu/qt5/QtScript -I/usr/include/x86_64-linux-gnu/qt5
-I/usr/include/x86_64-linux-gnu/qt5/QtCore -I/usr/include/x86_64-linux-
gnu/qt5 -I../.. -fPIC -std=c++11 -fstack-protector -lz -rdynamic -fPIC
-lpthread -o map2png map2png.o mapload.o maplib.o pngsave.o -lphysfs
-lpng16 -lz -lQt5Widgets -lQt5Gui -lQt5Script -lQt5Core
make[3]: Leaving directory '/home/felix/wz/warzone2100-master/tools/map'
make[2]: Leaving directory '/home/felix/wz/warzone2100-master/tools/map'
Making all in src
make[2]: Entering directory '/home/felix/wz/warzone2100-master/src'
cd .. && ./build_tools/autorevision -t h -o
"/home/felix/wz/warzone2100-master/src/autorevision.cache" >
"/home/felix/wz/warzone2100-master/src/autorevision.h.new"
error: No repo or cache detected.
Makefile:1234: recipe for target 'autorevision.h' failed
make[2]: *** [autorevision.h] Error 1
make[2]: Leaving directory '/home/felix/wz/warzone2100-master/src'
Makefile:584: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/felix/wz/warzone2100-master'
Makefile:504: recipe for target 'all' failed
make: *** [all] Error 2
--
Ticket URL: <http://developer.wz2100.net/ticket/4741>
Warzone 2100 Trac <http://developer.wz2100.net/>
The Warzone 2100 Project
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Warzone2100-project mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/warzone2100-project