Your message dated Wed, 09 Feb 2011 19:11:49 +0000
with message-id <[email protected]>
and subject line Bug#611290: fixed in sudo 1.7.4p6-1
has caused the Debian Bug report #611290,
regarding Fix build problems on GNU/Hurd
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.)


-- 
611290: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=611290
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Subject: sudo-source: Does not build from source
Package: sudo
Version: 1.7.4p4-2
Severity: important
Tags: patch

This bug is also present in Version 1.7.4p4-6.

When building from source on GNU/Hurd the macro HAVE_GETUTID is defined
but not on GNU/Linux, making the Hurd build fail. The problem is that
<utmp.h> is included after the include of "compat.h" when HAVE_GETUTID
is defined. Moving the include higher up solves this problem, see the
inlined patch. 

cat fix_sudo_hurd_source_build.diff
--- boottime.c.orig     2011-01-27 19:10:11.000000000 +0100
+++ boottime.c  2011-01-27 19:11:49.000000000 +0100
@@ -47,6 +47,14 @@
 # include <sys/sysctl.h>
 #endif
 
+/* Must be included above "compat.h"!!  */
+#if defined(HAVE_GETUTXID)
+#include <utmpx.h>
+#elif defined(HAVE_GETUTID)
+#include <utmp.h>
+#else
+#endif
+
 #include "compat.h"
 #include "missing.h"
 
@@ -102,7 +110,6 @@
 
 #elif defined(HAVE_GETUTXID)
 
-#include <utmpx.h>
 int
 get_boottime(tv)
     struct timeval *tv;
@@ -121,7 +128,6 @@
 
 #elif defined(HAVE_GETUTID)
 
-#include <utmp.h>
 int
 get_boottime(tv)
     struct timeval *tv;


-- System Information:
Debian Release: 6.0
  APT prefers stable
  APT policy: (500, 'stable'), (100, 'testing'), (50, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages sudo depends on:
ii  libc6                         2.11.2-9   Embedded GNU C Library:
Shared lib
ii  libpam-modules                1.1.1-6.1  Pluggable Authentication
Modules f
ii  libpam0g                      1.1.1-6.1  Pluggable Authentication
Modules l

sudo recommends no packages.

sudo suggests no packages.

-- Configuration Files:
/etc/sudoers.d/README [Errno 13] Permission denied:
u'/etc/sudoers.d/README'

-- no debconf information






--- End Message ---
--- Begin Message ---
Source: sudo
Source-Version: 1.7.4p6-1

We believe that the bug you reported is fixed in the latest version of
sudo, which is due to be installed in the Debian FTP archive:

sudo-ldap_1.7.4p6-1_i386.deb
  to main/s/sudo/sudo-ldap_1.7.4p6-1_i386.deb
sudo_1.7.4p6-1.debian.tar.gz
  to main/s/sudo/sudo_1.7.4p6-1.debian.tar.gz
sudo_1.7.4p6-1.dsc
  to main/s/sudo/sudo_1.7.4p6-1.dsc
sudo_1.7.4p6-1_i386.deb
  to main/s/sudo/sudo_1.7.4p6-1_i386.deb
sudo_1.7.4p6.orig.tar.gz
  to main/s/sudo/sudo_1.7.4p6.orig.tar.gz



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.
Bdale Garbee <[email protected]> (supplier of updated sudo 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: SHA512

Format: 1.8
Date: Wed, 09 Feb 2011 11:32:58 -0700
Source: sudo
Binary: sudo sudo-ldap
Architecture: source i386
Version: 1.7.4p6-1
Distribution: unstable
Urgency: low
Maintainer: Bdale Garbee <[email protected]>
Changed-By: Bdale Garbee <[email protected]>
Description: 
 sudo       - Provide limited super user privileges to specific users
 sudo-ldap  - Provide limited super user privileges to specific users
Closes: 611287 611290
Changes: 
 sudo (1.7.4p6-1) unstable; urgency=low
 .
   * new upstream version
   * touch the right stamp name after configuring, closes: #611287
   * patch from Svante Signell to fix build problem on Hurd, closes: #611290
Checksums-Sha1: 
 f03c78e092aa76ce2e147304dab78df3ff5afacd 1755 sudo_1.7.4p6-1.dsc
 a306863b8bde9bfe2430ac1daaa6f45ccb842ed4 966234 sudo_1.7.4p6.orig.tar.gz
 ae8d9bb9f7c9d484a80fb81fc56fd389c2ad358f 23027 sudo_1.7.4p6-1.debian.tar.gz
 062746ce603adc761905c90c2a08c87739a778ee 403026 sudo_1.7.4p6-1_i386.deb
 c9d92d616ec40b6e6ad05268922afc5d1b643d3b 428374 sudo-ldap_1.7.4p6-1_i386.deb
Checksums-Sha256: 
 3c29aa3de5ce0da38afd0897ab7fdb6aa0955dff593d84824ac42261d916f841 1755 
sudo_1.7.4p6-1.dsc
 20091ef71018698c674c779f4b57178b2ecb4275fa34909b06219d2688ad14d5 966234 
sudo_1.7.4p6.orig.tar.gz
 6282be4b6426333bdc560dd94f46fa72414046de71fd989ace6d0d108d624d8c 23027 
sudo_1.7.4p6-1.debian.tar.gz
 4ed86c3b794565fbcb70e7a6116114b92b3976999543201ef8f310baba797589 403026 
sudo_1.7.4p6-1_i386.deb
 72ef83bae92fcc8b06beb6d45478393097dd0199848f0343d13c840a81c56aac 428374 
sudo-ldap_1.7.4p6-1_i386.deb
Files: 
 0300b662af8a1a953547197343a67827 1755 admin optional sudo_1.7.4p6-1.dsc
 1ae12d3d22e7ffedbf2db26f957676f0 966234 admin optional sudo_1.7.4p6.orig.tar.gz
 a59f1d855a00d71d577f365ecfbf3e14 23027 admin optional 
sudo_1.7.4p6-1.debian.tar.gz
 9178e052e01ff309adfef35cc77cf693 403026 admin optional sudo_1.7.4p6-1_i386.deb
 041d6f2c9f13c72359ba1623767b0f37 428374 admin optional 
sudo-ldap_1.7.4p6-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIVAwUBTVLhXzqTYZbAldlBAQrfmw/+LKbWg6vhY/TUHzNm/FTTYG+yBnXhgzz5
7sM8nimQWCGh6BowZ6s3J136fLqvXx+7W+yynuWC2nVbyWBpGbdxcEr+Aft+QcYM
GFCAjt86rcYQi9+XFCr11lbPrZID46D3/fEkL6V22B3s1FpMrOBh5F2EOHF/S7pz
cN/oXgS4SWHoSZS5p/cTztTQSBqskRru2wYnsK2axWeZjsh3AgvtMx9VqOY/LEfV
Dryy+WsgoBH+Q9Xbx0ijKgCgJEXnxsh8fKGVWgXxVCTFPxjRTbjC/l/0QZa5s/MV
iHc+gDiVnSFW79qTlQ7t5RLT1RyIol4fcl5UtsjwPlIawgMyal6mPHZnjwCn+wJT
idOrZMblaR+02lsA0L4kW88MqxvExYXsrtJjNqDxXk4xUaJdUuU+Mr00IMSeFFLy
S9CMAZAHoKS4MoJ0bYU/4QBiKhi2EpugGsCrh5GRvrKAycQUwLSN6SSwSw4tMqgA
DMZqh+QgzY/gAmz9wusyXKbdAaubXzf1OU2Nk5XGl/1jSYEQiTbnr1tBigkossf+
3GhJ6zuMU9U1rRecxe7edeBaHbQrXeZafJNufrmS+rIgy/AbE2TlYYcezHiXf41u
XAEsWRvHGdonqBg8oL3qdyuQZk+zfvguVGEz64bR63PGFcW21yilZmfPekprcxSx
D18BVMpFX74=
=9alE
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to