inkscape: FTBFS on mips(el)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
inkscape (Debian) |
Fix Released
|
Unknown
|
|||
inkscape (Ubuntu) |
Invalid
|
High
|
Unassigned |
Bug Description
Automatically imported from Debian bug report #283476 http://
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #1 |
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #2 |
Message-ID: <email address hidden>
Date: Mon, 29 Nov 2004 11:16:07 +0100
From: Wolfram Quester <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: inkscape: FTBFS on mips(el)
--ZGiS0Q5IWpPtfppv
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Package: inkscape
Version: 0.39+0.40pre4-1
Severity: serious
Inkscape fails to build on mips(el) in the final linker step. The error
message is
mips-linux-g++ -Wall -W -Wpointer-arith -Wcast-align -Wsign-compare -Woverl=
oaded-virtual -Wswitch -Wno-unused-
ort-dynamic main.o -Wl,--export-
ialogs/
s/libspwidgets.a display/
type.a libnr/libnr.a livarot/libvarot.a util/libinkutil.a extension/libexte=
nsion.a extension/
internal.a inkjar/libinkjar.a libinkpost.a /usr/lib/libxml2.so -lpthread /u=
sr/lib/
sr/lib/
so /usr/lib/
o /usr/lib/
bpangox-1.0.so -lpng /usr/lib/libpopt.so -L/usr/X11R6/lib /usr/lib/libXft.s=
o /usr/lib/
r/lib/libpango-
-ldl /usr/lib/
/usr/bin/ld: final link failed: Bad value
collect2: ld returned 1 exit status
make[3]: *** [inkscape] Error 1
make[3]: Leaving directory `/build/
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/build/
make[1]: *** [all] Error 2
make[1]: Leaving directory `/build/
make: *** [build] Error 2
*******
***
Build finished at 20041125-2348
FAILED [dpkg-buildpackage died]
The full build-log can be viewed on
http://
arch=3Dmips&
At the moment I dont' have a clue why it fails and I guess I'll ask on
debian-mips about it.
With best regards,
Wolfi
--ZGiS0Q5IWpPtfppv
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBqvbnH0o
n3UpoGz510Ej4CN
=3M6i
-----END PGP SIGNATURE-----
--ZGiS0Q5IWpPtf
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
James Troup (elmo) wrote : | #3 |
mips/mipsel not release architectures for ubuntu
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#4 |
This has been forwarded to
http://
Can someone with access to a mips machine (or cross-compiler) read
through the responses there?
pjrm.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #5 |
Message-id: <email address hidden>
Date: Wed, 01 Dec 2004 13:59:18 +1100
From: Peter Moulder <email address hidden>
To: <email address hidden>
Subject: inkscape bug tracker for this item
This has been forwarded to
http://
Can someone with access to a mips machine (or cross-compiler) read
through the responses there?
pjrm.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#6 |
As mentioned earlier, I'd start with touch src/ink{scape,view} && make
-k check and see what test programs do or don't link: different test
programs link against a different number of libraries.
The builder successfully built inkscape 0.39-7 on Oct 19, and failed to
build 0.40pre1 on Nov 5. First we should try to establish whether the
failure is due to a change in the build environment or to the change in
inkscape (e.g. due to the additional libraries inkscape 0.40pre1 links
against that 0.39-7 didn't).
I'm inclined to get the simplest thing out of the way first, so I'd
start with trying to build 0.39-7 again (which has previously compiled
successfully on mips{,el}). If it now fails, then this strongly
suggests that the bug is due to a change in the build environment.
However, my guess is that the problem is connected to one of the
dependencies added between 0.39 and 0.40. One way of finding which
would be a binary search through CVS versions, paying particular
attention to dates suggested by `cvs log configure.in'. (Most of the
new dependencies were added before configure.in was renamed to
configure.ac.) One thing to be careful of is that debian/control in CVS
may not have been kept in sync with the new dependencies, so assume the
Build-Depends of 0.40 if using a chroot environment.
pjrm.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #7 |
Message-id: <email address hidden>
Date: Thu, 02 Dec 2004 13:30:21 +1100
From: Peter Moulder <email address hidden>
To: <email address hidden>
Subject: comments & suggested method of attack
As mentioned earlier, I'd start with touch src/ink{scape,view} && make
-k check and see what test programs do or don't link: different test
programs link against a different number of libraries.
The builder successfully built inkscape 0.39-7 on Oct 19, and failed to
build 0.40pre1 on Nov 5. First we should try to establish whether the
failure is due to a change in the build environment or to the change in
inkscape (e.g. due to the additional libraries inkscape 0.40pre1 links
against that 0.39-7 didn't).
I'm inclined to get the simplest thing out of the way first, so I'd
start with trying to build 0.39-7 again (which has previously compiled
successfully on mips{,el}). If it now fails, then this strongly
suggests that the bug is due to a change in the build environment.
However, my guess is that the problem is connected to one of the
dependencies added between 0.39 and 0.40. One way of finding which
would be a binary search through CVS versions, paying particular
attention to dates suggested by `cvs log configure.in'. (Most of the
new dependencies were added before configure.in was renamed to
configure.ac.) One thing to be careful of is that debian/control in CVS
may not have been kept in sync with the new dependencies, so assume the
Build-Depends of 0.40 if using a chroot environment.
pjrm.
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#8 |
tags 283476 patch
thanks
Hello,
This bug is because inkscape is hitting a limit on the size of symbol tables
on these archs, and current versions of the toolchain error out such
circumstances (previous toolchain versions would silently truncate the
symbol table).
The attached patch switches inkscape's build from multigot symbol tables
(the default on mips and mipsel) to the more extensible xgot format.
Thanks,
--
Steve Langasek
postmodern programmer
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #9 |
Message-ID: <email address hidden>
Date: Tue, 7 Dec 2004 20:24:31 -0800
From: Steve Langasek <email address hidden>
To: <email address hidden>
Subject: Re: inkscape: FTBFS on mips(el)
--iRjOs3ViPWHdlw/I
Content-Type: multipart/mixed; boundary=
Content-
--IbA9xpzOQlG26JSn
Content-Type: text/plain; charset=us-ascii
Content-
Content-
tags 283476 patch
thanks
Hello,
This bug is because inkscape is hitting a limit on the size of symbol tables
on these archs, and current versions of the toolchain error out such
circumstances (previous toolchain versions would silently truncate the
symbol table).
The attached patch switches inkscape's build from multigot symbol tables
(the default on mips and mipsel) to the more extensible xgot format.
Thanks,
--=20
Steve Langasek
postmodern programmer
--IbA9xpzOQlG26JSn
Content-Type: text/plain; charset=us-ascii
Content-
Content-
diff -u inkscape-
--- inkscape-
+++ inkscape-
@@ -1,3 +1,12 @@
+inkscape (0.40-1.1) unstable; urgency=3Dhigh
+
+ * Non-maintainer upload.
+ * High-urgency upload for sarge targetted RC bugfix.
+ * Build inkscape with -Wa,-xgot on mips, mipsel so that the linker can
+ handle the symbol tables correctly. Closes: #283476.
+
+ -- Steve Langasek <email address hidden> Mon, 6 Dec 2004 19:33:41 -0800
+
inkscape (0.40-1) unstable; urgency=3Dlow
=20
* New upstream version. changes to v. 0.39 include:
diff -u inkscape-
--- inkscape-
+++ inkscape-
@@ -10,7 +10,7 @@
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE ?=3D $(shell dpkg-architecture -qDEB_HOST_
DEB_BUILD_GNU_TYPE ?=3D $(shell dpkg-architecture -qDEB_BUILD_
-
+DEB_HOST_ARCH ?=3D $(shell dpkg-architecture -qDEB_HOST_ARCH)
=20
CFLAGS =3D -Wall -g
CXXFLAGS =3D -Wall -g
@@ -25,7 +25,10 @@
ifeq (,$(findstring nostrip,
INSTALL_PROGRAM +=3D -s
endif
-
+ifneq (,$(findstring $(DEB_HOST_
+ MIPS_CXXFLAGS=
+ MIPS_CFLAGS=
+endif
=20
config.status: configure
dh_testdir
@@ -40,8 +43,8 @@
dh_testdir
=09
# compile the package...
- $(MAKE)
-=09
+ $(MAKE) -C src extension/
+ $(MAKE) CXXFLAGS=
IPS_CFLAGS)"
=20
clean:
dh_testdir
--IbA9xpzOQlG26
--iRjOs3ViPWHdlw/I
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBtoH8KN6
bVS3/sIup31qqre
=i1JW
-----END PGP SIGNATURE-----
--iRjOs3ViPWHdl
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#10 |
Hallo Steve,
On Tue, Dec 07, 2004 at 08:24:31PM -0800, Steve Langasek wrote:
> Hello,
>
> This bug is because inkscape is hitting a limit on the size of symbol tables
> on these archs, and current versions of the toolchain error out such
> circumstances (previous toolchain versions would silently truncate the
> symbol table).
>
> The attached patch switches inkscape's build from multigot symbol tables
> (the default on mips and mipsel) to the more extensible xgot format.
>
> Thanks,
> --
> Steve Langasek
> postmodern programmer
Thank you very much for this patch, I'll include it into the debian
package and forward it upstream ASAP.
Thank you very much,
Wolfi
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #11 |
Message-ID: <email address hidden>
Date: Wed, 8 Dec 2004 15:38:13 +0100
From: Wolfram Quester <email address hidden>
To: Steve Langasek <email address hidden>, <email address hidden>
Subject: Re: Bug#283476: inkscape: FTBFS on mips(el)
--/04w6evG8XlLl3ft
Content-Type: text/plain; charset=us-ascii
Content-
Content-
Hallo Steve,
On Tue, Dec 07, 2004 at 08:24:31PM -0800, Steve Langasek wrote:
> Hello,
>=20
> This bug is because inkscape is hitting a limit on the size of symbol tab=
les
> on these archs, and current versions of the toolchain error out such
> circumstances (previous toolchain versions would silently truncate the
> symbol table).
>=20
> The attached patch switches inkscape's build from multigot symbol tables
> (the default on mips and mipsel) to the more extensible xgot format.
>=20
> Thanks,
> --=20
> Steve Langasek
> postmodern programmer
Thank you very much for this patch, I'll include it into the debian
package and forward it upstream ASAP.
Thank you very much,
Wolfi
--/04w6evG8XlLl3ft
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBtxHUH0o
9wDYRlKoYzPQFLS
=VW0W
-----END PGP SIGNATURE-----
--/04w6evG8XlLl
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#12 |
On Wed, Dec 08, 2004 at 03:38:13PM +0100, Wolfram Quester wrote:
> On Tue, Dec 07, 2004 at 08:24:31PM -0800, Steve Langasek wrote:
> > Hello,
> > This bug is because inkscape is hitting a limit on the size of symbol tables
> > on these archs, and current versions of the toolchain error out such
> > circumstances (previous toolchain versions would silently truncate the
> > symbol table).
> > The attached patch switches inkscape's build from multigot symbol tables
> > (the default on mips and mipsel) to the more extensible xgot format.
> Thank you very much for this patch, I'll include it into the debian
> package and forward it upstream ASAP.
I'm not sure that this patch is suitable for upstream; it is a workaround
for certain current issues in the Debian toolchain, I'm not sure what effect
it would have to implement the same flags on other mips systems.
--
Steve Langasek
postmodern programmer
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #13 |
Message-ID: <email address hidden>
Date: Wed, 8 Dec 2004 16:31:47 -0800
From: Steve Langasek <email address hidden>
To: Wolfram Quester <email address hidden>
Cc: <email address hidden>
Subject: Re: Bug#283476: inkscape: FTBFS on mips(el)
--mxv5cy4qt+RJ9ypb
Content-Type: text/plain; charset=us-ascii
Content-
Content-
On Wed, Dec 08, 2004 at 03:38:13PM +0100, Wolfram Quester wrote:
> On Tue, Dec 07, 2004 at 08:24:31PM -0800, Steve Langasek wrote:
> > Hello,
> > This bug is because inkscape is hitting a limit on the size of symbol t=
ables
> > on these archs, and current versions of the toolchain error out such
> > circumstances (previous toolchain versions would silently truncate the
> > symbol table).
> > The attached patch switches inkscape's build from multigot symbol tables
> > (the default on mips and mipsel) to the more extensible xgot format.
> Thank you very much for this patch, I'll include it into the debian
> package and forward it upstream ASAP.
I'm not sure that this patch is suitable for upstream; it is a workaround
for certain current issues in the Debian toolchain, I'm not sure what effect
it would have to implement the same flags on other mips systems.
--=20
Steve Langasek
postmodern programmer
--mxv5cy4qt+RJ9ypb
Content-Type: application/
Content-
Content-
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBt5zwKN6
34CNTui5SEUC4I9
=8kRO
-----END PGP SIGNATURE-----
--mxv5cy4qt+
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
|
#14 |
Source: inkscape
Source-Version: 0.40-2
We believe that the bug you reported is fixed in the latest version of
inkscape, which is due to be installed in the Debian FTP archive:
inkscape_
to pool/main/
inkscape_0.40-2.dsc
to pool/main/
inkscape_
to pool/main/
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.
Wolfram Quester <email address hidden> (supplier of updated inkscape 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, 8 Dec 2004 18:54:45 +0100
Source: inkscape
Binary: inkscape
Architecture: source powerpc
Version: 0.40-2
Distribution: unstable
Urgency: high
Maintainer: Wolfram Quester <email address hidden>
Changed-By: Wolfram Quester <email address hidden>
Description:
inkscape - Vector based drawing program
Closes: 283476
Changes:
inkscape (0.40-2) unstable; urgency=high
.
* High-urgency upload for sarge targetted RC bugfix.
* Build inkscape with -Wa,-xgot on mips, mipsel so that the linker can
handle the symbol tables correctly. Closes: #283476.
This patch is from Steve Langasek. Many thanks to him.
* upload sponsored by Guido Guenther <email address hidden>
* GG: really set urgency to high
Files:
c916e6cdfb03c7
53b0f7bd7e94e8
194281b324140f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBuC5un88
3dSIQDnj3RgLTeu
=dium
-----END PGP SIGNATURE-----
![](/+icing/build/overlay/assets/skins/sam/images/close.gif)
Debian Bug Importer (debzilla) wrote : | #15 |
Message-Id: <email address hidden>
Date: Thu, 09 Dec 2004 06:02:04 -0500
From: Wolfram Quester <email address hidden>
To: <email address hidden>
Subject: Bug#283476: fixed in inkscape 0.40-2
Source: inkscape
Source-Version: 0.40-2
We believe that the bug you reported is fixed in the latest version of
inkscape, which is due to be installed in the Debian FTP archive:
inkscape_
to pool/main/
inkscape_0.40-2.dsc
to pool/main/
inkscape_
to pool/main/
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.
Wolfram Quester <email address hidden> (supplier of updated inkscape 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, 8 Dec 2004 18:54:45 +0100
Source: inkscape
Binary: inkscape
Architecture: source powerpc
Version: 0.40-2
Distribution: unstable
Urgency: high
Maintainer: Wolfram Quester <email address hidden>
Changed-By: Wolfram Quester <email address hidden>
Description:
inkscape - Vector based drawing program
Closes: 283476
Changes:
inkscape (0.40-2) unstable; urgency=high
.
* High-urgency upload for sarge targetted RC bugfix.
* Build inkscape with -Wa,-xgot on mips, mipsel so that the linker can
handle the symbol tables correctly. Closes: #283476.
This patch is from Steve Langasek. Many thanks to him.
* upload sponsored by Guido Guenther <email address hidden>
* GG: really set urgency to high
Files:
c916e6cdfb03c7
53b0f7bd7e94e8
194281b324140f
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
iD8DBQFBuC5un88
3dSIQDnj3RgLTeu
=dium
-----END PGP SIGNATURE-----
Changed in inkscape: | |
status: | Unknown → Fix Released |
Automatically imported from Debian bug report #283476 http:// bugs.debian. org/283476