Please fix:
-> Version found: 1074
...
[ 25%] Building CXX object src/CMakeFiles/GiGi.dir/GUI.cpp.o
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from /usr/src/wookies/gigi-svn/src/gigi-build/src/GUI.cpp:44:
/usr/include/boost/thread/xtime.hpp:23:5: error: expected identifier before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected ‘}’ before numeric constant
/usr/include/boost/thread/xtime.hpp:23:5: error: expected unqualified-id before numeric constant
/usr/include/boost/thread/xtime.hpp:46:14: error: expected type-specifier before ‘system_time’
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from /usr/src/wookies/gigi-svn/src/gigi-build/src/GUI.cpp:44:
/usr/include/boost/thread/xtime.hpp: In function ‘int xtime_get(xtime*, int)’:
/usr/include/boost/thread/xtime.hpp:73:40: error: ‘get_system_time’ was not declared in this scope
/usr/include/boost/thread/xtime.hpp:73:40: note: suggested alternative:
In file included from /usr/include/boost/thread/locks.hpp:12:0,
from /usr/include/boost/thread/pthread/mutex.hpp:12,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from /usr/src/wookies/gigi-svn/src/gigi-build/src/GUI.cpp:44:
/usr/include/boost/thread/thread_time.hpp:19:24: note: ‘boost::get_system_time’
In file included from /usr/include/boost/thread/pthread/mutex.hpp:14:0,
from /usr/include/boost/thread/mutex.hpp:16,
from /usr/include/boost/thread/pthread/thread_data.hpp:12,
from /usr/include/boost/thread/thread.hpp:17,
from /usr/include/boost/thread.hpp:13,
from /usr/src/wookies/gigi-svn/src/gigi-build/src/GUI.cpp:44:
/usr/include/boost/thread/xtime.hpp: At global scope:
/usr/include/boost/thread/xtime.hpp:88:1: error: expected declaration before ‘}’ token
make[2]: *** [src/CMakeFiles/GiGi.dir/GUI.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/GiGi.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Search Criteria
Package Details: gigi-svn 5894-1
Package Actions
| Package Base: | gigi-svn |
|---|---|
| Description: | A C++ OpenGL GUI library (FreeOrion fork) |
| Upstream URL: | http://www.freeorion.org/ |
| Category: | lib |
| Licenses: | |
| Submitter: | None |
| Maintainer: | None |
| Last Packager: | None |
| Votes: | 12 |
| First Submitted: | 2008-10-20 05:25 |
| Last Updated: | 2013-04-11 15:21 |
Dependencies (5)
- boost-libs>=1.47.0
- devil-ilut
- libltdl
- ogre
- sdl
Required by (0)
Sources
- devil.patch
- system.ltdl.patch
Latest Comments
Comment by wookietreiber
Comment by guini
The problem with boost 1.48 is fixed in the svn. So no need for the patche anymore.
The doxygen problem can be fixed by adding "-D BUILD_DOCUMENTATION=OFF".
Comment by guini
I created a patch so gigi compiles with boost 1.48.0.
It just replaces move() with adobe::move() in some places.
Here is the patch and the modified PKGBUILD if someone needs it:
https://rapidshare.com/files/4018802043/gigi-svn-1072-1.src.tar.gz
Anonymous comment
Downgrade of boost works well. Another Issue was. Build failes when "doxygen" is installed.
something like "can't find src/gigi-build/doc/GG" during install
Anonymous comment
I also had build fails on x86_x64, this happened after upgrading boost.
I downgraded package boost (1.48.0-2 => 1.47.0-3) and now I can makepkg without fatal errors.
Anonymous comment
build fails on x86_x64 with:
/usr/include/boost/move/move.hpp:294:86: note: typename boost::move_detail::disable_if<boost::has_move_emulation_enabled<T>, T&>::type boost::move(T&) [with T = adobe::pair<adobe::version_1::name_t, adobe::version_1::any_regular_t>, typename boost::move_detail::disable_if<boost::has_move_emulation_enabled<T>, T&>::type = adobe::pair<adobe::version_1::name_t, adobe::version_1::any_regular_t>&]
make[2]: *** [src/CMakeFiles/GiGi.dir/AdamDlg.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/GiGi.dir/all] Error 2
ideas welcome : )
Comment by Inkaine
Updated, compiles flawlessly but the pkgconfig error reported by zxalexis persists. I'll try to figure a cleaner solution than a patch. Please be patient in the mean time. Thanks.
Comment by xyproto
The license is LGPL, ref. the "COPYING" file that is checked out.
Comment by Inkaine
Time for a major rebuild I guess. Might not make it before next weekend since I have to work this weekend plus extra shifts during the week. Thanks for the heads up.
Comment by zxalexis
gigi-svn install wrong paths into pkgconfig dir. The easiest solution:
add this to header:
source=('pkgconfig_patch.patch')
md5sums=('bc8f93406c76a4dcd8eb502220c67b35')
don't forget to recalculate md5sum of patch - it can change!
and this right after svn checkout:
msg "SVN checkout done or server timeout"
msg "patching install of pkgconfig paths"
cd "cmake"
patch -p0 < ../../../pkgconfig_patch.patch
cd ".."
msg "Starting make..."
contents of patch:
diff -u ./GiGiOgre.pc.in ../../gigi-build/cmake/GiGiOgre.pc.in
--- ./GiGiOgre.pc.in 2011-11-05 10:33:54.984199827 +0400
+++ ../../gigi-build/cmake/GiGiOgre.pc.in 2011-11-06 00:12:51.146815649 +0400
@@ -1,4 +1,4 @@
-prefix=@CMAKE_INSTALL_PREFIX@
+prefix=/usr
libdir=${prefix}/lib@LIB_SUFFIX@
includedir=${prefix}/include
version=@GIGI_VERSION@
diff -u ./GiGi.pc.in ../../gigi-build/cmake/GiGi.pc.in
--- ./GiGi.pc.in 2011-11-05 10:33:54.984199827 +0400
+++ ../../gigi-build/cmake/GiGi.pc.in 2011-11-06 00:12:39.443482850 +0400
@@ -1,4 +1,4 @@
-prefix=@CMAKE_INSTALL_PREFIX@
+prefix=/usr
libdir=${prefix}/lib@LIB_SUFFIX@
includedir=${prefix}/include
version=@GIGI_VERSION@
diff -u ./GiGiSDL.pc.in ../../gigi-build/cmake/GiGiSDL.pc.in
--- ./GiGiSDL.pc.in 2011-11-05 10:33:54.984199827 +0400
+++ ../../gigi-build/cmake/GiGiSDL.pc.in 2011-11-06 00:13:02.436815262 +0400
@@ -1,4 +1,4 @@
-prefix=@CMAKE_INSTALL_PREFIX@
+prefix=/usr
libdir=${prefix}/lib@LIB_SUFFIX@
includedir=${prefix}/include
version=@GIGI_VERSION@
Только в .: pkgconfig_patch.patch
Общие подкаталоги: ./.svn и ../../gigi-build/cmake/.svn
Comment by Zann
I'm unable to build gigi. Last error messages..
[ 37%] Building CXX object src/CMakeFiles/GiGi.dir/StyleFactory.cpp.o
[ 39%] Building CXX object src/CMakeFiles/GiGi.dir/TabWnd.cpp.o
[ 40%] Building CXX object src/CMakeFiles/GiGi.dir/TextControl.cpp.o
[ 41%] Building CXX object src/CMakeFiles/GiGi.dir/Texture.cpp.o
In file included from /home/zann/build/gigi-svn/src/gigi-build/src/GIL/extension/io/../dynamic_image/apply_operation.hpp:25:0,
from /home/zann/build/gigi-svn/src/gigi-build/src/GIL/extension/io/../dynamic_image/dynamic_image_all.hpp:28,
from /home/zann/build/gigi-svn/src/gigi-build/src/GIL/extension/io/jpeg_dynamic_io.hpp:28,
from /home/zann/build/gigi-svn/src/gigi-build/src/Texture.cpp:38:
/home/zann/build/gigi-svn/src/gigi-build/src/GIL/extension/io/../dynamic_image/apply_operation_base.hpp:121:22: error: reference ‘_op’ cannot be declared ‘mutable’ [-fpermissive]
/home/zann/build/gigi-svn/src/gigi-build/src/GIL/extension/io/../dynamic_image/apply_operation_base.hpp:134:22: error: reference ‘_op’ cannot be declared ‘mutable’ [-fpermissive]
make[2]: *** [src/CMakeFiles/GiGi.dir/Texture.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/GiGi.dir/all] Error 2
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
Comment by hagabaka
I needed to use gulaghad's PKGBUILD to compile, but install failed because doc/GG didn't exist. I needed to add these lines before "make" to fix the problem:
cd doc
doxygen
cd ..
But I'm not sure if it's just due to my system. I saw some lines of doxygen's warning output before adding these lines to PKGBUILD.
Comment by gulaghad
To build revision 1043 with gcc 4.6, I needed to make a small modification. Here is the PKGBUILD http://pastebin.com/t7hrSwv0
Anonymous comment
Yeah, I suck at maintaining packages. Inkaine is doing a great job here and think he should keep up the good work!
Anonymous comment
Inkaine:
Thank you for maintaining this package! ;)
Don't take this too personal. Your work is highly appreciated.
Btw freeorion is building fine for me. No zlib errors at all.
Comment by Inkaine
Sorry, for some odd reason I'm not getting notifications for any of my packages apparently. Yet I don't understand why I should drop this package? Thanks for having me fix it and then yell for "disown it". Wonderful way to say thank you. Especially since the only package that relies on this doesn't compile itself. For me gigi had been and still is compiling without error. Just today 1039 did. While at the same time freeorion is aborting with a zlib error. I don't see the need for a patch here - or a reason to disown.
Comment by Svenstaro
Inkaine: Are you getting notifications about this package? If you do not currently have enough time to maintain this package, you should let cybercyst take over.
Comment by rcoit
Inkaine:
Please include cybercyst's patch I can not compile without it!!!
Anonymous comment
Inkaine:
Yes, please include this patch. Itś working for me now with this patch.
Comment by anpieber
would be great to include cybercyst's patch this into the package build :)
Anonymous comment
I need the following patch for this to compile for me. It's a one liner. http://aur.pastebin.com/rCAghSV3
Comment by Inkaine
Adopted and package fixed.
Comment by Svenstaro
Inkaine, go ahead, maintain the package.
Comment by anpieber
ah ok :) thank you very much @squeegee
Anonymous comment
anpieber: It's because the PKGBUILD is using scons to build, and the project uses cmake to build. Dunno when this change happened, but that's the cause. I am working on fixing a PKGBUILD for my use. When it's done, I'll upload it and make another comment here.
Comment by anpieber
I'm sorry, but I've no idea y this fails :(
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/AdamGlue.os -c -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/include/freetype2 -I. -Ilibltdl src/AdamGlue.cpp
g++ -o src/AlignmentFlags.os -c -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/include/freetype2 -I. -Ilibltdl src/AlignmentFlags.cpp
g++ -o src/Base.os -c -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/include/freetype2 -I. -Ilibltdl src/Base.cpp
g++ -o src/BrowseInfoWnd.os -c -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/include/freetype2 -I. -Ilibltdl src/BrowseInfoWnd.cpp
g++ -o src/Button.os -c -pthread -Wall -Wno-parentheses -O2 -fPIC -I/usr/include/freetype2 -I. -Ilibltdl src/Button.cpp
scons: *** [src/Clr.os] Source `src/Clr.cpp' not found, needed by target `src/Clr.os'.
scons: building terminated because of errors.
Aborting...
Comment by hollunder
Not building due to some boost error:
src/Font.cpp:743:28: instantiated from here
/usr/include/boost/xpressive/detail/static/is_pure.hpp:201:5: error: no type named 'proto_tag' in 'struct boost::proto::_child_c<0>'
/usr/include/boost/xpressive/detail/static/is_pure.hpp:203:9: error: no type named 'proto_tag' in 'struct boost::proto::_child_c<0>'
/usr/include/boost/xpressive/detail/static/is_pure.hpp:203:9: error: no type named 'proto_tag' in 'struct boost::proto::_child_c<0>'
/usr/include/boost/xpressive/detail/static/is_pure.hpp:203:9: error: creating pointer to member of non-class type '<type error>'
src/Font.cpp:253:10: warning: '<unnamed>::dummy' defined but not used
scons: *** [src/Font.os] Error 1
scons: building terminated because of errors.