Your message dated Sun, 22 Apr 2012 13:48:33 +0000
with message-id <[email protected]>
and subject line Bug#669613: fixed in llvm-3.1 3.1~+rc1-3
has caused the Debian Bug report #669613,
regarding llvm-3.1: FTBFS on hurd-i386: conflict with st_dev/st_ino identifiers
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.)


-- 
669613: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=669613
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: llvm-3.1
Version: 3.1~+rc1-1
Severity: important
Tags: patch
User: [email protected]
Usertags: hurd

Hi,

currently[1], llvm-3.1 fails to build on GNU/Hurd.

The problem is that the struct file_status on UNIX systems has two
members called st_dev and st_ino; those are also members of the
struct stat, and they are reserved identifiers which can also be
provided as #define (and this is the case for st_dev on Hurd).
The solution (attached) is to rename them, for example adding a
"fs_" prefix (= file status) to them.

Regarding the test suite, the situation wrt running it is the same as
described in #652283 (i.e. no $ORIGIN in RPATH); running it with
LD_LIBRARY_PATH properly exported gives the same result of linux-i386
(i.e. the only failure is CodeGen/X86/2010-06-14-fast-isel-fs-load.ll).

[1] 
https://buildd.debian.org/status/fetch.php?pkg=llvm-3.1&arch=hurd-i386&ver=3.1%7E%2Brc1-1&stamp=1334882462

Thanks,
-- 
Pino
--- a/include/llvm/Support/FileSystem.h
+++ b/include/llvm/Support/FileSystem.h
@@ -99,8 +99,8 @@
 class file_status
 {
   #if defined(LLVM_ON_UNIX)
-  dev_t st_dev;
-  ino_t st_ino;
+  dev_t fs_st_dev;
+  ino_t fs_st_ino;
   #elif defined (LLVM_ON_WIN32)
   uint32_t LastWriteTimeHigh;
   uint32_t LastWriteTimeLow;
--- a/lib/Support/Unix/PathV2.inc
+++ b/lib/Support/Unix/PathV2.inc
@@ -285,8 +285,8 @@
 
 bool equivalent(file_status A, file_status B) {
   assert(status_known(A) && status_known(B));
-  return A.st_dev == B.st_dev &&
-         A.st_ino == B.st_ino;
+  return A.fs_st_dev == B.fs_st_dev &&
+         A.fs_st_ino == B.fs_st_ino;
 }
 
 error_code equivalent(const Twine &A, const Twine &B, bool &result) {
@@ -340,8 +340,8 @@
   else
     result = file_status(file_type::type_unknown);
 
-  result.st_dev = status.st_dev;
-  result.st_ino = status.st_ino;
+  result.fs_st_dev = status.st_dev;
+  result.fs_st_ino = status.st_ino;
 
   return error_code::success();
 }

--- End Message ---
--- Begin Message ---
Source: llvm-3.1
Source-Version: 3.1~+rc1-3

We believe that the bug you reported is fixed in the latest version of
llvm-3.1, which is due to be installed in the Debian FTP archive:

libllvm-3.1-ocaml-dev_3.1~+rc1-3_amd64.deb
  to main/l/llvm-3.1/libllvm-3.1-ocaml-dev_3.1~+rc1-3_amd64.deb
libllvm3.1_3.1~+rc1-3_amd64.deb
  to main/l/llvm-3.1/libllvm3.1_3.1~+rc1-3_amd64.deb
llvm-3.1-dev_3.1~+rc1-3_amd64.deb
  to main/l/llvm-3.1/llvm-3.1-dev_3.1~+rc1-3_amd64.deb
llvm-3.1-doc_3.1~+rc1-3_all.deb
  to main/l/llvm-3.1/llvm-3.1-doc_3.1~+rc1-3_all.deb
llvm-3.1-examples_3.1~+rc1-3_all.deb
  to main/l/llvm-3.1/llvm-3.1-examples_3.1~+rc1-3_all.deb
llvm-3.1-runtime_3.1~+rc1-3_amd64.deb
  to main/l/llvm-3.1/llvm-3.1-runtime_3.1~+rc1-3_amd64.deb
llvm-3.1-source_3.1~+rc1-3_all.deb
  to main/l/llvm-3.1/llvm-3.1-source_3.1~+rc1-3_all.deb
llvm-3.1_3.1~+rc1-3.debian.tar.gz
  to main/l/llvm-3.1/llvm-3.1_3.1~+rc1-3.debian.tar.gz
llvm-3.1_3.1~+rc1-3.dsc
  to main/l/llvm-3.1/llvm-3.1_3.1~+rc1-3.dsc
llvm-3.1_3.1~+rc1-3_amd64.deb
  to main/l/llvm-3.1/llvm-3.1_3.1~+rc1-3_amd64.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Sylvestre Ledru <[email protected]> (supplier of updated llvm-3.1 package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 22 Apr 2012 15:25:14 +0200
Source: llvm-3.1
Binary: libllvm3.1 llvm-3.1 llvm-3.1-runtime llvm-3.1-dev libllvm-3.1-ocaml-dev 
llvm-3.1-doc llvm-3.1-examples llvm-3.1-source
Architecture: source amd64 all
Version: 3.1~+rc1-3
Distribution: experimental
Urgency: low
Maintainer: LLVM Packaging Team <[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Description: 
 libllvm-3.1-ocaml-dev - Low-Level Virtual Machine (LLVM), bindings for OCaml
 libllvm3.1 - Low-Level Virtual Machine (LLVM), runtime library
 llvm-3.1   - Low-Level Virtual Machine (LLVM)
 llvm-3.1-dev - Low-Level Virtual Machine (LLVM), libraries and headers
 llvm-3.1-doc - Low-Level Virtual Machine (LLVM), documentation
 llvm-3.1-examples - Low-Level Virtual Machine (LLVM), examples
 llvm-3.1-runtime - Low-Level Virtual Machine (LLVM), bytecode interpreter
 llvm-3.1-source - Low-Level Virtual Machine (LLVM), source code
Closes: 669613
Changes: 
 llvm-3.1 (3.1~+rc1-3) experimental; urgency=low
 .
   * Fix a FTBFS under hurd. Thanks to Pino Toscano for the patch
     (Closes: #669613)
Checksums-Sha1: 
 59adea79c7eb494e797b6d5a22cbf49d286b5c7a 1989 llvm-3.1_3.1~+rc1-3.dsc
 03364b787ad40f8faa12d4984dcad566db9d8e52 33080 
llvm-3.1_3.1~+rc1-3.debian.tar.gz
 12ace8288649e0c83e97dc094b3b3c107d28cd4f 7390692 
libllvm3.1_3.1~+rc1-3_amd64.deb
 52d497cd64c0c0d5fae5c39c348d0a960e014c40 1485728 llvm-3.1_3.1~+rc1-3_amd64.deb
 4746e7d304504ecc8156e20a0d92aea615d8fd0f 41252 
llvm-3.1-runtime_3.1~+rc1-3_amd64.deb
 baa468a09282d9bebafaa460f3c2e19ca341c00b 13089628 
llvm-3.1-dev_3.1~+rc1-3_amd64.deb
 784f1b1c4d09311787ddf98c43f314b38bca8988 279588 
libllvm-3.1-ocaml-dev_3.1~+rc1-3_amd64.deb
 bf1947dff3f1de32bf0691c3bb5c33cb1b4799b0 1021292 
llvm-3.1-doc_3.1~+rc1-3_all.deb
 cc5da8c2ed42c26b7c36cda33b442a3ebacf9f49 110236 
llvm-3.1-examples_3.1~+rc1-3_all.deb
 4d7c25425c5cb25f8e883f672ea01826ad1aeadb 7526894 
llvm-3.1-source_3.1~+rc1-3_all.deb
Checksums-Sha256: 
 9a062efd79d5de7f8fae4171075eee85a3fb6b73598e039fedc11289f2e52ada 1989 
llvm-3.1_3.1~+rc1-3.dsc
 9d76d15054106605d440da8b9fc66a8ea398f8e1014e20767a23f25889387909 33080 
llvm-3.1_3.1~+rc1-3.debian.tar.gz
 43ed8a77e4a097c6dc7c37bb4360b030514f817d6de953030d695a2a94858695 7390692 
libllvm3.1_3.1~+rc1-3_amd64.deb
 3c9ee355967dd17677b7878708aa51aa1b5865e11a4b46ce48c9d6520d3c806d 1485728 
llvm-3.1_3.1~+rc1-3_amd64.deb
 9ada8f47e8b7da503092b61c289c55cfd1d9ec02a4e392fa434fa6a7e73c27cf 41252 
llvm-3.1-runtime_3.1~+rc1-3_amd64.deb
 c5895d039ada681e3d917f5624479165c596efd4bb0ecdf03d7520fde0a94f1c 13089628 
llvm-3.1-dev_3.1~+rc1-3_amd64.deb
 373609bb50f98216dee16255cb72650cbc086db7c1344c76a0d2f98222d67a60 279588 
libllvm-3.1-ocaml-dev_3.1~+rc1-3_amd64.deb
 aa4bfe177b60278cbc234fb215f295860fc826ef08f717678731d55e87904754 1021292 
llvm-3.1-doc_3.1~+rc1-3_all.deb
 11317d0f26f1f8d6a558f02c5dc2cc2256b4f32063c163bee108e4563ef1d322 110236 
llvm-3.1-examples_3.1~+rc1-3_all.deb
 bc764137675fc1b1d1ed2fe881af0990adbebf1eeb802311e11522457a176703 7526894 
llvm-3.1-source_3.1~+rc1-3_all.deb
Files: 
 a6215038113d758a720e96ac16a0694b 1989 devel optional llvm-3.1_3.1~+rc1-3.dsc
 25e83cf3110f24990c383cba6e15066b 33080 devel optional 
llvm-3.1_3.1~+rc1-3.debian.tar.gz
 17c97572daf015e285bcfdc119e82456 7390692 libs optional 
libllvm3.1_3.1~+rc1-3_amd64.deb
 50f49e46ccedd0810cfe699f218d0e7b 1485728 devel optional 
llvm-3.1_3.1~+rc1-3_amd64.deb
 cd228d6528879b9a679221fe0f8b19f1 41252 devel optional 
llvm-3.1-runtime_3.1~+rc1-3_amd64.deb
 9bfd3d8c6027fedaf8d73801048013b6 13089628 devel optional 
llvm-3.1-dev_3.1~+rc1-3_amd64.deb
 cb4d24a7b768313f9a527e73ad5d1af1 279588 ocaml optional 
libllvm-3.1-ocaml-dev_3.1~+rc1-3_amd64.deb
 14a01c1446bace7d1f4e145a5017a0ba 1021292 doc optional 
llvm-3.1-doc_3.1~+rc1-3_all.deb
 ae737f29ddac33e4ee778b46324b2eaf 110236 doc optional 
llvm-3.1-examples_3.1~+rc1-3_all.deb
 372be41ab62da97e38978f780b11247c 7526894 devel optional 
llvm-3.1-source_3.1~+rc1-3_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAk+UCncACgkQiOXXM92JlhBJuACgknWC+XV0mnnQJT6ITxLlMVPO
VhcAoIk+D2jN3vRqCSW7QTcnTUcVkLCR
=4TQD
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to