Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 555586 - dev-libs/Ice-3.6.2 version bump
Summary: dev-libs/Ice-3.6.2 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: C++ Team [disbanded]
URL: https://doc.zeroc.com/display/Ice36/N...
Whiteboard:
Keywords:
Depends on:
Blocks: 562122 596650
  Show dependency tree
 
Reported: 2015-07-22 02:26 UTC by Manuel Rüger (RETIRED)
Modified: 2016-10-22 12:29 UTC (History)
3 users (show)

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


Attachments
Ice-3.6.0.ebuild (Ice-3.6.0.ebuild,7.07 KB, text/plain)
2015-07-23 16:32 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details
Ice-3.6.0.ebuild.diff (Ice-3.6.0.ebuild.diff,7.01 KB, patch)
2015-07-23 20:05 UTC, Lars Wendler (Polynomial-C) (RETIRED)
Details | Diff
Ice-3.6.1.ebuild.patch with php bindings (Ice-3.6.1.ebuild.patch,10.42 KB, patch)
2016-01-21 17:28 UTC, Michael Scholl
Details | Diff
Patch for metadata.xml that adds the php_namespaces USE flag (metadata.xml.patch,347 bytes, patch)
2016-01-21 18:05 UTC, Michael Scholl
Details | Diff
Ice-3.6.1 ebuild patch (Ice-3.6.1.ebuild.patch,11.85 KB, patch)
2016-01-29 12:50 UTC, Robert Förster
Details | Diff
fix install phase with USE=mono (Ice-3.6.1-csharp.patch,1.54 KB, patch)
2016-01-29 12:56 UTC, Robert Förster
Details | Diff
Ice-3.6.3 ebuild patch (Ice-3.6.3.ebuild.patch,13.45 KB, patch)
2016-10-20 11:38 UTC, Robert Förster
Details | Diff
fix install phase with USE=mono (Ice-3.6.3-csharp.patch,1.54 KB, patch)
2016-10-20 11:41 UTC, Robert Förster
Details | Diff
don't append -m flags (Ice-3.6.3-no-arch-opts.patch,1.43 KB, patch)
2016-10-20 11:45 UTC, Robert Förster
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Manuel Rüger (RETIRED) gentoo-dev 2015-07-22 02:26:09 UTC
Please get it into the tree.

Looks like ruby support has been split, too. https://rubygems.org/gems/zeroc-ice/versions/3.6.0 So probably the ebuild will become a lot easier :)
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-07-23 16:32:36 UTC
Created attachment 407466 [details]
Ice-3.6.0.ebuild

Please find attached the ebuild I used to install Ice-3.6.0. I did neither test python nor ruby nor mono bindings so these need testing.
I am in a hurry right now. As soon as I return back to my computer I gonna attach an ebuild diff file as well.
Comment 2 Manuel Rüger (RETIRED) gentoo-dev 2015-07-23 16:53:24 UTC
I assume it's the same with python as with ruby: https://pypi.python.org/pypi/zeroc-ice
Comment 3 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2015-07-23 20:05:28 UTC
Created attachment 407476 [details, diff]
Ice-3.6.0.ebuild.diff

As promised the ebuild patch. Most stuff is untested and might even be no longer needed as mrueg mentioned.
Comment 4 Michael Scholl 2016-01-21 17:28:20 UTC
Created attachment 423536 [details, diff]
Ice-3.6.1.ebuild.patch with php bindings

Updated the patch to version 3.6.1 and added php bindings based on the patches provided in bug 236264
Comment 5 Michael Scholl 2016-01-21 18:05:04 UTC
Created attachment 423540 [details, diff]
Patch for metadata.xml that adds the php_namespaces USE flag

Almost forgot this
Comment 6 Robert Förster 2016-01-29 12:50:39 UTC
Created attachment 424156 [details, diff]
Ice-3.6.1 ebuild patch

diff to last patch:
- php5-5 support removed. php team prefers introducing only 5.6 compatible (though 7.0 preferable) stuff
- removed php-lib-r1 inherit, it adds an implicit dep, planted code in src_install directly instead.
- nuked all but supported BDB version, esp. 6.1 since its License could be rather problematic for a lib i suppose (but IANAL) 5.1 remains since 5.3 is not yet stable

diff to tree:
- fix compile with mono4, also add a patch from PLD-Linux to add missing pkg-config files
- add ruby22 (can be changed to ruby21 instead depending on stable status when adding this ebuild), move to sitelibdir (IceRuby links to libruby22.so so i thought that made sense; comments?), add die stolen from redmine ebuild since compile will fail when wrong ruby version is selected
Comment 7 Robert Förster 2016-01-29 12:56:54 UTC
Created attachment 424158 [details, diff]
fix install phase with USE=mono

things left to do:
- fix testphase, i have no idea why it fails:
<snip>
*** running tests 42/91 in /var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/cpp/test/Ice/udp
*** configuration: Default
*** test started: Wed Jan 27 00:08:25 CET 2016
*** using Ice source dist (64bit)
starting server #1... Traceback (most recent call last):
  File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/cpp/test/Ice/udp/run.py", line 41, in <module>
    serverProc.append(TestUtil.startServer(server, "%d" % i , adapter="McastTestAdapter"))
  File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/TestUtil.py", line 1699, in startServer
    return spawnServer(cmd, env = env, adapter = adapter, count = count, echo = echo, lang = config.lang, mx = config.mx, timeout = timeout)
  File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/TestUtil.py", line 1300, in spawnServer
    server.expect("%s ready\n" % adapter, timeout = timeout)
  File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/Expect.py", line 437, in expect
    raise e
  File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/Expect.py", line 430, in expect
    self.buf, self.before, self.after, self.match, self.matchindex = self.r.match(pattern, timeout)
  File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/Expect.py", line 283, in match
    raise e
  File "/var/tmp/portage/dev-libs/Ice-3.6.1/work/ice-3.6.1/scripts/Expect.py", line 266, in match
    (escape(s), escape(buf, False)))
Expect.TIMEOUT: timeout exceeded in match
pattern: "McastTestAdapter ready\n"
buffer: "ControlAdapter ready
TestAdapter ready
Network.cpp:1875: Ice::SocketException:
socket exception: No such device
"
</snip>

- investegate bug 571328
- i just realized i forgot about bug 562122
Comment 8 Robert Förster 2016-10-20 11:05:51 UTC
(In reply to Manuel Rüger from comment #0)
> Please get it into the tree.
> 
> Looks like ruby support has been split, too.
> https://rubygems.org/gems/zeroc-ice/versions/3.6.0 So probably the ebuild
> will become a lot easier :)

if it wouldn't try to build the c++ part of Ice and mcpp itself, probably.
sadly i lack the knowledge to make the changes to the buildsystem so it can use a system installation instead.
Comment 9 Robert Förster 2016-10-20 11:38:01 UTC
Created attachment 450814 [details, diff]
Ice-3.6.3 ebuild patch

diff to last patch:
- added python 3.5, multiple python targets now work well due to updates in upstream handing differently named directories (also in tests)
- added libressl support for bug 562122
- switched to php7 only, enable namespaces support unconditionally, my reasoning for that change is that the switch is gone in 3.7 and the ebuild never had php bindings before
- ncurses and readline slot deps
- upsteam added NOTEST switch, make use of it, disable some failing tests.
- some of the tests make use of dev-python/passlib (this is the reason for dropping arm, ia64, x86-linux and x64-macos)
- replace the pkg_setup die with some sed statements
Comment 10 Robert Förster 2016-10-20 11:41:09 UTC
Created attachment 450816 [details, diff]
fix install phase with USE=mono

update the version numbers to match 3.6.3, no other changes to the patch made.
Comment 11 Robert Förster 2016-10-20 11:45:20 UTC
Created attachment 450818 [details, diff]
don't append -m flags

this is also taken from pld in the hope of fixing bug 552702 and bug 330513
Comment 12 David Seifert gentoo-dev 2016-10-20 14:46:31 UTC
(In reply to Robert Förster from comment #11)
> Created attachment 450818 [details, diff] [details, diff]
> don't append -m flags
> 
> this is also taken from pld in the hope of fixing bug 552702 and bug 330513

Could you submit that as a PR on Github? That would make things a lot easier for me?
Comment 13 David Seifert gentoo-dev 2016-10-22 12:29:50 UTC
commit 566f7de6c3649a0ddfb22d052b5126c2f85bc01d
Author: Robert Förster <Dessa@gmake.de>
Date:   Sat Oct 22 04:03:04 2016 +0200

    dev-libs/Ice: version bump
    
    Gentoo-Bug: 555586
    
    Package-Manager: portage-2.3.2
    Closes: https://github.com/gentoo/gentoo/pull/2628