First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 18183
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: George Shapovalov <george@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Jeremy Maitin-Shepard <jbms@cmu.edu>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
boost-1.30.0.ebuild Ebuild text/plain Jeremy Maitin-Shepard 2003-03-25 17:41 0000 1.79 KB Details
boost-1.30.0.ebuild new boost ebuild text/plain Garen 2003-04-30 10:42 0000 2.16 KB Details
boost-1.30.0.ebuild Updated ebuild (python version detection) text/plain Jeremy Maitin-Shepard 2003-04-30 23:06 0000 2.18 KB Details
boost-1.30.0.ebuild Detects/uses icc to build if present text/plain Garen 2003-05-02 13:41 0000 2.70 KB Details
boost-1.30.0.ebuild Detects/uses icc to build if present (v2) text/plain Garen 2003-05-02 13:46 0000 2.63 KB Details
boost-1.30.0.ebuild (v3) text/plain Garen 2003-05-13 11:48 0000 2.63 KB Details
boost-1.30.0.ebuild slightly modified ebuild application/octet-stream George Shapovalov 2003-05-17 00:32 0000 2.83 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 18183 depends on: Show dependency tree
Bug 18183 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2003-03-25 17:40 0000
The attached ebuild is for the recently released version 1.30 of the free C++
library boost (boost.org).

------- Comment #1 From Jeremy Maitin-Shepard 2003-03-25 17:41:10 0000 -------
Created an attachment (id=9808) [edit]
Ebuild

------- Comment #2 From Jeremy Maitin-Shepard 2003-03-28 16:23:42 0000 -------
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 From Martin Holzer (RETIRED) 2003-04-01 17:12:54 0000 -------
*** Bug 17995 has been marked as a duplicate of this bug. ***

------- Comment #4 From Garen 2003-04-01 22:51:58 0000 -------
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 From Garen 2003-04-01 22:54:01 0000 -------
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 From Jeremy Maitin-Shepard 2003-04-03 21:49:53 0000 -------
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 From Garen 2003-04-05 23:08:49 0000 -------
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 From Garen 2003-04-06 01:32:42 0000 -------
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 From Garen 2003-04-30 10:42:00 0000 -------
Created an attachment (id=11328) [edit]
new boost ebuild

------- Comment #10 From Garen 2003-04-30 10:44:02 0000 -------
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 From Jeremy Maitin-Shepard 2003-04-30 23:06:03 0000 -------
Created an attachment (id=11340) [edit]
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 From Garen 2003-05-02 13:39:04 0000 -------
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 From Garen 2003-05-02 13:41:27 0000 -------
Created an attachment (id=11397) [edit]
Detects/uses icc to build if present

------- Comment #14 From Garen 2003-05-02 13:46:30 0000 -------
Created an attachment (id=11398) [edit]
Detects/uses icc to build if present (v2)

The last one was ill-formatted w.r.t. whitespace

------- Comment #15 From Garen 2003-05-02 13:53:03 0000 -------
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 From Giulio Eulisse 2003-05-13 03:22:38 0000 -------
Ebuild in attachment 11398 [edit] has a missing "\" on line 56. Otherwise builds fine.

------- Comment #17 From Garen 2003-05-13 11:48:58 0000 -------
Created an attachment (id=11918) [edit]
(v3)

Adds missing '\'

------- Comment #18 From George Shapovalov 2003-05-17 00:32:02 0000 -------
Created an attachment (id=12081) [edit]
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 From George Shapovalov 2003-05-17 01:50:33 0000 -------
Ok, this has been tested by me and <mIGu> on #gentoo with icc as well.
Committed to portage, please test.

George

------- Comment #20 From Garen 2003-05-17 02:27:57 0000 -------
Works fine.  Thanks George. 

------- Comment #21 From George Shapovalov 2003-07-22 19:02:26 0000 -------
in stable already

------- Comment #22 From Stephane Loeuillet 2003-10-01 08:34:21 0000 -------
1.30.2 in portage

time to close ?

------- Comment #23 From Heinrich Wendel (RETIRED) 2003-12-07 07:17:25 0000 -------
i think so ;)

First Last Prev Next    No search results available      Search page      Enter new bug