Your message dated Thu, 17 Jan 2019 08:42:59 +0000
with message-id <e1gk3gn-000fl2...@fasolo.debian.org>
and subject line Bug#918567: fixed in dlib 19.10-3
has caused the Debian Bug report #918567,
regarding dlib: FTBFS when built with dpkg-buildpackage -A
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.)


-- 
918567: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918567
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:dlib
Version: 19.10-2
Severity: serious
Tags: ftbfs patch

Dear maintainer:

I tried to build this package in buster with "dpkg-buildpackage -A" but it 
failed:

--------------------------------------------------------------------------------
[...]
 debian/rules build-indep
dh build-indep --buildsystem=cmake
   dh_update_autotools_config -i -O--buildsystem=cmake
   dh_autoreconf -i -O--buildsystem=cmake
   debian/rules override_dh_auto_configure
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_auto_configure -Bconfig_shared -- -DDLIB_NO_GUI_SUPPORT=ON 
-DBUILD_SHARED_LIBS=ON
        cd config_shared && cmake -DCMAKE_INSTALL_PREFIX=/usr 
-DCMAKE_BUILD_TYPE=None -DCMAKE_INSTALL_SYSCONFDIR=/etc 
-DCMAKE_INSTALL_LOCALSTATEDIR=/var -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON 
-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON -DCMAKE_INSTALL_RUNSTATEDIR=/run 
"-GUnix Makefiles" -DCMAKE_VERBOSE_MAKEFILE=ON 
-DCMAKE_INSTALL_LIBDIR=lib/x86_64-linux-gnu -DDLIB_NO_GUI_SUPPORT=ON 
-DBUILD_SHARED_LIBS=ON ..
-- The C compiler identification is GNU 8.2.0

[... snipped ...]

-- Installing: 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/dlib/dlib.cmake
-- Installing: 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/dlib/dlib-none.cmake
-- Installing: 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/dlib/dlibConfig.cmake
-- Installing: 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/cmake/dlib/dlibConfigVersion.cmake
-- Installing: 
/<<PKGBUILDDIR>>/debian/tmp/usr/lib/x86_64-linux-gnu/pkgconfig/dlib-1.pc
make[2]: Leaving directory '/<<PKGBUILDDIR>>/config_shared'
# Remove empty directories
find /<<PKGBUILDDIR>>/debian/tmp/usr/include/dlib -type d -empty -delete
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_install -i -O--buildsystem=cmake
   dh_installdocs -i -O--buildsystem=cmake
   dh_installchangelogs -i -O--buildsystem=cmake
   dh_installexamples -i -O--buildsystem=cmake
   dh_installinit -i -O--buildsystem=cmake
   dh_perl -i -O--buildsystem=cmake
   dh_link -i -O--buildsystem=cmake
   dh_strip_nondeterminism -i -O--buildsystem=cmake
   dh_compress -i -O--buildsystem=cmake
   debian/rules override_dh_fixperms
make[1]: Entering directory '/<<PKGBUILDDIR>>'
dh_fixperms
# Fix wrong permissions in examples/
chmod 644 
debian/libdlib19/usr/share/doc/libdlib19/examples//max_cost_assignment_ex.cpp
chmod: cannot access 
'debian/libdlib19/usr/share/doc/libdlib19/examples//max_cost_assignment_ex.cpp':
 No such file or directory
make[1]: *** [debian/rules:49: override_dh_fixperms] Error 1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:19: binary-indep] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary-indep subprocess 
returned exit status 2
--------------------------------------------------------------------------------

The usual recipe here is to split override_dh_fixperms into 
override_dh_fixperms-arch
and override_dh_fixperms-indep.

In this case I believe the (untested) patch below will work. To be sure, please
try both "dpkg-buildpackage -A" and "dpkg-buildpackage -B".

Also, please consider uploading in source-only form (dpkg-buildpackage -S)
so that these kind of bugs never propagate to testing.

Thanks.

--- a/debian/rules
+++ b/debian/rules
@@ -43,7 +43,7 @@ override_dh_auto_install:
        # Remove empty directories
        find $(CURDIR)/debian/tmp/usr/include/dlib -type d -empty -delete
 
-override_dh_fixperms:
+override_dh_fixperms-arch:
        dh_fixperms
        # Fix wrong permissions in examples/
        chmod 644 $(EXAMPLES_PATH)/max_cost_assignment_ex.cpp

--- End Message ---
--- Begin Message ---
Source: dlib
Source-Version: 19.10-3

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

Debian distribution maintenance software
pp.
Andreas Tille <ti...@debian.org> (supplier of updated dlib 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: SHA256

Format: 1.8
Date: Thu, 17 Jan 2019 08:17:25 +0100
Source: dlib
Binary: libdlib-dev libdlib19 libdlib-data
Architecture: source
Version: 19.10-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Maintainers 
<debian-science-maintain...@lists.alioth.debian.org>
Changed-By: Andreas Tille <ti...@debian.org>
Description:
 libdlib-data - C++ toolkit for machine learning and computer vision - models
 libdlib-dev - C++ toolkit for machine learning and computer vision - developmen
 libdlib19  - C++ toolkit for machine learning and computer vision - library
Closes: 918567
Changes:
 dlib (19.10-3) unstable; urgency=medium
 .
   * Team upload.
   * Moved packaging to Debian Science team (acknowledged by Uploaders)
   * Enable building with dpkg-buildpackage -A (thanks for the patch to
     Santiago Vila <sanv...@debian.org>)
     Closes: #918567
   * Standards-Version: 4.3.0
   * cme fix dpkg-control
Checksums-Sha1:
 083881e74dca6ae9aa05e8c5f59e64b06da81c92 2410 dlib_19.10-3.dsc
 df8674db42867801b484fe420b28b5c3a04e3241 8316 dlib_19.10-3.debian.tar.xz
 184df8e5dda42deb53b5e4c278befd7389335775 13291 dlib_19.10-3_source.buildinfo
Checksums-Sha256:
 45ddabfd3a5fbf5c0ade55b3c1c53a78106c658436ee1a4d865cf23dd1397556 2410 
dlib_19.10-3.dsc
 65eb86c6f7c5f18df906332dc4b0c535844eb810b9bbc9ffddc9c43fce5ccf3c 8316 
dlib_19.10-3.debian.tar.xz
 5bd63b68861674ee5cbacc7b6d023308398fda79d74b9a28ad1662c19eaf1dc5 13291 
dlib_19.10-3_source.buildinfo
Files:
 011b5daa2f267a93a5bf441834f43d5c 2410 libs optional dlib_19.10-3.dsc
 f043d66cc9114a0a8ea0d424d6b4cbf8 8316 libs optional dlib_19.10-3.debian.tar.xz
 7c2a4cb3876858d5afd98871f86d0e3d 13291 libs optional 
dlib_19.10-3_source.buildinfo

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

iQJCBAEBCAAsFiEE8fAHMgoDVUHwpmPKV4oElNHGRtEFAlxAOFgOHHRpbGxlYUBy
a2kuZGUACgkQV4oElNHGRtFGpxAAkIKTAT8OsQY6hIa9qUIGnGW0LkYorkpmEcgH
ahKq8+EBP+JoinU2LSOOysBkwM1yNHR0VkiGrhSDi8WIfcoYCI+dik2HKFIh1utF
WGfFUhBn+Jg3GqjrcUHjX1p19wYT/IrAi8ZzvigSeJmwsimX/IKpE1A4gtg57Ion
02dzEdj2I6Zt93pVyhGT2duq2mszSegmfBfsTeeUhqPknxW3Z/GJ6MzAJKagF4fs
U+5FANjOxdQOxrQ/uwrIwdTN8/GGuotQO19Sy7ajhCs9X6MA2/SO4HQ6ToGY7rtV
VOntKGDZPRnfvnu42ARJeXqZ6wfAWlgob0qilSMK7n5vFtc33+hOEVqjx2CVGw9i
8Y3INzMKvwGdab6yZrYV0rvSmzSsuGFjPWr6lowv0Tj56v0Jld+z2brj+1n/C343
jb/JfXk+uHw4m2U6WckUo3mLYn6JB9B3R2UC0wMG6W9ye+2lMsH/4bWIQejWFHbr
q1/diWz5CjoHupTiO/4bCLDDewoBWjEiO6s5LzSCckQ0e2nRig9GL7qxq8Ae/Vn5
RNvuDgmrXAzI/e7Lrhea+/u37PnyG72jgvQrBFBSQdP2yeHMuPr61UhefvYTZ9fk
jkrRj7rUbP1Ztm2bt36i4kpQ0Kji4u4xua4yGoVXtT10PrTsmbHb0mxD1CxTbAgm
2Q1RGhE=
=lhUn
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to