Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18183 - dev-libs/boost-1.30.0.ebuild (new version)
Summary: dev-libs/boost-1.30.0.ebuild (new version)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: George Shapovalov (RETIRED)
URL:
Whiteboard:
Keywords:
: 17995 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-03-25 17:40 UTC by Jeremy Maitin-Shepard
Modified: 2003-12-07 07:17 UTC (History)
3 users (show)

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


Attachments
Ebuild (boost-1.30.0.ebuild,1.79 KB, text/plain)
2003-03-25 17:41 UTC, Jeremy Maitin-Shepard
Details
new boost ebuild (boost-1.30.0.ebuild,2.16 KB, text/plain)
2003-04-30 10:42 UTC, Garen
Details
Updated ebuild (python version detection) (boost-1.30.0.ebuild,2.18 KB, text/plain)
2003-04-30 23:06 UTC, Jeremy Maitin-Shepard
Details
Detects/uses icc to build if present (boost-1.30.0.ebuild,2.70 KB, text/plain)
2003-05-02 13:41 UTC, Garen
Details
Detects/uses icc to build if present (v2) (boost-1.30.0.ebuild,2.63 KB, text/plain)
2003-05-02 13:46 UTC, Garen
Details
(v3) (boost-1.30.0.ebuild,2.63 KB, text/plain)
2003-05-13 11:48 UTC, Garen
Details
slightly modified ebuild (boost-1.30.0.ebuild,2.83 KB, application/octet-stream)
2003-05-17 00:32 UTC, George Shapovalov (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Maitin-Shepard 2003-03-25 17:40:37 UTC
The attached ebuild is for the recently released version 1.30 of the free C++
library boost (boost.org).
Comment 1 Jeremy Maitin-Shepard 2003-03-25 17:41:10 UTC
Created attachment 9808 [details]
Ebuild
Comment 2 Jeremy Maitin-Shepard 2003-03-28 16:23:42 UTC
This bug is possibly redundant considering a previous submission of an ebuild for boost 1.30 (bug number 17995).  I do believe, however, that this ebuild handles the documentation better than 17995.  Specifically, the other ebuild uses the same method as is used in the 1.29 ebuild, and excludes certain documentation elements include xml, sgml, and example code files that are part of the documentation.
    - Jeremy Maitin-Shepard
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-04-01 17:12:54 UTC
*** Bug 17995 has been marked as a duplicate of this bug. ***
Comment 4 Garen 2003-04-01 22:51:58 UTC
Yeah it does.  I didn't bother looking at that part.  Your ebuild works over here as well.  Would 
be nice if it were added at least into unstable.  hint hint. :) 
 
Comment 5 Garen 2003-04-01 22:54:01 UTC
Oh yeah: Had thought of separating bjam into a separate ebuild.  It would also make it more 
visible.. and it's just, soo cool anyway. : ) 
 
Thoughts? 
Comment 6 Jeremy Maitin-Shepard 2003-04-03 21:49:53 UTC
Yeah, I had thought of that also.  I had simply not seen any other use for bjam, given that it does provide too many improvements over jam.  On a related note, have you been able to figure out how to make bjam or jam use CLFAGS and CXXFLAGS?  It did not appear that "-sGCC=${CC} ${CFLAGS}"  "-sGXX=${CXX} ${CXXFLAGS}" has any effect despite the documentation.  Another issue is that at least on my system, a few (like 5) of the targets fail in 1.30, so I had to remove the check on the return value.  It is not clear what exactly these targets are, or whether they simply don't matter.
Comment 7 Garen 2003-04-05 23:08:49 UTC
About the failures, I assume you're referring to this part at the end of the build process: 
 
...failed updating 6 targets... 
...updated 539 targets... 
 
 
I think they're Python related.  If you disable Python support they go away.  No idea where the 
failures are or why they trigger though. 
 
I'll see if I can do some snooping around with this one this weekend. 
 
Comment 8 Garen 2003-04-06 01:32:42 UTC
When you restart the build process it magically completes the previously failed targets.  Weird.   
I ran into this on accident when trying to test the build time, like this: 
 
# ebuild boost-1.30.0.ebuild compile  
...blahblah...blah  
...failed updating 6 targets... 
...updated 539 targets... 
# time ebuild boost-1.30.0.ebuild compile 
>>> Checking boost_1_30_0.tar.bz2's mtime... 
>>> WORKDIR is up-to-date, keeping... 
### 
### Using 'gcc' toolset. 
### 
rm -rf bootstrap.gcc 
mkdir bootstrap.gcc 
gcc -o bootstrap.gcc/jam0 command.c compile.c execnt.c execunix.c execvms.c expand.c 
filent.c fileos2.c fileunix.c filevms.c glob.c hash.c hdrmacro.c headers.c jam.c jambase.c 
jamgram.c lists.c make.c make1.c newstr.c option.c parse.c pathunix.c pathvms.c regexp.c 
rules.c scan.c search.c subst.c timestamp.c variable.c modules.c strings.c filesys.c builtins.c 
pwd.c 
./bootstrap.gcc/jam0 -f build.jam --toolset=gcc --toolset-root= 
...found 44 targets... 
...found 3407 targets... 
...updating 6 targets... 
FileClone libs/python/build/bin-stage/libboost_python_debug.so.1.30.0 
FileClone libs/python/build/bin-stage/libboost_python.so.1.30.0 
FileClone libs/regex/build/bin-stage/libboost_regex_debug.so.1.30.0 
FileClone libs/regex/build/bin-stage/libboost_regex.so.1.30.0 
FileClone libs/thread/build/bin-stage/libboost_threadd.so.1.30.0 
FileClone libs/thread/build/bin-stage/libboost_thread.so.1.30.0 
...updated 6 targets... 
 
Comment 9 Garen 2003-04-30 10:42:00 UTC
Created attachment 11328 [details]
new boost ebuild
Comment 10 Garen 2003-04-30 10:44:02 UTC
Well, there's an updated ver with the doc updates and a trivial work around for the   
failures.  I asked on the boost list if there was a cleaner way to build nicely without the cheap   
hack, but there was no response.  No big deal anyway.   
   
Comment 11 Jeremy Maitin-Shepard 2003-04-30 23:06:03 UTC
Created attachment 11340 [details]
Updated ebuild (python version detection)

I have added some perliminary automatic detection of python version. 
Basically, I use the following:
python -V 2>&1 | cut -d . -f 2,3
Comment 12 Garen 2003-05-02 13:39:04 UTC
I was thinking of doing something like that, ... but was hoping for some built-in eclass that 
provided it or something.  Another thing that would be handy is access to MAKEOPTS, to pass 
to bjam. 
Comment 13 Garen 2003-05-02 13:41:27 UTC
Created attachment 11397 [details]
Detects/uses icc to build if present
Comment 14 Garen 2003-05-02 13:46:30 UTC
Created attachment 11398 [details]
Detects/uses icc to build if present (v2)

The last one was ill-formatted w.r.t. whitespace
Comment 15 Garen 2003-05-02 13:53:03 UTC
Oh yeah, I noticed that the documentation mentioned has this example for passing optimization 
flags: 
 
-sBUILD="<cxxflags>/G6" 
 
via http://www.boost.org/tools/build/build_system.htm#initiating 
 
When I try adding something like "<cxxflags>-march=blah -O3" it builds a variant for each one 
of those flags.  That doesn't seem right.  Maybe it's just being stupid and only recognizes '/' for 
switches.  Would like to figure that as well. 
 
Comment 16 Giulio Eulisse 2003-05-13 03:22:38 UTC
Ebuild in attachment 11398 [details] has a missing "\" on line 56. Otherwise builds fine.
Comment 17 Garen 2003-05-13 11:48:58 UTC
Created attachment 11918 [details]
(v3)

Adds missing '\'
Comment 18 George Shapovalov (RETIRED) gentoo-dev 2003-05-17 00:32:02 UTC
Created attachment 12081 [details]
slightly modified ebuild

Hi guys.
So this was quite a hot bug ;), but I see it finally stabilized.
I have checked the latest version and did few modifications. It tested out Ok
with gcc, now attaching here to ask people to test it with icc.

George
Comment 19 George Shapovalov (RETIRED) gentoo-dev 2003-05-17 01:50:33 UTC
Ok, this has been tested by me and <mIGu> on #gentoo with icc as well.
Committed to portage, please test.

George
Comment 20 Garen 2003-05-17 02:27:57 UTC
Works fine.  Thanks George. 
Comment 21 George Shapovalov (RETIRED) gentoo-dev 2003-07-22 19:02:26 UTC
in stable already
Comment 22 Stephane Loeuillet 2003-10-01 08:34:21 UTC
1.30.2 in portage

time to close ?
Comment 23 Heinrich Wendel (RETIRED) gentoo-dev 2003-12-07 07:17:25 UTC
i think so ;)