Ticket #375 (closed defect: fixed)
Opened 5 years ago
Last modified 3 years ago
boost not building cleanly.
| Reported by: | scottmc | Owned by: | adek336 |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | dev-libs/boost | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description
The .bep file for boost does not yet build boost cleanly. Probably a better patch will be needed for it.
Attachments
Change History
Changed 5 years ago by michaelvoliveira
- attachment boost-1.42.0.bep added
Changed 5 years ago by michaelvoliveira
- attachment boost-1.42.0.patch added
a better patch, better than actual
Changed 4 years ago by michaelvoliveira
- attachment boost-1.47.0.bep added
Initial .bep file. Builds with same problems of previous versions...
Changed 4 years ago by michaelvoliveira
- attachment boost-1.47.0.patch added
Improved patch from 1.42 version. Don't need High Precision Clock hack anymore
comment:1 Changed 3 years ago by cipri
the bep and patch files should be working.
I marked the bep file as stable, even it didnt build successully, complaining that it needs libiconv od icu to be able to build boost.locale . It's strange that before i wrote the patch, i could build boost manually, and it indeed didnt find icu too, but it found libiconv instead and it could build boost.locale, and I saw the final message "boost built successfully".
So my conclusion is, that this patch and bep will work, or in worst case, they will need a little adjustment.
So it can be safely added. One can test it too, but it will need perhaps a long time to build, depending how fast your cpu is.
Changed 3 years ago by cipri
- attachment boost-1.50.0.patch added
comment:2 Changed 3 years ago by cipri
ok, I just tested it. It build fine now boost.locale too (using libiconv).
If you want to build boost, you need to install boehm-gc first.
As far as I can say, I think it's a full/complete port of boost.
Perhaps it can be improved, building it with icu, and with mpi.
I was building boost on one of the latest gcc2h nighlies with gcc-4.6.2, so I dont know if on A3 it works the same.
Perhaps somebody can test it, and (if necessary improve that port), and the adding it as an optional package,
since soom people need it, and build yourself boost takes simply too much (at least on my machine).
Changed 3 years ago by cipri
- attachment boost-1.50.0.2.bep added
comment:3 Changed 3 years ago by cipri
seems i was to optimistic. I updated the bep file, and also set it for now to "broken".
It builds boost fine (as far as I can say), but without building it with "mpi" support, because we didn't port so far for example openmpi
The problem appear when creading a package with the option -d . It copyies the files in the "distro folder", but it doesnt build the package, zip file, because it says that a file is missing (here i dont know what exactly it means, i guess it wants to install library mpi too. Perhpas replaceing "--wihout-mpi" with "--without-librabries=mpi" could help).
Or trying to port to port openmpi and build boost with mpi support too.
Perhaps somebody with a faster computer wants to try fixing this bep file, for me the building times are too much, and i dont have time anymore.
I guess not much is missing and we have finally the latest boost with all features (except mpi).
comment:4 Changed 3 years ago by cipri
Seems, the last minor changes that i did in the last bep file, solved the problem. A package was successfully build with the option -c -d .
So i change the bep file back to "stable" from brocken.
comment:6 Changed 3 years ago by scottmc
Added 1.50.0 is r2027. Too late to get into Haiku R1/Alpha4, but we could probably add this shortly after that is released.
comment:7 Changed 3 years ago by scottmc
- Resolution set to fixed
- Status changed from new to closed

still not error free for Haikuporter, but it's better than actual