--- Begin Message ---
Package: grcompiler
Version: 4.2~pre6-1
Severity: wishlist
Tags: patch
grcompiler fails to build with ld --as-needed
this flag requires libraries to be placed after objects needing
their symbols.
this is due to configure.ac putting libraries in the LDFLAGS
variable
the LIBS variable is supposed to be used for libraries
see the buildlog in ubuntu:
https://launchpadlibrarian.net/107178879/buildlog_ubuntu-quantal-i386.grcompiler_4.2~pre6-1_FAILEDTOBUILD.txt.gz
attached a patch paching configure and configure.am
the former can be dropped when you regenerate the autotools
files.
-- System Information:
Debian Release: wheezy/sid
APT prefers oneiric-updates
APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric'), (100, 'oneiric-backports')
Architecture: i386 (i686)
Kernel: Linux 3.0.0-21-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Index: grcompiler-4.2~pre6/configure.ac
===================================================================
--- grcompiler-4.2~pre6.orig/configure.ac 2012-06-06 09:22:12.000000000 +0000
+++ grcompiler-4.2~pre6/configure.ac 2012-06-15 21:10:42.671513222 +0000
@@ -57,7 +57,7 @@
if test "$ICU_CONFIG" == no; then
AC_MSG_FAILURE([Could not find icu-config])
else
- LDFLAGS="$LDFLAGS `$ICU_CONFIG --ldflags-libsonly`"
+ LIBS="$LIBS `$ICU_CONFIG --ldflags-libsonly`"
fi
# Checks for header files.
Index: grcompiler-4.2~pre6/configure
===================================================================
--- grcompiler-4.2~pre6.orig/configure 2012-06-06 09:22:40.000000000 +0000
+++ grcompiler-4.2~pre6/configure 2012-06-15 21:11:20.535513436 +0000
@@ -5676,7 +5676,7 @@
as_fn_error "Could not find icu-config
See \`config.log' for more details." "$LINENO" 5; }
else
- LDFLAGS="$LDFLAGS `$ICU_CONFIG --ldflags-libsonly`"
+ LIBS="$LIBS `$ICU_CONFIG --ldflags-libsonly`"
fi
# Checks for header files.
--- End Message ---
--- Begin Message ---
Source: grcompiler
Source-Version: 4.2-1
We believe that the bug you reported is fixed in the latest version of
grcompiler, which is due to be installed in the Debian FTP archive:
grcompiler_4.2-1.debian.tar.gz
to main/g/grcompiler/grcompiler_4.2-1.debian.tar.gz
grcompiler_4.2-1.dsc
to main/g/grcompiler/grcompiler_4.2-1.dsc
grcompiler_4.2-1_i386.deb
to main/g/grcompiler/grcompiler_4.2-1_i386.deb
grcompiler_4.2.orig.tar.gz
to main/g/grcompiler/grcompiler_4.2.orig.tar.gz
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 677671@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Daniel Glassey <wdg@debian.org> (supplier of updated grcompiler 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Wed, 27 Jun 2012 10:40:59 +0700
Source: grcompiler
Binary: grcompiler
Architecture: source i386
Version: 4.2-1
Distribution: unstable
Urgency: low
Maintainer: Debian Fonts Task Force <pkg-fonts-devel@lists.alioth.debian.org>
Changed-By: Daniel Glassey <wdg@debian.org>
Description:
grcompiler - Compiler of smart (graphite) fonts
Closes: 677671
Changes:
grcompiler (4.2-1) unstable; urgency=low
.
* New upstream release
* LIBS not LDFLAGS for icu ldflags, Closes: #677671
Thanks to Julian Taylor for the patch
Checksums-Sha1:
14570d905049140ad2c3daf950ab2bb39cc05a04 1258 grcompiler_4.2-1.dsc
40abfe718a592f898db2a75379301b177764de43 2753556 grcompiler_4.2.orig.tar.gz
637087eb225883e382ab249f9064e6bb3f029cf4 10081 grcompiler_4.2-1.debian.tar.gz
e141a6f769c0309524795ef6f7101356ecd434dd 834010 grcompiler_4.2-1_i386.deb
Checksums-Sha256:
075aecd38bfffd9e2b3516f661e374764f390a7cb5c9b96f18f4b61fe4a7286a 1258 grcompiler_4.2-1.dsc
70b7a2a58824fae159d128a4891424d87a94510c336f9d588ce3ea05c4025583 2753556 grcompiler_4.2.orig.tar.gz
92a623eb0ab03469380a64810696340191d2d4009ede7111d0eeed2a46f2feb7 10081 grcompiler_4.2-1.debian.tar.gz
91a31b681cfe8c2388f8a3e20af3965edec802bfb2f95e9b561cad8efa595bee 834010 grcompiler_4.2-1_i386.deb
Files:
d304e7906cc8a94739eef046134338d0 1258 devel optional grcompiler_4.2-1.dsc
3df5dde12211d7d7e06a9e23306e5fe4 2753556 devel optional grcompiler_4.2.orig.tar.gz
9aa3b33af62857aa7a1790e8d612bea1 10081 devel optional grcompiler_4.2-1.debian.tar.gz
177d21d0d06863ac243678211d0da522 834010 devel optional grcompiler_4.2-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iD8DBQFP6ofK/offrSwPzRoRAuRGAJ9egHdryFUzK3rMpkr5V2AG5Dus6wCeNAF1
tod8IlQzlTE25XDhJXYpG2w=
=HOWL
-----END PGP SIGNATURE-----
--- End Message ---