Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 236264 - dev-libs/Ice: missing java component
Summary: dev-libs/Ice: missing java component
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal with 6 votes (vote)
Assignee: Robert Förster
URL:
Whiteboard:
Keywords: PullRequest
Depends on: 687150
Blocks:
  Show dependency tree
 
Reported: 2008-08-31 12:22 UTC by Michal Kovac
Modified: 2020-08-12 21:48 UTC (History)
9 users (show)

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


Attachments
ebuild with php support (Ice-3.4.1.ebuild,7.70 KB, text/plain)
2011-01-01 18:41 UTC, Gordon Pettey
Details
Ice-3.4.1 ebuild with php support. (minor typo corrected) (Ice-3.4.1.ebuild,7.70 KB, text/plain)
2011-10-30 02:51 UTC, Christopher Fink
Details
Updated ebuild for nocxx/cxx USE change (Ice-3.4.2.ebuild,7.70 KB, text/plain)
2011-12-07 23:21 UTC, Gordon Pettey
Details
Update to Ice-3.4.2, nocxx/cxx USE change, db-use eclass (Ice-3.4.2.ebuild,7.44 KB, text/plain)
2011-12-07 23:51 UTC, Gordon Pettey
Details
fix debug typo (Ice-3.4.2.ebuild,7.44 KB, text/plain)
2011-12-08 00:14 UTC, Gordon Pettey
Details
3.4.2, debug typo and wrong variable name fixed, db-use eclass, nocxx>cxx USE change (Ice-3.4.2.ebuild,7.45 KB, text/plain)
2011-12-08 03:24 UTC, Gordon Pettey
Details
Ice-3.4.2 with EPREFIX (Ice-3.4.2-r1.ebuild,7.47 KB, text/plain)
2012-04-20 17:12 UTC, Gordon Pettey
Details
Ice-3.4.2 build (build.log,149.39 KB, text/plain)
2012-07-31 18:08 UTC, Michael Crawford (ali3nx)
Details
Ice-3.4.2.ebuild (EAPI=5 and builds with PHP 5.3, 5.4 and 5.5) (Ice-3.4.2.ebuild,8.59 KB, text/plain)
2013-10-02 13:12 UTC, Thomas Oettli
Details
Ice-3.4.2-php54.patch (Ice-3.4.2-php54.patch,24.99 KB, patch)
2013-10-02 13:12 UTC, Thomas Oettli
Details | Diff
Ice-3.5.0-r1.ebuild (EAPI=5 and builds with PHP 5.4 and 5.5) (Ice-3.5.0-r1.ebuild,8.24 KB, text/plain)
2013-10-02 13:13 UTC, Thomas Oettli
Details
Ice-3.4.2.ebuild (EAPI=5 and builds with PHP 5.3, 5.4 and 5.5) (Ice-3.4.2.ebuild,8.62 KB, text/plain)
2013-10-03 07:25 UTC, Thomas Oettli
Details
Ice-3.5.0-r1.ebuild (EAPI=5 and builds with PHP 5.4 and 5.5) (Ice-3.5.0-r1.ebuild,8.26 KB, text/plain)
2013-10-03 07:26 UTC, Thomas Oettli
Details
Ice-3.5.1.ebuild (EAPI=5 and builds with PHP 5.4, 5.5 and 5.6) (Ice-3.5.1.ebuild.patch,3.39 KB, patch)
2015-12-26 16:52 UTC, Emeric Verschuur
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Kovac 2008-08-31 12:22:52 UTC
From version 3.3.0 Ice is not distributed in files divided by languages. I think that it is the right step, because for example Java part of the Ice contains Ice Grid Admin GUI, which is usefull even if you are using only the cpp binding, the cpp part of Ice includes translation of slice language to other languages (so it is not only cpp binding), etc.

So,i think it is better to have only one ebuild with use flags for language bindings instead of Ice,IceRuby,IcePy,...

I am a developer of Ferda application (http://ferda.sourceforge.net/). It is an application which use the .NET and Java Ice bindings. I would like to create an ebuild for Ferda, but I am missing IceCS and IceJava bindings in the Portage. So if you do not agree that it is better to create only one ebuild, can you create ebuilds for IceCS and IceJava? At least I need from IceCS the iceboxnet application and the Ice Grid Admin GUI application form IceJava is very usefull for debuging.

Thanks

Reproducible: Always

Steps to Reproduce:
Comment 1 Mark Loeser (RETIRED) gentoo-dev 2009-04-19 19:42:17 UTC
Caleb,

It looks like you have been doing all of the work for this package, so I'm forwarding this on to you to look at.
Comment 2 Caleb Tennis (RETIRED) gentoo-dev 2009-04-19 20:24:55 UTC
Hi Michal,

Certainly, we can revise the ebuild to build/include bindings for each language based on use flags; it's just not something I've had the time to sit down and try to do.  In addition, since I don't use anything but the CPP and Ruby bindings myself, I don't have a good way to test and verify that the ebuild is building/installing correctly.

Alternatively, we could create IceCS/IceJava ebuilds as well.  I'm not stuck on one way or another.

If you want to take stab at making some of these changes, I'm happy to put it into portage.
Comment 3 Tiziano Müller (RETIRED) gentoo-dev 2009-04-20 07:24:05 UTC
Ok, I've rewritten the Ice ebuild and pushed it in my overlay here:
http://git.overlays.gentoo.org/gitweb/?p=dev/dev-zero.git;a=tree;f=dev-libs/Ice;hb=HEAD

It currently supports mono and python bindings. Java, ruby and php are going to follow in the next week.

@caleb: It's more or less a complete rewrite and doesn't need patches anymore. It should therefore be more robust on version bumps. Furthermore some stuff gets installed to other dirs as recommended by upstream. It also features doc and example USE flags.
Comment 4 Caleb Tennis (RETIRED) gentoo-dev 2009-04-20 10:19:36 UTC
it looks ok to me, feel free to commit at will.
Comment 5 Krzysztof Wojtas 2009-05-09 21:06:56 UTC
And what about bindings for Java? I'm not good in writing ebuilds so could you update it as you have done for c# and python?
I also think Ice is in the wrong category, it's multilanguage stuff so maybe it should go to dev-libs or sth else...
Comment 6 Ahmed Ammar (RETIRED) gentoo-dev 2009-07-28 08:13:49 UTC
I maintain the IceE ebuild and am really liking this clean-up for Ice, when will this be pushed? 
Comment 7 Tiziano Müller (RETIRED) gentoo-dev 2010-06-09 20:24:57 UTC
Finally done. Except for the java and php bindings...
Comment 8 Gordon Pettey 2010-09-12 16:50:28 UTC
Any updates on this? PHP support would be nice. I can build it myself outside of portage, but my new ebuild isn't cooperating with me.
Comment 9 Gordon Pettey 2011-01-01 18:41:30 UTC
Created attachment 258579 [details]
ebuild with php support

Added PHP support. Builds for me with USE="ncurses php php_targets_php5-3 python".
Comment 10 Gordon Pettey 2011-06-23 04:37:45 UTC
No update on this in a long time. The ebuild I attached has been working for me. Update to 3.4.2 (released 2011/06/16) seems okay with just a ebuild file name change.
Comment 11 Christopher Fink 2011-10-30 02:49:08 UTC
I can also verify that the ebuild provided by Mr. Pettey works properly. Both as provided, and if updated for version 3.4.2. It should be noted that there appears to be a typo on line 110: "use debug && OPTIONS"${MAKE_RULES}"..." should read "use debug && OPTIONS="${MAKE_RULES}... 

I'll attach my ebuild with the typo corrected.
Comment 12 Christopher Fink 2011-10-30 02:51:50 UTC
Created attachment 291195 [details]
Ice-3.4.1 ebuild with php support. (minor typo corrected)
Comment 13 Gordon Pettey 2011-12-07 23:21:03 UTC
Created attachment 295145 [details]
Updated ebuild for nocxx/cxx USE change
Comment 14 Gordon Pettey 2011-12-07 23:47:51 UTC
Comment on attachment 295145 [details]
Updated ebuild for nocxx/cxx USE change

oops, uploaded the wrong file
Comment 15 Gordon Pettey 2011-12-07 23:51:02 UTC
Created attachment 295147 [details]
Update to Ice-3.4.2, nocxx/cxx USE change, db-use eclass
Comment 16 Gordon Pettey 2011-12-08 00:14:57 UTC
Created attachment 295149 [details]
fix debug typo
Comment 17 Gordon Pettey 2011-12-08 03:24:58 UTC
Created attachment 295161 [details]
3.4.2, debug typo and wrong variable name fixed, db-use eclass, nocxx>cxx USE change
Comment 18 Hans Nieser 2012-01-13 18:13:48 UTC
Just wanted to say thanks for maintaining this ebuild :) I was in need of the IcePHP module, and it seems to have compiled, installed, and loaded (by apache/php) correctly on an otherwise stable amd64 machine.
Comment 19 Marco Schinkel 2012-02-18 09:27:11 UTC
Can we put the ebuld with php in portage? IcePHP is needed by many mumble web UIs because murmur (the mumble server) uses ice for configuration.
Comment 20 Gordon Pettey 2012-04-20 17:12:54 UTC
Created attachment 309643 [details]
Ice-3.4.2 with EPREFIX

Added EPREFIX as in bug 385567
Comment 21 Michael Crawford (ali3nx) 2012-07-31 18:06:35 UTC
(In reply to comment #20)
> Created attachment 309643 [details]
> Ice-3.4.2 with EPREFIX
> 
> Added EPREFIX as in bug 385567

I've tried mucking about with this ebuild yesterday evening because I need the php bindings for a project i've been working on related to mumble admin plugin that has a dependency on IcePHP.

I'm almost certain there's a sed error in src_configure() I tried emerging this ebuild in a local overlay but it errors out with sandbox violations and the ruby module will not build. I wound up building Ice with USE="-ruby" just to see if i could get this to build with php bindings however the sandbox violations still persisted.
Comment 22 Michael Crawford (ali3nx) 2012-07-31 18:08:19 UTC
Created attachment 319906 [details]
Ice-3.4.2 build

https://236264.bugs.gentoo.org/attachment.cgi?id=309643
Comment 23 Michael Crawford (ali3nx) 2012-07-31 18:17:53 UTC
While trying to see if I could get this to build the ruby module I figured why not "test" if RUBY_TARGETS="ruby19" would build so I edited the ebuild in my local overlay since ruby18 wouldn't compile the python module with USE="ruby". If your reading the build log i attached to this bug that's why rubt19 is in ruby targets.
 While I don't require the ruby components for my needs I'm sure this also qualfies as a  bug for the attached ebuild.


make[1]: Leaving directory `/var/tmp/portage/dev-libs/Ice-3.4.2/work/Ice-3.4.2/py/python'
make: Leaving directory `/var/tmp/portage/dev-libs/Ice-3.4.2/work/Ice-3.4.2/py'
make -j2 -C rb prefix="/usr" install_docdir="/usr/share/doc/Ice-3.4.2" install_configdir="/usr/share/Ice-3.4.2/config" embedded_runpath_prefix="/usr" LP64=yes OPTIMIZE=yes DB_FLAGS=-I/usr/include/db4.8 install_rubydir="/" install_libdir="/"
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
make: Entering directory `/var/tmp/portage/dev-libs/Ice-3.4.2/work/Ice-3.4.2/rb'
making all in src
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
make[1]: Entering directory `/var/tmp/portage/dev-libs/Ice-3.4.2/work/Ice-3.4.2/rb/src'
making all in IceRuby
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
ruby18: no such file to load -- auto_gem (LoadError)
make[2]: Entering directory `/var/tmp/portage/dev-libs/Ice-3.4.2/work/Ice-3.4.2/rb/src/IceRuby'
x86_64-pc-linux-gnu-g++ -c -I. -I..  -I../../../cpp/include -I -I -march=core2 -mtune=core2 -O2 -mfpmath=sse -fomit-frame-pointer -mssse3 -msse4.1 -pipe -m64 -Wall -D_REENTRANT -fPIC -DNDEBUG Connection.cpp
x86_64-pc-linux-gnu-g++ -c -I. -I..  -I../../../cpp/include -I -I -march=core2 -mtune=core2 -O2 -mfpmath=sse -fomit-frame-pointer -mssse3 -msse4.1 -pipe -m64 -Wall -D_REENTRANT -fPIC -DNDEBUG Communicator.cpp
In file included from ./Connection.h:13:0,
                 from Connection.cpp:10:
./Config.h:29:18: fatal error: ruby.h: No such file or directoryIn file included from ./Communicator.h:13:0,
                 from Communicator.cpp:10:
./Config.h:29:18: fatal error: ruby.h: No such file or directory

compilation terminated.
compilation terminated.
Comment 24 Michael Crawford (ali3nx) 2012-07-31 21:08:42 UTC
After some further research it appears that IceRuby built with USE="ruby" depends on rubygems built with RUBY_TARGETS="ruby18" which may explain my build error. 

I previously "upgraded" my server to ruby19 excluding ruby18 more or less for the sole purpose of future proofing against the depreciation of ruby18. Noted this situation has me curious of Ice supports ruby19
Comment 25 Gordon Pettey 2012-07-31 23:26:09 UTC
(In reply to comment #24)
> After some further research it appears that IceRuby built with USE="ruby"
> depends on rubygems built with RUBY_TARGETS="ruby18" which may explain my
> build error. 
> 
> I previously "upgraded" my server to ruby19 excluding ruby18 more or less
> for the sole purpose of future proofing against the depreciation of ruby18.
> Noted this situation has me curious of Ice supports ruby19

Here's a (somewhat old) thread possibly related: http://www.zeroc.com/forums/bug-reports/4776-3-4b-ruby-bindings-fail-build.html
Comment 26 thomas 2013-01-15 13:21:31 UTC
Hi guys 

I have a problem with PHP_TARGET, the ebuild want version 5.3 but i have 5.4 and want to keep it.

Here is a topic I have made on gentoo forums.
http://forums.gentoo.org/viewtopic-t-948024.html
Comment 27 Thomas Oettli 2013-10-02 13:12:03 UTC
Created attachment 359976 [details]
Ice-3.4.2.ebuild (EAPI=5 and builds with PHP 5.3, 5.4 and 5.5)
Comment 28 Thomas Oettli 2013-10-02 13:12:57 UTC
Created attachment 359978 [details, diff]
Ice-3.4.2-php54.patch
Comment 29 Thomas Oettli 2013-10-02 13:13:54 UTC
Created attachment 359980 [details]
Ice-3.5.0-r1.ebuild (EAPI=5 and builds with PHP 5.4 and 5.5)
Comment 30 Thomas Oettli 2013-10-02 13:16:38 UTC
Did a lot of work the get the PHP bindings running.
It would be great if this could be added to the official portage tree. Every webinterface for a Mumble-server needs this bindings.
Comment 31 kisak42 2013-10-03 00:27:19 UTC
(In reply to Thomas Oettli from comment #29)
> Created attachment 359980 [details]
> Ice-3.5.0-r1.ebuild (EAPI=5 and builds with PHP 5.4 and 5.5)

died while building with the python useflag:

 * python2_7: running building
make -j2 -C py-python2_7 prefix="/var/tmp/portage/dev-libs/Ice-3.5.0-r1/image//usr" install_docdir="/var/tmp/portage/dev-libs/Ice-3.5.0-r1/image//usr/share/doc/Ice-3.5.0-r1" install_configdir="/var/tmp/portage/dev-libs/Ice-3.5.0-r1/image//usr/share/Ice-3.5.0/config" embedded_runpath_prefix="/usr" LP64=yes OPTIMIZE=yes DB_FLAGS=-I/usr/include/db4.8 
make: *** py-python2_7: No such file or directory.  Stop.
Comment 32 Thomas Oettli 2013-10-03 07:23:09 UTC
(In reply to kisak42 from comment #31)
> (In reply to Thomas Oettli from comment #29)
> > Created attachment 359980 [details]
> > Ice-3.5.0-r1.ebuild (EAPI=5 and builds with PHP 5.4 and 5.5)
> 
> died while building with the python useflag:
> 
>  * python2_7: running building
> make -j2 -C py-python2_7
> prefix="/var/tmp/portage/dev-libs/Ice-3.5.0-r1/image//usr"
> install_docdir="/var/tmp/portage/dev-libs/Ice-3.5.0-r1/image//usr/share/doc/
> Ice-3.5.0-r1"
> install_configdir="/var/tmp/portage/dev-libs/Ice-3.5.0-r1/image//usr/share/
> Ice-3.5.0/config" embedded_runpath_prefix="/usr" LP64=yes OPTIMIZE=yes
> DB_FLAGS=-I/usr/include/db4.8 
> make: *** py-python2_7: No such file or directory.  Stop.

Could you post some more information about that? Just merged Ice-3.5.0-r1 with the following USE flags:

USE="ncurses python -debug -doc -examples -mono -php -php_namespaces -ruby {-test}" PHP_TARGETS="-php5-4 -php5-5" PYTHON_TARGETS="python2_7 (-pypy2_0) -python2_6" RUBY_TARGETS="ruby18"

On my system, it worked perfectly.
Comment 33 Thomas Oettli 2013-10-03 07:25:57 UTC
Created attachment 360010 [details]
Ice-3.4.2.ebuild (EAPI=5 and builds with PHP 5.3, 5.4 and 5.5)

PHP_TARGETS is not mandatory anymore
Comment 34 Thomas Oettli 2013-10-03 07:26:51 UTC
Created attachment 360012 [details]
Ice-3.5.0-r1.ebuild (EAPI=5 and builds with PHP 5.4 and 5.5)

PHP_TARGETS is not mandatory anymore
Comment 35 jannis 2014-10-12 09:10:05 UTC
Friendly reminder: Any news on this after one year?
Comment 36 Emeric Verschuur 2015-12-26 16:52:51 UTC
Created attachment 420890 [details, diff]
Ice-3.5.1.ebuild (EAPI=5 and builds with PHP 5.4, 5.5 and 5.6)
Comment 37 Emeric Verschuur 2015-12-26 17:02:10 UTC
I have ported the patch to the version 3.5.1
Comment 38 Gordon Pettey 2015-12-26 17:02:31 UTC
Comment on attachment 309643 [details]
Ice-3.4.2 with EPREFIX

obsoleting old ebuild
Comment 39 Emeric Verschuur 2016-04-23 20:35:22 UTC
Pull request on GitHub:
https://github.com/gentoo/gentoo/pull/1332
Comment 40 Robert Förster 2020-08-12 21:48:01 UTC
php has been in since a few years so i changed the summary.

the java component is gradle based so im not sure how to proceed here.

the only package i know of that uses gradle is dev-java/openjfx. and im not really sure if implementing it like that is the right call.