Your message dated Wed, 16 Jul 2008 02:32:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#490717: fixed in gauche-c-wrapper 0.5.4-2
has caused the Debian Bug report #490717,
regarding gauche-c-wrapper: /bin/sh: ldconfig: command not found
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.)
--
490717: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=490717
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: gauche-c-wrapper
Version: 0.5.2-5.1
Severity: normal
example session:
$ gosh
gosh> (use c-wrapper)
#<undef>
gosh> (c-load '("alsa/asoundlib.h") :libs-cmd "echo '-lasound'")
/bin/sh: ldconfig: command not found
#t
gosh>
The cause:
/usr/share/gauche/site/lib/c-wrapper/config.scm:34
(let ((ldconfig-cmd "ldconfig -p | sed -n '/^ /s/^.*=> //p'"))
(note: ldconfig is at "/sbin/ldconfig" and "/sbin" is not in the "$PATH"
of normal users)
"config.scm" is created on build time from "config.scm.in"
config.scm.in:34:
(let ((ldconfig-cmd "@LDCONFIG_CMD@"))
The value of @LDCONFIG_CMD@ depends on the build system/environment.
Example: If you build as normal user ldconfig will not be found on a
debian system because it is at "/sbin/ldconfig" and "/sbin" is normally
not in the "$PATH" of normal users. If you build as root it will be
found and set to the above value. (Unfortunately this does not include
the complete path)
Maybe the simplest solution for debian would be to hardcode it to
/sbin/ldconfig. But a better solution probably would be to change the
configure.ac:
maybe change line 51:
from:
AC_CHECK_PROGS(LDCONFIG, ldconfig)
to:
AC_PATH_PROG([LDCONFIG], [ldconfig], [], [$PATH:/sbin:/usr/sbin])
After this change (and a autoreconf - shudder ;-)
I get in the config.log:
LDCONFIG='/sbin/ldconfig'
LDCONFIG_CMD='/sbin/ldconfig -p | sed -n '\''/^ /s/^.*=> //p'\'''
dpkg-buildpackage ... dpkg -i ...:
/usr/share/gauche/site/lib/c-wrapper/config.scm:34
(let ((ldconfig-cmd "/sbin/ldconfig -p | sed -n '/^ /s/^.*=> //p'"))
Okay, six characters successfully inserted :-)
Maybe this applies to some of the other checks, too?
As a final note:
I did not find a better alternative to using "ldconfig -p"
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 2.6.25-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gauche-c-wrapper depends on:
ii gauche 0.8.13-1 A Scheme implementation designed f
ii libc6 2.7-10 GNU C Library: Shared libraries
gauche-c-wrapper recommends no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: gauche-c-wrapper
Source-Version: 0.5.4-2
We believe that the bug you reported is fixed in the latest version of
gauche-c-wrapper, which is due to be installed in the Debian FTP archive:
gauche-c-wrapper_0.5.4-2.diff.gz
to pool/main/g/gauche-c-wrapper/gauche-c-wrapper_0.5.4-2.diff.gz
gauche-c-wrapper_0.5.4-2.dsc
to pool/main/g/gauche-c-wrapper/gauche-c-wrapper_0.5.4-2.dsc
gauche-c-wrapper_0.5.4-2_i386.deb
to pool/main/g/gauche-c-wrapper/gauche-c-wrapper_0.5.4-2_i386.deb
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.
NIIBE Yutaka <[EMAIL PROTECTED]> (supplier of updated gauche-c-wrapper 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: SHA1
Format: 1.8
Date: Wed, 16 Jul 2008 10:51:00 +0900
Source: gauche-c-wrapper
Binary: gauche-c-wrapper
Architecture: source i386
Version: 0.5.4-2
Distribution: unstable
Urgency: low
Maintainer: NIIBE Yutaka <[EMAIL PROTECTED]>
Changed-By: NIIBE Yutaka <[EMAIL PROTECTED]>
Description:
gauche-c-wrapper - Foreign function interface for Gauche to C libraries
Closes: 490717
Changes:
gauche-c-wrapper (0.5.4-2) unstable; urgency=low
.
* debian/rules: Supply LDCONFIG for configure (Closes: #490717).
Thanks to Jens Thiele.
.
NOTE: This workaround should be removed when upstream incorporates
fix to configure.ac.
Checksums-Sha1:
e035acbf7c507386730868a69543cc34130218db 1070 gauche-c-wrapper_0.5.4-2.dsc
9b0323300f1b3b812380e47ee1b0558a248c999a 4705 gauche-c-wrapper_0.5.4-2.diff.gz
5b4aa7111f429bc41c2e9d172ecb61ecbc0f0663 160338
gauche-c-wrapper_0.5.4-2_i386.deb
Checksums-Sha256:
abeb8c97c0ba3c1b27428a426c091d7ff3cec53f5f8a224124f8ecc1ae8a1ab0 1070
gauche-c-wrapper_0.5.4-2.dsc
db02e781cf0c7a26d7ac138be82927c6cdd23da5f06c1d739c38354377ee8433 4705
gauche-c-wrapper_0.5.4-2.diff.gz
ef2b70d3d360968f92c5e07af95d67adbb794b6009edb173d12333553cb9fa4f 160338
gauche-c-wrapper_0.5.4-2_i386.deb
Files:
f889304e06da6eec43b6ec460d5fc661 1070 interpreters optional
gauche-c-wrapper_0.5.4-2.dsc
9b96297163e293af5c6e5462a5add5aa 4705 interpreters optional
gauche-c-wrapper_0.5.4-2.diff.gz
d0faaa1d10f92b6b905eeb5868973098 160338 interpreters optional
gauche-c-wrapper_0.5.4-2_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkh9WrUACgkQBB45r3HV9DpzPACfda5iwCv2aU2xBAiHBAoCY+oY
2aMAoM/AN8h4GR2oQjrB76THJ8D3nasl
=trQa
-----END PGP SIGNATURE-----
--- End Message ---