No workbench is built? (that is FreeCad is no longer usable) by the way I needed to emerge pyside pyside-tools to make freecad-0.14 compile at all... I guess these should be added to DEPEND? I managed to compile everything (working) from local git. What cmake options are we missing in the ebuild? Reproducible: Always Steps to Reproduce: 1. emerge =freecad-0.14.3702 2. start FreeCad 3. no workbench works... Actual Results: FreeCad is useless Expected Results: Working FreeCad with all Workbenches
Identical to bugs reported on the live build. https://bugs.gentoo.org/show_bug.cgi?id=501138
1) Please post your `emerge --info media-gfx/freecad' output in a comment. 2) Please attach the entire build log to this bug report. 3) Please report the missing dependency as a separate bug.
Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.19-r1, 3.14.14-gentoo x86_64) ================================================================= System Settings ================================================================= System uname: Linux-3.14.14-gentoo-x86_64-Intel-R-_Core-TM-_i7-3820QM_CPU_@_2.70GHz-with-gentoo-2.2 KiB Mem: 14308520 total, 7400536 free KiB Swap: 10485752 total, 10485752 free Timestamp of tree: Sat, 02 Aug 2014 17:45:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.7, 3.3.5-r1 dev-util/cmake: 2.8.12.2-r1 dev-util/pkgconfig: 0.28-r1 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.10.3, 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2-r1 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.13 (virtual/os-headers) sys-libs/glibc: 2.19-r1 Repositories: gentoo sunrise local Installed sets: @CAD, @compat-libs, @desktop, @development, @fonts, @games, @gentoo, @gps, @latex, @media, @ocr ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -pipe -march=native -O2 -pipe -fomit-frame-pointer -Wno-error" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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" CXXFLAGS="-O2 -pipe -march=native -O2 -pipe -fomit-frame-pointer -Wno-error" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--alphabetical --autounmask=y --columns --jobs=3 --keep-going --with-bdeps=y --quiet-build=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs cgroup config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch parallel-install preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-backup unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://gentoo.inode.at/ http://de-mirror.org/distro/gentoo/" LANG="en_GB.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j6 --load-average=6.0" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /home/kalmar/src/local-portage-tree" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="X a52 aac acl acpi aes-ni alsa amd64 avahi avx avx256 bash-completion bluetooth branding bzip2 c++0x cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr egl emboss encode exif fam ffmpeg firefox flac fontconfig fortran gdbm gif glamor gles gles2 gmp gpm graphite iconv icu imagemagick infinality ipv6 jpeg jpeg2k kde kontact latex lcms ldap libnotify lm_sensors lzma mad mkl mmx mng modemmanager modules mp3 mp4 mpeg mpi multilib networkmanager nls nptl ogg opencl opengl openmp openvg pam pango pcre pdf phonon plasma png policykit ppds pulseaudio qt3support qt4 readline samba sdl semantic-desktop session smartcard smp sna spell sse sse2 sse3 sse4 sse4_1 ssl ssse3 startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vaapi vdpau vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid xvmc zeroconf zlib" ABI_X86="64" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_GB pl pl_PL" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx radeon radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON ================================================================= Package Settings ================================================================= media-gfx/freecad-0.14.3702 was built with the following: USE="" ABI_X86="64" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7"
Created attachment 382320 [details] freecad-0.14.3702-emerge.log.zip compressed, since it's 2.5M
I discovered a work around. If you start the FreeCAD program from a text window in the directory where the *.so modules are located, it finds the missing modules! So, if you are using the "live" version, the modules are in the directory "/usr/lib64/freecad-9999/lib64/". cd / to this directory and type "FreeCAD" at the command prompt, and all the workbenches load as expected! BTW, thanks to wmayer of the FreeCAD forums for helping me find this out.
WMayer also indicated the proper fix: http://forum.freecadweb.org/viewtopic.php?f=4&t=7294&start=10#p59338 --- /src/App/FreeCADInit.py 2014-08-14 11:38:13.522271664 +0200 +++ /src/App/FreeCADInit.py 2014-08-14 11:43:28.484273819 +0200 @@ -45,7 +45,7 @@ ModDir = os.path.realpath(ModDir) BinDir = FreeCAD.getHomePath()+'bin' BinDir = os.path.realpath(BinDir) - LibDir = FreeCAD.getHomePath()+'lib64' + LibDir = FreeCAD.getHomePath()+'lib' LibDir = os.path.realpath(LibDir) AddPath = FreeCAD.ConfigGet("AdditionalModulePaths").split(";") HomeMod = FreeCAD.ConfigGet("UserAppData")+"Mod"
(In reply to Marek from comment #6) > WMayer also indicated the proper fix: > > http://forum.freecadweb.org/viewtopic.php?f=4&t=7294&start=10#p59338 > > --- /src/App/FreeCADInit.py 2014-08-14 11:38:13.522271664 +0200 > +++ /src/App/FreeCADInit.py 2014-08-14 11:43:28.484273819 +0200 > @@ -45,7 +45,7 @@ > ModDir = os.path.realpath(ModDir) > BinDir = FreeCAD.getHomePath()+'bin' > BinDir = os.path.realpath(BinDir) > - LibDir = FreeCAD.getHomePath()+'lib64' > + LibDir = FreeCAD.getHomePath()+'lib' > LibDir = os.path.realpath(LibDir) > AddPath = FreeCAD.ConfigGet("AdditionalModulePaths").split(";") > HomeMod = FreeCAD.ConfigGet("UserAppData")+"Mod" Thanks for the report, and the suggested solution, it will be up asap.
+*freecad-0.14.3702-r1 (15 Aug 2014) + + 15 Aug 2014; Michael Weber <xmw@gentoo.org> +freecad-0.14.3702-r1.ebuild, + freecad-9999.ebuild: + Revbump to fix module search path, big thanks to Casey Bralla and Marek for + working this out with upstream (bug 518996). +