Problem building package for Debian

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Problem building package for Debian

Lisandro Damián Nicanor Pérez Meyer
Hi developers! While trying to build LibreCAD rc2 for Debian, I got into this:

g++ -c -m64 -pipe -g -O2 -Wall -W -D_REENTRANT -DQC_APPKEY="/LibreCAD" -DQC_APPNAME="LibreCAD" -DQC_COMPANYNAME="LibreCAD" -DQC_COMPANYKEY="LibreCAD" -DQC_VERSION="1.0.0rc2" -DQC_DELAYED_SPLASH_SCREEN=1 -DQC_SCMREVISION="" -DQC_APPDIR="librecad" -DQINITIMAGES_LIBRECAD=qInitImages_librecad -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I/usr/include/qt4/QtHelp -I/usr/include/dxflib -Isrc/cmd -Isrc/lib/actions -Isrc/lib/creation -Isrc/lib/debug -Isrc/lib/engine -Isrc/lib/fileio -Isrc/lib/filters -Isrc/lib/gui -Isrc/lib/information -Isrc/lib/math -Isrc/lib/modification -Isrc/lib/scripting -Isrc/actions -Isrc/main -Isrc/plugins -Isrc/ui -Isrc/ui/forms -Ires -Iintermediate/moc -Iintermediate/ui -o intermediate/obj/rs_font.o src/lib/engine/rs_font.cpp
src/lib/engine/rs_ellipse.cpp:548:13: warning: unused parameter 'trimPoint' [-Wunused-parameter]
src/lib/engine/rs_ellipse.cpp: In member function 'virtual RS_Vector RS_Ellipse::prepareTrim(const RS_Vector&, const RS_VectorSolutions&)':
src/lib/engine/rs_ellipse.cpp:576:5: error: 'sort' is not a member of 'std'
make[1]: *** [intermediate/obj/rs_ellipse.o] Error 1
make[1]: *** Waiting for unfinished jobs....
src/lib/engine/rs_entitycontainer.cpp: In member function 'virtual bool RS_EntityContainer::optimizeContours()':
src/lib/engine/rs_entitycontainer.cpp:1327:10: warning: variable 'changed' set but not used [-Wunused-but-set-variable]
make[1]: Leaving directory `/«BUILDDIR»/librecad-1.0.0~rc2+nolibs'

The full build log can be found at [0].

Maybe we need a newer version of std? Or am I missing something?
Just in case, the only patch we apply to the source is [1], as per Debian policy we need to de-embed the embedded libs.

Please, feel free to ask for more info/help.

Kinds regards, Lisandro.

[0] <http://perezmeyer.com.ar/temp/librecad_1.0.0~rc2%2bnolibs-1-amd64-20110905-2324>
[1] <http://anonscm.debian.org/gitweb/?p=debian-science/packages/librecad.git;a=blob;f=debian/patches/debian-fparser.patch;h=0bf71ec8bdd27bee40cea4d6b99c7e5b91dd5edf;hb=fdfceb61ba5dbaa27740c85f131a2604bd2dd10c>
Reply | Threaded
Open this post in threaded view
|

Re: Problem building package for Debian

R. van Twisk
Administrator
Lisandro,

we are going to release a rc3 this week that should have solved this issue.
I will communicate this with Dongxu.

If you really need to compile you need to include 

#include <algorithm>

However, Dongxu is moving this to qSort from Qt, which is properly a bit more robust of solution given that we need to compile between OSX, Linux and Windows.

Ries

On Sep 5, 2011, at 9:33 PM, Lisandro Damián Nicanor Pérez Meyer [via LibreCAD] wrote:

Hi developers! While trying to build LibreCAD rc2 for Debian, I got into this:

g++ -c -m64 -pipe -g -O2 -Wall -W -D_REENTRANT -DQC_APPKEY="/LibreCAD" -DQC_APPNAME="LibreCAD" -DQC_COMPANYNAME="LibreCAD" -DQC_COMPANYKEY="LibreCAD" -DQC_VERSION="1.0.0rc2" -DQC_DELAYED_SPLASH_SCREEN=1 -DQC_SCMREVISION="" -DQC_APPDIR="librecad" -DQINITIMAGES_LIBRECAD=qInitImages_librecad -DQT_NO_DEBUG -DQT_QT3SUPPORT_LIB -DQT3_SUPPORT -DQT_SQL_LIB -DQT_XML_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql -I/usr/include/qt4/Qt3Support -I/usr/include/qt4 -I/usr/include/qt4/QtHelp -I/usr/include/dxflib -Isrc/cmd -Isrc/lib/actions -Isrc/lib/creation -Isrc/lib/debug -Isrc/lib/engine -Isrc/lib/fileio -Isrc/lib/filters -Isrc/lib/gui -Isrc/lib/information -Isrc/lib/math -Isrc/lib/modification -Isrc/lib/scripting -Isrc/actions -Isrc/main -Isrc/plugins -Isrc/ui -Isrc/ui/forms -Ires -Iintermediate/moc -Iintermediate/ui -o intermediate/obj/rs_font.o src/lib/engine/rs_font.cpp
src/lib/engine/rs_ellipse.cpp:548:13: warning: unused parameter 'trimPoint' [-Wunused-parameter]
src/lib/engine/rs_ellipse.cpp: In member function 'virtual RS_Vector RS_Ellipse::prepareTrim(const RS_Vector&, const RS_VectorSolutions&)':
src/lib/engine/rs_ellipse.cpp:576:5: error: 'sort' is not a member of 'std'
make[1]: *** [intermediate/obj/rs_ellipse.o] Error 1
make[1]: *** Waiting for unfinished jobs....
src/lib/engine/rs_entitycontainer.cpp: In member function 'virtual bool RS_EntityContainer::optimizeContours()':
src/lib/engine/rs_entitycontainer.cpp:1327:10: warning: variable 'changed' set but not used [-Wunused-but-set-variable]
make[1]: Leaving directory `/«BUILDDIR»/librecad-1.0.0~rc2+nolibs'

The full build log can be found at [0].

Maybe we need a newer version of std? Or am I missing something?
Just in case, the only patch we apply to the source is [1], as per Debian policy we need to de-embed the embedded libs.

Please, feel free to ask for more info/help.

Kinds regards, Lisandro.

[0] <http://perezmeyer.com.ar/temp/librecad_1.0.0~rc2%2bnolibs-1-amd64-20110905-2324>
[1] <http://anonscm.debian.org/gitweb/?p=debian-science/packages/librecad.git;a=blob;f=debian/patches/debian-fparser.patch;h=0bf71ec8bdd27bee40cea4d6b99c7e5b91dd5edf;hb=fdfceb61ba5dbaa27740c85f131a2604bd2dd10c>


If you reply to this email, your message will be added to the discussion below:
http://librecad.1049103.n5.nabble.com/Problem-building-package-for-Debian-tp4772916p4772916.html
To start a new topic under LibreCAD, email [hidden email]
To unsubscribe from LibreCAD, click here.

Reply | Threaded
Open this post in threaded view
|

Re: Problem building package for Debian

Lisandro D. N. Pérez Meyer
On Lun 05 Sep 2011 23:51:55 R. van Twisk [via LibreCAD] escribió:

> Lisandro,
>
> we are going to release a rc3 this week that should have solved this issue.
> I will communicate this with Dongxu.
>
> If you really need to compile you need to include
>
> #include <algorithm>
>
> However, Dongxu is moving this to qSort from Qt, which is properly a bit
> more robust of solution given that we need to compile between OSX, Linux
> and Windows.
Thanks! I'll wait for rc3 then :)

--
20:57  * m4rgin4l patento el proceso de invencion
20:57 < m4rgin4l> de aqui en mas cualquier inventor me tiene que pagar
regalias por inventar algo
20:57  * m4rgin4l tiene la patente pendiente del metodo cientifico

Lisandro Damián Nicanor Pérez Meyer
http://perezmeyer.com.ar/
http://perezmeyer.blogspot.com/

signature.asc (853 bytes) Download Attachment