Your message dated Sun, 24 Jun 2018 21:49:27 +0000
with message-id <e1fxcsx-000h0z...@fasolo.debian.org>
and subject line Bug#902306: fixed in libxml-libxml-perl 2.0132+dfsg-2
has caused the Debian Bug report #902306,
regarding FTBFS: xml2-config is gone from libxml2-dev from version 2.9.7+dfsg-1
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 ow...@bugs.debian.org
immediately.)


-- 
902306: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=902306
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libxml-libxml-perl
Version: 2.0132+dfsg-1+b0.01
Severity: grave
Tags: patch upstream

When running debian/rules build:

---------------------------------------------------------------------
gerardo@alienware:~/apt-src/libxml-libxml-perl-2.0132+dfsg$ ./debian/rules
build
dh build
   dh_update_autotools_config
   dh_autoreconf
   debian/rules override_dh_auto_configure
make[1]: se entra en el directorio '/home/gerardo/apt-src/libxml-libxml-
perl-2.0132+dfsg'
SKIP_SAX_INSTALL=1 dh_auto_configure
        perl -I. Makefile.PL INSTALLDIRS=vendor "OPTIMIZE=-g -O2 -fdebug-
prefix-map=/home/gerardo/apt-src/libxml-libxml-perl-2.0132+dfsg=. -fstack-
protector-strong -Wformat -Werror=format-security -Wdate-time
-D_FORTIFY_SOURCE=2" "LD=x86_64-linux-gnu-gcc -g -O2 -fdebug-prefix-
map=/home/gerardo/apt-src/libxml-libxml-perl-2.0132+dfsg=. -fstack-protector-
strong -Wformat -Werror=format-security -Wl,-z,relro -Wl,-z,now"
enable native perl UTF8
running xml2-config...didn't manage to get libxml2 config, guessing
options:
  LIBS='-L/usr/local/lib -L/usr/lib -lxml2 -lm'
  INC='-I/usr/local/include -I/usr/include'
If this is wrong, Re-run as:
  $ /usr/bin/perl Makefile.PL LIBS='-L/path/to/lib' INC='-I/path/to/include'

Checking for ability to link against xml2...no
Checking for ability to link against libxml2...libxml2, zlib, and/or the Math
library (-lm) have not been found.
Try setting LIBS and INC values on the command line
Or get libxml2 from
  http://xmlsoft.org/
If you install via RPMs, make sure you also install the -devel
RPMs, as this is where the headers (.h files) are.

Also, you may try to run perl Makefile.PL with the DEBUG=1 parameter
to see the exact reason why the detection of libxml2 installation
failed or why Makefile.PL was not able to compile a test program.
---------------------------------------------------------------------

The guesses are wrong.

The alternative using pkg-config is available since at least wheezy, so the
attached patch would work in all recent Debian versions.


This patch will be needed until upstream switches to use pkg-config instead of
(now gone) xml2-config.

Thanks,
    Gerardo



-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.16.0-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8), 
LANGUAGE=es_AR:es (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages libxml-libxml-perl depends on:
ii  libc6                         2.27-3
ii  libxml-namespacesupport-perl  1.12-1
ii  libxml-sax-perl               1.00+dfsg-1+b0.01
ii  libxml2                       2.9.7+dfsg-1
ii  perl                          5.28.0~rc2-1
ii  perl-base [perlapi-5.28.0]    5.28.0~rc2-1
ii  zlib1g                        1:1.2.11.dfsg-1

libxml-libxml-perl recommends no packages.

libxml-libxml-perl suggests no packages.

-- no debconf information
diff -ruN libxml-libxml-perl-2.0132+dfsg/debian/rules 
libxml-libxml-perl-2.0132+dfsg.good/debian/rules
--- libxml-libxml-perl-2.0132+dfsg/debian/rules 2018-06-23 16:57:04.000000000 
-0300
+++ libxml-libxml-perl-2.0132+dfsg.good/debian/rules    2018-06-24 
15:38:12.931247836 -0300
@@ -10,7 +10,9 @@
        dh $@
 
 override_dh_auto_configure:
-       SKIP_SAX_INSTALL=1 dh_auto_configure
+       SKIP_SAX_INSTALL=1 dh_auto_configure -- \
+                INC=$(shell pkg-config --cflags libxml-2.0) \
+                LIBS=$(shell pkg-config --libs libxml-2.0)
 
 override_dh_auto_test:
        dh_auto_test -- TEST_FILES="$(TEST_FILES)"

--- End Message ---
--- Begin Message ---
Source: libxml-libxml-perl
Source-Version: 2.0132+dfsg-2

We believe that the bug you reported is fixed in the latest version of
libxml-libxml-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 902...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
gregor herrmann <gre...@debian.org> (supplier of updated libxml-libxml-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 ftpmas...@ftp-master.debian.org)


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

Format: 1.8
Date: Sun, 24 Jun 2018 23:24:33 +0200
Source: libxml-libxml-perl
Binary: libxml-libxml-perl
Architecture: source
Version: 2.0132+dfsg-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Perl Group <pkg-perl-maintain...@lists.alioth.debian.org>
Changed-By: gregor herrmann <gre...@debian.org>
Closes: 902306
Description: 
 libxml-libxml-perl - Perl interface to the libxml2 library
Changes:
 libxml-libxml-perl (2.0132+dfsg-2) unstable; urgency=medium
 .
   * Use pkg-config to find xml2 flags instead of xml2-config which is gone
     in libxml2-dev 2.9.7.
     Thanks to Gerardo Esteban Malazdrewicz for the bug report.
     (Closes: #902306)
Checksums-Sha1: 
 8e208c4f2afad2baad714d98021afdeef0263875 2387 
libxml-libxml-perl_2.0132+dfsg-2.dsc
 c23cea425af86fe68cbef921ce545bce68613fc1 10520 
libxml-libxml-perl_2.0132+dfsg-2.debian.tar.xz
Checksums-Sha256: 
 1a5b17139917931c4e44b23331da355b129c71e0cee1a60d86b765965e11e967 2387 
libxml-libxml-perl_2.0132+dfsg-2.dsc
 88ba1ebf8203d27d8ba34e483272476c22e4ddcfd0e13cffc7a8a85209b1b8c4 10520 
libxml-libxml-perl_2.0132+dfsg-2.debian.tar.xz
Files: 
 3d38f8c8602966b90626dda5cf852247 2387 perl optional 
libxml-libxml-perl_2.0132+dfsg-2.dsc
 1b8c4289a323a70e9d1a43789b149c83 10520 perl optional 
libxml-libxml-perl_2.0132+dfsg-2.debian.tar.xz

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

iQKTBAEBCgB9FiEE0eExbpOnYKgQTYX6uzpoAYZJqgYFAlswDRpfFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEQx
RTEzMTZFOTNBNzYwQTgxMDREODVGQUJCM0E2ODAxODY0OUFBMDYACgkQuzpoAYZJ
qgba5RAAs64XCIVC7qwDwDKGbduPG2+FX4v8daGXfehXNyZRHWvJsdH3nkrRo+HQ
1OzKF+bfnwwTK0tub971XWjWtcSNr7uzLw7pzVR62recD35+RuqTwrCOQGDc5rrJ
4CUv1kvLxDTop5GEblYmpULM6s2M8fZ40biU8ITGLPC2sMkFiOQ+Vkvmlv5M3NH3
owc8lvLlN1xPoWqtlHfYniYe/dohUN8up7Sf/KSCmMnefFCk2LCQNiuy9ODvU8Fh
wN8MjGOp0HDg4HUS7YA/5Yw92rh7m4BnQ3wKqwDVul0RTxhtjzpOfVHkLJwIQ3yM
kTz8D/KHOq7q+smZWaPkSOyykgGh92QrYCzEfYFevaY7CY8CZd92sbG3HwCSdVD7
o4oRkALkvKxEBxLIf1rZqij5TTwCPoy/JBt5OK5Xj++UJaa3OmjoptzK7ia5Uql1
APBlUKa1PfHF/XTPf3sG3E9JZGkGQ82kjShL1wCGlVPC7sS3S/XbtKYp5+35Mc6p
yeKqjEo761X3PJgjpmhmN/j6HlT8SjYLJacli4P97cFYMKclHvRqDhP+WnvioHm9
H0MVB4szIAuH8dy19/Oq+BoqIz95SUeak3rgh/VS5Rv9r7Yc68PbtUolroXFZxhg
hj0I798ioZsQITDKsJjhNEhNVoPS8KQmKFBYvU4NWSd31Kllyoo=
=Ag5w
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to