Your message dated Sun, 31 Jul 2005 14:47:15 -0700
with message-id <[EMAIL PROTECTED]>
and subject line Bug#320624: fixed in pcre-ocaml 5.10.0-3
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 30 Jul 2005 17:57:38 +0000
>From [EMAIL PROTECTED] Sat Jul 30 10:57:37 2005
Return-path: <[EMAIL PROTECTED]>
Received: from apate.telenet-ops.be [195.130.132.57] 
        by spohr.debian.org with esmtp (Exim 3.36 1 (Debian))
        id 1Dyvab-0001mk-00; Sat, 30 Jul 2005 10:57:37 -0700
Received: from localhost (localhost.localdomain [127.0.0.1])
        by apate.telenet-ops.be (Postfix) with SMTP id E846B3817F
        for <[EMAIL PROTECTED]>; Sat, 30 Jul 2005 19:57:36 +0200 (CEST)
Received: from Q.roeckx.be (dD5775FD9.access.telenet.be [213.119.95.217])
        by apate.telenet-ops.be (Postfix) with ESMTP id C4B373814C
        for <[EMAIL PROTECTED]>; Sat, 30 Jul 2005 19:57:36 +0200 (CEST)
Received: by Q.roeckx.be (Postfix, from userid 501)
        id 935D926136; Sat, 30 Jul 2005 19:57:36 +0200 (CEST)
Date: Sat, 30 Jul 2005 19:57:36 +0200
From: Kurt Roeckx <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: pcre-ocaml: FTBFS: Not using -fPIC to make a shared library.
Message-ID: <[EMAIL PROTECTED]>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4.2.1i
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Package: pcre-ocaml
Version: 5.10.0-2
Severity: serious
Tags: patch

Hi,

Your package is failing to build with the following error:
make[3]: Entering directory `/build/buildd/pcre-ocaml-5.10.0/lib'
ocamlc -c -cc "cc" -ccopt "-g -Wall -O2 \
                        -DPIC   \
                            -o pcre_stubs.o " pcre_stubs.c
ar rcs libpcre_stubs.a  pcre_stubs.o
ocamlc -c pcre.mli
ocamlc -c pcre.ml
ocamlmklib          \
                        -o pcre_stubs  pcre_stubs.o -lpcre \

/usr/bin/ld: pcre_stubs.o: relocation R_X86_64_32 against `a local symbol' can
not be used when making a shared object; recompile with -fPIC
pcre_stubs.o: could not read symbols: Bad value
collect2: ld returned 1 exit status


It has a -DPIC, but it requires the -fPIC options too.


Here is a patch for it:
--- OCamlMakefile.old   2005-07-30 19:56:03.089321016 +0200
+++ OCamlMakefile       2005-07-30 19:55:43.630279240 +0200
@@ -162,7 +162,7 @@
   PIC_CFLAGS := -fPIC
 endif
 ifndef PIC_CPPFLAGS
-  PIC_CPPFLAGS := -DPIC
+  PIC_CPPFLAGS := -fPIC -DPIC
 endif
 endif


Kurt


---------------------------------------
Received: (at 320624-close) by bugs.debian.org; 31 Jul 2005 22:02:36 +0000
>From [EMAIL PROTECTED] Sun Jul 31 15:02:36 2005
Return-path: <[EMAIL PROTECTED]>
Received: from katie by spohr.debian.org with local (Exim 3.36 1 (Debian))
        id 1DzLeN-0007Ud-00; Sun, 31 Jul 2005 14:47:15 -0700
From: Stefano Zacchiroli <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: $Revision: 1.56 $
Subject: Bug#320624: fixed in pcre-ocaml 5.10.0-3
Message-Id: <[EMAIL PROTECTED]>
Sender: Archive Administrator <[EMAIL PROTECTED]>
Date: Sun, 31 Jul 2005 14:47:15 -0700
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02 
        (1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Level: 
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
        autolearn=no version=2.60-bugs.debian.org_2005_01_02

Source: pcre-ocaml
Source-Version: 5.10.0-3

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

libpcre-ocaml-dev_5.10.0-3_i386.deb
  to pool/main/p/pcre-ocaml/libpcre-ocaml-dev_5.10.0-3_i386.deb
libpcre-ocaml_5.10.0-3_i386.deb
  to pool/main/p/pcre-ocaml/libpcre-ocaml_5.10.0-3_i386.deb
pcre-ocaml_5.10.0-3.diff.gz
  to pool/main/p/pcre-ocaml/pcre-ocaml_5.10.0-3.diff.gz
pcre-ocaml_5.10.0-3.dsc
  to pool/main/p/pcre-ocaml/pcre-ocaml_5.10.0-3.dsc



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.
Stefano Zacchiroli <[EMAIL PROTECTED]> (supplier of updated pcre-ocaml 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.7
Date: Sun, 31 Jul 2005 22:01:15 +0200
Source: pcre-ocaml
Binary: libpcre-ocaml libpcre-ocaml-dev
Architecture: source i386
Version: 5.10.0-3
Distribution: unstable
Urgency: low
Maintainer: Stefano Zacchiroli <[EMAIL PROTECTED]>
Changed-By: Stefano Zacchiroli <[EMAIL PROTECTED]>
Description: 
 libpcre-ocaml - OCaml bindings for PCRE (Perl Compatible Regular Expression)
 libpcre-ocaml-dev - OCaml bindings for PCRE (Perl Compatible Regular 
Expression)
Closes: 320624
Changes: 
 pcre-ocaml (5.10.0-3) unstable; urgency=low
 .
   * debian/patches/31_fpic
     - patched OCamlMakefile so that pcre_stubs.o is built with -fPIC,
       fixes FTBFS on amd64 and other archs (Closes: Bug#320624).
Files: 
 f9657c4e4f5dca7f855a6f426eb35238 672 devel optional pcre-ocaml_5.10.0-3.dsc
 02849a650c010440d7a271918ae158ce 4498 devel optional 
pcre-ocaml_5.10.0-3.diff.gz
 b74e225c8110abbec699e977c208ba7c 18348 libs optional 
libpcre-ocaml_5.10.0-3_i386.deb
 d6fc8e87874aedf6181f4731005d8181 72536 libdevel optional 
libpcre-ocaml-dev_5.10.0-3_i386.deb

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

iD8DBQFC7S7I1cqbBPLEI7wRAovpAJ9K09IEqsgwilg8BihcSPSlzLZC4wCdFivc
kz5mb4y+RWJHdDrftCu0gYo=
=KvvW
-----END PGP SIGNATURE-----


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to