Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 291161 - media-gfx/freecad (New package)
Summary: media-gfx/freecad (New package)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: InVCS
Depends on: 352435
Blocks:
  Show dependency tree
 
Reported: 2009-10-30 12:55 UTC by tman
Modified: 2011-03-06 15:27 UTC (History)
10 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Ebuild for the cvs version of freecad (freecad-0.8.ebuild,1.01 KB, text/plain)
2009-11-06 07:38 UTC, Roelof Wobben
Details
New Ebuild for the stable 0.9 version of Freecad (freecad-0.9.2646.ebuild,916 bytes, text/plain)
2009-11-23 13:13 UTC, Roelof Wobben
Details
new ebuild (bug #1 multi-core system) (freecad-0.9.2646.ebuild,920 bytes, text/plain)
2009-11-24 13:42 UTC, Roelof Wobben
Details
Attempt 2 to solve the multicore problem (freecad-0.9.2646.ebuild,922 bytes, text/plain)
2009-11-27 09:22 UTC, Roelof Wobben
Details
fixing a typo (freecad-0.9.2646.ebuild,919 bytes, text/plain)
2009-11-27 10:42 UTC, Roelof Wobben
Details
Added ~x86 (freecad-0.9.2646.ebuild,936 bytes, text/plain)
2009-12-09 16:33 UTC, Roelof Wobben
Details
repairing some depencies (freecad-0.9.2646.ebuild,973 bytes, text/plain)
2009-12-16 13:49 UTC, Roelof Wobben
Details
EBUILD and Manifest files (freecad-0.9.2646.ebuild,1.05 KB, text/plain)
2010-04-13 18:09 UTC, Henryk Rychlik
Details
EBUILD and Manifest files (Manifest,1.00 KB, text/plain)
2010-04-13 18:10 UTC, Henryk Rychlik
Details
build for freecad-0.10 (freecad-0.10.3205.ebuild,1.10 KB, text/plain)
2010-11-04 21:53 UTC, Ondrej Filip
Details
FreeCAD live ebuild (freecad-9999.ebuild,1.48 KB, text/plain)
2010-11-28 03:10 UTC, Hazimin
Details
Version.h patch for live ebuild (freecad-9999-version.patch,1015 bytes, patch)
2010-11-28 03:13 UTC, Hazimin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description tman 2009-10-30 12:55:20 UTC
its a pitty that noone good CAD ebuild is in portage or any known overlay. maybe someone can help us out.

http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page

thx

Reproducible: Always

Steps to Reproduce:
Comment 1 Roelof Wobben 2009-10-30 15:00:40 UTC
(In reply to comment #0)
> its a pitty that noone good CAD ebuild is in portage or any known overlay.
> maybe someone can help us out.
> http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page
> thx
> Reproducible: Always
> Steps to Reproduce:


hello, 

Do you ask us to make a ebuild for this programm ??

Roelof

Comment 2 Justin Lecher (RETIRED) gentoo-dev 2009-10-30 18:03:18 UTC
(In reply to comment #1)
> (In reply to comment #0)
> > its a pitty that noone good CAD ebuild is in portage or any known overlay.
> > maybe someone can help us out.
> > http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page
> > thx
> > Reproducible: Always
> > Steps to Reproduce:
> 
> 
> hello, 
> 
> Do you ask us to make a ebuild for this programm ??
> 
> Roelof
> 

That's what the title says!??!
Comment 3 Roelof Wobben 2009-10-30 18:06:07 UTC
(In reply to comment #2)
> (In reply to comment #1)
> > (In reply to comment #0)
> > > its a pitty that noone good CAD ebuild is in portage or any known overlay.
> > > maybe someone can help us out.
> > > http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=Main_Page
> > > thx
> > > Reproducible: Always
> > > Steps to Reproduce:
> > 
> > 
> > hello, 
> > 
> > Do you ask us to make a ebuild for this programm ??
> > 
> > Roelof
> > 
> 
> That's what the title says!??!
> 

Oke, 

Then I will try to build a ebuild for it.
Give me a few days.

Roelof
Comment 4 tman 2009-10-30 19:50:46 UTC
hi 

YES my intention was to ask you for a good ebuild for this great programm.
thanks you all for the fast replies and have fun at creating ebuild. I will test it as soon as and give up some feedback to help you.


Comment 5 Roelof Wobben 2009-11-04 07:31:14 UTC
Hello, 

Im still busy with this ebuild.
I have tried to build version 0.8 version but this version has a problem with opencv.
So Im now trying to make a ebuild which uses 0.9 which is avaible in svn.

Roelof
Comment 6 tman 2009-11-04 12:49:00 UTC
hello 

im take a look in this thread everydays. and i read on http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=CompileOnUnix about Prerequisites.

if libs from opencascade or java is need so make the depency on jdk instead of JRE plz, and opencascade is avaible in the overlay : science.

im runing unstable 64bit. so an latest 0.9x is welcome :-) 

cu soon
Comment 7 Roelof Wobben 2009-11-06 07:38:21 UTC
(In reply to comment #6)
> hello 
> 
> im take a look in this thread everydays. and i read on
> http://sourceforge.net/apps/mediawiki/free-cad/index.php?title=CompileOnUnix
> about Prerequisites.
> 
> if libs from opencascade or java is need so make the depency on jdk instead of
> JRE plz, and opencascade is avaible in the overlay : science.
> 
> im runing unstable 64bit. so an latest 0.9x is welcome :-) 
> 
> cu soon
> 

Oke, 

I made a ebuild for the cvs version because otherwise we have problems with opencv.
I have tested it on x86 platform and it runs well.
It's right that opencascade can be found at science overlay.
Pivy for running 2d draft mode can be found at bug 291979.

Roelof

Comment 8 Roelof Wobben 2009-11-06 07:38:58 UTC
Created attachment 209395 [details]
Ebuild for the cvs version of freecad
Comment 9 tman 2009-11-06 11:01:52 UTC
seems to be moved
libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKGeomAlgo.la' seems to be moved
libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKGeomBase.la' seems to be moved
libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKOffset.la' seems to be moved
libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKPrim.la' seems to be moved
libtool: link: x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o  .libs/libPartDesign_la-AppPartDesignPy.o .libs/libPartDesign_la-FeatureFillet.o .libs/libPartDesign_la-FeaturePad.o .libs/libPartDesign_la-PreCompiled.o   -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App/.libs -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/App/.libs -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/Base/.libs -Wl,-rpath -Wl,/opt/opencascade-6.3/ros/lin/lib64 -Wl,-rpath -Wl,/usr/Mod/Part -Wl,-rpath -Wl,/opt/opencascade-6.3/ros/lin/lib64 -L/usr/portage/distfiles/svn-src/trunk/src/App/.libs -L/usr/portage/distfiles/svn-src/trunk/src/Base/.libs -L/usr/portage/distfiles/svn-src/trunk/src/Base -L/usr/portage/distfiles/svn-src/trunk/src/App -L/usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App -L/usr/lib64 -L/usr/lib -L/opt/opencascade-6.3/ros/Linux/lib -lboost_regex-mt /usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App/.libs/libPart.so -L/usr/X11R6/lib -L/opt/opencascade-6.3/ros/lin/lib64 /usr/portage/distfiles/svn-src/trunk/src/App/.libs/libFreeCADApp.so -lboost_program_options-mt -lboost_signals-mt /usr/portage/distfiles/svn-src/trunk/src/Base/.libs/libFreeCADBase.so -lboost_filesystem-mt -lboost_system-mt -lpython2.6 /usr/lib64/libxerces-c.so -lnsl /usr/lib64/libcurl.so /usr/lib64/libidn.so /usr/lib64/libldap.so /usr/lib64/liblber.so /usr/lib64/libsasl2.so -lcrypt -lrt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so -lz /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEP.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEPAttr.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEP209.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEPBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKIGES.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTL.so /opt/opencascade-6.3/ros/lin/lib64/libTKMesh.so /opt/opencascade-6.3/ros/lin/lib64/libTKXSBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKOffset.so /opt/opencascade-6.3/ros/lin/lib64/libTKFillet.so /opt/opencascade-6.3/ros/lin/lib64/libTKShHealing.so /opt/opencascade-6.3/ros/lin/lib64/libTKBool.so /opt/opencascade-6.3/ros/lin/lib64/libTKPrim.so /opt/opencascade-6.3/ros/lin/lib64/libTKBO.so /opt/opencascade-6.3/ros/lin/lib64/libTKTopAlgo.so /opt/opencascade-6.3/ros/lin/lib64/libTKGeomAlgo.so /opt/opencascade-6.3/ros/lin/lib64/libTKBRep.so /opt/opencascade-6.3/ros/lin/lib64/libTKGeomBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKG3d.so /opt/opencascade-6.3/ros/lin/lib64/libTKG2d.so /opt/opencascade-6.3/ros/lin/lib64/libTKMath.so /opt/opencascade-6.3/ros/lin/lib64/libTKernel.so -lpthread -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crtn.o  -march=core2 -Wl,-O1   -Wl,-soname -Wl,libPartDesign.so.2 -o .libs/libPartDesign.so.2.0.0
libtool: link: (cd ".libs" && rm -f "libPartDesign.so.2" && ln -s "libPartDesign.so.2.0.0" "libPartDesign.so.2")
libtool: link: x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o  .libs/PartDesign_la-AppPartDesign.o   -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App/.libs -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/App/.libs -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/Base/.libs -Wl,-rpath -Wl,/opt/opencascade-6.3/ros/lin/lib64 -Wl,-rpath -Wl,/usr/Mod/Part -Wl,-rpath -Wl,/opt/opencascade-6.3/ros/lin/lib64 -L/usr/portage/distfiles/svn-src/trunk/src/App/.libs -L/usr/portage/distfiles/svn-src/trunk/src/Base/.libs -L/usr/portage/distfiles/svn-src/trunk/src/Base -L/usr/portage/distfiles/svn-src/trunk/src/App -L/usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App -L/usr/lib64 -L/usr/lib -L/opt/opencascade-6.3/ros/Linux/lib -lboost_regex-mt /usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App/.libs/libPart.so -L/usr/X11R6/lib -L/opt/opencascade-6.3/ros/lin/lib64 /usr/portage/distfiles/svn-src/trunk/src/App/.libs/libFreeCADApp.so -lboost_program_options-mt -lboost_signals-mt /usr/portage/distfiles/svn-src/trunk/src/Base/.libs/libFreeCADBase.so -lboost_filesystem-mt -lboost_system-mt -lpython2.6 /usr/lib64/libxerces-c.so -lnsl /usr/lib64/libcurl.so /usr/lib64/libidn.so /usr/lib64/libldap.so /usr/lib64/liblber.so /usr/lib64/libsasl2.so -lcrypt -lrt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so -lz /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEP.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEPAttr.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEP209.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEPBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKIGES.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTL.so /opt/opencascade-6.3/ros/lin/lib64/libTKMesh.so /opt/opencascade-6.3/ros/lin/lib64/libTKXSBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKOffset.so /opt/opencascade-6.3/ros/lin/lib64/libTKFillet.so /opt/opencascade-6.3/ros/lin/lib64/libTKShHealing.so /opt/opencascade-6.3/ros/lin/lib64/libTKBool.so /opt/opencascade-6.3/ros/lin/lib64/libTKPrim.so /opt/opencascade-6.3/ros/lin/lib64/libTKBO.so /opt/opencascade-6.3/ros/lin/lib64/libTKTopAlgo.so /opt/opencascade-6.3/ros/lin/lib64/libTKGeomAlgo.so /opt/opencascade-6.3/ros/lin/lib64/libTKBRep.so /opt/opencascade-6.3/ros/lin/lib64/libTKGeomBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKG3d.so /opt/opencascade-6.3/ros/lin/lib64/libTKG2d.so /opt/opencascade-6.3/ros/lin/lib64/libTKMath.so /opt/opencascade-6.3/ros/lin/lib64/libTKernel.so -lpthread -lPartDesign -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crtn.o  -march=core2 -Wl,-O1   -Wl,-soname -Wl,PartDesign.so -o .libs/PartDesign.so
libtool: link: (cd ".libs" && rm -f "libPartDesign.so" && ln -s "libPartDesign.so.2.0.0" "libPartDesign.so")
libtool: link: ( cd ".libs" && rm -f "libPartDesign.la" && ln -s "../libPartDesign.la" "libPartDesign.la" )
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lPartDesign
collect2: ld returned 1 exit status
make[5]: *** [PartDesign.la] Error 1
make[5]: *** Waiting for unfinished jobs....
make[5]: Leaving directory `/usr/portage/distfiles/svn-src/trunk/src/Mod/PartDesign/App'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/usr/portage/distfiles/svn-src/trunk/src/Mod/PartDesign'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/portage/distfiles/svn-src/trunk/src/Mod'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/portage/distfiles/svn-src/trunk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/portage/distfiles/svn-src/trunk'
make: *** [all] Error 2
 * ERROR: media-gfx/freecad-9999 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_compile
 *   environment, line 2415:  Called _eapi2_src_compile
 *     ebuild.sh, line  635:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-gfx/freecad-9999',
 * the complete build log and the output of 'emerge -pqv =media-gfx/freecad-9999'.
 * The complete build log is located at '/var/log/portage/media-gfx:freecad-9999:20091106-094507.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-9999/temp/environment'.
 * S: '/usr/portage/distfiles/svn-src/trunk'

>>> Failed to emerge media-gfx/freecad-9999, Log file:

>>>  '/var/log/portage/media-gfx:freecad-9999:20091106-094507.log'

 * Messages for package media-gfx/freecad-9999:

 * ERROR: media-gfx/freecad-9999 failed:
 *   emake failed
 * 
 * Call stack:
 *     ebuild.sh, line   55:  Called src_compile
 *   environment, line 2415:  Called _eapi2_src_compile
 *     ebuild.sh, line  635:  Called die
 * The specific snippet of code:
 *   		emake || die "emake failed"
 * 
 * If you need support, post the output of 'emerge --info =media-gfx/freecad-9999',
 * the complete build log and the output of 'emerge -pqv =media-gfx/freecad-9999'.
 * The complete build log is located at '/var/log/portage/media-gfx:freecad-9999:20091106-094507.log'.
 * The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-9999/temp/environment'.
 * S: '/usr/portage/distfiles/svn-src/trunk'



#################################


Portage 2.1.7.3 (default/linux/amd64/10.0, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r4-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Fri, 06 Nov 2009 08:00:20 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.6.4-r3
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6a
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/fstab /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/X11/xkb /usr/share/xsessions/openbox.desktop /var/bind /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LDFLAGS="-Wl,-O1"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/4Pane /usr/portage/local/layman/devnull /usr/portage/local/layman/gnome /usr/portage/local/layman/ibormuth /usr/portage/local/layman/java-overlay /usr/portage/local/layman/portato /usr/portage/local/layman/pro-audio /usr/portage/local/layman/scarabeus /usr/portage/local/layman/science /usr/portage/local/layman/xmw /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="7zip X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile avahi bash-completion beagle berkdb bidi bluetooth bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs dbus dc1394 dga dhcpcd dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs enca encode enscript erandom exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hal hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 jabber jack java java6 javascript jingle joystick jpeg jpeg2k kerberos lame lapack latex lcms ldap libcaca libwww live logrotate lua lzo mad maildir matroska md5sum memlimit mhash midi mikmod mime mjpeg mmap mmx mmxext mng mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pcmcia pcre pdf perl php pic pidgin png posix postgres ppds ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sse sse2 ssl stream stun subversion svg swat sysfs syslog sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype ucs2 udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlc vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga vmware" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 10 Ralph Sennhauser (RETIRED) gentoo-dev 2009-11-06 13:33:30 UTC
tman,

your error results most likely from broken la files and has nothing to do with this ebuild per se.
Emerge lafilefixer and run lafilefixer --justfixit, then try reemerging freecad.

sera
Comment 11 Roelof Wobben 2009-11-09 18:03:38 UTC
(In reply to comment #10)
> tman,
> your error results most likely from broken la files and has nothing to do with
> this ebuild per se.
> Emerge lafilefixer and run lafilefixer --justfixit, then try reemerging
> freecad.
> sera

Hello, 

Any more problems with freecad except with pivy ?

Roelof
Comment 12 tman 2009-11-09 22:44:17 UTC
i still cant build it. maybe someone can try it too on amd64 and can confirm it too
Comment 13 Roelof Wobben 2009-11-10 06:35:09 UTC
(In reply to comment #12)
> i still cant build it. maybe someone can try it too on amd64 and can confirm it
> too
> 

Oke, still the same error or another one.

Roelof


Comment 14 tman 2009-11-10 06:55:24 UTC
12133 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKXSBase.la' seems to be moved
12134 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKBool.la' seems to be moved
12135 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKBO.la' seems to be moved
12136 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKBRep.la' seems to be moved
12137 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKTopAlgo.la' seems to be moved
12138 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKGeomAlgo.la' seems to be moved
12139 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKGeomBase.la' seems to be moved
12140 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKOffset.la' seems to be moved
12141 libtool: link: warning: `/opt/opencascade-6.3/ros/Linux/lib/libTKPrim.la' seems to be moved
12142 libtool: link: x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o  .libs/PartDesign_la-                    |AppPartDesign.o   -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App/.libs -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/App/.libs -Wl,-rpath -Wl,/usr/portage/distfiles/svn-          |src/trunk/src/Base/.libs -Wl,-rpath -Wl,/opt/opencascade-6.3/ros/lin/lib64 -Wl,-rpath -Wl,/usr/Mod/Part -Wl,-rpath -Wl,/opt/opencascade-6.3/ros/lin/lib64 -L/usr/portage/distfiles/svn-src/trunk/src/App/.         |libs -L/usr/portage/distfiles/svn-src/trunk/src/Base/.libs -L/usr/portage/distfiles/svn-src/trunk/src/Base -L/usr/portage/distfiles/svn-src/trunk/src/App -L/usr/portage/distfiles/svn-src/trunk/src/Mod/          |Part/App -L/usr/lib64 -L/usr/lib -L/opt/opencascade-6.3/ros/Linux/lib -lboost_regex-mt /usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App/.libs/libPart.so -L/usr/X11R6/lib -L/opt/opencascade-6.3/ros/         |lin/lib64 /usr/portage/distfiles/svn-src/trunk/src/App/.libs/libFreeCADApp.so -lboost_program_options-mt -lboost_signals-mt /usr/portage/distfiles/svn-src/trunk/src/Base/.libs/libFreeCADBase.so -                |lboost_filesystem-mt -lboost_system-mt -lpython2.6 /usr/lib64/libxerces-c.so -lnsl /usr/lib64/libcurl.so /usr/lib64/libidn.so /usr/lib64/libldap.so /usr/lib64/liblber.so /usr/lib64/libsasl2.so -lcrypt -         |lrt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl /usr/lib64/libgnutls.so /usr/lib64/libtasn1.so -lz /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so -licuuc -licudata /opt/opencascade-6.3/          |ros/lin/lib64/libTKSTEP.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEPAttr.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEP209.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEPBase.so /opt/opencascade-6.3/        |ros/lin/lib64/libTKIGES.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTL.so /opt/opencascade-6.3/ros/lin/lib64/libTKMesh.so /opt/opencascade-6.3/ros/lin/lib64/libTKXSBase.so /opt/opencascade-6.3/ros/lin/          |lib64/libTKOffset.so /opt/opencascade-6.3/ros/lin/lib64/libTKFillet.so /opt/opencascade-6.3/ros/lin/lib64/libTKShHealing.so /opt/opencascade-6.3/ros/lin/lib64/libTKBool.so /opt/opencascade-6.3/ros/lin/          |lib64/libTKPrim.so /opt/opencascade-6.3/ros/lin/lib64/libTKBO.so /opt/opencascade-6.3/ros/lin/lib64/libTKTopAlgo.so /opt/opencascade-6.3/ros/lin/lib64/libTKGeomAlgo.so /opt/opencascade-6.3/ros/lin/lib64/        |libTKBRep.so /opt/opencascade-6.3/ros/lin/lib64/libTKGeomBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKG3d.so /opt/opencascade-6.3/ros/lin/lib64/libTKG2d.so /opt/opencascade-6.3/ros/lin/lib64/libTKMath.       |so /opt/opencascade-6.3/ros/lin/lib64/libTKernel.so -lpthread -lPartDesign -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64 -L/lib/../lib64 -L/usr/             |lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/       |crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crtn.o  -march=core2 -Wl,-O1   -Wl,-soname -Wl,PartDesign.so -o .libs/PartDesign.so
12143 /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lPartDesign
12144 collect2: ld returned 1 exit status
12145 make[5]: *** [PartDesign.la] Error 1
12146 make[5]: *** Waiting for unfinished jobs....
12147 libtool: link: x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o  .libs/libPartDesign_la-                 |AppPartDesignPy.o .libs/libPartDesign_la-FeatureFillet.o .libs/libPartDesign_la-FeaturePad.o .libs/libPartDesign_la-PreCompiled.o   -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App/.         |libs -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/App/.libs -Wl,-rpath -Wl,/usr/portage/distfiles/svn-src/trunk/src/Base/.libs -Wl,-rpath -Wl,/opt/opencascade-6.3/ros/lin/lib64 -Wl,-rpath -Wl,/       |usr/Mod/Part -Wl,-rpath -Wl,/opt/opencascade-6.3/ros/lin/lib64 -L/usr/portage/distfiles/svn-src/trunk/src/App/.libs -L/usr/portage/distfiles/svn-src/trunk/src/Base/.libs -L/usr/portage/distfiles/svn-src/        |trunk/src/Base -L/usr/portage/distfiles/svn-src/trunk/src/App -L/usr/portage/distfiles/svn-src/trunk/src/Mod/Part/App -L/usr/lib64 -L/usr/lib -L/opt/opencascade-6.3/ros/Linux/lib -lboost_regex-mt /usr/          |portage/distfiles/svn-src/trunk/src/Mod/Part/App/.libs/libPart.so -L/usr/X11R6/lib -L/opt/opencascade-6.3/ros/lin/lib64 /usr/portage/distfiles/svn-src/trunk/src/App/.libs/libFreeCADApp.so -                      |lboost_program_options-mt -lboost_signals-mt /usr/portage/distfiles/svn-src/trunk/src/Base/.libs/libFreeCADBase.so -lboost_filesystem-mt -lboost_system-mt -lpython2.6 /usr/lib64/libxerces-c.so -lnsl /usr/       |lib64/libcurl.so /usr/lib64/libidn.so /usr/lib64/libldap.so /usr/lib64/liblber.so /usr/lib64/libsasl2.so -lcrypt -lrt -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lresolv -ldl /usr/lib64/libgnutls.so /usr/        |lib64/libtasn1.so -lz /usr/lib64/libgcrypt.so /usr/lib64/libgpg-error.so -licuuc -licudata /opt/opencascade-6.3/ros/lin/lib64/libTKSTEP.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEPAttr.so /opt/               |opencascade-6.3/ros/lin/lib64/libTKSTEP209.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTEPBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKIGES.so /opt/opencascade-6.3/ros/lin/lib64/libTKSTL.so /opt/             |opencascade-6.3/ros/lin/lib64/libTKMesh.so /opt/opencascade-6.3/ros/lin/lib64/libTKXSBase.so /opt/opencascade-6.3/ros/lin/lib64/libTKOffset.so /opt/opencascade-6.3/ros/lin/lib64/libTKFillet.so /opt/             |opencascade-6.3/ros/lin/lib64/libTKShHealing.so /opt/opencascade-6.3/ros/lin/lib64/libTKBool.so /opt/opencascade-6.3/ros/lin/lib64/libTKPrim.so /opt/opencascade-6.3/ros/lin/lib64/libTKBO.so /opt/                |opencascade-6.3/ros/lin/lib64/libTKTopAlgo.so /opt/opencascade-6.3/ros/lin/lib64/libTKGeomAlgo.so /opt/opencascade-6.3/ros/lin/lib64/libTKBRep.so /opt/opencascade-6.3/ros/lin/lib64/libTKGeomBase.so /opt/        |opencascade-6.3/ros/lin/lib64/libTKG3d.so /opt/opencascade-6.3/ros/lin/lib64/libTKG2d.so /opt/opencascade-6.3/ros/lin/lib64/libTKMath.so /opt/opencascade-6.3/ros/lin/lib64/libTKernel.so -lpthread -L/usr/        |lib/gcc/x86_64-pc-linux-gnu/4.4.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/         |lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crtn.o  -                 |march=core2 -Wl,-O1   -Wl,-soname -Wl,libPartDesign.so.2 -o .libs/libPartDesign.so.2.0.0
12148 libtool: link: (cd ".libs" && rm -f "libPartDesign.so.2" && ln -s "libPartDesign.so.2.0.0" "libPartDesign.so.2")
12149 libtool: link: (cd ".libs" && rm -f "libPartDesign.so" && ln -s "libPartDesign.so.2.0.0" "libPartDesign.so")
12150 libtool: link: ( cd ".libs" && rm -f "libPartDesign.la" && ln -s "../libPartDesign.la" "libPartDesign.la" )
12151 make[5]: Leaving directory `/usr/portage/distfiles/svn-src/trunk/src/Mod/PartDesign/App'
12152 make[4]: *** [all-recursive] Error 1
12153 make[4]: Leaving directory `/usr/portage/distfiles/svn-src/trunk/src/Mod/PartDesign'
12154 make[3]: *** [all-recursive] Error 1
12155 make[3]: Leaving directory `/usr/portage/distfiles/svn-src/trunk/src/Mod'
12156 make[2]: *** [all-recursive] Error 1
12157 make[2]: Leaving directory `/usr/portage/distfiles/svn-src/trunk/src'
12158 make[1]: *** [all-recursive] Error 1
12159 make[1]: Leaving directory `/usr/portage/distfiles/svn-src/trunk'
12160 make: *** [all] Error 2
12161  ^[[31;01m*^[[0m ERROR: media-gfx/freecad-9999 failed:
12162  ^[[31;01m*^[[0m   emake failed
12163  ^[[31;01m*^[[0m 
12164  ^[[31;01m*^[[0m Call stack:
12165  ^[[31;01m*^[[0m     ebuild.sh, line   55:  Called src_compile
12166  ^[[31;01m*^[[0m   environment, line 2415:  Called _eapi2_src_compile
12167  ^[[31;01m*^[[0m     ebuild.sh, line  635:  Called die
12168  ^[[31;01m*^[[0m The specific snippet of code:
12169  ^[[31;01m*^[[0m        emake || die "emake failed"
12170  ^[[31;01m*^[[0m 
12171  ^[[31;01m*^[[0m If you need support, post the output of 'emerge --info =media-gfx/freecad-9999',
12172  ^[[31;01m*^[[0m the complete build log and the output of 'emerge -pqv =media-gfx/freecad-9999'.
12173  ^[[31;01m*^[[0m The complete build log is located at '/var/log/portage/media-gfx:freecad-9999:20091109-183954.log'.
12174  ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/media-gfx/freecad-9999/temp/environment'.
12175  ^[[31;01m*^[[0m S: '/usr/portage/distfiles/svn-src/trunk'  
Comment 15 Roelof Wobben 2009-11-10 19:54:59 UTC
(In reply to comment #14)

May I see your make.conf ?

Roelof
Comment 16 Roelof Wobben 2009-11-18 08:53:53 UTC
(In reply to comment #15)
> (In reply to comment #14)
> 
> May I see your make.conf ?
> 
> Roelof
> 

Sorry that you not heared so long from me.
I have some problems with the gentoo box and I hope I can solve them in a few days.
Then I going to make a new ebuild for the stable  0.9 which is released a few days ago.

Roelof    
Comment 17 tman 2009-11-18 18:42:27 UTC
same to me. my hd got now a failure and a lost my my root patition. this sucks realy. but i hope i get my gentoo in some hour online again.

cu soon 
Comment 18 Roelof Wobben 2009-11-20 08:56:42 UTC
(In reply to comment #17)
> same to me. my hd got now a failure and a lost my my root patition. this sucks
> realy. but i hope i get my gentoo in some hour online again.
> 
> cu soon 
> 

Hello, 

I now testing the ebuild.
And i have one question : Can you emerge boost-1.35.0-r2 in your system without problems ?

Roelof

Comment 19 tman 2009-11-20 19:12:43 UTC
idk im using this version
 Installed versions:  1.39.0(1.39)(02:00:18 19.11.2009)(expat icu mpi python -debug -doc -eselect -test -tools)
Comment 20 Roelof Wobben 2009-11-23 13:13:19 UTC
Created attachment 210985 [details]
New Ebuild for the stable 0.9 version of Freecad

Tested on a stable AMD64 box without any problems
Comment 21 tman 2009-11-23 18:12:18 UTC
compile fail on unstable amd64 

##############

Portage 2.1.7.6 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 23 Nov 2009 15:30:01 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4, 3.1.1-r1
dev-util/cmake:      2.8.0
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.5.2-r2
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
sys-devel/binutils:  2.20
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock /etc/conf.d/keymaps /etc/fstab /etc/make.conf /etc/xdg/openbox/autostart.sh /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start /usr/share/X11/xkb /usr/share/config /usr/share/xsessions/openbox.desktop /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
LANG="de_DE.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1"
LINGUAS="de en vi"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/devnull /usr/portage/local/layman/java-overlay /usr/portage/local/layman/portato /usr/portage/local/layman/pro-audio /usr/portage/local/layman/scarabeus /usr/portage/local/layman/xmw /usr/portage/local/layman/science /usr/portage/local/layman/gnome /usr/portage/local/layman/ibormuth /usr/portage/local/layman/enlightenment /usr/portage/local/layman/webapps-experimental /usr/portage/local/local-overlay"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2 ass atm audio audiofile bash-completion beagle berkdb bidi bluetooth bzip2 cairo caps cdda cdio cdparanoia cdr cgi cjk cli clisp consolekit cracklib crypt cscope css csv cups curl curlwrappers cvs dbus dc1394 dga dhcpcd dia dirac directfb dmx dri dts dv dvd dvdr dvi emacs enca encode enscript erandom exif expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp fuse gcj gd gdbm geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls gphoto2 gpm graphviz gs gstreamer gtk gzip hal hash hddtemp highlight httpd iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 jabber jack java java6 javascript jingle joystick jpeg jpeg2k kde kerberos lame lapack latex lcms ldap libcaca libwww live logrotate lua lzo mad maildir matroska md5sum memlimit mhash midi mikmod mime mjpeg mmap mmx mmxext mng mono motif mp3 mp4 mpeg mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses network networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr opengl openmp oss pam pcmcia pcre pdf perl php pic pidgin png posix postgres ppds ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop readline reflection rss rtsp ruby samba sasl savedconfig schroedinger sdl sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell spl sqlite sse sse2 ssl ssse3 stream stun subversion svg swat sysfs syslog sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype ucs2 udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlc vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xprint xscreensaver xsl xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" USERLAND="GNU" VIDEO_CARDS="nv nvidia vesa fbdev vga vmware" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


##############

                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h:243,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/string:40,
                 from ../../../../src/App/PropertyStandard.h:30,
                 from ../../../../src/Mod/Sketcher/App/SketchObject.h:28,
                 from SketchObjectPyImp.cpp:4:
/usr/include/features.h:160:1: warning: this is the location of the previous definition
mv -f .deps/libSketcher_la-SketchObject.Tpo .deps/libSketcher_la-SketchObject.Plo
/bin/sh ../../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../..  -DSketcherAppExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I/opt/opencascade-6.3/ros/inc -I../../../../src -I../.$
rm: invalid argument: `'
 g++ -DHAVE_CONFIG_H -I. -I../../../.. -DSketcherAppExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I/opt/opencascade-6.3/ros/inc -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/$
mv -f .deps/libSketcher_la-PreCompiled.Tpo .deps/libSketcher_la-PreCompiled.Plo
mv -f .deps/libSketcher_la-SketchObjectPyImp.Tpo .deps/libSketcher_la-SketchObjectPyImp.Plo
/bin/sh ../../../../libtool --tag=CXX   --mode=link g++ -I/opt/opencascade-6.3/ros/inc -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -march=core2 -O2 -pipe -Wno-depr$
rm: invalid argument: `'
 g++ -DHAVE_CONFIG_H -I. -I../../../.. -DSketcherAppExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I/opt/opencascade-6.3/ros/inc -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/$
mv -f .deps/Sketcher_la-AppSketcher.Tpo .deps/Sketcher_la-AppSketcher.Plo
/bin/sh ../../../../libtool --tag=CXX   --mode=link g++ -I/opt/opencascade-6.3/ros/inc -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -march=core2 -O2 -pipe -Wno-depr$
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o  .libs/libSketcher_la-assume.o .libs/libSketcher_la-c$
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o  .libs/Sketcher_la-AppSketcher.o  -Wl,--rpath -Wl,/va$
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lSketcher
collect2: ld returned 1 exit status
make[6]: *** [Sketcher.la] Error 1
make[6]: *** Waiting for unfinished jobs....
(cd .libs && rm -f libSketcher.so.2 && ln -s libSketcher.so.2.0.0 libSketcher.so.2)
(cd .libs && rm -f libSketcher.so && ln -s libSketcher.so.2.0.0 libSketcher.so)
creating libSketcher.la
(cd .libs && rm -f libSketcher.la && ln -s ../libSketcher.la libSketcher.la)
make[6]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Sketcher/App'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Sketcher/App'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Sketcher'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646'
make: *** [all] Error 2
 ^[[31;01m*^[[0m ERROR: media-gfx/freecad-0.9.2646 failed:
 ^[[31;01m*^[[0m   emake failed
Comment 22 Roelof Wobben 2009-11-23 19:20:18 UTC
(In reply to comment #21)
> compile fail on unstable amd64 
> ##############
> Portage 2.1.7.6 (default/linux/amd64/10.0/desktop, gcc-4.4.2, glibc-2.11-r0,
> 2.6.31-gentoo-r6 x86_64)
> =================================================================
> System uname:
> Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-2_Duo_CPU_P9700_@_2.80GHz-with-gentoo-2.0.1
> Timestamp of tree: Mon, 23 Nov 2009 15:30:01 +0000
> app-shells/bash:     4.0_p35
> dev-java/java-config: 2.1.9-r1
> dev-lang/python:     2.6.4, 3.1.1-r1
> dev-util/cmake:      2.8.0
> sys-apps/baselayout: 2.0.1
> sys-apps/openrc:     0.5.2-r2
> sys-apps/sandbox:    2.2
> sys-devel/autoconf:  2.13, 2.63-r1
> sys-devel/automake:  1.8.5-r3, 1.9.6-r2, 1.10.2, 1.11
> sys-devel/binutils:  2.20
> sys-devel/gcc-config: 1.4.1
> sys-devel/libtool:   2.2.6b
> virtual/os-headers:  2.6.30-r1
> ACCEPT_KEYWORDS="amd64 ~amd64"
> ACCEPT_LICENSE="*"
> CBUILD="x86_64-pc-linux-gnu"
> CFLAGS="-march=core2 -O2 -pipe"
> CHOST="x86_64-pc-linux-gnu"
> CONFIG_PROTECT="/etc /etc/X11/Sessions/awesome /etc/X11/Sessions/dwm
> /etc/X11/xorg.conf /etc/apache2/httpd.conf /etc/conf.d/hwclock
> /etc/conf.d/keymaps /etc/fstab /etc/make.conf /etc/xdg/openbox/autostart.sh
> /etc/xdg/openbox/menu.xml /etc/xdg/openbox/rc.xml /etc/xdg/openbox/start
> /usr/share/X11/xkb /usr/share/config /usr/share/xsessions/openbox.desktop
> /var/bind"
> CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/
> /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
> /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/
> /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
> /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d
> /etc/texmf/web2c /etc/udev/rules.d"
> CXXFLAGS="-march=core2 -O2 -pipe"
> DISTDIR="/usr/portage/distfiles"
> FEATURES="assume-digests distlocks fixpackages news parallel-fetch
> protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
> GENTOO_MIRRORS="http://distfiles.gentoo.org
> http://distro.ibiblio.org/pub/linux/distributions/gentoo"
> LANG="de_DE.UTF-8"
> LC_ALL=""
> LDFLAGS="-Wl,-O1"
> LINGUAS="de en vi"
> MAKEOPTS="-j3"
> PKGDIR="/usr/portage/packages"
> PORTAGE_CONFIGROOT="/"
> PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress
> --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles
> --exclude=/local --exclude=/packages"
> PORTAGE_TMPDIR="/var/tmp"
> PORTDIR="/usr/portage"
> PORTDIR_OVERLAY="/usr/portage/local/layman/devnull
> /usr/portage/local/layman/java-overlay /usr/portage/local/layman/portato
> /usr/portage/local/layman/pro-audio /usr/portage/local/layman/scarabeus
> /usr/portage/local/layman/xmw /usr/portage/local/layman/science
> /usr/portage/local/layman/gnome /usr/portage/local/layman/ibormuth
> /usr/portage/local/layman/enlightenment
> /usr/portage/local/layman/webapps-experimental
> /usr/portage/local/local-overlay"
> SYNC="rsync://rsync.gentoo.org/gentoo-portage"
> USE="X a52 aac aalib accessibility acl acpi adns afs aim alsa amd64 ao apache2
> ass atm audio audiofile bash-completion beagle berkdb bidi bluetooth bzip2
> cairo caps cdda cdio cdparanoia cdr cgi cjk cli clisp consolekit cracklib crypt
> cscope css csv cups curl curlwrappers cvs dbus dc1394 dga dhcpcd dia dirac
> directfb dmx dri dts dv dvd dvdr dvi emacs enca encode enscript erandom exif
> expat extras faac faad fam fastcgi fbcon ffmpeg firefox flac flash fortran ftp
> fuse gcj gd gdbm geoip ggi gif gimp git glib gmp gnome gnome-keyring gnutls
> gphoto2 gpm graphviz gs gstreamer gtk gzip hal hash hddtemp highlight httpd
> iconv icq icu idn ieee1394 imagemagick imap imlib ipv6 jabber jack java java6
> javascript jingle joystick jpeg jpeg2k kde kerberos lame lapack latex lcms ldap
> libcaca libwww live logrotate lua lzo mad maildir matroska md5sum memlimit
> mhash midi mikmod mime mjpeg mmap mmx mmxext mng mono motif mp3 mp4 mpeg
> mplayer msn mudflap mule multilib musepack mysql nas nautilus ncurses network
> networkmanager nfs nls nptl nptlonly nsplugin nvidia ogg ogg123 openal openexr
> opengl openmp oss pam pcmcia pcre pdf perl php pic pidgin png posix postgres
> ppds ps pulseaudio python qt3support qt4 quicktime radio rar raw rdesktop
> readline reflection rss rtsp ruby samba sasl savedconfig schroedinger sdl
> sdl-image session sip slang slp smp soap sockets sox spamassassin speex spell
> spl sqlite sse sse2 ssl ssse3 stream stun subversion svg swat sysfs syslog
> sysvipc tcl tcpd theora threads tidy tiff timidity tk tokenizer truetype ucs2
> udev unicode urandom usb userlocales v4l v4l2 vcd vhosts video vim-syntax vlc
> vlm vnc vorbis wav wavpack webkit wifi wma wmf wxwidgets x264 xattr xcb
> xcomposite xft xinerama xinetd xml xmlrpc xorg xpm xprint xscreensaver xsl
> xulrunner xv xvid xvmc yahoo zip zlib zsh-completion" ALSA_CARDS="hda_intel"
> ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file
> hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route
> share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest
> authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default
> authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs
> dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter
> headers ident imagemap include info log_config logio mem_cache mime mime_magic
> negotiation php5 proxy proxy_ajp proxy_balancer proxy_connect proxy_http
> rewrite setenvif so speling status unique_id userdir usertrack vhost_alias"
> APACHE2_MPMS="worker" CAMERAS="canon" ELIBC="glibc" INPUT_DEVICES="keyboard
> mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk
> hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en vi" USERLAND="GNU"
> VIDEO_CARDS="nv nvidia vesa fbdev vga vmware" 
> Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK,
> PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> ##############
>                  from
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/x86_64-pc-linux-gnu/bits/c++config.h:243,
>                  from
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/include/g++-v4/string:40,
>                  from ../../../../src/App/PropertyStandard.h:30,
>                  from ../../../../src/Mod/Sketcher/App/SketchObject.h:28,
>                  from SketchObjectPyImp.cpp:4:
> /usr/include/features.h:160:1: warning: this is the location of the previous
> definition
> mv -f .deps/libSketcher_la-SketchObject.Tpo
> .deps/libSketcher_la-SketchObject.Plo
> /bin/sh ../../../../libtool --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I.
> -I../../../..  -DSketcherAppExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall
> -I/opt/opencascade-6.3/ros/inc -I../../../../src -I../.$
> rm: invalid argument: `'
>  g++ -DHAVE_CONFIG_H -I. -I../../../.. -DSketcherAppExport= -D_OCC64 -g
> -D_DEBUG -D_REENTRANT -Wall -I/opt/opencascade-6.3/ros/inc -I../../../../src
> -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/$
> mv -f .deps/libSketcher_la-PreCompiled.Tpo .deps/libSketcher_la-PreCompiled.Plo
> mv -f .deps/libSketcher_la-SketchObjectPyImp.Tpo
> .deps/libSketcher_la-SketchObjectPyImp.Plo
> /bin/sh ../../../../libtool --tag=CXX   --mode=link g++
> -I/opt/opencascade-6.3/ros/inc -I../../../../src -I../../../../src
> -I/usr/include/python2.6 -I/usr/include -I/usr/include -march=core2 -O2 -pipe
> -Wno-depr$
> rm: invalid argument: `'
>  g++ -DHAVE_CONFIG_H -I. -I../../../.. -DSketcherAppExport= -D_OCC64 -g
> -D_DEBUG -D_REENTRANT -Wall -I/opt/opencascade-6.3/ros/inc -I../../../../src
> -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/$
> mv -f .deps/Sketcher_la-AppSketcher.Tpo .deps/Sketcher_la-AppSketcher.Plo
> /bin/sh ../../../../libtool --tag=CXX   --mode=link g++
> -I/opt/opencascade-6.3/ros/inc -I../../../../src -I../../../../src
> -I/usr/include/python2.6 -I/usr/include -I/usr/include -march=core2 -O2 -pipe
> -Wno-depr$
> x86_64-pc-linux-gnu-g++ -shared -nostdlib
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o 
> .libs/libSketcher_la-assume.o .libs/libSketcher_la-c$
> x86_64-pc-linux-gnu-g++ -shared -nostdlib
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o 
> .libs/Sketcher_la-AppSketcher.o  -Wl,--rpath -Wl,/va$
> /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld:
> cannot find -lSketcher
> collect2: ld returned 1 exit status
> make[6]: *** [Sketcher.la] Error 1
> make[6]: *** Waiting for unfinished jobs....
> (cd .libs && rm -f libSketcher.so.2 && ln -s libSketcher.so.2.0.0
> libSketcher.so.2)
> (cd .libs && rm -f libSketcher.so && ln -s libSketcher.so.2.0.0 libSketcher.so)
> creating libSketcher.la
> (cd .libs && rm -f libSketcher.la && ln -s ../libSketcher.la libSketcher.la)
> make[6]: Leaving directory
> `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Sketcher/App'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory
> `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Sketcher/App'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Sketcher'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646'
> make: *** [all] Error 2
>  ^[[31;01m*^[[0m ERROR: media-gfx/freecad-0.9.2646 failed:
>  ^[[31;01m*^[[0m   emake failed

Oke, 

Can you give me your make.conf and the versions numbers of the following packages:

1) python 
2) opencascade
3) Coin
4) SoQt
5) gts
6) Zlib
7) boost
8) PyOT4
9) Xerces-4

Roelof

Comment 23 Roelof Wobben 2009-11-24 13:42:42 UTC
Created attachment 211059 [details]
new ebuild (bug #1 multi-core system)

solution for bug #1 Working on a multi-core system
Comment 24 Roelof Wobben 2009-11-25 16:25:26 UTC
(In reply to comment #23)
> Created an attachment (id=211059) [details]
> new ebuild (bug #1 multi-core system)
> solution for bug #1 Working on a multi-core system

Hoi Tman, 

Found any errors or is this working well ?

Roelof
Comment 25 tman 2009-11-26 08:25:26 UTC
hi , so here are the infos which u have asked:
#############################################

[I] dev-lang/python
     Available versions:  
	(2.4)	2.4.6
	(2.5)	2.5.4-r3
	(2.6)	2.6.2-r1 (~)2.6.2-r2 (~)2.6.3 (~)2.6.4
	(3.1)	(~)3.1.1-r1
	{-berkdb bootstrap build +cxx doc elibc_uclibc examples gdbm ipv6 (+)ncurses (+)readline sqlite ssl +threads tk ucs2 wininst +xml}
     Installed versions:  2.6.4(2.6)(05:38:03 24.11.2009)(berkdb gdbm ipv6 ncurses readline sqlite ssl threads tk ucs2 xml -build -doc -elibc_uclibc -examples -wininst) 3.1.1-r1(3.1)(03:01:07 24.11.2009)(gdbm ipv6 ncurses readline sqlite ssl threads tk ucs2 xml -build -doc -elibc_uclibc -examples -wininst)

	
	[I] sci-libs/opencascade [1]
     Available versions:  (~)6.2-r1 (~)6.3-r1 {X debug doc java opengl qt3 stlport}
     Installed versions:  6.3-r1(18:13:19 23.11.2009)(X java opengl -debug -doc -qt3 -stlport)

     
     [I] media-libs/coin
     Available versions:  (~)3.1.0 {debug doc java javascript openal}
     Installed versions:  3.1.0(17:12:30 23.11.2009)(java javascript openal -debug -doc)
     
     [I] media-libs/SoQt
     Available versions:  (~)1.4.1 {doc qt4}
     Installed versions:  1.4.1(17:16:48 23.11.2009)(qt4 -doc)

     [I] sci-libs/gts
     Available versions:  (~)0.7.4 (~)0.7.6 (~)20081607 {doc}
     Installed versions:  20081607(17:07:20 23.11.2009)(-doc)

     
     
[I] sys-libs/zlib
     Available versions:  1.2.3-r1
     Installed versions:  1.2.3-r1(22:25:55 23.11.2009)

[I] dev-libs/boost
     Available versions:  
	(0)	[M]~*1.33.1-r1 [M]1.34.1-r2 (~)1.35.0-r1 1.35.0-r2 (~)1.35.0-r3 1.35.0-r5
	(1.36)	(~)1.36.0-r1
	(1.37)	(~)1.37.0-r1
	(1.39)	(~)1.39.0
	(1.40)	[M](~)1.40.0
	{bcp bjam debug doc +eselect expat icu mpi pyste python test threads threadsonly tools}
     Installed versions:  1.39.0(1.39)(03:25:00 24.11.2009)(expat icu mpi python -debug -doc -eselect -test -tools)

           [I] dev-python/PyQt4
     Available versions:  4.4.4-r2 4.4.4-r5 (~)4.5.2 (~)4.5.4-r3 4.5.4-r4 (~)4.6.1 (~)4.6.1-r1 (~)4.6.2 {X assistant (+)dbus debug doc examples kde opengl phonon qt3support sql svg webkit xmlpatterns}
     Installed versions:  4.6.2(10:46:48 24.11.2009)(X dbus kde opengl sql svg webkit xmlpatterns -assistant -debug -doc -examples -phonon)


   [I] dev-java/xerces
     Available versions:  
	(1.3)	1.3.1-r2 (~)1.4.4[1]
	(2.6)	2.6.2-r4[1]
	(2)	2.9.1!t
	{doc elibc_FreeBSD examples source}
     Installed versions:  2.9.1(2)!t(03:55:20 24.11.2009)(-doc -elibc_FreeBSD -examples -source)
     Homepage:            http://xml.apache.org/xerces2-j/index.html

[I] dev-libs/xerces-c
     Available versions:  2.7.0-r1 (~)2.8.0-r1 (~)3.0.0 3.0.0-r1 (~)3.0.1 (~)3.0.1-r1 {curl debug doc elibc_Darwin elibc_FreeBSD iconv icu libwww (+)threads xqilla}
     Installed versions:  3.0.1-r1(17:19:48 23.11.2009)(curl iconv icu libwww threads -debug -doc -elibc_Darwin -elibc_FreeBSD)
     Homepage:            http://xerces.apache.org/xerces-c/


#############################

current withe latest posted ebuild, i get following error:
#############################

 g++ -DHAVE_CONFIG_H -I. -I../../../.. -DPartDesignAppExport= -DPartDesignGuiExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../../../src -I../../../../src -I./.. -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/  |include/qt4 -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/           |QtUiTools -I/usr/include/qt4/QtWebKit -I/opt/opencascade-6.3/ros/inc -I/usr/include -I/usr/include/Inventor/Qt -march=core2 -O2 -pipe -Wno-deprecated -frtti -MT PartDesignGui_la-AppPartDesignGui.lo -MD -MP -MF .deps/              |PartDesignGui_la-AppPartDesignGui.Tpo -c AppPartDesignGui.cpp  -fPIC -DPIC -o .libs/PartDesignGui_la-AppPartDesignGui.o
mv -f .deps/libPartDesignGui_la-TaskPadParameters.Tpo .deps/libPartDesignGui_la-TaskPadParameters.Plo
/bin/sh ../../../../libtool --tag=CXX   --mode=link g++ -I../../../../src -I../../../../src -I./.. -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/ |usr/include/qt4/QtCore -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools  -I/usr/include/qt4/QtWebKit -I/opt/opencascade-6.3/ros/inc -I/usr/    |include -I/usr/include/Inventor/Qt -march=core2 -O2 -pipe -Wno-deprecated -frtti -L../../../Base -L../../../App -L../../../Gui -L../../Part/App -L../App -L/usr/lib64/qt4 -lQtCore -lQtGui -lQt3Support -lQtNetwork -lQtOpenGL -      |lQtSvg -lQtXml  -L/usr/lib64 -lX11 -lXext -lXmu -lXt -lXi  -lQtWebKit -lGL -lGLU -L/usr/lib64 -L/usr/lib -L/usr/lib -version-info 2:0:0 -Wl,-O1 -lpthread -o libPartDesignGui.la -rpath /usr/Mod/PartDesign libPartDesignGui_la-      |AppPartDesignGuiPy.lo libPartDesignGui_la-Command.lo libPartDesignGui_la-PreCompiled.lo libPartDesignGui_la-TaskPadParameters.lo libPartDesignGui_la-Workbench.lo -lboost_system-mt -lpython2.6 -lxerces-c -lFreeCADBase -            |lFreeCADApp -lFreeCADGui -lPart -lPartDesign 
mv -f .deps/PartDesignGui_la-AppPartDesignGui.Tpo .deps/PartDesignGui_la-AppPartDesignGui.Plo
/bin/sh ../../../../libtool --tag=CXX   --mode=link g++ -I../../../../src -I../../../../src -I./.. -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/ |usr/include/qt4/QtCore -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools  -I/usr/include/qt4/QtWebKit -I/opt/opencascade-6.3/ros/inc -I/usr/    |include -I/usr/include/Inventor/Qt -march=core2 -O2 -pipe -Wno-deprecated -frtti -L../../../Base -L../../../App -L../../../Gui -L../../Part/App -L../App -L/usr/lib64/qt4 -lQtCore -lQtGui -lQt3Support -lQtNetwork -lQtOpenGL -      |lQtSvg -lQtXml  -L/usr/lib64 -lX11 -lXext -lXmu -lXt -lXi  -lQtWebKit -lGL -lGLU -L/usr/lib64 -L/usr/lib -L/usr/lib -version-info 2:0:0 -module -avoid-version -Wl,-O1 -lpthread -o PartDesignGui.la -rpath /usr/Mod/PartDesign       |PartDesignGui_la-AppPartDesignGui.lo -lboost_system-mt -lpython2.6 -lxerces-c -lFreeCADBase -lFreeCADApp -lFreeCADGui -lPart -lPartDesign Resources/libResources.la -lPartDesignGui 
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o  .libs/libPartDesignGui_la-AppPartDesignGuiPy.o .libs/libPartDesignGui_la- |Command.o .libs/libPartDesignGui_la-PreCompiled.o .libs/libPartDesignGui_la-TaskPadParameters.o .libs/libPartDesignGui_la-Workbench.o  -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Base/.   |libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/App/.libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Gui/.libs -Wl,--rpath -Wl,/var/tmp/        |portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Part/App/.libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign/App/.libs -Wl,--rpath -Wl,/usr/Mod/Part -Wl,--   |rpath -Wl,/usr/Mod/PartDesign -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Base -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/App -L/var/tmp/portage/media-gfx/freecad-0.9.2646/ |work/FreeCAD-0.9.2646/src/Gui -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Part/App -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign/App -L/usr/lib64/qt4 /usr/  |lib64/qt4/libQtCore.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQt3Support.so /usr/lib64/qt4/libQtNetwork.so /usr/lib64/qt4/libQtOpenGL.so /usr/lib64/qt4/libQtSvg.so /usr/lib64/qt4/libQtXml.so -L/usr/lib64 /usr/lib64/libX11.  |so /usr/lib64/libXext.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXi.so /usr/lib64/qt4/libQtWebKit.so -lGL /usr/lib/libGLU.so -L/usr/lib -lpthread -lboost_system-mt -lpython2.6 /usr/lib64/libxerces-c.so /var/tmp/    |portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Base/.libs/libFreeCADBase.so /var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/App/.libs/libFreeCADApp.so /var/tmp/portage/media-gfx/freecad-0.9.    |2646/work/FreeCAD-0.9.2646/src/Gui/.libs/libFreeCADGui.so /var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Part/App/.libs/libPart.so /var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/  |Mod/PartDesign/App/.libs/libPartDesign.so -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.             |2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crtn.o  -  |march=core2 -Wl,-O1 -Wl,-soname -Wl,libPartDesignGui.so.2 -o .libs/libPartDesignGui.so.2.0.0 
(cd .libs && rm -f libPartDesignGui.so.2 && ln -s libPartDesignGui.so.2.0.0 libPartDesignGui.so.2)
(cd .libs && rm -f libPartDesignGui.so && ln -s libPartDesignGui.so.2.0.0 libPartDesignGui.so)
creating libPartDesignGui.la
x86_64-pc-linux-gnu-g++ -shared -nostdlib /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crti.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtbeginS.o  .libs/PartDesignGui_la-AppPartDesignGui.o -Wl,--whole-archive Resources/. |libs/libResources.a -Wl,--no-whole-archive  -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Base/.libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/   |App/.libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Gui/.libs -Wl,--rpath -Wl,/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/Part/App/.libs -Wl,--rpath -Wl,/  |var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign/App/.libs -Wl,--rpath -Wl,/usr/Mod/Part -Wl,--rpath -Wl,/usr/Mod/PartDesign -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/  |src/Base -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/App -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Gui -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/ |src/Mod/Part/App -L/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign/App -L/usr/lib64/qt4 /usr/lib64/qt4/libQtCore.so /usr/lib64/qt4/libQtGui.so /usr/lib64/qt4/libQt3Support.so /usr/lib64/qt4/   |libQtNetwork.so /usr/lib64/qt4/libQtOpenGL.so /usr/lib64/qt4/libQtSvg.so /usr/lib64/qt4/libQtXml.so -L/usr/lib64 /usr/lib64/libX11.so /usr/lib64/libXext.so /usr/lib64/libXmu.so /usr/lib64/libXt.so /usr/lib64/libXi.so /usr/lib64/  |qt4/libQtWebKit.so -lGL /usr/lib/libGLU.so -L/usr/lib -lboost_system-mt -lpython2.6 /usr/lib64/libxerces-c.so /var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Base/.libs/libFreeCADBase.so /var/tmp/portage/    |media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/App/.libs/libFreeCADApp.so /var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Gui/.libs/libFreeCADGui.so /var/tmp/portage/media-gfx/freecad-0.9.2646/work/    |FreeCAD-0.9.2646/src/Mod/Part/App/.libs/libPart.so /var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign/App/.libs/libPartDesign.so -lpthread -lPartDesignGui -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.  |2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../.. -     |lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../lib64/crtn.o  -march=core2 -Wl,-O1 -Wl,-soname -Wl,PartDesignGui.so -o .libs/PartDesignGui.so
/usr/lib/gcc/x86_64-pc-linux-gnu/4.4.2/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lPartDesignGui
collect2: ld returned 1 exit status
make[7]: *** [PartDesignGui.la] Error 1
make[7]: *** Waiting for unfinished jobs....
(cd .libs && rm -f libPartDesignGui.la && ln -s ../libPartDesignGui.la libPartDesignGui.la)
make[7]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign/Gui'
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign/Gui'
make[5]: *** [all] Error 2
make[5]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign/Gui'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod/PartDesign'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src/Mod'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.9.2646/work/FreeCAD-0.9.2646'
make: *** [all] Error 2
 ^[[31;01m*^[[0m ERROR: media-gfx/freecad-0.9.2646 failed:

  
Comment 26 Roelof Wobben 2009-11-27 09:22:20 UTC
Created attachment 211301 [details]
Attempt 2 to solve the multicore problem

Attempt 2 to solve the multicore problem
Comment 27 tman 2009-11-27 10:39:48 UTC
great. it works now the compile process was sucessfull.

thx a lot
Comment 28 Roelof Wobben 2009-11-27 10:42:04 UTC
Created attachment 211304 [details]
fixing a typo
Comment 29 Roelof Wobben 2009-11-27 10:45:47 UTC
(In reply to comment #28)
> Created an attachment (id=211304) [details]
> fixing a typo
> 

Hello tman, 

Glad to hear.
Could you also test the new ebuild.
In the old i have put a -j3 so you makeopts were overwritten.

Roelof
Comment 30 tman 2009-11-28 10:30:57 UTC
the new fixed typo ebuild also fine here

Comment 31 Roelof Wobben 2009-11-28 10:52:42 UTC
(In reply to comment #30)
> the new fixed typo ebuild also fine here
> 

Oke,

Then I'm now trying to get in in a overlay.

Roelof

Comment 32 tman 2009-11-28 15:19:21 UTC
dont forget to post here in which overlay :-)
Comment 33 Roelof Wobben 2009-12-04 20:16:34 UTC
(In reply to comment #32)
> dont forget to post here in which overlay :-)
> 

Ebuild can now be found at Science Overlay 

Roelof
Comment 34 tman 2009-12-05 07:11:23 UTC
thanks i set it now to resolved
Comment 35 Sébastien Fabbro (RETIRED) gentoo-dev 2009-12-05 19:35:56 UTC
leave bug open until in main tree
Comment 36 Samuli Suominen (RETIRED) gentoo-dev 2009-12-05 22:31:42 UTC
Someone should look at bug 295849...
Comment 37 Roelof Wobben 2009-12-06 10:16:48 UTC
(In reply to comment #36)
> Someone should look at bug 295849...
> 

Oke, I will.

Roelof
Comment 38 Derk W te Bokkel 2009-12-08 20:56:46 UTC
please add ~x86 keyword to the ebuild as well
Comment 39 Roelof Wobben 2009-12-08 21:12:17 UTC
(In reply to comment #38)
> please add ~x86 keyword to the ebuild as well
> 

Oke, does Freecad works well on x86 ?

Roelof
Comment 40 Derk W te Bokkel 2009-12-09 15:27:55 UTC
I have not played with it much, as the functionality I want requires pivy and that refuses to install. Primarily due to a compile error in soqt_wrap.ccp (apparently due to some syntax problems .. I think .. but I'm not an experienced C++ programmer so it is not obvious to me what it is so I can't try to fix it)
Comment 41 Roelof Wobben 2009-12-09 15:30:36 UTC
(In reply to comment #40)
> I have not played with it much, as the functionality I want requires pivy and
> that refuses to install. Primarily due to a compile error in soqt_wrap.ccp
> (apparently due to some syntax problems .. I think .. but I'm not an
> experienced C++ programmer so it is not obvious to me what it is so I can't try
> to fix it)
> 


Hello, 

I hope in a week to make a Pivy build which will work.
Im now busy to make the depencies of Pivy work.

In the next release I will add ~86 keyword. 

Roelof

Comment 42 Roelof Wobben 2009-12-09 16:33:44 UTC
Created attachment 212555 [details]
Added ~x86
Comment 43 Roelof Wobben 2009-12-16 13:49:14 UTC
Created attachment 213195 [details]
repairing some depencies
Comment 44 HMC 2010-03-11 08:48:52 UTC
(In reply to comment #43)
> Created an attachment (id=213195) [details]
> repairing some depencies

Hi,

Ebuild dependency specifies:
=media-libs/SoQt-1.4.2_alpha4181
Latest is:
media-libs/SoQt-1.4.2_alpha1841

Is that a typo in the ebuild? 



Comment 45 Thomas Raschbacher gentoo-dev 2010-03-30 12:06:16 UTC
jlec@g.o has fixed this (typo) to point to the version in portage. however i do get an error when trying to use it .. See Bug #312063 
Closing this bug again.
Comment 46 Kfir Lavi 2010-04-01 00:27:50 UTC
Hi,
Freecad needs to have dev-python/pivy. Also the typo with SoQt.
Here are two patches:

--- freecad-0.9.2646.ebuild.orig        2010-03-25 06:54:02.000000000 +0200
+++ freecad-0.9.2646.ebuild     2010-04-01 03:10:12.000000000 +0300
@@ -28,7 +28,8 @@
        dev-libs/boost
        dev-python/PyQt4
        dev-libs/xerces-c
-       =media-libs/SoQt-1.4.2_alpha4181"
+       dev-python/pivy
+       =media-libs/SoQt-1.4.2_alpha1841"
 
 DEPEND="${RDEPEND}
        dev-lang/swig"


--- pivy-0.5_alpha592.ebuild.orig       2010-04-01 02:55:47.000000000 +0300
+++ pivy-0.5_alpha592.ebuild    2010-04-01 03:08:04.000000000 +0300
@@ -16,7 +16,7 @@
 IUSE=""
 
 DEPEND="media-libs/coin
-       =sci-libs/soqt-1.4.2_alpha4181"
+       =media-libs/SoQt-1.4.2_alpha1841"
 
 RDEPEND="${DEPEND}"
 
Running the program FreeCAD:
Pivy and PyQt4 python modules must be installed on your system to use the 2D Drafting module.<type 'exceptions.AttributeError'>
AttributeError: DraftWorkbench instance has no attribute 'draftToolBar'
Error: The Python-Pivy package must be installed on your system to use the Draft moduleCannot find icon: Draft_line
Cannot find icon: Draft_polyline
Cannot find icon: Draft_circle
Cannot find icon: Draft_arc
Cannot find icon: Draft_rectangle
Cannot find icon: Draft_text
Cannot find icon: Draft_dimension
Cannot find icon: Draft_move
Cannot find icon: Draft_rotate
Cannot find icon: Draft_offset
Cannot find icon: Draft_trimex
Cannot find icon: Draft_upgrade
Cannot find icon: Draft_downgrade
Cannot find icon: Draft_scale
Cannot find icon: Draft_apply

Installing pivy does not help. Somehow freecad don't find it. 
Regards,
Kfir
Comment 47 Martin 2010-04-01 11:02:18 UTC
Hey, greate ebuild. I have a FreeCad instalation, but it conplain about PartUI and Part modules.
in the ./configure part, it complain about opencascade too, and I have installed

andard.hxx presence... yes
checking for Standard.hxx... yes
checking whether OCC libs are available... no
configure: WARNING:
	**** Cannot find OpenCASCADE devel files.
	Modules that depend on this library cannot be built. ****
  
checking if platform is 64-bit (-D_OCC64)... yes
Comment 48 Henryk Rychlik 2010-04-13 17:26:19 UTC
(In reply to comment #47)
> Hey, greate ebuild. I have a FreeCad instalation, but it conplain about PartUI
> and Part modules.
> in the ./configure part, it complain about opencascade too, and I have
> installed
> 
> andard.hxx presence... yes
> checking for Standard.hxx... yes
> checking whether OCC libs are available... no
> configure: WARNING:
>         **** Cannot find OpenCASCADE devel files.
>         Modules that depend on this library cannot be built. ****
> 
> checking if platform is 64-bit (-D_OCC64)... yes
> 
I'm just compiling freecad configured with --with-occ-include and --with-occ-lib, the problem is that occ is in /opt/opencascade... Maybe it will work;) Heve hope so
Comment 49 Henryk Rychlik 2010-04-13 18:09:09 UTC
Created attachment 227629 [details]
EBUILD and Manifest files
Comment 50 Henryk Rychlik 2010-04-13 18:10:19 UTC
Created attachment 227631 [details]
EBUILD and Manifest files
Comment 51 tman 2010-06-10 10:23:01 UTC
@Roelof

could u improve this ebuild alitle bit, atm u can not use any tools to draw because "No module named PartGui Pivy and PyQt4 python modules must be installed on your system to use the 2D
Drafting module."


so its really useless and its somehow compiled but broken

thanks for your nice work
Comment 52 Mark Finnegan 2010-06-26 03:20:49 UTC
(In reply to comment #46)
> Hi,
> Freecad needs to have dev-python/pivy. Also the typo with SoQt.
> Here are two patches:
> 
> --- freecad-0.9.2646.ebuild.orig        2010-03-25 06:54:02.000000000 +0200
> +++ freecad-0.9.2646.ebuild     2010-04-01 03:10:12.000000000 +0300
> @@ -28,7 +28,8 @@
>         dev-libs/boost
>         dev-python/PyQt4
>         dev-libs/xerces-c
> -       =media-libs/SoQt-1.4.2_alpha4181"
> +       dev-python/pivy
> +       =media-libs/SoQt-1.4.2_alpha1841"
> 
>  DEPEND="${RDEPEND}
>         dev-lang/swig"
> 
> 
> --- pivy-0.5_alpha592.ebuild.orig       2010-04-01 02:55:47.000000000 +0300
> +++ pivy-0.5_alpha592.ebuild    2010-04-01 03:08:04.000000000 +0300
> @@ -16,7 +16,7 @@
>  IUSE=""
> 
>  DEPEND="media-libs/coin
> -       =sci-libs/soqt-1.4.2_alpha4181"
> +       =media-libs/SoQt-1.4.2_alpha1841"
> 
>  RDEPEND="${DEPEND}"
> 
> Running the program FreeCAD:
> Pivy and PyQt4 python modules must be installed on your system to use the 2D
> Drafting module.<type 'exceptions.AttributeError'>
> AttributeError: DraftWorkbench instance has no attribute 'draftToolBar'
> Error: The Python-Pivy package must be installed on your system to use the
> Draft moduleCannot find icon: Draft_line
> Cannot find icon: Draft_polyline
> Cannot find icon: Draft_circle
> Cannot find icon: Draft_arc
> Cannot find icon: Draft_rectangle
> Cannot find icon: Draft_text
> Cannot find icon: Draft_dimension
> Cannot find icon: Draft_move
> Cannot find icon: Draft_rotate
> Cannot find icon: Draft_offset
> Cannot find icon: Draft_trimex
> Cannot find icon: Draft_upgrade
> Cannot find icon: Draft_downgrade
> Cannot find icon: Draft_scale
> Cannot find icon: Draft_apply
> 
> Installing pivy does not help. Somehow freecad don't find it. 
> Regards,
> Kfir
> 

########
The problem is in Pivy.

To unmask the real error, in the FreeCAD "Python console" tab, enter "import pivy" to get the following:

>>> import pivy
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "/usr/lib/python2.6/site-packages/pivy/__init__.py", line 28, in <module>
    from coin import SoDB, SoNodeKit, SoInteraction
  File "/usr/lib/python2.6/site-packages/pivy/coin.py", line 14, in <module>
    import _coin
ImportError: /usr/lib/python2.6/site-packages/pivy/_coin.so: wrong ELF class: ELFCLASS64

########
Pivy ships with two .SO files:

build/lib/pivy/_coin.so which is copied to /usr/lib/python2.6/site-packages/pivy/_coin.so

and

build/lib/pivy/gui/_soqt.so, which is copied to /usr/lib/python2.6/site-packages/pivy/gui/_soqt.so

These are both ELF 64-bit x86-64. There is no apparent way to build them from source, so if you're running 32-bit (or, I'm assuming, on a different architecture) you're screwed right here.

The (HORRIBLY HORRIBLY LOCATED!!) FreeCAD startup file /usr/Mod/Draft/InitGui.py, line 154 tries to "import pivy, PyQt4" which will fail, causing the Initialize() function to exit early, causing the "AttributeError" and the "cannot find icon" errors.  Changing line 154 to "import PyQt4" will alleviate these errors, but pivy will still not be found.


Not sure what to do next, but I hope this helps SOMEBODY.

Selected version info from my setup:
2.6.32-gentoo-r7 #1 SMP i686
dev-lang/python-2.6.4
dev-libs/boost-1.35.0-r5
dev-python/PyQt4-4.6.2
dev-python/pivy-0.5_alpha592
media-libs/SoQt-1.4.2_alpha1841
sci-libs/gts-20100321-r1
sci-libs/opencascade-6.3-r2
Comment 53 johnwarfin 2010-07-04 17:18:00 UTC
> Pivy ships with two .SO files:
> 
> build/lib/pivy/_coin.so which is copied to
> /usr/lib/python2.6/site-packages/pivy/_coin.so
> 
> and
> 
> build/lib/pivy/gui/_soqt.so, which is copied to
> /usr/lib/python2.6/site-packages/pivy/gui/_soqt.so
> 
> These are both ELF 64-bit x86-64. There is no apparent way to build them from
> source, so if you're running 32-bit (or, I'm assuming, on a different
> architecture) you're screwed right here.
> 
...
> Not sure what to do next, but I hope this helps SOMEBODY.
> 

The problem is that the supplied pivy source package contains c++ source files that are supposed to be created by swig for the local system as part of the build process.  I believe the proper solution here is to provide a clean source package.  Until then I was able to build pivy by adding the following source configure call:

src_configure() {
	  python setup.py clean          
}


Comment 54 Stephen Bridges 2010-09-04 12:08:42 UTC
The versions of SoQt (1.4.2somealpha) and coin (3.1.2) depended upon by this ebuild are no longer in portage.  They have been replaced by 1.5.0 and 3.1.3.

I'm just building with these versions now on amd64.
Comment 55 Stephen Bridges 2010-09-04 14:36:22 UTC
The 0.9 build failed with failures to find SoQt despite compiling it earlier, so I renamed the ebuild to 0.10.3247, to test the new version.


It compiles, but without PartGui, I don't think it found all of the OpenCascade libraries.  It also has the following QA notices:


 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * BaseClassPyImp.cpp:49: warning: dereferencing pointer ‘_Py_TrueStruct.424’ does break strict-aliasing rules
 * BaseClassPyImp.cpp:49: warning: dereferencing pointer ‘_Py_TrueStruct.424’ does break strict-aliasing rules
 * BaseClassPyImp.cpp:53: warning: dereferencing pointer ‘_Py_ZeroStruct.425’ does break strict-aliasing rules
 * BaseClassPyImp.cpp:53: warning: dereferencing pointer ‘_Py_ZeroStruct.425’ does break strict-aliasing rules
 * swigpyrun.h:1521: warning: dereferencing pointer ‘res’ does break strict-aliasing rules
 * swigpyrun.h:1521: warning: dereferencing pointer ‘res’ does break strict-aliasing rules
 * swigpyrun_1.3.38.h:1500: warning: dereferencing pointer ‘res’ does break strict-aliasing rules
 * swigpyrun_1.3.38.h:1500: warning: dereferencing pointer ‘res’ does break strict-aliasing rules
 * VectorPyImp.cpp:180: warning: dereferencing pointer ‘res’ does break strict-aliasing rules
 * VectorPyImp.cpp:180: warning: dereferencing pointer ‘res’ does break strict-aliasing rules
 * VectorPyImp.cpp:185: warning: dereferencing pointer ‘res’ does break strict-aliasing rules
 * VectorPyImp.cpp:185: warning: dereferencing pointer ‘res’ does break strict-aliasing rules
 * DocumentObjectGroupPyImp.cpp:148: warning: dereferencing pointer ‘_Py_TrueStruct.545’ does break strict-aliasing rules
 * DocumentObjectGroupPyImp.cpp:148: warning: dereferencing pointer ‘_Py_TrueStruct.545’ does break strict-aliasing rules
 * DocumentObjectGroupPyImp.cpp:152: warning: dereferencing pointer ‘_Py_ZeroStruct.546’ does break strict-aliasing rules
 * DocumentObjectGroupPyImp.cpp:152: warning: dereferencing pointer ‘_Py_ZeroStruct.546’ does break strict-aliasing rules
 * PropertyStandard.cpp:1295: warning: dereferencing pointer ‘_Py_TrueStruct.513’ does break strict-aliasing rules
 * PropertyStandard.cpp:1295: warning: dereferencing pointer ‘_Py_TrueStruct.513’ does break strict-aliasing rules
 * PropertyStandard.cpp:1297: warning: dereferencing pointer ‘_Py_ZeroStruct.514’ does break strict-aliasing rules
 * PropertyStandard.cpp:1297: warning: dereferencing pointer ‘_Py_ZeroStruct.514’ does break strict-aliasing rules
 * WildMagic4/Wm4TRational.inl:625: warning: dereferencing pointer ‘pretmp.9704’ does break strict-aliasing rules
 * WildMagic4/Wm4TRational.inl:622: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
 * WildMagic4/Wm4TRational.inl:625: warning: dereferencing pointer ‘pretmp.11758’ does break strict-aliasing rules
 * WildMagic4/Wm4TRational.inl:622: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
 * WildMagic4/Wm4TRational.inl:625: warning: dereferencing pointer ‘pretmp.5946’ does break strict-aliasing rules
 * WildMagic4/Wm4TRational.inl:622: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
 * WildMagic4/Wm4TRational.inl:625: warning: dereferencing pointer ‘pretmp.10984’ does break strict-aliasing rules
 * WildMagic4/Wm4TRational.inl:622: warning: dereferencing pointer ‘<anonymous>’ does break strict-aliasing rules
Comment 56 Per Öberg 2010-09-10 10:19:08 UTC
(In reply to comment #55)
> The 0.9 build failed with failures to find SoQt despite compiling it earlier,
> so I renamed the ebuild to 0.10.3247, to test the new version.
> 
> 
> It compiles, but without PartGui, I don't think it found all of the OpenCascade
> libraries.  It also has the following QA notices:
> 
> 

The attached ebuild in this bug works for me on a amd64 with some ~amd64 packages

http://bugs.gentoo.org/show_bug.cgi?id=312063

Hope that helps 
Comment 57 Ondrej Filip 2010-11-04 21:51:53 UTC
(In reply to comment #56)
> (In reply to comment #55)
> > The 0.9 build failed with failures to find SoQt despite compiling it earlier,
> > so I renamed the ebuild to 0.10.3247, to test the new version.
> > 
> > 
> > It compiles, but without PartGui, I don't think it found all of the OpenCascade
> > libraries.  It also has the following QA notices:
> > 
> > 
> 
> The attached ebuild in this bug works for me on a amd64 with some ~amd64
> packages
> 
> http://bugs.gentoo.org/show_bug.cgi?id=312063
> 
> Hope that helps 
> 

I put ebuild for 0.10 from bug 312063 here, if you do not mind. I used it for 0.10.3247 and it worked for me also.
Comment 58 Ondrej Filip 2010-11-04 21:53:05 UTC
Created attachment 253227 [details]
build for freecad-0.10
Comment 59 Hazimin 2010-11-28 03:10:17 UTC
Created attachment 255703 [details]
FreeCAD live ebuild

Attached is the live ebuild of freecad for the brave. Tested and worksforme on amd64.

FreeCAD build script will fail to find correct version from svn due to source unpacked from ebuild no longer contains svn repo information. Therefore, dummy "version.h" will be created if not exists (Some commit revision appeared to have a correct version.h). 

As always, you can also install specific revision by using ESVN_REVISION. eg: to install freecad-0.10.3205, simply type:
ESVN_REVISION=3205 emerge -av freecad

If you have weird linker error, simply unmerge freecad and reinstall again. For some reason, linker appeared to link currently compiled freecad with the already installed freecad library.

If the application crash with "Illegal Storage access...", try upgrade/downgrade SoQT. As of the time being, latest svn revision should works fine with SoQt-1.5.0
Comment 60 Hazimin 2010-11-28 03:13:29 UTC
Created attachment 255705 [details, diff]
Version.h patch for live ebuild

The version.h patch for live ebuild. 

As i simply have no idea how to get correct freecad version from svn, i just use dummy data as software version (eg: version 0.99, revision 9999)
Comment 61 Andreas K. Hüttel archtester gentoo-dev 2011-03-05 00:00:14 UTC
I bumped the version in the overlay and added quite some fixes. 

Note that the category changed; it is now media-gfx as with all other cad applications. 

Please test and give feedback here. If it works, it will move to the main tree. 

(I still get some error messages on startup about missing icons. However, I'm not sure if the icons are actually missing or if the error is actually an error...)
Comment 62 tman 2011-03-05 08:41:22 UTC
freecad needs pyvi and pyvi dont work, so i cant test it. :(

http://bugs.gentoo.org/show_bug.cgi?id=357483
Comment 63 J.Borme 2011-03-05 19:10:09 UTC
I tried to emerge freecqd-0.11.3729 from science overlay. It stops there:

libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../.. -DAppPartExport= -DAppPartGuiExport= -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../../../src -I../../../../src -I/usr/include/python2.6 -I/usr/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4/Qt3Support -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtUiTools -I/usr/include/qt4/QtWebKit -I/usr/lib64/opencascade-6.3/ros/lin/inc -I/usr/include/coin -I/usr/include/coin -O2 -pipe -mtune=native -Wno-deprecated -frtti -MT libPartGui_la-ViewProviderBox.lo -MD -MP -MF .deps/libPartGui_la-ViewProviderBox.Tpo -c ViewProviderBox.cpp  -fPIC -DPIC -o .libs/libPartGui_la-ViewProviderBox.o
In file included from DlgPrimitives.cpp:288:0:
moc_DlgPrimitives.cpp:44:28: error: 'PartGui::PartGui' has not been declared
moc_DlgPrimitives.cpp:53:29: error: 'PartGui::PartGui' has not been declared
moc_DlgPrimitives.cpp:53:66: error: non-member function 'const QMetaObject* metaObject()' cannot have cv-qualifier
/usr/include/qt4/QtCore/qobject.h: In function 'const QMetaObject* metaObject()':
[...]

I keyworded ~amd64 all packages that had no suitable stable version: ode-0.11.1, itcl-3.3.1_pre20090417, xerces-c-3.1.0, eigen-2.0.13, gts-20100321-r1, tix-8.4.3, coin-3.1.3-r1, itk-3.3.1_pre20090417, SoQt-1.5.0-r1, opencascade-6.3-r3, pivy-0.5_alpha20110303

gcc 4.5.2, libtool 2.2.10 
CFLAGS="-O2 -pipe -mtune=native"
Comment 64 Andreas K. Hüttel archtester gentoo-dev 2011-03-05 20:17:33 UTC
(In reply to comment #63)
> I tried to emerge freecqd-0.11.3729 from science overlay. It stops there:
> 

Yes, thanks, I can reproduce this. Seems to happen because we now build for the first time an additional module (before dependencies were missing). Working on it...
Comment 65 Andreas K. Hüttel archtester gentoo-dev 2011-03-05 23:02:07 UTC
Please update your overlay, try again, and tell us here if it works. (It did here.)

Warning: painfully long compile time ahead...
Comment 66 tman 2011-03-06 08:12:58 UTC
i get this error:

v /usr/lib64/libgmp.so /usr/lib64/libssh2.so -lssl -lcrypto -licui18n -licuuc -licudata -lpthread -ldl -lz -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64 -L/lib/../lib64 -L/usr/lib/../lib64 -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/lib -L/usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../.. -lstdc++ -lm -lc -lgcc_s /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/crtendS.o /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../lib64/crtn.o  -march=core2 -O2 -Wl,-O1   -Wl,-soname -Wl,libFreeCADBase.so.2 -o .libs/libFreeCADBase.so.2.0.0
libtool: link: (cd ".libs" && rm -f "libFreeCADBase.so.2" && ln -s "libFreeCADBase.so.2.0.0" "libFreeCADBase.so.2")
libtool: link: (cd ".libs" && rm -f "libFreeCADBase.so" && ln -s "libFreeCADBase.so.2.0.0" "libFreeCADBase.so")
libtool: link: ( cd ".libs" && rm -f "libFreeCADBase.la" && ln -s "../libFreeCADBase.la" "libFreeCADBase.la" )
make[4]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729/src/Base'
make[3]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729/src/Base'
Making all in App
make[3]: Entering directory `/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729/src/App'
/usr/bin/python ../../src/Tools/generate.py --outputPath . ComplexGeoDataPy.xml
/usr/bin/python ../../src/Tools/generate.py --outputPath . DocumentObjectGroupPy.xml
/usr/bin/python ../../src/Tools/generate.py --outputPath . DocumentObjectPy.xml
/usr/bin/python ../../src/Tools/generate.py --outputPath . DocumentPy.xml
/usr/bin/python ../../src/Tools/generate.py --outputPath . FeaturePythonPy.xml
/usr/bin/python ../../src/Tools/generate.py --outputPath . MaterialPy.xml
/usr/bin/python ../../src/Tools/generate.py --outputPath . PropertyContainerPy.xml
/usr/bin/python ../../src/Tools/PythonToCPP.py FreeCADInit.py InitScript.h
/usr/bin/python ../../src/Tools/PythonToCPP.py FreeCADTest.py TestScript.h
make  all-am
make[4]: Entering directory `/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729/src/App'
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DRESOURCEDIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/FreeCAD\" -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../src -I../../src -I/usr/include/python2.7 -I/usr/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -march=core2 -O2 -pipe -Wno-deprecated -frtti -MT libFreeCADApp_la-Annotation.lo -MD -MP -MF .deps/libFreeCADApp_la-Annotation.Tpo -c -o libFreeCADApp_la-Annotation.lo `test -f 'Annotation.cpp' || echo './'`Annotation.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DRESOURCEDIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/FreeCAD\" -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../src -I../../src -I/usr/include/python2.7 -I/usr/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -march=core2 -O2 -pipe -Wno-deprecated -frtti -MT libFreeCADApp_la-Annotation.lo -MD -MP -MF .deps/libFreeCADApp_la-Annotation.Tpo -c Annotation.cpp  -fPIC -DPIC -o .libs/libFreeCADApp_la-Annotation.o
mv -f .deps/libFreeCADApp_la-Annotation.Tpo .deps/libFreeCADApp_la-Annotation.Plo
/bin/sh ../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../..  -DRESOURCEDIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/FreeCAD\" -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../src -I../../src -I/usr/include/python2.7 -I/usr/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -march=core2 -O2 -pipe -Wno-deprecated -frtti -MT libFreeCADApp_la-Application.lo -MD -MP -MF .deps/libFreeCADApp_la-Application.Tpo -c -o libFreeCADApp_la-Application.lo `test -f 'Application.cpp' || echo './'`Application.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../.. -DRESOURCEDIR=\"/usr/share\" -DDOCDIR=\"/usr/share/doc/FreeCAD\" -D_OCC64 -g -D_DEBUG -D_REENTRANT -Wall -I../../src -I../../src -I/usr/include/python2.7 -I/usr/include -I/usr/include -I/usr/include/qt4 -I/usr/include/qt4/QtCore -march=core2 -O2 -pipe -Wno-deprecated -frtti -MT libFreeCADApp_la-Application.lo -MD -MP -MF .deps/libFreeCADApp_la-Application.Tpo -c Application.cpp  -fPIC -DPIC -o .libs/libFreeCADApp_la-Application.o
Application.cpp: In static member function ‘static void App::Application::init(int, char**)’:
Application.cpp:930:9: error: ‘default_name_check’ is not a member of ‘boost::filesystem3::path’
Application.cpp:930:53: error: ‘no_check’ is not a member of ‘boost::filesystem’
make[4]: *** [libFreeCADApp_la-Application.lo] Error 1
make[4]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729/src/App'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729/src/App'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729'
make: *** [all] Error 2
emake failed
 * ERROR: media-gfx/freecad-0.11.3729 failed (compile phase):
 *   died running emake, base_src_make
 * 
 * Call stack:
Comment 67 Andreas K. Hüttel archtester gentoo-dev 2011-03-06 11:36:27 UTC
(In reply to comment #66)
> i get this error:
> Application.cpp: In static member function ‘static void
> App::Application::init(int, char**)’:
> Application.cpp:930:9: error: ‘default_name_check’ is not a member of
> ‘boost::filesystem3::path’
> Application.cpp:930:53: error: ‘no_check’ is not a member of
> ‘boost::filesystem’

What's your dev-libs/boost version? 
If it's 1.45, yes that breaks compatibility at that point. Which is probably why it is still hardmasked...
Comment 68 Andreas K. Hüttel archtester gentoo-dev 2011-03-06 12:11:38 UTC
(In reply to comment #67)
> (In reply to comment #66)
> > i get this error:
> > Application.cpp: In static member function ‘static void
> > App::Application::init(int, char**)’:
> > Application.cpp:930:9: error: ‘default_name_check’ is not a member of
> > ‘boost::filesystem3::path’
> > Application.cpp:930:53: error: ‘no_check’ is not a member of
> > ‘boost::filesystem’
> 
> What's your dev-libs/boost version? 
> If it's 1.45, yes that breaks compatibility at that point. Which is probably
> why it is still hardmasked...
> 

Anyway, should be fixed in the newest version on the overlay, please resync and try again...
Comment 69 tman 2011-03-06 13:22:12 UTC
finally a working version. it compiles fine with boost 1.46

THANKS


here is the log:

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:165:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:165:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:191:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:191:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:165:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:165:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:191:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:191:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:165:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:165:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:191:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_DataMap.hxx:191:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:168:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_Map.hxx:194:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_IndexedMap.hxx:181:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_IndexedMap.hxx:181:5: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_IndexedMap.hxx:212:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * /usr/lib64/opencascade-6.3/ros/lin/inc/NCollection_IndexedMap.hxx:212:7: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BaseClassPyImp.cpp:49:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BaseClassPyImp.cpp:53:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * DocumentObjectGroupPyImp.cpp:148:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * DocumentObjectGroupPyImp.cpp:152:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * PropertyStandard.cpp:1356:10: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * PropertyStandard.cpp:1358:10: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * GeometrySurfacePyImp.cpp:177:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * GeometrySurfacePyImp.cpp:181:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * GeometrySurfacePyImp.cpp:195:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * GeometrySurfacePyImp.cpp:199:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * GeometrySurfacePyImp.cpp:213:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * GeometrySurfacePyImp.cpp:217:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * GeometrySurfacePyImp.cpp:231:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * GeometrySurfacePyImp.cpp:235:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierCurvePyImp.cpp:67:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierCurvePyImp.cpp:71:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierCurvePyImp.cpp:84:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierCurvePyImp.cpp:88:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierCurvePyImp.cpp:101:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierCurvePyImp.cpp:105:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineCurvePyImp.cpp:101:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineCurvePyImp.cpp:105:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineCurvePyImp.cpp:118:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineCurvePyImp.cpp:122:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineCurvePyImp.cpp:135:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineCurvePyImp.cpp:139:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineCurvePyImp.cpp:270:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineCurvePyImp.cpp:274:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:89:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:93:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:107:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:111:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:125:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:129:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:143:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:147:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:161:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:165:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:179:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BezierSurfacePyImp.cpp:183:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:90:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:94:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:108:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:112:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:126:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:130:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:144:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:148:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:162:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:166:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:180:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:184:9: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:419:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:423:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:446:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * BSplineSurfacePyImp.cpp:450:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * TopoShapeFacePyImp.cpp:380:13: warning: dereferencing type-punned pointer will break strict-aliasing rules
 * TopoShapeFacePyImp.cpp:384:13: warning: dereferencing type-punned pointer will break strict-aliasing rules

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://sourceforge.net/apps/mediawiki/free-cad/
>>> Done.

>>> Installing (1 of 1) media-gfx/freecad-0.11.3729

>>> Recording media-gfx/freecad in "world" favorites file...

 * Messages for package media-gfx/freecad-0.11.3729:

 * Package:    media-gfx/freecad-0.11.3729
 * Repository: science
 * Maintainer: dilfridge@gentoo.org sci@gentoo.org
 * USE:        amd64 elibc_glibc kernel_linux multilib userland_GNU
 * FEATURES:   sandbox
 * Applying freecad-0.11.3729-asneeded.patch ...
 * Running eautoreconf in '/var/tmp/portage/media-gfx/freecad-0.11.3729/work/FreeCAD-0.11.3729' ...
 * Running aclocal -I m4 ...
 * Running libtoolize --copy --force --install --automake ...
 * Running aclocal -I m4 ...
 * Running autoconf ...
 * Running autoheader ...
 * Running automake --add-missing --copy --foreign ...
 * Running elibtoolize in: FreeCAD-0.11.3729/m4/
 *   Applying portage-1.2.0.patch ...
 *   Applying sed-1.5.6.patch ...
 *   Applying as-needed-2.2.6.patch ...
>>> Auto-cleaning packages...

Comment 70 J.Borme 2011-03-06 14:18:14 UTC
Compiles, runs. I use boost 1.42.0-r2 (stable). (I get the missing icon warning at launch, where it complains that it could not find an icon, although it is able to print as XPM. Confusing but does not seem harmful.)
Comment 71 Andreas K. Hüttel archtester gentoo-dev 2011-03-06 15:27:47 UTC
OK, great. Thank you all for the help. Moved to main portage tree.