While trying to recreate this package by myself this is what I get in
config.log:

configure:14593: checking for Barcode_Create in -lbarcode
configure:14618: gcc -o conftest -g -O2 -fPIE -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Werror=format-security -Wall 
-D_FORTIFY_SOURCE=2 -Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now 
-Wl,--as-needed conftest.c -lbarcode   >&5
/usr/bin/ld: 
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libbarcode.a(library.o): 
relocation R_X86_64_32 against `encodings' can not be used when making a shared 
object; recompile with -fPIC
/usr/lib/gcc/x86_64-linux-gnu/4.8/../../../../lib/libbarcode.a: error adding 
symbols: Bad value
collect2: error: ld returned 1 exit status
configure:14618: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "glabels"
| #define PACKAGE_TARNAME "glabels"
| #define PACKAGE_VERSION "3.2.0"
| #define PACKAGE_STRING "glabels 3.2.0"
| #define PACKAGE_BUGREPORT 
"http://bugzilla.gnome.org/enter_bug.cgi?product=glabels";
| #define PACKAGE_URL ""
| #define PACKAGE "glabels"
| #define VERSION "3.2.0"
| #define STDC_HEADERS 1
| #define HAVE_SYS_TYPES_H 1
| #define HAVE_SYS_STAT_H 1
| #define HAVE_STDLIB_H 1
| #define HAVE_STRING_H 1
| #define HAVE_MEMORY_H 1
| #define HAVE_STRINGS_H 1
| #define HAVE_INTTYPES_H 1
| #define HAVE_STDINT_H 1
| #define HAVE_UNISTD_H 1
| #define HAVE_DLFCN_H 1
| #define LT_OBJDIR ".libs/"
| #define HAVE_LIBEBOOK 1
| /* end confdefs.h.  */
|
| /* Override any GCC internal prototype to avoid an error.
|    Use char because int might match the return type of a GCC
|    builtin and then its argument prototype would still apply.  */
| #ifdef __cplusplus
| extern "C"
| #endif
| char Barcode_Create ();
| int
| main ()
| {
| return Barcode_Create ();
|   ;
|   return 0;
| }


Problem is that glabels is being built using 'DEB_BUILD_MAINT_OPTIONS = 
hardening=+all', which implies -fPIC, while barcode is being built without it. 
This was fixed in Debian with barcode-0.98+debian-9.1 by adding '-fPIC' to 
CFLAGS. I'll request backporting this version to precise.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1248131

Title:
  glabels had support EAN-8 / Code128 in previous version - now it does
  not have it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glabels/+bug/1248131/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to