FS#28099 - [boost] bjam don't work

Attached to Project: Community Packages
Opened by Roman Matsybora (matsic) - Wednesday, 25 January 2012, 14:01 GMT
Last edited by Ionut Biru (wonder) - Sunday, 26 February 2012, 17:28 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Ionut Biru (wonder)
Jakob Gruber (schuay)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Invoking bjam results message:
>>>
Unable to load Boost.Build: could not find "boost-build.jam"
---------------------------------------------------------------
Attempted search from <your home directory> up to the root
at /usr/share/boost-build
and in these directories from BOOST_BUILD_PATH and BOOST_ROOT: /usr/share/boost-build.
Please consult the documentation at 'http://www.boost.org'.
<<<

If this pakage contains bjam it should contain boost-build folder that included in boost repository.

Additional info:
* package version 1.48.0-2

Steps to reproduce:
Unpack archive and run bjam from unpacked directory.
This task depends upon

Closed by  Ionut Biru (wonder)
Sunday, 26 February 2012, 17:28 GMT
Reason for closing:  Fixed
Additional comments about closing:  boost-build is now in community
boost-build added to boost optdepends, will be available with 1.49.0
Comment by Tianjiao Yin (ytj) - Sunday, 26 February 2012, 11:43 GMT
I think this is not a bug.
The short ans is, you can install boost-build-nightly or boost-build in AUR to fix this.

Boost jam is possible (but hard) to work without boost-build at all.
Maybe boost-build should be added in the optdepends array in boost's PKGBUILD.
Comment by Ionut Biru (wonder) - Sunday, 26 February 2012, 11:49 GMT
I see in boost sources boost-build.jam boostcpp.jam. maybe i have to include them in the boost package?
Comment by Tianjiao Yin (ytj) - Sunday, 26 February 2012, 12:26 GMT
to wonder:

Don't do that. AFAIK, boost-build.jam and boostcpp.jam are used to build boost itself, not for users.

The right way is just put boost-build in optdepends array, like this:

optdepends=('boost-build: to use boost jam to build your project.')

If you really want to include boost-build in boost package.
You have to copy "${boostdir}/tools/build/v2" to "${pkgdir}/usr/share/boost-build"
and remove "${pkgdir}/usr/share/boost-build/engine"
and generate a configure in "{pkgdir}/etc/site-config.jam" which at least include "using gcc ;" .
FYI, Just take a look how boost-build in AUR works.
IMO, this is a bad idea.

BTW I can pass that boost-build-test because I installed boost-build-nightly on my machine.
Comment by Ionut Biru (wonder) - Sunday, 26 February 2012, 13:37 GMT
@Jakob do you want to move boost-build into community?
Comment by Jakob Gruber (schuay) - Sunday, 26 February 2012, 16:00 GMT
Sure, boost-build is now in community.

Loading...