Package: libpcre2-dev
Version: 10.34-7
Severity: normal

The version of linuxinfo in stable builds and links fine, using
version 10.32-5 of libpcre2-dev.:

Script started on 2020-06-13 21:25:44+02:00 [TERM="linux" TTY="/dev/tty6" 
COLUMNS="240" LINES="75"]
helge@samd:/tmp/testfoo1/linuxinfo-3.1.2$ debuild
…
gcc -DPACKAGE_NAME=\"Linuxinfo\" -DPACKAGE_TARNAME=\"linuxinfo\" 
-DPACKAGE_VERSION=\"3.1.2\" -DPACKAGE_STRING=\"Linuxinfo\ 3.1.2\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"linuxinfo\" 
-DVERSION=\"3.1.2\" -Duse_regexp=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_UNISTD_H=1 -DSIZEOF_LONG=8 -DSIZEOF_LONG_LONG=8 -DHAVE_STRSTR=1 
-DHAVE_UNAME=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  
-DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-fdebug-prefix-map=/tmp/testfoo1/linuxinfo-3.1.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -c -o linuxinfo_unknown.o linuxinfo_unknown.c
gcc  -g -O2 -fdebug-prefix-map=/tmp/testfoo1/linuxinfo-3.1.2=. 
-fstack-protector-strong -Wformat -Werror=format-security -lpcre2-8 
-Wl,-z,relro -o linuxinfo linuxinfo.o linuxinfo_common.o linuxinfo_arm.o 
linuxinfo_alpha.o linuxinfo_ia64.o linuxinfo_intel.o linuxinfo_m68k.o 
linuxinfo_ppc.o linuxinfo_sh.o linuxinfo_hppa.o linuxinfo_s390.o 
linuxinfo_avr.o linuxinfo_sparc.o linuxinfo_mips.o linuxinfo_unknown.o
make[2]: Verzeichnis „/tmp/testfoo1/linuxinfo-3.1.2“ wird verlassen
…
Successfully signed dsc, buildinfo, changes files


When building the very same source in a sid changeroot, it fails:
 dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package linuxinfo
dpkg-buildpackage: info: source version 3.1.2-1
…
gcc -DPACKAGE_NAME=\"Linuxinfo\" -DPACKAGE_TARNAME=\"linuxinfo\" 
-DPACKAGE_VERSION=\"3.1.2\" -DPACKAGE_STRING=\"Linuxinfo\ 3.1.2\" 
-DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"linuxinfo\" 
-DVERSION=\"3.1.2\" -Duse_regexp=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 
-DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 
-DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 
-DHAVE_UNISTD_H=1 -DSIZEOF_LONG=8 -DSIZEOF_LONG_LONG=8 -DHAVE_STRSTR=1 
-DHAVE_UNAME=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -I.  
-DLOCALEDIR=\"/usr/share/locale\" -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 
-fdebug-prefix-map=/tmp/testfoo2/linuxinfo-3.1.2=. -fstack-protector-strong 
-Wformat -Werror=format-security -c -o linuxinfo_unknown.o linuxinfo_unknown.c
gcc  -g -O2 -fdebug-prefix-map=/tmp/testfoo2/linuxinfo-3.1.2=. 
-fstack-protector-strong -Wformat -Werror=format-security -lpcre2-8 
-Wl,-z,relro -o linuxinfo linuxinfo.o linuxinfo_common.o linuxinfo_arm.o 
linuxinfo_alpha.o linuxinfo_ia64.o linuxinfo_intel.o linuxinfo_m68k.o 
linuxinfo_ppc.o linuxinfo_sh.o linuxinfo_hppa.o linuxinfo_s390.o 
linuxinfo_avr.o linuxinfo_sparc.o linuxinfo_mips.o linuxinfo_unknown.o
/usr/bin/ld: linuxinfo_common.o: in function `regstrcmp':
./linuxinfo_common.c:224: undefined reference to `pcre2_compile_8'
/usr/bin/ld: ./linuxinfo_common.c:252: undefined reference to 
`pcre2_match_data_create_from_pattern_8'
/usr/bin/ld: ./linuxinfo_common.c:254: undefined reference to `pcre2_match_8'
/usr/bin/ld: ./linuxinfo_common.c:281: undefined reference to 
`pcre2_match_data_free_8'
/usr/bin/ld: ./linuxinfo_common.c:282: undefined reference to 
`pcre2_code_free_8'
/usr/bin/ld: ./linuxinfo_common.c:276: undefined reference to 
`pcre2_match_data_free_8'
/usr/bin/ld: ./linuxinfo_common.c:277: undefined reference to 
`pcre2_code_free_8'
/usr/bin/ld: ./linuxinfo_common.c:237: undefined reference to 
`pcre2_get_error_message_8'
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:499: linuxinfo] Fehler 1
make[2]: Verzeichnis „/tmp/testfoo2/linuxinfo-3.1.2“ wird verlassen
make[1]: *** [Makefile:593: all-recursive] Fehler 1
make[1]: Verzeichnis „/tmp/testfoo2/linuxinfo-3.1.2“ wird verlassen
dh_auto_build: error: make -j1 returned exit code 2
make: *** [debian/rules:14: build] Fehler 25
dpkg-buildpackage: error: debian/rules build subprocess returned exit status 2

I tried to figure out in NEWs etc. if there was a subtle change in
version 10.34-7 compared to 10.32-5 to no avail. 

When searching the net I found a few similar reports which suggested
downgrading, but no proper solution. I could not find a bug report in
the Debian BTS nor in upstream regarding this issue.

I compared the build outputs, they are the same (until the failure).
The only thing I could discern was that in unstable configure got a
new option added:
--disable-option-checking

I haven't fully figured out where this comes from, but since pcre2 is
checked and found as usual (in both cases) I don't think this relates.

I'm rather lost at the moment, so forgive me if I missed the warning
in big red letters…

Thanks

-- 
      Dr. Helge Kreutzmann                     deb...@helgefjell.de
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: PGP signature

Reply via email to