Bug#893469: perl FTCBFS: error: unknown type name '_LIB_VERSION_TYPE'

Helmut Grohne helmut at subdivi.de
Mon Mar 19 07:41:10 UTC 2018


Source: perl
Version: 5.26.1-5
User: helmutg at debian.org
Usertags: rebootstrap

Hi perl maintainers,

I see that you keep updating those cross files in the debian folder.
Thus it seems like you would still be interested in learning when cross
building perl stops working even when I tell you without attaching a
patch. (Sorry) As it happens, perl does presently fail to cross build:

| powerpc-linux-gnu-gcc -c -DPERL_CORE -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -fdebug-prefix-map=/build/perl-NAqo_f/perl-5.26.1=. -fstack-protector-strong -Wformat -Werror=format-security -fwrapv -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -std=c89 -O2 -g -Wall -Werror=declaration-after-statement -Wextra -Wc++-compat -Wwrite-strings pp.c
| pp.c:47:5: error: unknown type name '_LIB_VERSION_TYPE'; did you mean '__VERSION__'?
|      _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
|      ^~~~~~~~~~~~~~~~~
|      __VERSION__
| pp.c:47:38: error: '_IEEE_' undeclared here (not in a function); did you mean '_SIZET_'?
|      _LIB_VERSION_TYPE _LIB_VERSION = _IEEE_;
|                                       ^~~~~~
|                                       _SIZET_
| make[1]: *** [Makefile:250: pp.o] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| make: *** [debian/rules:153: perl.static] Error 2
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit status 2

The host architecture being used seems to be irrelevant. I looked and
couldn't figure out what is wrong here. Could it be that some configure
result is cached wrongly somehow?

My quest on removing the need to have those cross files at all is still
ongoing and I cannot report much progress here.

I hope this bug report helps. In case it doesn't, please tell.

Helmut




More information about the Perl-maintainers mailing list