Your message dated Sun, 25 Feb 2018 22:01:45 +0000
with message-id <[email protected]>
and subject line Bug#874217: fixed in rlwrap 0.43-1
has caused the Debian Bug report #874217,
regarding rlwrap FTCBFS: /proc/<pid>/cwd check not cacheable
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.)


-- 
874217: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874217
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Source: rlwrap
Version: 0.42-3
Severity: normal
Tags: patch upstream
User: [email protected]
Usertags: rebootstrap

rlwrap fails to cross build from source, because it uses an uncacheable
AC_CHECK_FILES where the cache variable contains the process id of
./configure. After thinking about it, I figured that replacing
"/proc/$$" with "/proc/self" would be a reasonable compromise making the
cache variable predictable. Thus it can be provided with a cross build.
When using the attached patch and providing
ac_cv_file__proc_self_cwd_cwdcheck (yes for linux-any and kfreebsd-any,
no for hurd-any), rlwrap cross build successfully. Please consider
applying the patch.

Helmut
From: Helmut Grohne <[email protected]>
Subject: make cross building feasible

The file chosen has two problems:
 * $$ varies across builds, so the variable essentially is not cacheable, but
   AC_CHECK_FILES must be cacheable for cross compilation.
 * configure.ac may not be present for out-of-tree builds. Create a file to
   be sure it actually exists.

Index: rlwrap-0.42/configure.ac
===================================================================
--- rlwrap-0.42.orig/configure.ac
+++ rlwrap-0.42/configure.ac
@@ -349,10 +349,12 @@
 # but they wil fail unless /no is a procfs mountpoint ;-)
 
 echo "Will rlwrap find command's working directory under ${opt_proc_mountpoint}/<commands pid>/cwd? let's see..."                                 
-AC_CHECK_FILES($opt_proc_mountpoint/$$/cwd/configure.ac,[                                                                                      
+touch cwdcheck
+AC_CHECK_FILES($opt_proc_mountpoint/self/cwd/cwdcheck,[
                  AC_DEFINE(HAVE_PROC_PID_CWD, 1 ,[Define to 1 if <opt_proc_mountpoint>/<pid>/cwd is a link to working directory of process <pid>]) 
                  AC_SUBST(HAVE_PROC_PID_CWD,[yes])
               ],[AC_SUBST(HAVE_PROC_PID_CWD,[no])])
+rm -f $cwdcheck
 
 
 AC_DEFINE_UNQUOTED(PROC_MOUNTPOINT, "[$opt_proc_mountpoint]", [Define to location of Linux-style procfs mountpoint if provided and valid])

--- End Message ---
--- Begin Message ---
Source: rlwrap
Source-Version: 0.43-1

We believe that the bug you reported is fixed in the latest version of
rlwrap, 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.
Mike Miller <[email protected]> (supplier of updated rlwrap 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: SHA256

Format: 1.8
Date: Sun, 25 Feb 2018 12:46:03 -0800
Source: rlwrap
Binary: rlwrap
Architecture: source
Version: 0.43-1
Distribution: unstable
Urgency: medium
Maintainer: Mike Miller <[email protected]>
Changed-By: Mike Miller <[email protected]>
Description:
 rlwrap     - readline feature command line wrapper
Closes: 799943 869564 874217
Changes:
 rlwrap (0.43-1) unstable; urgency=medium
 .
   * New upstream version 0.43 (Closes: #869564)
     - Fix segmentation fault with readline keyboard macros (Closes: #799943)
     - Fix internal memory error on Tab key with --filter (LP: #1731508)
     - Make build system amenable to cross-compilation (Closes: #874217)
   * d/p/update-project-urls.patch: Drop patch, applied upstream
   * d/p/man-typos.patch: Replace patch, fix man page typos in new release
   * Bump debhelper compatibility level to 11
   * d/control, d/rules: Drop explicit dependency on dh-autoreconf, now used
     automatically
   * d/clean: Clean files remaining after a successful build
   * d/copyright: Bump copyright for release and for debian/*
   * d/rules:
     - Include dh_python3 in the build sequence
     - Rewrite perl shebang to comply with Policy 4.1.2
     - Don't backup and restore build files no longer distributed
   * d/control:
     - Build-Depend on dh-python and python3:any and Depend on 
${python3:depends}
     - Update Vcs-* fields for migration to salsa.d.o
     - Bump Standards-Version to 4.1.3
Checksums-Sha1:
 2ab58f566fd37529479cd3326f2958bd6e374c8a 1846 rlwrap_0.43-1.dsc
 171777a02401c6350a29bdbf9c7c3e17866bf3fc 162478 rlwrap_0.43.orig.tar.gz
 8b05abc65f6e6cd10ab45198a834625484490ee1 5652 rlwrap_0.43-1.debian.tar.xz
 a51bd72df09da04915f795d69d40d42b93c33f3a 6310 rlwrap_0.43-1_amd64.buildinfo
Checksums-Sha256:
 8503097ebacc9c566e30c3ec6cfafae332c62ca76334b0f811ab85e9ab17ea8f 1846 
rlwrap_0.43-1.dsc
 29e5a850fbe4753f353b0734e46ec0da043621bdcf7b52a89b77517f3941aade 162478 
rlwrap_0.43.orig.tar.gz
 e544c7b3894a8589145f6a06686deb2177015723282f848d3cc3daaac54e62d3 5652 
rlwrap_0.43-1.debian.tar.xz
 2a881b563ad6a9067068a5e5872cbb5ea9f8c28340cddaa1bdf2ba1683cc42c0 6310 
rlwrap_0.43-1_amd64.buildinfo
Files:
 7191be42b17eb0205ec437740fd62603 1846 utils optional rlwrap_0.43-1.dsc
 361d54b7127374e5761e0738eb7b88fb 162478 utils optional rlwrap_0.43.orig.tar.gz
 681c2bf8c001a1aec40ff33abf44925e 5652 utils optional 
rlwrap_0.43-1.debian.tar.xz
 1d385420a6b951efbc024a114a80bdd4 6310 utils optional 
rlwrap_0.43-1_amd64.buildinfo

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

iQIzBAEBCAAdFiEEjM8i8+X7hnRontVHj+du6+d1fSwFAlqTJ3EACgkQj+du6+d1
fSzCcRAAh9l0s9nlNhggvhdWAdoPXXwB7W+mP4Bnd/33UsicR7nb5AQFU24EXXJT
902kUWR6E8DTuDufLfl74HU1GHlAs5XlDyhT3VaXdKhDo2Ukp73gbvFEIQAbrPPi
90xc4hIjABBQR+zmhFR7i23lCZfR8TWjCa4fzVGuuo2yK1HEg0tC3IQIwjsyhWdo
EVp70U1cbPheZEjGiEqvoP55avVqbI94hJVjEyhtU4CwKvO4sQpnveFd0YQD84uW
L8I/qVolEA7XqD2pW4fDf4d8e9QWkK7q0Po6o+SLftmxnRxv21Az77nqHeteHtCo
Xs0l16jhftYqdewVBKPMC4zxzFUZZ0ZzsNW/IibCnLXWHg2i3ktZlYTWB892h8zZ
905dEO7YzC/0BGoE9mNXeq2keiBaLuqrUK/NFPUovjkxxTOWFmUhV35E5B11KUU4
fCkoT9zrUa0ya4Zf9gYSGrOqj4itjHOaWx5rweBp/N27KESYeCWy1jYewlK+A7mW
dhd+oaKZD/bfOPQUT5g1JAmAfUxCEfiDxN6m8/w+/S7tfNzAvksqQi6Zt88Mjg7l
Ai3Vrb4SgAB5P1Z0S1uNLc1pVNsH8XLhOc65MhhcEPuq3MfuicdHibnu31yGQJz2
MU63bssf8FOVV+jQvUijl3GutGzKRW0mEFLppTXACu8wfVVNYk8=
=R0U6
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to