Your message dated Thu, 25 Jun 2015 16:39:57 +0200
with message-id <[email protected]>
and subject line closing bugs reported against ancient boost versions
has caused the Debian Bug report #630652,
regarding bjam: define the right OS name on Hurd
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
630652: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=630652
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: boost1.46
Version: 1.46.1-6
Severity: normal
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

currently bjam does not identify Hurd when using e.g. os.name in jam scripts:
  $ bjam -v | head -n1
  Boost.Jam  Version 3.1.19. OS=UNKNOWN.

The attached patch (which should be suitable for upstream inclusion) sets the
correct #define's for Hurd in bjam, adding also the path detection for the
bjam test suite.
  $ bjam -v | head -n1
  Boost.Jam  Version 3.1.19. OS=HURD.

Thanks,
-- 
Pino
Description: bjam: define the right OS variable on Hurd
Author: Pino Toscano <[email protected]>

--- a/tools/build/v2/engine/src/jam.h
+++ b/tools/build/v2/engine/src/jam.h
@@ -391,6 +391,10 @@
     #define OSMINOR "OS=KFREEBSD"
     #define OS_KFREEBSD
 #endif
+#ifdef __GNU__
+    #define OSMINOR "OS=HURD"
+    #define OS_HURD
+#endif
 #ifndef OSMINOR
     #define OSMINOR "OS=UNKNOWN"
 #endif
--- a/tools/build/v2/test/BoostBuild.py
+++ b/tools/build/v2/test/BoostBuild.py
@@ -240,6 +240,12 @@
                     jam_build_dir = "bin.freebsd"
                 elif os.uname()[0] == "OSF1":
                     jam_build_dir = "bin.osf"
+                elif os.uname()[0] == "GNU":
+                    cpu = os.uname()[4]
+                    if re.match("i.86.*", cpu):
+                        jam_build_dir = "bin.hurdx86";
+                    else:
+                        jam_build_dir = "bin.hurd" + os.uname()[4]
                 else:
                     raise "Don't know directory where Jam is built for this 
system: " + os.name + "/" + os.uname()[0]
             else:

--- End Message ---
--- Begin Message ---
This bug has been reported against an ancient version of boost, that was
removed from Debian so long ago that it is no longer part of any
supported release (including oldoldstable-lts).
It is assumed to be fixed (or no longer relevant) in newer releases and
therefore I'm closing this report now. If the problem is still
reproducible in the current version (1.55), feel free to provide more
information, reopen and reassign this bug report.


Andreas

--- End Message ---

Reply via email to