Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » Releasing U++ » Unable to build on Arch Linux
Unable to build on Arch Linux [message #36838] Wed, 11 July 2012 00:00 Go to next message
xyproto is currently offline  xyproto
Messages: 2
Registered: July 2012
Location: Norway
Junior Member
Hi,

When trying to build the AUR (user submitted) package for theide, I get the following errors:

  -> Building theide...
Using 4 parallel jobs ...
Parsing package files needed for ide ...
  Building package ide [TheIDE main package] (495 files in 35 packages, flags: GCC GUI LINUX MAIN MT POSIX)
    Creating directory /home/alexander/archpackages/theide/src/_out/CtrlLib/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/CtrlCore/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/RichEdit/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/RichText/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/PdfDraw/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/Web/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/ide/Browser/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/ide/Builders/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/plugin/bmp/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/plugin/gif/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/plugin/jpg/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/plugin/png/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/CodeEditor/GCC_GUI_LINUX_MT_POSIX_SPEED/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/Core/GCC_GUI_LINUX_MT_POSIX/ ...
    Creating directory /home/alexander/archpackages/theide/src/_out/CppBase/GCC_GUI_LINUX_MT_POSIX_SPEED/ ...
    Compiling CtrlCore/SystemDraw.cpp (flags GCC GUI LINUX MT POSIX) [1/495] ...
    Compiling CtrlCore/Frame.cpp (flags GCC GUI LINUX MT POSIX) [2/495] ...
    Compiling CtrlCore/CtrlMt.cpp (flags GCC GUI LINUX MT POSIX) [3/495] ...
    Compiling CtrlCore/Ctrl.cpp (flags GCC GUI LINUX MT POSIX) [4/495] ...
In file included from uppsrc/Core/Core.h:233:0,
                 from uppsrc/Draw/Draw.h:6,
                 from uppsrc/RichText/RichText.h:4,
                 from uppsrc/CtrlCore/CtrlCore.h:4,
                 from uppsrc/CtrlCore/Frame.cpp:1:
uppsrc/Core/BiCont.h: In member function ‘bool Upp::BiArray<T>::IsPicked() const’:
uppsrc/Core/BiCont.h:122:64: error: no matching function for call to ‘Upp::BiVector<void*>::IsPicked() const’
uppsrc/Core/BiCont.h:122:64: note: candidate is:
uppsrc/Core/BiCont.h:51:11: note: bool Upp::BiVector<T>::IsPicked() [with T = void*] <near match>
uppsrc/Core/BiCont.h:51:11: note:   no known conversion for implicit ‘this’ parameter from ‘const Upp::BiVector<void*>*’ to ‘Upp::BiVector<void*>*’
In file included from uppsrc/Core/Core.h:233:0,
                 from uppsrc/Draw/Draw.h:6,
                 from uppsrc/RichText/RichText.h:4,
                 from uppsrc/CtrlCore/CtrlCore.h:4,
                 from uppsrc/CtrlCore/SystemDraw.cpp:1:
uppsrc/Core/BiCont.h: In member function ‘bool Upp::BiArray<T>::IsPicked() const’:
uppsrc/Core/BiCont.h:122:64: error: no matching function for call to ‘Upp::BiVector<void*>::IsPicked() const’
uppsrc/Core/BiCont.h:122:64: note: candidate is:
uppsrc/Core/BiCont.h:51:11: note: bool Upp::BiVector<T>::IsPicked() [with T = void*] <near match>
uppsrc/Core/BiCont.h:51:11: note:   no known conversion for implicit ‘this’ parameter from ‘const Upp::BiVector<void*>*’ to ‘Upp::BiVector<void*>*’
In file included from uppsrc/Core/Core.h:233:0,
                 from uppsrc/Draw/Draw.h:6,
                 from uppsrc/RichText/RichText.h:4,
                 from uppsrc/CtrlCore/CtrlCore.h:4,
                 from uppsrc/CtrlCore/CtrlMt.cpp:1:
uppsrc/Core/BiCont.h: In member function ‘bool Upp::BiArray<T>::IsPicked() const’:
uppsrc/Core/BiCont.h:122:64: error: no matching function for call to ‘Upp::BiVector<void*>::IsPicked() const’
uppsrc/Core/BiCont.h:122:64: note: candidate is:
uppsrc/Core/BiCont.h:51:11: note: bool Upp::BiVector<T>::IsPicked() [with T = void*] <near match>
uppsrc/Core/BiCont.h:51:11: note:   no known conversion for implicit ‘this’ parameter from ‘const Upp::BiVector<void*>*’ to ‘Upp::BiVector<void*>*’
In file included from uppsrc/Core/Core.h:233:0,
                 from uppsrc/Draw/Draw.h:6,
                 from uppsrc/RichText/RichText.h:4,
                 from uppsrc/CtrlCore/CtrlCore.h:4,
                 from uppsrc/CtrlCore/Ctrl.cpp:1:
uppsrc/Core/BiCont.h: In member function ‘bool Upp::BiArray<T>::IsPicked() const’:
uppsrc/Core/BiCont.h:122:64: error: no matching function for call to ‘Upp::BiVector<void*>::IsPicked() const’
uppsrc/Core/BiCont.h:122:64: note: candidate is:
uppsrc/Core/BiCont.h:51:11: note: bool Upp::BiVector<T>::IsPicked() [with T = void*] <near match>
uppsrc/Core/BiCont.h:51:11: note:   no known conversion for implicit ‘this’ parameter from ‘const Upp::BiVector<void*>*’ to ‘Upp::BiVector<void*>*’
make[1]: *** [/home/alexander/archpackages/theide/src/_out/CtrlCore/GCC_GUI_LINUX_MT_POSIX/Frame.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/home/alexander/archpackages/theide/src/_out/CtrlCore/GCC_GUI_LINUX_MT_POSIX/CtrlMt.o] Error 1
make[1]: *** [/home/alexander/archpackages/theide/src/_out/CtrlCore/GCC_GUI_LINUX_MT_POSIX/SystemDraw.o] Error 1
make[1]: *** [/home/alexander/archpackages/theide/src/_out/CtrlCore/GCC_GUI_LINUX_MT_POSIX/Ctrl.o] Error 1
make: [ide] Error 2 (ignored)


This is with gcc 4.7.1 on 64-bit Arch Linux.

Best regards,
Alexander Rødseth
Re: Unable to build on Arch Linux [message #36839 is a reply to message #36838] Wed, 11 July 2012 07:20 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

Hi Alexander,

Welcome to the forum Cool

You are building the stable release, 4193. It is in fact pretty old (but there wasn't any newer since than). The error is caused by a bug that was fixed in revision 4933 about two months ago.

I would suggest you to try the svn version of the package, it is always up to date. I think that especially on Arch, with its rapid adoption of latest compiler and library versions, it is a good idea to use the latest software that is patched to work with them Smile

If you don't feel like using svn source, you can add a simple patch in the PKGBUILD, all you need to do is to correct uppscr/Core/BiCont.h:
Index: BiCont.h
===================================================================
--- BiCont.h	(revision 4932)
+++ BiCont.h	(revision 4933)
@@ -48,7 +48,7 @@
 	void     Serialize(Stream& s);
 #endif
 
-	bool     IsPicked()                         { return items < 0; }
+	bool     IsPicked() const                   { return items < 0; }
 
 	BiVector(const BiVector& src, int)          { DeepCopy0(src); }
 	BiVector(pick_ BiVector& src)               { Pick(src); }


Best regards,
Honza
Re: Unable to build on Arch Linux [message #36840 is a reply to message #36838] Wed, 11 July 2012 08:06 Go to previous messageGo to next message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

PS: I added the patch into the stable PKGBUILD and released as 4193-2.
Re: Unable to build on Arch Linux [message #36845 is a reply to message #36838] Wed, 11 July 2012 16:16 Go to previous messageGo to next message
xyproto is currently offline  xyproto
Messages: 2
Registered: July 2012
Location: Norway
Junior Member
Hi,

Thanks for the swift reply and warm welcome to the forum.

The upp package has now been updated to 4193 (thanks dolik.rce). There is also the upp-svn package, from before.

If upp proves to be popular/useful it might become an official package in the future. In the mean time, it seems to be in good hands.

- Alexander
Re: Unable to build on Arch Linux [message #36846 is a reply to message #36845] Wed, 11 July 2012 17:19 Go to previous message
dolik.rce is currently offline  dolik.rce
Messages: 1789
Registered: August 2008
Location: Czech Republic
Ultimate Contributor

xyproto wrote on Wed, 11 July 2012 16:16

Hi,

Thanks for the swift reply and warm welcome to the forum.

The upp package has now been updated to 4193 (thanks dolik.rce). There is also the upp-svn package, from before.

If upp proves to be popular/useful it might become an official package in the future. In the mean time, it seems to be in good hands.

- Alexander

Just to make things clear Wink The package was version 4193 and still is 4193, as that is the official release. I just added a patch to make it work with gcc 4.7 and incremented package release version (4193-1 -> 4193-2).

I hope the packages will one day become popular enough to make it at least into community repo Smile

Honza
Previous Topic: Some packages are missing in last nightly builds
Next Topic: Archlinux build of theide-nogtk-svn fails with error, asks for gtk.h.
Goto Forum:
  


Current Time: Wed Jun 12 23:12:10 CEST 2024

Total time taken to generate the page: 0.01887 seconds