Opened 11 years ago
Closed 6 years ago
#6286 closed Patches (fixed)
Boost 1.48 broke --python-buildid
| Reported by: | Owned by: | Vladimir Prus | |
|---|---|---|---|
| Milestone: | To Be Determined | Component: | build |
| Version: | Boost 1.61.0 | Severity: | Problem |
| Keywords: | Cc: | yan12125@… |
Description
This option worked up to 1.46.1; I did not try 1.47, but with 1.48 it broke. The command sequence
./bootstrap.sh
./bjam --with-python --python-buildid=qwerty
in 1.46 produces stage/lib/libboost_python-qwerty.a in 1.48 I see stage/lib/libboost_python.a
The ID was not appended.
I am attaching the patch used in Debian to correct this.
Attachments (4)
Change History (25)
by , 11 years ago
| Attachment: | pythonid.patch added |
|---|
comment:1 by , 11 years ago
| Component: | None → Python |
|---|---|
| Owner: | set to |
follow-up: 5 comment:2 by , 11 years ago
| Component: | Python → Building Boost |
|---|
comment:3 by , 11 years ago
| Owner: | changed from to |
|---|
comment:5 by , 10 years ago
Replying to rwgk:
I'm not in a position to test the chagnes in the Jamfiles. Could someone familiar with boost.build take a look at this?
I patched 1.47 and it worked as expected.
comment:7 by , 10 years ago
| Type: | Bugs → Patches |
|---|
comment:11 by , 10 years ago
| Component: | Building Boost → build |
|---|
comment:12 by , 10 years ago
Replying to rwgk:
:-(
Could (did) you try your luck at boost@…?
I'm not sure what this means. If you follow the documentation and add the correct settings to build for multiple versions of python, those settings are ignored when building with Unix makefiles.
comment:14 by , 8 years ago
Replying to smr@…:
This option worked up to 1.46.1; I did not try 1.47, but with 1.48 it broke. The command sequence
./bootstrap.sh ./bjam --with-python --python-buildid=qwertyin 1.46 produces stage/lib/libboost_python-qwerty.a in 1.48 I see stage/lib/libboost_python.a
The ID was not appended.
I am attaching the patch used in Debian to correct this.
This is still broken in 1.55.0. Is Boost Build still being maintained?
comment:15 by , 8 years ago
That was a bait question?
it's maintained, but it seems that this patch is specific to Debian and is automatically applied by Debian build system, so it never made it to the top of the queue.
comment:16 by , 8 years ago
I've attached 3 patches that I think involve less code duplication. Do they work on your side? (I am not aware of a way to produce a single patch in this new world).
comment:20 by , 6 years ago
| Cc: | added |
|---|---|
| Version: | Boost 1.48.0 → Boost 1.61.0 |
Problem is still in version 1.61.0. After applying root.diff, mpi.diff and python.diff, --python-buildid works fine.
Tested on Arch Linux with Arch Linux's build scripts. [1]
[1] https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/boost
comment:21 by , 6 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
These patches were checked in to develop. Let me know if everything is fine.

I'm not in a position to test the chagnes in the Jamfiles. Could someone familiar with boost.build take a look at this?