Bug#379200: marked as done (bluez-utils: FTBFS because sudo clears the environment)
Your message dated Sun, 20 Aug 2006 05:47:13 -0700 with message-id [EMAIL PROTECTED] and subject line Bug#379200: fixed in bluez-utils 3.1-4 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: bluez-utils Version: 3.1-2 Severity: serious Tags: patch Hello. Some of our autobuilders do use sudo instead of fakeroot to build the package. For some months now, the sudo package clears the environment, so you can't use variables from the environment in debian/rules anymore. PWD is such as environment variable; the common solution to this (common ;-) problem is to use CURDIR instead, which is a make var, not an env var. I'm pretty confident the attached patch will solve the issue, but it'd be great if you can test yourself, by reproducing the problem first, and applying the patch afterwards. BTW, please use urgency=high for the following bluez-utils uploads that fix RC bugs. Thanks, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Listening to: Estopa - Exiliado en el lavabo --- rules~ 2006-07-22 07:09:20.0 +0200 +++ rules 2006-07-22 07:09:13.0 +0200 @@ -12,7 +12,7 @@ # FIXME test --enable-alsa # removed --enable-pcmcia --enable-dbus DEB_CONFIGURE_EXTRA_FLAGS := --disable-initscripts --enable-obex --enable-cups --enable-hid2hci --enable-bcm203x -DEB_DESTDIR := $(PWD)/debian/tmp +DEB_DESTDIR := $(CURDIR)/debian/tmp install/bluez-utils:: # modutils config file @@ -32,7 +32,7 @@ install -D -m 0644 debian/lintian-overrides \ $(DEB_DESTDIR)/usr/share/lintian/overrides/bluez-utils - install -m 0644 $(PWD)/hcid/passkey-agent $(DEB_DESTDIR)/usr/bin/passkey-agent + install -m 0644 $(CURDIR)/hcid/passkey-agent $(DEB_DESTDIR)/usr/bin/passkey-agent # have a sensible pin default, the upstream one 'BlueZ' # cannot be typed on a phone keypad! @@ -40,7 +40,7 @@ binary-install/bluez-pcmcia-support:: #chmod a+x $(DEB_DESTDIR)/etc/pcmcia/bluetooth - chmod a+x $(PWD)/debian/bluez-pcmcia-support/lib/udev/bluetooth.sh + chmod a+x $(CURDIR)/debian/bluez-pcmcia-support/lib/udev/bluetooth.sh install/bluez-bcm203x:: mkdir -p $(DEB_DESTDIR)/usr/lib/bluez-bcm203x ---End Message--- ---BeginMessage--- Source: bluez-utils Source-Version: 3.1-4 We believe that the bug you reported is fixed in the latest version of bluez-utils, which is due to be installed in the Debian FTP archive: bluetooth_3.1-4_all.deb to pool/main/b/bluez-utils/bluetooth_3.1-4_all.deb bluez-bcm203x_3.1-4_powerpc.deb to pool/contrib/b/bluez-utils/bluez-bcm203x_3.1-4_powerpc.deb bluez-cups_3.1-4_powerpc.deb to pool/main/b/bluez-utils/bluez-cups_3.1-4_powerpc.deb bluez-pcmcia-support_3.1-4_powerpc.deb to pool/main/b/bluez-utils/bluez-pcmcia-support_3.1-4_powerpc.deb bluez-utils_3.1-4.diff.gz to pool/main/b/bluez-utils/bluez-utils_3.1-4.diff.gz bluez-utils_3.1-4.dsc to pool/main/b/bluez-utils/bluez-utils_3.1-4.dsc bluez-utils_3.1-4_powerpc.deb to pool/main/b/bluez-utils/bluez-utils_3.1-4_powerpc.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. Filippo Giunchedi [EMAIL PROTECTED] (supplier of updated bluez-utils 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.7 Date: Sun, 20 Aug 2006 14:18:19 +0200 Source: bluez-utils Binary: bluez-pcmcia-support bluetooth bluez-bcm203x bluez-cups bluez-utils Architecture: source powerpc all Version: 3.1-4 Distribution: unstable Urgency: medium Maintainer: Debian Bluetooth Maintainers [EMAIL PROTECTED] Changed-By: Filippo Giunchedi [EMAIL PROTECTED] Description: bluetooth - Bluetooth stack utilities bluez-bcm203x - Firmware loader for Broadcom 203x based Bluetooth devices bluez-cups - Bluetooth printer driver for CUPS bluez-pcmcia-support - PCMCIA support files for BlueZ 2.0 Bluetooth tools bluez-utils - Bluetooth tools and daemons Closes: 379200 380283 380452 381582 382791 383188 383783 Changes:
Bug#379200: marked as done (bluez-utils: FTBFS because sudo clears the environment)
Your message dated Wed, 26 Jul 2006 04:17:09 -0700 with message-id [EMAIL PROTECTED] and subject line Bug#379200: fixed in bluez-utils 3.1-3 has caused the attached Bug report 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 I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) ---BeginMessage--- Package: bluez-utils Version: 3.1-2 Severity: serious Tags: patch Hello. Some of our autobuilders do use sudo instead of fakeroot to build the package. For some months now, the sudo package clears the environment, so you can't use variables from the environment in debian/rules anymore. PWD is such as environment variable; the common solution to this (common ;-) problem is to use CURDIR instead, which is a make var, not an env var. I'm pretty confident the attached patch will solve the issue, but it'd be great if you can test yourself, by reproducing the problem first, and applying the patch afterwards. BTW, please use urgency=high for the following bluez-utils uploads that fix RC bugs. Thanks, -- Adeodato Simó dato at net.com.org.es Debian Developer adeodato at debian.org Listening to: Estopa - Exiliado en el lavabo --- rules~ 2006-07-22 07:09:20.0 +0200 +++ rules 2006-07-22 07:09:13.0 +0200 @@ -12,7 +12,7 @@ # FIXME test --enable-alsa # removed --enable-pcmcia --enable-dbus DEB_CONFIGURE_EXTRA_FLAGS := --disable-initscripts --enable-obex --enable-cups --enable-hid2hci --enable-bcm203x -DEB_DESTDIR := $(PWD)/debian/tmp +DEB_DESTDIR := $(CURDIR)/debian/tmp install/bluez-utils:: # modutils config file @@ -32,7 +32,7 @@ install -D -m 0644 debian/lintian-overrides \ $(DEB_DESTDIR)/usr/share/lintian/overrides/bluez-utils - install -m 0644 $(PWD)/hcid/passkey-agent $(DEB_DESTDIR)/usr/bin/passkey-agent + install -m 0644 $(CURDIR)/hcid/passkey-agent $(DEB_DESTDIR)/usr/bin/passkey-agent # have a sensible pin default, the upstream one 'BlueZ' # cannot be typed on a phone keypad! @@ -40,7 +40,7 @@ binary-install/bluez-pcmcia-support:: #chmod a+x $(DEB_DESTDIR)/etc/pcmcia/bluetooth - chmod a+x $(PWD)/debian/bluez-pcmcia-support/lib/udev/bluetooth.sh + chmod a+x $(CURDIR)/debian/bluez-pcmcia-support/lib/udev/bluetooth.sh install/bluez-bcm203x:: mkdir -p $(DEB_DESTDIR)/usr/lib/bluez-bcm203x ---End Message--- ---BeginMessage--- Source: bluez-utils Source-Version: 3.1-3 We believe that the bug you reported is fixed in the latest version of bluez-utils, which is due to be installed in the Debian FTP archive: bluetooth_3.1-3_all.deb to pool/main/b/bluez-utils/bluetooth_3.1-3_all.deb bluez-bcm203x_3.1-3_powerpc.deb to pool/contrib/b/bluez-utils/bluez-bcm203x_3.1-3_powerpc.deb bluez-cups_3.1-3_powerpc.deb to pool/main/b/bluez-utils/bluez-cups_3.1-3_powerpc.deb bluez-pcmcia-support_3.1-3_powerpc.deb to pool/main/b/bluez-utils/bluez-pcmcia-support_3.1-3_powerpc.deb bluez-utils_3.1-3.diff.gz to pool/main/b/bluez-utils/bluez-utils_3.1-3.diff.gz bluez-utils_3.1-3.dsc to pool/main/b/bluez-utils/bluez-utils_3.1-3.dsc bluez-utils_3.1-3_powerpc.deb to pool/main/b/bluez-utils/bluez-utils_3.1-3_powerpc.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. Filippo Giunchedi [EMAIL PROTECTED] (supplier of updated bluez-utils 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.7 Date: Tue, 25 Jul 2006 12:05:58 +0200 Source: bluez-utils Binary: bluez-pcmcia-support bluetooth bluez-bcm203x bluez-cups bluez-utils Architecture: source powerpc all Version: 3.1-3 Distribution: unstable Urgency: low Maintainer: Debian Bluetooth Maintainers [EMAIL PROTECTED] Changed-By: Filippo Giunchedi [EMAIL PROTECTED] Description: bluetooth - Bluetooth stack utilities bluez-bcm203x - Firmware loader for Broadcom 203x based Bluetooth devices bluez-cups - Bluetooth printer driver for CUPS bluez-pcmcia-support - PCMCIA support files for BlueZ 2.0 Bluetooth tools bluez-utils - Bluetooth tools and daemons Closes: 378446 378836 379200 Changes: bluez-utils (3.1-3) unstable;