Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 406467 - dev-libs/boost-1.48.0-r1 - process_jam_log and compiler_status wrong working directory
Summary: dev-libs/boost-1.48.0-r1 - process_jam_log and compiler_status wrong working ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Tiziano Müller (RETIRED)
URL:
Whiteboard:
Keywords:
: 407745 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-03-01 19:18 UTC by Markus Walter
Modified: 2012-04-28 01:24 UTC (History)
5 users (show)

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


Attachments
build log (build.log.bz2,322.18 KB, application/x-bzip)
2012-03-01 19:18 UTC, Markus Walter
Details
emerge --info (info.txt,5.42 KB, text/plain)
2012-03-01 19:19 UTC, Markus Walter
Details
patch against ebuild to fix thinkos (boost-tests.patch,1.03 KB, patch)
2012-03-08 17:27 UTC, Xake
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Walter 2012-03-01 19:18:12 UTC
Created attachment 303849 [details]
build log

On my hardened ~amd64 machine with gcc-4.6.2 the test phase of boost fails while postprocessing the build log the error message is as follows. I checked and the file in question is on disk. I will now rerun with -j 1.

**passed** ../bin.v2/libs/type_traits/test/has_operator_new_test.test/gcc-4.6/debug/pch-off/has_operator_new_test.test
...failed updating 208 targets...
...skipped 365 targets...
...updated 37585 targets...
/var/tmp/portage/dev-libs/boost-1.48.0-r1/temp/environment: line 5774: tools/regression/build/bin/gcc-4.6/gentoorelease/pch-off/process_jam_log: No such file or directory
 * ERROR: dev-libs/boost-1.48.0-r1 failed (test phase):
 *   Postprocessing the build log failed
Comment 1 Markus Walter 2012-03-01 19:19:04 UTC
Created attachment 303851 [details]
emerge --info
Comment 2 Xake 2012-03-07 07:42:20 UTC
Sorry Jer, but I think you are wrong in what causes this failure.
If I "bzgrep utility /usr/share/doc/boost-1.47.0-r1/status/regress.log.bz2" I will get an awful lot of "../boost/tr1/detail/config_all.hpp:158:41: fatal error: ../4.6.2/utility: No such file or directory". But it is merged non the less.

So this failure (which I also have) actually seems to be with something else.
Comment 3 Xake 2012-03-08 17:27:45 UTC
Created attachment 304643 [details, diff]
patch against ebuild to fix thinkos

The src_test() part of the ebuild contains two thinkos:

1. The ebuild calls process_jam_log and compiler_status as if current directory is "${S}", not "${S}/status" which it really is. On the Other hand everything else is seems to be processed as if pwd really should be "${S}/status" so this seems like a thinko.
2. compiler_status wants the builddir as argument. However for some reason not giving the full path but only ".." makes compiler_status seek for something living in "../bin.v2/${S}" (the stdout output tells you otherwise but strace does not lie), so you really have to provide it with a full path...

This patch makes those two commandos reference with ${S} (i.e. full paths) instead of trying to hit the relative paths.
Makes the ebuild return from src_test() for me.
Comment 4 Xake 2012-03-13 08:23:21 UTC
Could someone please change the summary, as the current one is totally not relevant!
Comment 5 Markus Walter 2012-03-13 18:31:15 UTC
I changed the summary according to what I understand of the current situation. I will probably try your patch later this evening or tomorrow.
Comment 6 Markus Walter 2012-03-15 19:01:22 UTC
The patch worked for me.
Comment 7 Mike Gilbert gentoo-dev 2012-04-12 18:11:33 UTC
Thanks for the patch. Arfrever got to me first in IRC.

+  12 Apr 2012; Mike Gilbert <floppym@gentoo.org> boost-1.48.0-r1.ebuild,
+  boost-1.49.0.ebuild:
+  Delete call to ebeep() (bug #409309). Fix paths to commands in src_test() (bug
+  #406467). Backported from Progress Overlay. Patch by Arfrever.
+
Comment 8 Mike Gilbert gentoo-dev 2012-04-28 01:24:45 UTC
*** Bug 407745 has been marked as a duplicate of this bug. ***