Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 501138 (freecad-live-ebuild) - media-gfx/freecad - add live ebuild
Summary: media-gfx/freecad - add live ebuild
Status: RESOLVED NEEDINFO
Alias: freecad-live-ebuild
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Michael Weber (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2014-02-13 03:25 UTC by Joe M
Modified: 2014-08-19 17:45 UTC (History)
4 users (show)

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


Attachments
freecad-9999.ebuild (freecad-9999.ebuild,2.28 KB, text/plain)
2014-02-13 03:26 UTC, Joe M
Details
freecad-9999.ebuild (freecad-9999.ebuild,2.13 KB, text/plain)
2014-02-13 04:06 UTC, Joe M
Details
freecad-9999.ebuild (freecad-9999.ebuild,2.27 KB, text/plain)
2014-02-13 21:37 UTC, Joe M
Details
freecad-9999.ebuild (freecad-9999.ebuild,2.39 KB, text/plain)
2014-02-13 21:51 UTC, Joe M
Details
freecad-9999.ebuild (freecad-9999.ebuild,2.50 KB, text/plain)
2014-03-05 16:34 UTC, Joe M
Details
freecad-9999.ebuild (freecad-9999.ebuild,2.51 KB, text/plain)
2014-04-02 22:53 UTC, Joe M
Details
freecad-9999.ebuild (freecad-9999.ebuild,2.51 KB, text/plain)
2014-04-02 22:56 UTC, Joe M
Details
Screen Shot of FrreCAD execution error (FreeCAD-9999Error.jpg,19.44 KB, image/jpeg)
2014-07-31 23:50 UTC, Casey Bralla
Details
freecad-9999.ebuild (freecad-9999.ebuild,2.51 KB, text/plain)
2014-08-01 18:48 UTC, Joe M
Details
build log of the attached live ebuild - Part 1 (media-gfx:freecad-9999:20140801-185417aa,878.91 KB, application/octet-stream)
2014-08-01 19:06 UTC, Joe M
Details
build log of the attached live ebuild - Part 2 (media-gfx:freecad-9999:20140801-185417ab,878.91 KB, text/plain)
2014-08-01 19:07 UTC, Joe M
Details
build log of the attached live ebuild - Part 3 (media-gfx:freecad-9999:20140801-185417ac,878.91 KB, text/plain)
2014-08-01 19:07 UTC, Joe M
Details
build log of the attached live ebuild - Part 4 (media-gfx:freecad-9999:20140801-185417ad,181.12 KB, text/plain)
2014-08-01 19:08 UTC, Joe M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe M 2014-02-13 03:25:39 UTC
Freecad Live ebuild

Reproducible: Always
Comment 1 Joe M 2014-02-13 03:26:08 UTC
Created attachment 370266 [details]
freecad-9999.ebuild
Comment 2 Joe M 2014-02-13 04:06:09 UTC
Created attachment 370270 [details]
freecad-9999.ebuild
Comment 3 Joe M 2014-02-13 21:37:59 UTC
Created attachment 370356 [details]
freecad-9999.ebuild
Comment 4 Joe M 2014-02-13 21:51:15 UTC
Created attachment 370360 [details]
freecad-9999.ebuild
Comment 5 Joe M 2014-02-13 21:52:54 UTC
reviewed on #gentoo-sunrise
Comment 6 Joe M 2014-03-05 16:34:55 UTC
Created attachment 371792 [details]
freecad-9999.ebuild

added PYTHON_USEDEP variables.
Comment 7 Joe M 2014-04-02 22:53:07 UTC
Created attachment 374132 [details]
freecad-9999.ebuild
Comment 8 Joe M 2014-04-02 22:56:09 UTC
Created attachment 374134 [details]
freecad-9999.ebuild
Comment 9 Thomas Raschbacher gentoo-dev 2014-07-22 12:29:21 UTC
good idea.
Just found this while looking for a 0.14 release bug .. maybe I'll try this instead.
Comment 10 Thomas Raschbacher gentoo-dev 2014-07-22 12:32:15 UTC
I have to add that addition to the offical portage tree is highly unlikely, but some overlay is quite possible.
If it works I might stick it in my dev overlay (unless it is somewhere else already ;))
Comment 11 Michael Weber (RETIRED) gentoo-dev 2014-07-29 20:37:20 UTC
+*freecad-9999 (29 Jul 2014)
+*freecad-0.14.3702 (29 Jul 2014)
+
+  29 Jul 2014; Michael Weber <xmw@gentoo.org>
+  +files/freecad-0.14.3702-install-paths.patch, +freecad-0.14.3702.ebuild,
+  +freecad-9999.ebuild:
+  Add live ebuild (bug 501138) and version bump (bug 517790) w/o keywords for
+  testing reasons.
+
Comment 12 Casey Bralla 2014-07-31 23:50:44 UTC
Created attachment 381978 [details]
Screen Shot of FrreCAD execution error
Comment 13 Casey Bralla 2014-07-31 23:52:43 UTC
Thanks to Michael for making this package available.


The build portion worked fine and compiled without any error.  However, the program gives a blank work area and yields an program error trying to find the workbench modules.

All the modules appear to have been built properly and are in directory "/usr/lib64/freecad-9999/lib64/"
Comment 14 Joe M 2014-08-01 18:48:23 UTC
Created attachment 382026 [details]
freecad-9999.ebuild
Comment 15 Joe M 2014-08-01 19:06:31 UTC
Created attachment 382028 [details]
build log of the attached live ebuild - Part 1
Comment 16 Joe M 2014-08-01 19:07:05 UTC
Created attachment 382030 [details]
build log of the attached live ebuild - Part 2
Comment 17 Joe M 2014-08-01 19:07:40 UTC
Created attachment 382032 [details]
build log of the attached live ebuild - Part 3
Comment 18 Joe M 2014-08-01 19:08:01 UTC
Created attachment 382034 [details]
build log of the attached live ebuild - Part 4
Comment 19 Joe M 2014-08-01 20:30:02 UTC
Hello,

Thanks Michael for making the live ebuild available on the tree.

For some reason, I cannot compile the live ebuild on my amd64 machine. But, the attached live ebuild compiles fine.

sudo emerge freecad

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

The following keyword changes are necessary to proceed:
 (see "package.accept_keywords" in the portage(5) man page for more details)
# required by media-gfx/freecad-9999
# required by freecad (argument)
=dev-python/pycollada-0.4 ~amd64
# required by media-gfx/freecad-9999
# required by freecad (argument)
=dev-python/pyopencl-2014.1 ~amd64
# required by dev-python/pyopencl-2014.1
# required by media-gfx/freecad-9999
# required by freecad (argument)
=dev-python/pytools-2014.3 ~amd64

Would you like to add these changes to your config files? [Yes/No] Yes

Autounmask changes successfully written.

 * IMPORTANT: config file '/etc/portage/package.accept_keywords' needs updating.
 * See the CONFIGURATION FILES section of the emerge
 * man page to learn how to update config files.

emerge: there are no ebuilds built with USE flags to satisfy ">=media-libs/mesa-9.1.6[opencl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,ab
i_s390_64(-)?]".
!!! One of the following packages is required to complete your request:
- media-libs/mesa-10.0.4::gentoo (Change USE: +opencl, this change violates use flag constraints defined by media-libs/mesa-10.0.4: 'llvm? ( gallium ) openvg? ( egl gallium ) opencl? ( gallium video_cards_r600? ( r600-llvm-compiler ) vide
o_cards_radeon? ( r600-llvm-compiler ) video_cards_radeonsi? ( r600-llvm-compiler ) ) gles1? ( egl ) gles2? ( egl ) r600-llvm-compiler? ( gallium llvm any-of ( video_cards_r600 video_cards_radeonsi video_cards_radeon ) ) wayland? ( egl gb
m ) xa? ( gallium ) video_cards_freedreno? ( gallium ) video_cards_intel? ( any-of ( classic gallium ) ) video_cards_i915? ( any-of ( classic gallium ) ) video_cards_i965? ( classic ) video_cards_ilo? ( gallium ) video_cards_nouveau? ( an
y-of ( classic gallium ) ) video_cards_radeon? ( any-of ( classic gallium ) ) video_cards_r100? ( classic ) video_cards_r200? ( classic ) video_cards_r300? ( gallium ) video_cards_r600? ( gallium ) video_cards_radeonsi? ( gallium llvm ) v
ideo_cards_vmware? ( gallium )')
(dependency required by "virtual/opencl-0-r4" [ebuild])
(dependency required by "dev-python/pyopencl-2014.1" [ebuild])
(dependency required by "media-gfx/freecad-9999" [ebuild])
(dependency required by "freecad" [argument])


Thanks
Comment 20 Casey Bralla 2014-08-05 00:08:05 UTC
Joe M, I tried your ebuild.  It built fine, but gave me the same error as Michael's official build.   (missing modules for the workbenches).   But thanks for trying!!


BTW, another user has posted the same error for version 0.14 https://bugs.gentoo.org/show_bug.cgi?id=518996
Comment 21 Casey Bralla 2014-08-10 14:10:05 UTC
I noticed when the executable starts, the splash screen shows all the modules being loaded.  This shows the "/usr/lib64/freecad-9999/lib64/" directory where all the *.so files are stored.

So it seems that FreeCAD is seeing the modules, but for some reason not remembering where they were located or not able to use them once located.
Comment 22 Michael Weber (RETIRED) gentoo-dev 2014-08-15 13:56:13 UTC
See just added freecad-0.14.3702-r1 and updated -9999 for working module search path.
Comment 23 Joe M 2014-08-19 17:42:24 UTC
Hello Michael Weber,

I get this error with the live ebuild in the gentoo portage:

sudo emerge --nospinner =media-gfx/freecad-9999::gentoo

These are the packages that would be merged, in reverse order:

Calculating dependencies  ... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=media-libs/mesa-9.1.6[opencl,abi_x86_32(-)?,abi_x86_64(-)?,abi_x86_x32(-)?,abi_mips_n32(-)?,abi_mips_n64(-)?,abi_mips
_o32(-)?,abi_ppc_32(-)?,abi_ppc_64(-)?,abi_s390_32(-)?,abi_s390_64(-)?]".
!!! One of the following packages is required to complete your request:
- media-libs/mesa-10.0.4::gentoo (Change USE: +opencl, this change violates use flag constraints defined by media-libs/mesa-10.0.4: 'llvm? ( gallium ) openvg? ( egl gallium ) opencl
? ( gallium video_cards_r600? ( r600-llvm-compiler ) video_cards_radeon? ( r600-llvm-compiler ) video_cards_radeonsi? ( r600-llvm-compiler ) ) gles1? ( egl ) gles2? ( egl ) r600-llv
m-compiler? ( gallium llvm any-of ( video_cards_r600 video_cards_radeonsi video_cards_radeon ) ) wayland? ( egl gbm ) xa? ( gallium ) video_cards_freedreno? ( gallium ) video_cards_
intel? ( any-of ( classic gallium ) ) video_cards_i915? ( any-of ( classic gallium ) ) video_cards_i965? ( classic ) video_cards_ilo? ( gallium ) video_cards_nouveau? ( any-of ( cla
ssic gallium ) ) video_cards_radeon? ( any-of ( classic gallium ) ) video_cards_r100? ( classic ) video_cards_r200? ( classic ) video_cards_r300? ( gallium ) video_cards_r600? ( gal
lium ) video_cards_radeonsi? ( gallium llvm ) video_cards_vmware? ( gallium )')
(dependency required by "virtual/opencl-0-r4" [ebuild])
(dependency required by "dev-python/pyopencl-2014.1" [ebuild])
(dependency required by "media-gfx/freecad-9999" [ebuild])
(dependency required by "=media-gfx/freecad-9999::gentoo" [argument])

Please let me know if you need more details.

Thanks
Joe