Bug#319232: [pkg-boost-devel] Bug#334959: boost: FTBFS on hppa

2005-10-31 Thread Steve Langasek
On Sun, Oct 30, 2005 at 05:47:29PM -0800, Steve Langasek wrote:
 On Sun, Oct 30, 2005 at 11:49:38PM +0100, Domenico Andreoli wrote:
  On Sat, Oct 29, 2005 at 11:56:36AM +0200, Aurelien Jarno wrote:
   Hi,

   Please find attached a patch to fix the FTBFS on hppa. The only solution
   I found is to build boost with g++-3.4. Using -ffunction-sections, as
   suggested by ld in the error message does not work.

  oh, thank you for the idea. i just applied it to the subversion
  repository. this is used to fix also the ICE on m68k.

 It would be appreciated if this fix could be uploaded ASAP, as there are
 other packages connected to the KDE transition which depend on the boost fix
 on hppa.

Um... sorry, change of plans -- please do *not* reupload boost right now, as
I'm looking at doing an end-run around the libstdc++6 shlibs bump that only
works if boost is *not* uploaded. :)

Thanks,
-- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/


signature.asc
Description: Digital signature


Bug#319232: [pkg-boost-devel] Bug#334959: boost: FTBFS on hppa

2005-10-30 Thread Domenico Andreoli
tags 319232 + pending
tags 334959 + pending
thanks

On Sat, Oct 29, 2005 at 11:56:36AM +0200, Aurelien Jarno wrote:
 Hi,

hi,

 Please find attached a patch to fix the FTBFS on hppa. The only solution
 I found is to build boost with g++-3.4. Using -ffunction-sections, as
 suggested by ld in the error message does not work.

oh, thank you for the idea. i just applied it to the subversion
repository. this is used to fix also the ICE on m68k.

cheers
domenico

-[ Domenico Andreoli, aka cavok
 --[ http://people.debian.org/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50


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



Bug#319232: [pkg-boost-devel] Bug#334959: boost: FTBFS on hppa

2005-10-30 Thread Steve Langasek
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Sun, Oct 30, 2005 at 11:49:38PM +0100, Domenico Andreoli wrote:
 On Sat, Oct 29, 2005 at 11:56:36AM +0200, Aurelien Jarno wrote:
  Hi,

 hi,

  Please find attached a patch to fix the FTBFS on hppa. The only solution
  I found is to build boost with g++-3.4. Using -ffunction-sections, as
  suggested by ld in the error message does not work.

 oh, thank you for the idea. i just applied it to the subversion
 repository. this is used to fix also the ICE on m68k.

It would be appreciated if this fix could be uploaded ASAP, as there are
other packages connected to the KDE transition which depend on the boost fix
on hppa.

Thanks,
- -- 
Steve Langasek   Give me a lever long enough and a Free OS
Debian Developer   to set it on, and I can move the world.
[EMAIL PROTECTED]   http://www.debian.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDZXexKN6ufymYLloRAnSxAKCTg3v003sgnEdWYkgkOe1V3NgbHgCfYk9W
tByYQD8F13OayKAn4o7nifk=
=PJy2
-END PGP SIGNATURE-


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



Bug#334959: boost: FTBFS on hppa

2005-10-29 Thread Aurelien Jarno
Hi,

Please find attached a patch to fix the FTBFS on hppa. The only solution
I found is to build boost with g++-3.4. Using -ffunction-sections, as
suggested by ld in the error message does not work.

Note that building with g++-3.4 is only necessary to build the debug
part (the one built with -O0). The release part (built with -O3) is
optimized, so it is possible to reach all functions without problem.

Bye,
Aurelien

-- 
  .''`.  Aurelien Jarno | GPG: 1024D/F1BCDB73
 : :' :  Debian GNU/Linux developer | Electrical Engineer
 `. `'   [EMAIL PROTECTED] | [EMAIL PROTECTED]
   `-people.debian.org/~aurel32 | www.aurel32.net
diff -Nru /tmp/FnfdmCwFAJ/boost-1.33.0/debian/changelog 
/tmp/XFCfMzHcCk/boost-1.33.0/debian/changelog
--- /tmp/FnfdmCwFAJ/boost-1.33.0/debian/changelog   2005-10-28 
14:29:29.0 +
+++ /tmp/XFCfMzHcCk/boost-1.33.0/debian/changelog   2005-10-28 
14:29:36.0 +
@@ -1,3 +1,9 @@
+boost (1.33.0-2.1) unstable; urgency=low
+
+  * Build with gcc-3.4 on hppa.
+
+ -- Aurelien Jarno [EMAIL PROTECTED]  Fri, 28 Oct 2005 02:26:34 +0200
+
 boost (1.33.0-2) unstable; urgency=low
 
   * The Debian Boost Team now maintains the package.
diff -Nru /tmp/FnfdmCwFAJ/boost-1.33.0/debian/control 
/tmp/XFCfMzHcCk/boost-1.33.0/debian/control
--- /tmp/FnfdmCwFAJ/boost-1.33.0/debian/control 2005-10-28 14:29:29.0 
+
+++ /tmp/XFCfMzHcCk/boost-1.33.0/debian/control 2005-10-28 14:29:36.0 
+
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Boost Team [EMAIL PROTECTED]
 Uploaders: Steve M. Robbins [EMAIL PROTECTED], Domenico Andreoli [EMAIL 
PROTECTED]
-Build-Depends: debhelper (= 4), bison, flex, docbook-to-man, xsltproc, 
doxygen, python2.3-dev, zlib1g-dev, libbz2-dev, libicu34-dev
+Build-Depends: debhelper (= 4), bison, flex, docbook-to-man, xsltproc, 
doxygen, python2.3-dev, zlib1g-dev, libbz2-dev, libicu34-dev, gcc-3.4 [hppa], 
g++-3.4 [hppa]
 Standards-Version: 3.6.2
 
 Package: bcp
diff -Nru /tmp/FnfdmCwFAJ/boost-1.33.0/debian/rules 
/tmp/XFCfMzHcCk/boost-1.33.0/debian/rules
--- /tmp/FnfdmCwFAJ/boost-1.33.0/debian/rules   2005-10-28 14:29:29.0 
+
+++ /tmp/XFCfMzHcCk/boost-1.33.0/debian/rules   2005-10-28 14:29:36.0 
+
@@ -6,6 +6,11 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
+DEB_HOST_GNU_CPU   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+ifeq ($(DEB_HOST_GNU_CPU), hppa)
+  GCC_VERSION = -3.4
+endif
+
 # Boost Version
 # This is the short label for the Boost library version, consisting of the
 # major and minor version numbers joined by an underscore.  This label
@@ -31,8 +36,8 @@
 
 JAM = $(bjam) -d2 \
-sTOOLS=gcc \
-   -sGCC=gcc \
-   -sGXX=g++ \
+   -sGCC=gcc$(GCC_VERSION) \
+   -sGXX=g++$(GCC_VERSION)\
-sHAVE_ICU=1 \
-sPYTHON_VERSION=2.3 \
-sPYTHON_ROOT=/usr


Bug#334959: boost: FTBFS on hppa

2005-10-21 Thread Nathanael Nerode
Package: boost
Severity: serious
Justification: no longer builds from source

From
http://buildd.debian.org/fetch.php?pkg=boostver=1.33.0-1arch=hppastamp=1129127511file=logas=raw
we see the following:

gcc-Link-action 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/libboost_serialization-gcc-mt-d-1_33.so

set -e 

LD_LIBRARY_PATH=bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi:$LD_LIBRARY_PATH
 
export LD_LIBRARY_PATH 
g++ -g -pthread -fPIC -shared  -o 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/libboost_serialization-gcc-mt-d-1_33.so.1.33.0

bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_archive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_archive_impl.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_iarchive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_oarchive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_iserializer.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_oserializer.o
 bin/boost/lib!
 
s/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_pointer_iserializer.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_pointer_oserializer.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_serializer_map.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_text_iprimitive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_text_oprimitive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/basic_xml_archive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/binary_iarchive.o
 bin/boost/libs/serialization/build/libboost_serialization.so/gcc/d!
 ebug/shared-linkable-true/threading-multi/binary_oarchive.o bin/boos
t/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/extended_type_info.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/extended_type_info_no_rtti.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/extended_type_info_typeid.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/polymorphic_iarchive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/polymorphic_oarchive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/stl_port.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/text_iarchive.o
 bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/share!
 d-linkable-true/threading-multi/text_oarchive.o 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/void_cast.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/xml_grammar.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/xml_iarchive.o
 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/xml_oarchive.o
 -lrt  -Wl,-rpath-link,.  
-Wl,-soname,libboost_serialization-gcc-mt-d-1_33.so.1.33.0 
ln -fs libboost_serialization-gcc-mt-d-1_33.so.1.33.0 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/libboost_serialization-gcc-mt-d-1_33.so
 

/usr/bin/ld: 
bin/boost/libs/serialization/build/libboost_serialization.so/gcc/debug/shared-linkable-true/threading-multi/xml_oarchive.o(.gnu.linkonce.t._ZN5boost7archive6detail18interface_oarchiveINS0_12xml_oarchiveEElsIKNS0_12version_typeEEERS3_RT_[boost::archive::xml_oarchive
 
boost::archive::detail::interface_oarchiveboost::archive::xml_oarchive::operator
 boost::archive::version_type const(boost::archive::version_type 
const)]+0x44): cannot reach