Your message dated Mon, 12 May 2008 11:02:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#480345: fixed in geos 3.0.0-5
has caused the Debian Bug report #480345,
regarding fails to link on arm eabi
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.)


-- 
480345: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=480345
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: geos
Version: 4.3.0-4
Severity: important
Tags: patch
User: [EMAIL PROTECTED]
Usertags: eabi

Geos currently fails to build[1] on arm eabi, most likely due to slightly
different symbol visibility rules defined in EABI.

arm-linux-gnueabi-g++ -shared -nostdlib 
/usr/lib/gcc/arm-linux-gnueabi/4.3.1/../../../crti.o 
/usr/lib/gcc/arm-linux-gnueabi/4.3.1/crtbeginS.o  .libs/inlines.o 
-Wl,--whole-archive algorithm/.libs/libalgorithm.a geom/.libs/libgeom.a 
geomgraph/.libs/libgeomgraph.a index/.libs/libindex.a io/.libs/libio.a 
noding/.libs/libnoding.a operation/.libs/liboperation.a 
planargraph/.libs/libplanargraph.a precision/.libs/libprecision.a 
simplify/.libs/libsimplify.a util/.libs/libutil.a -Wl,--no-whole-archive  
-L/usr/lib/gcc/arm-linux-gnueabi/4.3.1 
-L/usr/lib/gcc/arm-linux-gnueabi/4.3.1/../../.. -lstdc++ -lm -lc -lgcc_s 
/usr/lib/gcc/arm-linux-gnueabi/4.3.1/crtendS.o 
/usr/lib/gcc/arm-linux-gnueabi/4.3.1/../../../crtn.o  -Wl,-soname 
-Wl,libgeos-3.0.0.so -o .libs/libgeos-3.0.0.so
noding/.libs/libnoding.a(MCIndexSnapRounder.o):(.data.rel.ro+0x0): multiple 
definition of `vtable for geos::noding::snapround::MCIndexSnapRounder'
.libs/inlines.o:(.data.rel.ro+0x0): first defined here
noding/.libs/libnoding.a(MCIndexSnapRounder.o):(.data.rel.ro+0x18): multiple 
definition of `typeinfo for geos::noding::snapround::MCIndexSnapRounder'
.libs/inlines.o:(.data.rel.ro+0xb0): first defined here
noding/.libs/libnoding.a(MCIndexSnapRounder.o):(.rodata+0x0): multiple 
definition of `typeinfo name for geos::noding::snapround::MCIndexSnapRounder'
.libs/inlines.o:(.rodata+0x0): first defined here
collect2: ld returned 1 exit status

On x386:

nm -a --demangle inlines.o

00000000 V typeinfo for geos::noding::snapround::MCIndexSnapRounder
00000000 V typeinfo name for geos::noding::snapround::MCIndexSnapRounder
00000000 V vtable for geos::noding::snapround::MCIndexSnapRounder

On arm eabi:

000000e0 R typeinfo for geos::noding::snapround::MCIndexSnapRounder
000000b0 R typeinfo name for geos::noding::snapround::MCIndexSnapRounder
00000000 R vtable for geos::noding::snapround::MCIndexSnapRounder

I haven't found a satisfactory explanation about how gcc chooses to create
weak and normal symbols, so it's unclear if the bug is in binutils/gcc
or in the creative inlining solution in geos. In the course of compiling
7200 source packages from debian repository no other package has had any
similar problems... You might want to discuss with upstream what's the
advantage of including normal and inlined copies of same classes in a shared
library.

However, since geos is very low in the dependency chain, causing a considerable
amount of packages being uncompilable, we (armel porters) cant wait for very 
long
for a perfect/correct solution. Therefor, please consider the attached patch.

[1] 
http://buildd.debian.org/fetch.cgi?&pkg=geos&ver=3.0.0-4&arch=armel&stamp=1209298060&file=log
diff -urN geos-3.0.0/debian/rules geos-3.0.0.new/debian/rules
--- geos-3.0.0/debian/rules     2008-05-09 16:28:50.000000000 +0300
+++ geos-3.0.0.new/debian/rules 2008-05-09 16:26:47.000000000 +0300
@@ -28,6 +29,10 @@
        INSTALL_PROGRAM += -s
 endif
 
+ifeq ($(DEB_HOST_GNU_TYPE),arm-linux-gnueabi)
+       CONFFLAGS += --disable-inline
+endif
+
 # shared library versions, option 1
 version=2.0.5
 major=2
@@ -49,7 +54,7 @@
        cp -f /usr/share/misc/config.guess config.guess
 endif
        
-       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info
+       CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) 
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man 
--infodir=\$${prefix}/share/info $(CONFFLAGS)
 
 
 #Architecture

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: geos
Source-Version: 3.0.0-5

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

geos_3.0.0-5.diff.gz
  to pool/main/g/geos/geos_3.0.0-5.diff.gz
geos_3.0.0-5.dsc
  to pool/main/g/geos/geos_3.0.0-5.dsc
libgeos-3.0.0_3.0.0-5_amd64.deb
  to pool/main/g/geos/libgeos-3.0.0_3.0.0-5_amd64.deb
libgeos-c1_3.0.0-5_amd64.deb
  to pool/main/g/geos/libgeos-c1_3.0.0-5_amd64.deb
libgeos-dev_3.0.0-5_amd64.deb
  to pool/main/g/geos/libgeos-dev_3.0.0-5_amd64.deb
libgeos-doc_3.0.0-5_all.deb
  to pool/main/g/geos/libgeos-doc_3.0.0-5_all.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.
Fabio Tranchitella <[EMAIL PROTECTED]> (supplier of updated geos 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: Mon, 12 May 2008 12:33:47 +0200
Source: geos
Binary: libgeos-dev libgeos-c1 libgeos-3.0.0 libgeos-doc
Architecture: source all amd64
Version: 3.0.0-5
Distribution: unstable
Urgency: low
Maintainer: Debian GIS Project <pkg-grass-devel@lists.alioth.debian.org>
Changed-By: Fabio Tranchitella <[EMAIL PROTECTED]>
Description: 
 libgeos-3.0.0 - Geometry engine for Geographic Information Systems - C++ 
Library
 libgeos-c1 - Geometry engine for Geographic Information Systems - C Library
 libgeos-dev - Geometry engine for GIS - Development files
 libgeos-doc - Documentation for the GEOS GIS geometry engine library
Closes: 480345
Changes: 
 geos (3.0.0-5) unstable; urgency=low
 .
   * debian/rules: fixed a FTBFS on arm eabi; patch from Riku Voipio.
     (Closes: #480345)
Checksums-Sha1: 
 1634d29e6d0acd6bb0d57eeda9b0c895a0766be5 1233 geos_3.0.0-5.dsc
 e8ce8c5a60cda0cd472a5b2d6f6d40feea2b8772 6661 geos_3.0.0-5.diff.gz
 a78e1de529a055937cbca3f5b2615e17d0f209ce 852188 libgeos-doc_3.0.0-5_all.deb
 25312a7e7ff180ae570e92bcd24026266b8adffa 993312 libgeos-dev_3.0.0-5_amd64.deb
 821b7970c0096ab20c33ebc9a19c9a2400a4ebe5 27900 libgeos-c1_3.0.0-5_amd64.deb
 1dfc5da08c85c7568c1ae5377bcb52a27ac08f8d 465752 libgeos-3.0.0_3.0.0-5_amd64.deb
Checksums-Sha256: 
 a36f96d6ce287aa6b904abea3d64ad479496056a446c2718b23608021c086919 1233 
geos_3.0.0-5.dsc
 5618772d77993fb65bcf71b76f839c0a3c5a6f7ff1292fe765787676142227a7 6661 
geos_3.0.0-5.diff.gz
 78f24379726cde0c2108cebaf13fe65011fc3e0171f3de1abf1537481022e5a2 852188 
libgeos-doc_3.0.0-5_all.deb
 d421f3cf402921efef775657322fa094dfd05207ec5463d4d8dc6dacb6651d46 993312 
libgeos-dev_3.0.0-5_amd64.deb
 ea8617b7090794de93d466485a5828bceef582576b0a74b2dde351b04d3328e4 27900 
libgeos-c1_3.0.0-5_amd64.deb
 c7c6b5d7658abdae02d1a1d93aaed59bcc29641e315c0c8332befcab68d9d91e 465752 
libgeos-3.0.0_3.0.0-5_amd64.deb
Files: 
 e32e5264c2f10c95c27cc09300e420a7 1233 science optional geos_3.0.0-5.dsc
 052c1fa8002c0eec9d412280d4a758ce 6661 science optional geos_3.0.0-5.diff.gz
 4b030ee17bccd8968ad6bd47afac6e31 852188 doc optional 
libgeos-doc_3.0.0-5_all.deb
 417ffaccb61e55a028e833a93b9f497a 993312 libdevel optional 
libgeos-dev_3.0.0-5_amd64.deb
 5499295770a9e97c7483bc77e591e3ac 27900 libs optional 
libgeos-c1_3.0.0-5_amd64.deb
 f81b8b8eb1c9126054bf11201dfecf4b 465752 libs optional 
libgeos-3.0.0_3.0.0-5_amd64.deb

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

iD8DBQFIKCFPK/juK3+WFWQRAll+AKCZJqMHMBvCAN6yI8UXgBAM1O87HACfTnWW
MZ+1Z7inph0cJi97ljzAx/4=
=cPM0
-----END PGP SIGNATURE-----



--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel

Reply via email to