Debian Bug report logs - #527707
python-numpy: Error during build: _configtest.c:5: undefined reference to `exp'

version graph

Package: python-numpy; Maintainer for python-numpy is Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>; Source for python-numpy is src:python-numpy.

Reported by: Lucas Nussbaum <lucas@lucas-nussbaum.net>

Date: Fri, 8 May 2009 18:00:17 UTC

Severity: important

Found in version python-numpy/1:1.2.1-1

Done: Sandro Tosi <morph@debian.org>

Bug is archived. No further changes may be made.

Forwarded to http://projects.scipy.org/numpy/ticket/1526

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#527707; Package python-numpy. (Fri, 08 May 2009 18:00:20 GMT) Full text and rfc822 format available.

Acknowledgement sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
New Bug report received and forwarded. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Fri, 08 May 2009 18:00:20 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Lucas Nussbaum <lucas@lucas-nussbaum.net>
To: submit@bugs.debian.org
Subject: python-numpy: FTBFS: _configtest.c:5: undefined reference to `exp'
Date: Fri, 8 May 2009 19:47:55 +0200
Package: python-numpy
Version: 1:1.2.1-1
Severity: serious
User: debian-qa@lists.debian.org
Usertags: qa-ftbfs-20090508 qa-ftbfs
Justification: FTBFS on amd64

Hi,

During a rebuild of all packages in sid, your package failed to build on
amd64.

Relevant part:
> gcc -pthread _configtest.o -o _configtest
> _configtest.o: In function `main':
> /build/user-python-numpy_1.2.1-1-amd64-f6BuY2/python-numpy-1.2.1/_configtest.c:5: undefined reference to `exp'
> collect2: ld returned 1 exit status

The full build log is available from:
   http://people.debian.org/~lucas/logs/2009/05/08/python-numpy_1:1.2.1-1_lsid64.buildlog

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on about 50 AMD64 nodes
of the Grid'5000 platform, using a clean chroot.  Internet was not
accessible from the build systems.

-- 
| Lucas Nussbaum
| lucas@lucas-nussbaum.net   http://www.lucas-nussbaum.net/ |
| jabber: lucas@nussbaum.fr             GPG: 1024D/023B3F4F |




Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#527707; Package python-numpy. (Fri, 03 Jul 2009 09:48:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Cyril Brulebois <kibi@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Fri, 03 Jul 2009 09:48:05 GMT) Full text and rfc822 format available.

Message #10 received at 527707@bugs.debian.org (full text, mbox):

From: Cyril Brulebois <kibi@debian.org>
To: Lucas Nussbaum <lucas@lucas-nussbaum.net>, 527707@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Re: Bug#527707: python-numpy: FTBFS: _configtest.c:5: undefined reference to `exp'
Date: Fri, 3 Jul 2009 11:35:18 +0200
severity 527707 important
retitle  527707 python-numpy: Error during build: _configtest.c:5: undefined reference to `exp'
thanks

Lucas Nussbaum <lucas@lucas-nussbaum.net> (08/05/2009):
> Justification: FTBFS on amd64

Yes, but not because of the following:
> Relevant part:
> > gcc -pthread _configtest.o -o _configtest
> > _configtest.o: In function `main':
> > /build/user-python-numpy_1.2.1-1-amd64-f6BuY2/python-numpy-1.2.1/_configtest.c:5: undefined reference to `exp'
> > collect2: ld returned 1 exit status

The real cause of the FTBFS is #521525, and that bug doesn't make the
package FTBFS. Keeping it as important bug, though, because errors
during buildings aren't a good idea.

The fix is pretty trivial, I'd guess, like adding -lm to the command
line. I didn't fix it in my NMU though, since that was already happening
in the previous (successful) builds.

Mraw,
KiBi.




Severity set to `important' from `serious' Request was from Cyril Brulebois <kibi@debian.org> to control@bugs.debian.org. (Fri, 03 Jul 2009 09:48:07 GMT) Full text and rfc822 format available.

Changed Bug title to `python-numpy: Error during build: _configtest.c:5: undefined reference to `exp'' from `python-numpy: FTBFS: _configtest.c:5: undefined reference to `exp''. Request was from Cyril Brulebois <kibi@debian.org> to control@bugs.debian.org. (Fri, 03 Jul 2009 09:48:08 GMT) Full text and rfc822 format available.

Set Bug forwarded-to-address to 'http://projects.scipy.org/numpy/ticket/1526'. Request was from Sandro Tosi <morph@debian.org> to control@bugs.debian.org. (Tue, 29 Jun 2010 18:57:13 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>:
Bug#527707; Package python-numpy. (Wed, 21 Jul 2010 18:27:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Sandro Tosi <morph@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Python Modules Team <python-modules-team@lists.alioth.debian.org>. (Wed, 21 Jul 2010 18:27:07 GMT) Full text and rfc822 format available.

Message #21 received at 527707@bugs.debian.org (full text, mbox):

From: Sandro Tosi <morph@debian.org>
To: Cyril Brulebois <kibi@debian.org>, 527707@bugs.debian.org
Cc: Lucas Nussbaum <lucas@lucas-nussbaum.net>, control@bugs.debian.org
Subject: Re: [Python-modules-team] Bug#527707: python-numpy: FTBFS: _configtest.c:5: undefined reference to `exp'
Date: Wed, 21 Jul 2010 20:25:21 +0200
Hi all,

On Fri, Jul 3, 2009 at 11:35, Cyril Brulebois <kibi@debian.org> wrote:
> severity 527707 important
> retitle  527707 python-numpy: Error during build: _configtest.c:5: undefined reference to `exp'
> thanks
>
> Lucas Nussbaum <lucas@lucas-nussbaum.net> (08/05/2009):
>> Justification: FTBFS on amd64
>
> Yes, but not because of the following:
>> Relevant part:
>> > gcc -pthread _configtest.o -o _configtest
>> > _configtest.o: In function `main':
>> > /build/user-python-numpy_1.2.1-1-amd64-f6BuY2/python-numpy-1.2.1/_configtest.c:5: undefined reference to `exp'
>> > collect2: ld returned 1 exit status
>
> The real cause of the FTBFS is #521525, and that bug doesn't make the
> package FTBFS. Keeping it as important bug, though, because errors
> during buildings aren't a good idea.
>
> The fix is pretty trivial, I'd guess, like adding -lm to the command
> line. I didn't fix it in my NMU though, since that was already happening
> in the previous (successful) builds.

I'm attaching the upstream reply (from [1]):

 The configtest are, as the name suggests, attempts to compile some simple
 C code with different sizes for built-in types, as I understand it. Maybe
 some other checks, not sure about that. In the end a configuration should
 be found that compiles without problems. So it's allowed to fail, but not
 to throw an error that stops the build process.

[1] http://projects.scipy.org/numpy/ticket/1526

so the purpose of _configtest.c is to actually fail, in order to
identify the config options set to use: the failures seen in the build
log are "under control". That said, I'm closing this bug.

Regards.
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi




Reply sent to Sandro Tosi <morph@debian.org>:
You have taken responsibility. (Wed, 21 Jul 2010 18:33:05 GMT) Full text and rfc822 format available.

Notification sent to Lucas Nussbaum <lucas@lucas-nussbaum.net>:
Bug acknowledged by developer. (Wed, 21 Jul 2010 18:33:05 GMT) Full text and rfc822 format available.

Message #26 received at 527707-done@bugs.debian.org (full text, mbox):

From: Sandro Tosi <morph@debian.org>
To: 527707-done@bugs.debian.org
Subject: Re: [Python-modules-team] Bug#527707: python-numpy: FTBFS: _configtest.c:5: undefined reference to `exp'
Date: Wed, 21 Jul 2010 20:30:06 +0200
On Wed, Jul 21, 2010 at 20:25, Sandro Tosi <morph@debian.org> wrote:
>... That said, I'm closing this bug.

doing it for real..

-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi




Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 19 Aug 2010 07:30:55 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Thu Apr 24 04:01:51 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.