swig1.3: FTBFS: missing build dependency

Bug #10094 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
swig1.3 (Debian)
Fix Released
Unknown
swig1.3 (Ubuntu)
Invalid
High
LaMont Jones

Bug Description

Automatically imported from Debian bug report #280500 http://bugs.debian.org/280500

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #280500 http://bugs.debian.org/280500

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.4 KiB)

Message-Id: <email address hidden>
Date: Tue, 9 Nov 2004 23:03:51 +0100 (CET)
From: Roland Stigge <email address hidden>
To: <email address hidden>
Subject: swig1.3: FTBFS: missing build dependency

Package: swig1.3
Version: 1.3.22-3
Severity: serious
Tags: patch

Hi,

building the package swig1.3 in a clean build environment
(with pbuilder) on i386 results in:

=========================================================================
[...]
  -c -o libswigphp4_la-libphp4.lo `test -f 'libphp4.c' || echo './'`libphp4.c; \
then mv -f ".deps/libswigphp4_la-libphp4.Tpo" ".deps/libswigphp4_la-libphp4.Plo"; \
else rm -f ".deps/libswigphp4_la-libphp4.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT libswigphp4_la-libphp4.lo -MD -MP -MF .deps/libswigphp4_la-libphp4.Tpo -c libphp4.c -fPIC -DPIC -o .libs/libswigphp4_la-libphp4.o
 gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -I/usr/include/php4 -I/usr/include/php4/main -I/usr/include/php4/Zend -I/usr/include/php4/TSRM -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT libswigphp4_la-libphp4.lo -MD -MP -MF .deps/libswigphp4_la-libphp4.Tpo -c libphp4.c -o libswigphp4_la-libphp4.o >/dev/null 2>&1
/bin/sh ../libtool --mode=link gcc -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -o libswigphp4.la -rpath /usr/lib @LIBTOOL_NO_UNDEFINED@ -release 1.3.22 libswigphp4_la-libphp4.lo -ldl
gcc -shared .libs/libswigphp4_la-libphp4.o -ldl -Wl,-soname -Wl,libswigphp4-1.3.22.so -o .libs/libswigphp4-1.3.22.so
(cd .libs && rm -f libswigphp4.so && ln -s libswigphp4-1.3.22.so libswigphp4.so)
ar cru .libs/libswigphp4.a libswigphp4_la-libphp4.o
ranlib .libs/libswigphp4.a
creating libswigphp4.la
(cd .libs && rm -f libswigphp4.la && ln -s ../libswigphp4.la libswigphp4.la)
../preinst-swig -chicken -runtime -o libchicken.c swigrun.i
if /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT libswigchicken_la-libchicken.lo -MD -MP -MF ".deps/libswigchicken_la-libchicken.Tpo" \
  -c -o libswigchicken_la-libchicken.lo `test -f 'libchicken.c' || echo './'`libchicken.c; \
then mv -f ".deps/libswigchicken_la-libchicken.Tpo" ".deps/libswigchicken_la-libchicken.Plo"; \
else rm -f ".deps/libswigchicken_la-libchicken.Tpo"; exit 1; \
fi
 gcc -DHAVE_CONFIG_H -I. -I. -I../Source/Include -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBIAN -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -MT libswigchicken_la-libchicken.lo -MD -MP -MF .deps/libswigchicken_la-libchicken.Tpo -c libchicken.c -fPIC -DPIC -o .libs/libswigchicken_la-libchicken.o
 gcc -DHAVE_CONFIG_H...

Read more...

Revision history for this message
In , Torsten Landschoff (t-landschoff) wrote : tagging 280500

tags 280500 pending

Revision history for this message
In , Torsten Landschoff (torsten) wrote : Re: Bug#280500: swig1.3: FTBFS: missing build dependency

Hi Roland,

On Tue, Nov 09, 2004 at 11:03:51PM +0100, Roland Stigge wrote:
> building the package swig1.3 in a clean build environment
> (with pbuilder) on i386 results in:
...
> gcc -shared .libs/libswigchicken_la-libchicken.o /usr/lib/libchicken.so /usr/lib/libstuffed-chicken.so /usr/lib/libsrfi-chicken.so -lm -lpcre -ldl -Wl,-soname -Wl,libswigchicken-1.3.22.so -o .libs/libswigchicken-1.3.22.so
> /usr/bin/ld: cannot find -lpcre
> collect2: ld returned 1 exit status
> make[2]: *** [libswigchicken.la] Error 1
> make[2]: Leaving directory `/tmp/buildd/swig1.3-1.3.22/Runtime'
> make[1]: *** [runtime] Error 2
> make[1]: Leaving directory `/tmp/buildd/swig1.3-1.3.22'
> make: *** [build-stamp] Error 2
> =========================================================================
>
> Adding libpcre3-dev to Build-Deps helps. :)

I disagree this is a bug in swig. Rather chicken-dev should pull
libpcre3-dev as well because without it you can't build chicken
extensions. Might be that chicken programs work but I'll see what the
chicken maintainer thinks.

As a workaround I added the build dep in subversion. The next upload
will include that change.

Greetings

 Torsten

Revision history for this message
In , Torsten Landschoff (torsten) wrote : Bug#280500: fixed in swig1.3 1.3.22-4
Download full text (4.0 KiB)

Source: swig1.3
Source-Version: 1.3.22-4

We believe that the bug you reported is fixed in the latest version of
swig1.3, which is due to be installed in the Debian FTP archive:

libswig1.3.22-chicken_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/libswig1.3.22-chicken_1.3.22-4_i386.deb
libswig1.3.22-guile_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/libswig1.3.22-guile_1.3.22-4_i386.deb
libswig1.3.22_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/libswig1.3.22_1.3.22-4_i386.deb
swig-doc_1.3.22-4_all.deb
  to pool/main/s/swig1.3/swig-doc_1.3.22-4_all.deb
swig-examples_1.3.22-4_all.deb
  to pool/main/s/swig1.3/swig-examples_1.3.22-4_all.deb
swig1.3-doc_1.3.22-4_all.deb
  to pool/main/s/swig1.3/swig1.3-doc_1.3.22-4_all.deb
swig1.3-examples_1.3.22-4_all.deb
  to pool/main/s/swig1.3/swig1.3-examples_1.3.22-4_all.deb
swig1.3_1.3.22-4.diff.gz
  to pool/main/s/swig1.3/swig1.3_1.3.22-4.diff.gz
swig1.3_1.3.22-4.dsc
  to pool/main/s/swig1.3/swig1.3_1.3.22-4.dsc
swig1.3_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/swig1.3_1.3.22-4_i386.deb
swig_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/swig_1.3.22-4_i386.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Landschoff <email address hidden> (supplier of updated swig1.3 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 address hidden>)

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

Format: 1.7
Date: Wed, 10 Nov 2004 00:41:09 +0100
Source: swig1.3
Binary: swig swig-doc libswig1.3.22-guile libswig1.3.22-chicken swig1.3-doc libswig1.3.22 swig1.3 swig1.3-examples swig-examples
Architecture: source i386 all
Version: 1.3.22-4
Distribution: unstable
Urgency: low
Maintainer: Torsten Landschoff <email address hidden>
Changed-By: Torsten Landschoff <email address hidden>
Description:
 libswig1.3.22 - Runtime support libraries for swig generated wrappers
 libswig1.3.22-chicken - Runtime support libraries for swig generated wrappers
 libswig1.3.22-guile - Runtime support libraries for swig generated wrappers
 swig - Generate scripting interfaces to C/C++ code
 swig-doc - HTML documentation for SWIG
 swig-examples - Examples for applications of SWIG
 swig1.3 - Generate scripting interfaces to C/C++ code
 swig1.3-doc - HTML documentation for SWIG
 swig1.3-examples - Examples for applications of SWIG
Closes: 280500
Changes:
 swig1.3 (1.3.22-4) unstable; urgency=low
 .
   * debian/control: Add build dependency on libpcre3-dev pulled by
     chicken. Should be fixed in chicken-dev but this way it builds
     again. closes: #280500.
Files:
 1aa02e3ff883fe92916d88465bb5d368 979 interpreters optional swig1.3_1.3.22-4.dsc
 be60ab5ec1e5eb1d7b03e26bf8fff1f3 276811 interpreters optional swig1.3_1.3.22-4.diff.gz
 52c806bdc3fc9e5c0cc54649272e980b 585060 interpreters optional swig-examples_1.3.22-4_all.deb
 3051665c28fc9f170df29...

Read more...

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-ID: <email address hidden>
Date: Wed, 10 Nov 2004 00:43:33 +0100
From: Torsten Landschoff <email address hidden>
To: Roland Stigge <email address hidden>, <email address hidden>
Subject: Re: Bug#280500: swig1.3: FTBFS: missing build dependency

--rwEMma7ioTxnRzrJ
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi Roland,=20

On Tue, Nov 09, 2004 at 11:03:51PM +0100, Roland Stigge wrote:
> building the package swig1.3 in a clean build environment
> (with pbuilder) on i386 results in:
=2E..
> gcc -shared .libs/libswigchicken_la-libchicken.o /usr/lib/libchicken.so=
 /usr/lib/libstuffed-chicken.so /usr/lib/libsrfi-chicken.so -lm -lpcre -ldl=
  -Wl,-soname -Wl,libswigchicken-1.3.22.so -o .libs/libswigchicken-1.3.22.so
> /usr/bin/ld: cannot find -lpcre
> collect2: ld returned 1 exit status
> make[2]: *** [libswigchicken.la] Error 1
> make[2]: Leaving directory `/tmp/buildd/swig1.3-1.3.22/Runtime'
> make[1]: *** [runtime] Error 2
> make[1]: Leaving directory `/tmp/buildd/swig1.3-1.3.22'
> make: *** [build-stamp] Error 2
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
>=20
> Adding libpcre3-dev to Build-Deps helps. :)

I disagree this is a bug in swig. Rather chicken-dev should pull
libpcre3-dev as well because without it you can't build chicken
extensions. Might be that chicken programs work but I'll see what the
chicken maintainer thinks.

As a workaround I added the build dep in subversion. The next upload
will include that change.

Greetings

 Torsten

--rwEMma7ioTxnRzrJ
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

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

iD8DBQFBkVYkdQgHtVUb5EcRAqooAJ4vaDypvW33VSKIVGghRLgmPXvuyACffGm0
sIMq3sGZXut6fYpQLFTpg94=
=GO34
-----END PGP SIGNATURE-----

--rwEMma7ioTxnRzrJ--

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Wed, 10 Nov 2004 00:39:09 +0100 (CET)
From: <email address hidden> (Torsten Landschoff)
To: <email address hidden>
Subject: tagging 280500

tags 280500 pending

Revision history for this message
Debian Bug Importer (debzilla) wrote :
Download full text (4.2 KiB)

Message-Id: <email address hidden>
Date: Tue, 09 Nov 2004 20:02:10 -0500
From: Torsten Landschoff <email address hidden>
To: <email address hidden>
Subject: Bug#280500: fixed in swig1.3 1.3.22-4

Source: swig1.3
Source-Version: 1.3.22-4

We believe that the bug you reported is fixed in the latest version of
swig1.3, which is due to be installed in the Debian FTP archive:

libswig1.3.22-chicken_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/libswig1.3.22-chicken_1.3.22-4_i386.deb
libswig1.3.22-guile_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/libswig1.3.22-guile_1.3.22-4_i386.deb
libswig1.3.22_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/libswig1.3.22_1.3.22-4_i386.deb
swig-doc_1.3.22-4_all.deb
  to pool/main/s/swig1.3/swig-doc_1.3.22-4_all.deb
swig-examples_1.3.22-4_all.deb
  to pool/main/s/swig1.3/swig-examples_1.3.22-4_all.deb
swig1.3-doc_1.3.22-4_all.deb
  to pool/main/s/swig1.3/swig1.3-doc_1.3.22-4_all.deb
swig1.3-examples_1.3.22-4_all.deb
  to pool/main/s/swig1.3/swig1.3-examples_1.3.22-4_all.deb
swig1.3_1.3.22-4.diff.gz
  to pool/main/s/swig1.3/swig1.3_1.3.22-4.diff.gz
swig1.3_1.3.22-4.dsc
  to pool/main/s/swig1.3/swig1.3_1.3.22-4.dsc
swig1.3_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/swig1.3_1.3.22-4_i386.deb
swig_1.3.22-4_i386.deb
  to pool/main/s/swig1.3/swig_1.3.22-4_i386.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 address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Torsten Landschoff <email address hidden> (supplier of updated swig1.3 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 address hidden>)

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

Format: 1.7
Date: Wed, 10 Nov 2004 00:41:09 +0100
Source: swig1.3
Binary: swig swig-doc libswig1.3.22-guile libswig1.3.22-chicken swig1.3-doc libswig1.3.22 swig1.3 swig1.3-examples swig-examples
Architecture: source i386 all
Version: 1.3.22-4
Distribution: unstable
Urgency: low
Maintainer: Torsten Landschoff <email address hidden>
Changed-By: Torsten Landschoff <email address hidden>
Description:
 libswig1.3.22 - Runtime support libraries for swig generated wrappers
 libswig1.3.22-chicken - Runtime support libraries for swig generated wrappers
 libswig1.3.22-guile - Runtime support libraries for swig generated wrappers
 swig - Generate scripting interfaces to C/C++ code
 swig-doc - HTML documentation for SWIG
 swig-examples - Examples for applications of SWIG
 swig1.3 - Generate scripting interfaces to C/C++ code
 swig1.3-doc - HTML documentation for SWIG
 swig1.3-examples - Examples for applications of SWIG
Closes: 280500
Changes:
 swig1.3 (1.3.22-4) unstable; urgency=low
 .
   * debian/control: Add build dependency on libpcre3-dev pulled by
     chicken. Should be fixed in chicken-dev but this way it builds
     again. closes: #280500.
Files:
 1aa02e3ff883fe92916d88465bb5d368 979 interpreters optional swig1.3_1...

Read more...

Revision history for this message
Matt Zimmerman (mdz) wrote :

Universe package, broken version never made it into Ubuntu

Changed in swig1.3:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.