Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 320039 - dev-libs/boost-1.45 version bump
Summary: dev-libs/boost-1.45 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: C++ Team [disbanded]
URL: http://www.boost.org/users/download/v...
Whiteboard: dev/hwoarang overlay
Keywords: EBUILD, InOverlay
: 333141 (view as bug list)
Depends on: 297694
Blocks:
  Show dependency tree
 
Reported: 2010-05-16 19:12 UTC by Dror Levin (RETIRED)
Modified: 2011-03-06 11:10 UTC (History)
26 users (show)

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


Attachments
Ebuild created from boost-1.42.0-r1.ebuild. (boost-1.43.0.ebuild,15.61 KB, text/plain)
2010-06-14 16:22 UTC, Duncan Exon Smith
Details
Jamfile for Boost.Random (new version of random-Jamfile). (boost-1.43.0-random-Jamfile,359 bytes, text/plain)
2010-06-14 16:25 UTC, Duncan Exon Smith
Details
Same as the one for 1.42.0. (boost-1.43.0-parameter-needs-python.patch,2.97 KB, patch)
2010-06-14 16:26 UTC, Duncan Exon Smith
Details | Diff
Same as the one for 1.42.0. (boost-1.43.0-template_arity-gcc45.patch,970 bytes, patch)
2010-06-14 16:26 UTC, Duncan Exon Smith
Details | Diff
Same as the one for 1.42.0. (remove-toolset-1.43.0.patch,465 bytes, patch)
2010-06-14 16:27 UTC, Duncan Exon Smith
Details | Diff
Patch for boost-build-1.44.0 to fix compilation with -q (boost-build-1.44.0-configure-fail.patch,2.21 KB, patch)
2010-08-23 18:58 UTC, Philipp
Details | Diff
Patch to fix two issues with spirit attributes (boost-1.44.0-spirit-attributes.patch,881 bytes, patch)
2010-08-23 18:59 UTC, Philipp
Details | Diff
1.43.0 ebuild (with updates to match 1.42.0). (boost-1.43.0.ebuild,15.51 KB, text/plain)
2010-11-09 14:39 UTC, Duncan Exon Smith
Details
closer to 1.42.0-r2 (boost-1.43.0.ebuild,15.66 KB, text/plain)
2010-11-09 20:43 UTC, Simone Scanzoni
Details
dev-util/boost-build updated for 1.43.0 (boost-build-1.43.0.ebuild,3.12 KB, text/plain)
2010-11-09 20:45 UTC, Simone Scanzoni
Details
farther from 1.42.0-r2 (boost-1.43.0.ebuild,15.53 KB, text/plain)
2010-11-10 01:30 UTC, Simone Scanzoni
Details
ebuild for boost-build-1.45.0 (based on boost-build-1.42.0) (boost-build-1.45.0.ebuild,3.10 KB, text/plain)
2010-11-22 19:25 UTC, Duncan Exon Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dror Levin (RETIRED) gentoo-dev 2010-05-16 19:12:52 UTC
New version released May 6th.
Comment 1 Duncan Exon Smith 2010-06-14 16:22:46 UTC
Created attachment 235277 [details]
Ebuild created from boost-1.42.0-r1.ebuild.

This seems to work for me.  Note that 'random_device.cpp' moved, and no longer has an ifdef on __linux__.  I'll attach my updated jamfile next.
Comment 2 Duncan Exon Smith 2010-06-14 16:25:29 UTC
Created attachment 235279 [details]
Jamfile for Boost.Random (new version of random-Jamfile).

Fixed 'random-Jamfile' to work for the 1.43.0 location of the source for Boost.Random.
Comment 3 Duncan Exon Smith 2010-06-14 16:26:22 UTC
Created attachment 235281 [details, diff]
Same as the one for 1.42.0.
Comment 4 Duncan Exon Smith 2010-06-14 16:26:49 UTC
Created attachment 235283 [details, diff]
Same as the one for 1.42.0.
Comment 5 Duncan Exon Smith 2010-06-14 16:27:18 UTC
Created attachment 235285 [details, diff]
Same as the one for 1.42.0.
Comment 6 Duncan Exon Smith 2010-06-14 16:30:10 UTC
(In reply to comment #1)
> Created an attachment (id=235277) [details]
> Ebuild created from boost-1.42.0-r1.ebuild.
> 
> This seems to work for me.  Note that 'random_device.cpp' moved, and no longer
> has an ifdef on __linux__.  I'll attach my updated jamfile next.
> 

Okay, I've attached all the files I used locally.  I have not done a lot of testing, but everything compiles, and it's working for my projects.

This should be a start for the maintainer.
Comment 7 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-06-14 16:48:34 UTC
I'll fix encfs before further work on boost.
Comment 8 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-06-29 08:49:57 UTC
(In reply to comment #7)
> I'll fix encfs before further work on boost.

encfs-1.6 should work now and upstream says it's tested with 1.43, but better test anyway (I didn't)
Comment 9 Raimund 2010-07-14 19:13:47 UTC
Successfully installed boost-1_43. Thanks, Duncan. 
Only patch >boost-1.43.0-template_arity-gcc45.patch< did not succeed, I think they changed/fixed it upstream.

Meanwhile, boost-1.44 beta will be available by next week - and final another two weeks later - I think the 'official portage version' should concentrate on 1.44 and leave out 1.43. Just my thinking.
Comment 10 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-17 12:19:06 UTC
*** Bug 333141 has been marked as a duplicate of this bug. ***
Comment 11 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2010-08-21 10:02:21 UTC
FYI. From my tests it seems like 1.44.0 doesn't compile without dev-libs/icu.
Comment 12 Philipp 2010-08-23 18:58:23 UTC
Created attachment 244271 [details, diff]
Patch for boost-build-1.44.0 to fix compilation with -q

-q (abort on first error) has problems with newly introduced configure checks like regex uses to detect ICU. This patch fixes the problem.
Comment 13 Philipp 2010-08-23 18:59:48 UTC
Created attachment 244273 [details, diff]
Patch to fix two issues with spirit attributes

Adds a missing include and fixes BOOST_SPIRIT_DEBUG_NODE with optionals.
Comment 14 Zeev Tarantov 2010-09-13 17:35:36 UTC
1.44 has been release a month ago on August 13th.
Portage currently has version 1.42 that has been released on February 2nd.

Can someone please attach an ebuild for 1.44 I can test? Maybe we can have it in portage before 1.45 is out.
Comment 15 Keith Rusler 2010-10-15 13:43:17 UTC
is there anything stopping this other than an ebuild writing?
Comment 16 Dirkjan Ochtman (RETIRED) gentoo-dev 2010-10-15 14:03:28 UTC
Yes: a dev who's interested in getting this going.
Comment 17 Petteri Räty (RETIRED) gentoo-dev 2010-10-15 14:37:58 UTC
(In reply to comment #16)
> Yes: a dev who's interested in getting this going.
> 

I could start proxy maintaining if there's a user interested.
Comment 18 Keith Rusler 2010-10-15 15:04:45 UTC
I'm interested.
Comment 19 Eugene Shalygin 2010-10-15 15:06:43 UTC
me too
Comment 20 Zeev Tarantov 2010-10-15 23:05:43 UTC
Look at the CC list. There are interested users who do not understand why it takes October-May = 6 months to upgrade, like Debian. Where is the tracker for all the packages broken by this upgrade? There isn't one. AFAIK, nothing breaks.
Comment 21 Keith Rusler 2010-10-15 23:36:47 UTC
(In reply to comment #20)
> Look at the CC list. There are interested users who do not understand why it
> takes October-May = 6 months to upgrade, like Debian. Where is the tracker for
> all the packages broken by this upgrade? There isn't one. AFAIK, nothing
> breaks.
> 

Well Boost is always the slowest thing to update. You could try getting the 1.43 ebuild at the top, put the 1.44.0 patches in and try and compile the 1.44 version
Comment 22 Alex Turbov 2010-10-27 07:43:44 UTC
Is there any chance to get 1.44 in the portage tree finally???
Comment 23 Keith Rusler 2010-10-27 07:57:13 UTC
We have to wait for someone to make an ebuild. But I was looking on the forum, and it seems they are wanting to split the ebuild up (I don't know what's the obsession with split ebuilds).
Comment 24 Jaak Ristioja 2010-10-27 08:14:00 UTC
(In reply to comment #23)
> We have to wait for someone to make an ebuild. But I was looking on the forum,
> and it seems they are wanting to split the ebuild up (I don't know what's the
> obsession with split ebuilds).

Looking at long boost build times, it might be quite reasonable.
Comment 25 Keith Rusler 2010-10-27 08:15:12 UTC
I honestly don't see long build times. It only takes 15 minutes to compile, but then again I have a fast cpu :P
Comment 26 Duncan Exon Smith 2010-10-27 13:42:07 UTC
I'd frankly rather see Boost 1.43.0 in the tree (for which I attached an ebuild way back in June) than 1.44.0, if I had to pick one.

Boost 1.44.0 has had a number of issues.  For example, Boost.Serialization broke backwards compatibility of archives:
 https://svn.boost.org/trac/boost/ticket/4660

I've read other complaints about the quality of 1.44.0, although I think they are mostly related to mingw.

If there's any interest, I can attach my current ebuild for 1.43.0 -- it needed a bunch of changes at some point due to a change in the python eclass.
Comment 27 Joerg Plate 2010-11-09 11:42:17 UTC
(In reply to comment #26)
> If there's any interest, I can attach my current ebuild for 1.43.0
I'm interested.
Comment 28 Duncan Exon Smith 2010-11-09 14:39:28 UTC
Created attachment 253747 [details]
1.43.0 ebuild (with updates to match 1.42.0).

Here's my current 1.43.0 ebuild, which is based off of boost-1.42.0-r2.
Comment 29 Simone Scanzoni 2010-11-09 20:43:13 UTC
Created attachment 253793 [details]
closer to 1.42.0-r2

Your ebuild seems based on 1.42.0 , not -r2 , because it lacks the ${P}-gcc45-python.patch (and from the header). Why did you remove the code to build the boost.random library with /dev/urandom support on non-Linux platforms too?

This ebuild adds both.
Comment 30 Simone Scanzoni 2010-11-09 20:45:46 UTC
Created attachment 253795 [details]
dev-util/boost-build updated for 1.43.0

The missing patch from 1.42 is already upstream.
Comment 31 Duncan Exon Smith 2010-11-09 20:49:42 UTC
(In reply to comment #29)
> Created an attachment (id=253793) [details]
> closer to 1.42.0-r2
> 
> Your ebuild seems based on 1.42.0 , not -r2 , because it lacks the
> ${P}-gcc45-python.patch (and from the header).

You're right --- I mispoke.  I didn't look very carefully at -r2.  I created this from 1.42.0 originally, and have been updating it periodically to keep it working on my system.  I did a quick diff against r2, and it looked similar enough.

> Why did you remove the code to
> build the boost.random library with /dev/urandom support on non-Linux platforms
> too?
See comment #1.
Comment 32 Simone Scanzoni 2010-11-10 01:30:43 UTC
Created attachment 253827 [details]
farther from 1.42.0-r2

As per comment #1 :)
Comment 33 Alex Turbov 2010-11-20 17:31:07 UTC
it is time to start a new version bump bug.... boost 1.45 is out!
http://www.boost.org/users/news/version_1_45_0
Comment 34 Mark Fischer 2010-11-22 15:24:13 UTC
It seems that something changed with boost-build for 1.45.0. At least I couldn't reuse the old ebuild, but I am at lost how to fix it. Could someone post the ebuilds for 1.45, pretty please?
Comment 35 Duncan Exon Smith 2010-11-22 19:25:31 UTC
Created attachment 255129 [details]
ebuild for boost-build-1.45.0 (based on boost-build-1.42.0)

"jam/src" got moved to "build/v2/engine/src".

Also, the patches from 1.42.0 are both upstream now.
Comment 36 Duncan Exon Smith 2010-11-22 19:27:05 UTC
(In reply to comment #35)
> Created an attachment (id=255129) [details]
> ebuild for boost-build-1.45.0 (based on boost-build-1.42.0)

Note:  I haven't used or tested this at all (or even merged it).  I just confirmed that "ebuild boost-build-1.45.0 install" will run without error.
Comment 37 Mark Fischer 2010-11-23 02:06:31 UTC
@35: Thanks a lot for the quick reply!
Comment 38 Myk Taylor 2010-12-02 03:42:47 UTC
I can confirm that boost-build-1.45.0.ebuild (2010-11-22 19:25) and renamed versions of the following files:
  remove-toolset-1.43.0.patch (2010-06-14 16:27)
  boost-1.43.0-random-Jamfile (2010-06-14 16:25)
  boost-1.43.0.ebuild (2010-11-10 01:30) with these lines removed:
        # bug 291660
	epatch "${FILESDIR}/boost-${PV}-parameter-needs-python.patch"
	epatch "${FILESDIR}"/${P}-gcc45-python.patch
successfully build and install boost-1.45.0.  I have built another project against the installed libraries and everything seems to be running fine.
Comment 39 Jeremy Murphy 2010-12-05 05:21:40 UTC
I have installed 1.45.0 and briefly tested a few applications that depend on it, everything seems fine.
Comment 40 Chen Chen 2010-12-13 04:44:08 UTC
(In reply to comment #35)
> Created an attachment (id=255129) [details]
> ebuild for boost-build-1.45.0 (based on boost-build-1.42.0)
> 
> "jam/src" got moved to "build/v2/engine/src".
> 
> Also, the patches from 1.42.0 are both upstream now.
> 

Excellent! i struggled a week for changing the ebuild from 1.42 to meet my requirement but now finished with just a search in bugzilla~
After a partial test with my 10+ boost-depended program everything seems to work fine, i thought the version bump should be accepted quickly.
Comment 41 Markos Chandras (RETIRED) gentoo-dev 2010-12-14 14:31:58 UTC
Boost has no maintainer at the moment
http://archives.gentoo.org/gentoo-dev/msg_b6189d38cebbc4fd482e4aabcc73d524.xml

I plan to take over this package and start working on boost version bump in my overlay[1]. If you need write access so you can help me develop the ebuilds for that send me an email including your ssh pub key.

[1] http://git.overlays.gentoo.org/index_maintenance.html?p=dev/hwoarang.git;a=tree


Comment 42 Sven Eden 2011-01-06 10:19:50 UTC
I have compiled 19 packages with boost-1.45 and didn't run into a single issue. Those ebuild work like a charm!
Comment 43 Guido Winkelmann 2011-01-06 13:18:27 UTC
(In reply to comment #42)
> I have compiled 19 packages with boost-1.45 and didn't run into a single issue.
> Those ebuild work like a charm!

Which ebuilds are you talking about? There is no ebuild for boost-1.45.0 attached to the bug report atm, and the one from hwoarang's overlay does not work. (It's missing two patch files.)
Comment 44 Markos Chandras (RETIRED) gentoo-dev 2011-01-06 13:32:44 UTC
(In reply to comment #43)
> (In reply to comment #42)
> > I have compiled 19 packages with boost-1.45 and didn't run into a single issue.
> > Those ebuild work like a charm!
> 
> Which ebuilds are you talking about? There is no ebuild for boost-1.45.0
> attached to the bug report atm, and the one from hwoarang's overlay does not
> work. (It's missing two patch files.)
> 
The ebuilds from my overlay should be ok now. I fixed the remaining build problems ( at least those that I was able to identify )
Comment 45 Guido Winkelmann 2011-01-06 13:45:39 UTC
(In reply to comment #44)
> The ebuilds from my overlay should be ok now. I fixed the remaining build
> problems ( at least those that I was able to identify )
 
That was fast.

The ebuild works now and at least on of my projects that uses boost builds cleanly against it.
Comment 46 Markos Chandras (RETIRED) gentoo-dev 2011-01-06 14:10:51 UTC
On tree ( masked ). They will remain masked for further testing. Thanks to everybody for the ebuilds

Comment 47 Andreas Sturmlechner gentoo-dev 2011-02-06 12:59:28 UTC
(In reply to comment #46)
> On tree ( masked ). They will remain masked for further testing. Thanks to
> everybody for the ebuilds
> 

Great! Already testing now... :)

Btw, what do you think of geki's idea to make more boost libraries optional (via USE flags) as described in #310207? He has done the legwork to split them into different ebuilds already and move code into eclass, which could be adapted...
Comment 48 Eugene Shalygin 2011-02-06 14:43:19 UTC
(In reply to comment #47)
> Btw, what do you think of geki's idea to make more boost libraries optional
> (via USE flags) as described in #310207? He has done the legwork to split them
> into different ebuilds already and move code into eclass, which could be
> adapted...

Geki's eclass has at least one siginificant problem - it install boost documentation in different directories (one per package) which makes it hard to use
Comment 49 Andreas Sturmlechner gentoo-dev 2011-03-06 11:04:18 UTC
Well, I do think it would need adaptation, I am sure it is possible to change that behaviour.


Anyway, I can not report any issues on my system using boost-1.45. Meanwhile, 1.46 is out.
Comment 50 Myk Taylor 2011-03-06 11:10:38 UTC
(In reply to comment #49)
> Meanwhile, 1.46 is out
I've been working on resolving conflicts with the filesystem v3 api which is the default for 1.46.  see blockers for Bug 356479