Your message dated Tue, 04 Feb 2020 18:34:50 +0000
with message-id <[email protected]>
and subject line Bug#950297: fixed in libyaml-syck-perl 1.32-2
has caused the Debian Bug report #950297,
regarding libyaml-syck-perl FTCBFS: compiler check too strict
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
950297: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=950297
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: libyaml-syck-perl
Version: 1.32-1
Tags: upstream
User: [email protected]
Usertags: ftcbfs

libyaml-syck-perl fails to cross build from source even after you
updated its Build-Depends. It happens to fail while running its
Makefile.PL:

|    dh_auto_configure -a
|         perl -I/usr/lib/aarch64-linux-gnu/perl/cross-config-5.30.0 
Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2" 
"LD=aarch64-linux-gnu-gcc -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro 
-Wl,-z,now"
| Couldn't load HASCOMPILERsEl9/TESTr0el.so: 
/<<PKGBUILDDIR>>/HASCOMPILERsEl9/TESTr0el.so: cannot open shared object file: 
No such file or directory at ./inc/ExtUtils/HasCompiler.pm line 141.
|  at Makefile.PL line 8.
| Sorry! YAML::Syck requires a compiler in order to be built.
| dh_auto_configure: error: perl 
-I/usr/lib/aarch64-linux-gnu/perl/cross-config-5.30.0 Makefile.PL 
INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. 
-fstack-protector-strong -Wformat -Werror=format-security -Wdate-time 
-D_FORTIFY_SOURCE=2" "LD=aarch64-linux-gnu-gcc -g -O2 
-fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat 
-Werror=format-security -Wl,-z,relro -Wl,-z,now" returned exit code 1
| make: *** [debian/rules:6: build-arch] Error 25
| dpkg-buildpackage: error: debian/rules build-arch subprocess returned exit 
status 2

libyaml-syck-perl has a inc/ExtUtils/HasCompiler.pm that is used for
checking whether the compiler can build a loadable module. That fails. I
think the failure is to be expected, because a cross compiled object
cannot be loaded into the native perl. Once removing the "exit 1;" from
Makefile.PL line 11, libyaml-syck-perl cross builds just fine. So it
really is just this check.

I'd assume that simply patching it out does not suit well with upstream.
After all, they put it there for a reason. Unfortunately, I have little
clue how to express a "if cross compiling" in perl. Do you have any idea
on how to fix this?

I was also wondering about many warnings during the build:
| warning: incompatible implicit declaration of built-in function ‘malloc’
The source does #include <stdlib.h> if HAVE_STDLIB_H is set. This macro
is set if I_STDLIB is set somewhere, but nothing ever sets it. This
behaviour is also present in native builds, see e.g.:
https://buildd.debian.org/status/fetch.php?pkg=libyaml-syck-perl&arch=ppc64el&ver=1.32-1&stamp=1580299988&raw=0
This hints that something else is broken about configuration of
libyaml-syck-perl. I'm merely reporting it as this observation here and
hope that it helps somehow.

Can you think of a good way to disable or fix this test for cross
compilation? Given that I don't have a good answer here, I don't have a
patch this time.

Helmut

--- End Message ---
--- Begin Message ---
Source: libyaml-syck-perl
Source-Version: 1.32-2

We believe that the bug you reported is fixed in the latest version of
libyaml-syck-perl, which is due to be installed in the Debian FTP archive.

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 protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <[email protected]> (supplier of updated libyaml-syck-perl 
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 protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 04 Feb 2020 19:16:55 +0100
Source: libyaml-syck-perl
Architecture: source
Version: 1.32-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <[email protected]>
Changed-By: gregor herrmann <[email protected]>
Closes: 950297
Changes:
 libyaml-syck-perl (1.32-2) unstable; urgency=medium
 .
   * Add patch disable-compiler-check.patch.
     Disable a compiler check in Makefile.PL which is not needed and breaks
     cross-building.
     Thanks to Helmut Grohne for the bug report. (Closes: #950297)
Checksums-Sha1:
 db8294df7cbff12bf796e62af218f114df9ef4ee 2414 libyaml-syck-perl_1.32-2.dsc
 9f7f2b3797d1b84b444110186c2bd1821715c090 6548 
libyaml-syck-perl_1.32-2.debian.tar.xz
Checksums-Sha256:
 405aafcd5f48f3d50ac907f3017780e52a7e1fcad5437cac00af830b4a9f7e5b 2414 
libyaml-syck-perl_1.32-2.dsc
 f2c3f904b657d94f5e19915330536105696bd9bfa07d97cf4690a4bd8f505950 6548 
libyaml-syck-perl_1.32-2.debian.tar.xz
Files:
 83ecdd322eb5cca35775ac5cd6dd3327 2414 perl optional 
libyaml-syck-perl_1.32-2.dsc
 0c4d03597773a494a7325226ed2d9645 6548 perl optional 
libyaml-syck-perl_1.32-2.debian.tar.xz

-----BEGIN PGP SIGNATURE-----

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAl45tvRfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgan7g//ZuHbhca+zggx4sXcQTvaaD24mnSSBGedbJaymBuCwnn8Kry9YD8kzND+
UMlE1RgM9zLZFgZgCTsOr848eQfxM6X3EHJMZxfd+6H3l94nhNcrhKQKhmpHM1d7
hxULwtoLoJx8donT6pu9k1uK1eJIiu9F8MNS61QChcKdiXEysgTLIzTeRw3L4cI2
Dv9b1SW8YJiDycvbHcRqYCzno6JSSSuhNYosvyHRxTgzZGXyjJ1VT/dqc3G69zNH
zJAMt5aKiJNxSfbYoPxfL3u2WOiOPSZFo5zpykSK0Jd3TTXGhwkaqAihhVl4gydv
RgBxeDA4oEjs9E1pqAk37eOeo9ormmYoPeQdwLlRmHLhWaMkcJA3par2RqqY9Z/f
5hhRTZ+5R1yZma5La3LZnCDk0i5vJsHFtk+rWnh9eYMvlkehnnSMbuiC1o5v9Ob1
KOtD9Dgf9V2FPCP/kMIffPi/2qtPinErHX5sVTQ42/x0Wz0nlM9gLx5/CTB/jlE1
vBTOz6fCAAUIy3bPsfsA5xCiMklAG7fLjvCwbd3sJhGVxFCUFj38n8pCkEuq9CoI
WdhEXc1ckHFK0SxWytjUw/6jshjbVHYh/K7XD5ZR4HTTXt8gLCs7knbjE2F9IL+x
x3iIqApnfBpj/93dmWuRLudo670Ff+rrB+0NCmRTrGtOB7wYN5M=
=cMXo
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to