[Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Having trouble installing or compiling FreeCAD? Get help here.
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby NormandC » Tue Mar 07, 2017 1:45 am

BTW big thanks to gdo35 who's been AWOL for the past few days, without him this wouldn't have been possible.
abdullah wrote:You made me update from Trusty to Xenial
Hey, don't you go putting that on my shoulders :lol:

I had been procrastinating since Xenial's release to switch from 14.04 to 16.04, I finally did it 3-4 weeks ago. I went for a full reformat and started over my drive partitioning. Bye-bye Win7, don't let the door kick you on the way out! :D I had booted on it maybe 3-4 times since I installed it in 2012! This PC is now exclusively Linux. I also had a second Ubuntu partition (12.04) as redundancy, I removed it too since I hadn't needed it for the last 2 years.
sgrogan wrote:@NormandC, abdullah is your first alpha tester :D and a good one indeed!
Well I figure if my packages are good enough for a programmer, they should be good enough for users :D

Okay then, so we are in agreement that we deactivate BUILD_FEM_NETGEN on the daily PPA for the time being?
User avatar
sgrogan
Posts: 6213
Joined: Wed Oct 22, 2014 5:02 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby sgrogan » Tue Mar 07, 2017 1:47 am

NormandC wrote:Okay then, so we are in agreement that we deactivate BUILD_FEM_NETGEN on the daily PPA for the time being?
+1
Those that disagree should post now.
"fight the good fight"
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby NormandC » Tue Mar 07, 2017 1:49 am

If all goes well, this should only be for a short while...

Famous last words :D
User avatar
sgrogan
Posts: 6213
Joined: Wed Oct 22, 2014 5:02 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby sgrogan » Tue Mar 07, 2017 1:56 am

NormandC wrote:Famous last words :D
I haven't trigered todays build. I was going to try to switch over to the freecad git mirrror. Should we be more adventurous?
"fight the good fight"
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby NormandC » Tue Mar 07, 2017 4:19 am

sgrogan wrote:I was going to try to switch over to the freecad git mirrror. Should we be more adventurous?
We live only once :D

I say do it! No reason it should go wrong it's almost exactly the same repo. But this will not build with occt yet, I only requested the build on the Daily PPA less than 1/2h hour ago, binary packages are currently building. I left 15.10 packages aside, this version reached EOL in February.

So we may have reached our daily quota of builds already.

I'm a little concerned about our storage space! We're at 39% of 8GB before adding occt packages.

Also I need to update the gitpackaging branch to disable BUILD_FEM_NETGEN. I think best will be to create a new branch, let's say dailybuild-occt. Then we can switch the build recipe to it or back to dailybuild branch as we please.

What do you think?
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby NormandC » Tue Mar 07, 2017 4:33 am

Build failure for i386 14.04 package :?

https://launchpadlibrarian.net/30995208 ... ING.txt.gz

EDIT: at least my local compilation of FreeCAD with all the mesh stuff except FEM_NETGEN succeeded. I was shocked to see that libvtk6-dev pulls 330MB of dependencies WTF! :evil:

Calling it a night for real this time. haven't slept much over the weekend... :roll:
User avatar
NormandC
Posts: 18534
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby NormandC » Tue Mar 07, 2017 5:03 am

One last post :D

I have no idea why the occt package for i386 14.04 failed to build, it's the only one that did so far (4 still remaining out of 12). I didn't look at the buildlog closely.

I pushed the dailybuild-occt branch to https://git.launchpad.net/~freecad-main ... tpackaging
abdullah
Posts: 3872
Joined: Sun May 04, 2014 3:16 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby abdullah » Tue Mar 07, 2017 1:23 pm

NormandC wrote:
sgrogan wrote:@NormandC, abdullah is your first alpha tester :D and a good one indeed!
Well I figure if my packages are good enough for a programmer, they should be good enough for users :D

Okay then, so we are in agreement that we deactivate BUILD_FEM_NETGEN on the daily PPA for the time being?
I am probably the worst, as I use the time for programing not for actually using FC :lol: But I can say the pole multiplicity increase tests when very good (what is probably not important for 99,99% of FC users, and I could probably keep adding nines for a while) :D
gdo35
Posts: 189
Joined: Wed Jan 25, 2012 7:25 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby gdo35 » Tue Mar 07, 2017 3:01 pm

Hi all !

@Normand, Just good job for that PPA !

About copyright, sorry I did not set any licence because it did not matter for the test and I forgot it after...
User avatar
sgrogan
Posts: 6213
Joined: Wed Oct 22, 2014 5:02 pm

Re: [Ubuntu Daily PPA] Transitioning to OCCT7, VTK7...

Postby sgrogan » Tue Mar 07, 2017 10:39 pm

NormandC wrote:Also I need to update the gitpackaging branch to disable BUILD_FEM_NETGEN. I think best will be to create a new branch, let's say dailybuild-occt. Then we can switch the build recipe to it or back to dailybuild branch as we please.

What do you think?
We also need to set FREECAD_USE_OCC_VARIANT="Official Version" in the rules file, we may also need to set the OCC_INCLUDE_DIR, I'm not sure.
We also need to modify the control file, I'm looking at this now, but I'm not sure about the OCCT dependencies.
I modified the recipe to use the lp:freecad git mirror and the dailybuild-occt branch of the gitpackaging repo.
As of this post the source repo and gitversioning repo's are in sync.

I noticed you did some cleaning on lp, thanks. We are only at 42% with the newly added OCCT7.1 packages. I didn't delete the gitmaster source repo yet just in case.

EDIT: Did this stuff and triggered xenial build. https://code.launchpad.net/~freecad-mai ... ners-daily
EDIT2: no joy

Code: Select all

[  0%] Building CXX object src/3rdParty/salomesmesh/CMakeFiles/Driver.dir/src/Driver/Driver_SMDS_Mesh.cpp.o
cd "/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/obj-x86_64-linux-gnu/src/3rdParty/salomesmesh" && /usr/bin/mpic++   -DCSFDB -DDriver_EXPORTS -DHAVE_CONFIG_H -DHAVE_LIMITS_H -DLIN -DOCC_CONVERT_SIGNALS -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB -DQT_UITOOLS_LIB -DQT_WEBKIT_LIB -DQT_XML_LIB -D_OCC64 -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/obj-x86_64-linux-gnu" -isystem /usr/include/qt4 -isystem /usr/include/qt4/QtOpenGL -isystem /usr/include/qt4/QtSvg -isystem /usr/include/qt4/QtUiTools -isystem /usr/include/qt4/QtWebKit -isystem /usr/include/qt4/QtGui -isystem /usr/include/qt4/QtXml -isystem /usr/include/qt4/QtNetwork -isystem /usr/include/qt4/QtCore -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/obj-x86_64-linux-gnu/src" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src/3rdParty/salomesmesh/src/SMDS" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src/3rdParty/salomesmesh/src/Driver" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src/3rdParty/salomesmesh/src/DriverUNV" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src/3rdParty/salomesmesh/src/DriverDAT" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src/3rdParty/salomesmesh/src/DriverSTL" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src/3rdParty/salomesmesh/src/StdMeshers" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src/3rdParty/salomesmesh/inc" -I"/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/obj-x86_64-linux-gnu/src/3rdParty/salomesmesh" -I/usr/include/opencascade -I/usr/include/vtk-6.2 -I/usr/include/jsoncpp -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent -I/usr/lib/openmpi/include/openmpi/opal/mca/event/libevent2021/libevent/include -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -I/usr/include/hdf5/serial  -Wall -Wextra -Wno-write-strings -Wall -DHAVE_SWIG=1 -fpermissive -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -std=c++11 -D_OCC64 -Wno-sign-compare -Wno-reorder -Wno-switch -Wno-unused-variable -Wno-unused-but-set-variable -Wno-comment -Wno-unused-parameter -fPIC   -o CMakeFiles/Driver.dir/src/Driver/Driver_SMDS_Mesh.cpp.o -c "/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/src/3rdParty/salomesmesh/src/Driver/Driver_SMDS_Mesh.cpp"
/usr/bin/ld: cannot find -lTKIGES
/usr/bin/ld: cannot find -lTKSTL
/usr/bin/ld: cannot find -lTKXSBase
/usr/bin/ld: cannot find -lTKSTEP
/usr/bin/ld: cannot find -lTKSTEPBase
/usr/bin/ld: cannot find -lTKSTEPAttr
/usr/bin/ld: cannot find -lTKXCAF
/usr/bin/ld: cannot find -lTKXDESTEP
/usr/bin/ld: cannot find -lTKXDEIGES
collect2: error: ld returned 1 exit status
src/3rdParty/salomesmesh/CMakeFiles/MEFISTO2.dir/build.make:123: recipe for target 'lib/libMEFISTO2.so' failed
make[3]: *** [lib/libMEFISTO2.so] Error 1
make[3]: Leaving directory '/<<BUILDDIR>>/freecad-daily-0.17~alpha1+git201703072347~ubuntu16.04.1/obj-x86_64-linux-gnu'
CMakeFiles/Makefile2:575: recipe for target 'src/3rdParty/salomesmesh/CMakeFiles/MEFISTO2.dir/all' failed
make[2]: *** [src/3rdParty/salomesmesh/CMakeFiles/MEFISTO2.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
"fight the good fight"