Your message dated Sat, 05 Apr 2008 06:47:50 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#392779: fixed in liblockfile 1.07-1
has caused the Debian Bug report #392779,
regarding FTBFS: conflicting types for 'eaccess'
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.)


-- 
392779: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=392779
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: liblockfile
Version: 1.06.1
Severity: normal

liblockfile fails to build with glibc 2.4 (as used on Ubuntu), because
glibc 2.4 added an eaccess declaration to unistd.h which clashes with
liblockfile's own (completely different) function. A patch to rename
liblockfile's function to eaccess_write is attached. It doesn't affect
liblockfile's shared library ABI.

  https://launchpad.net/distros/ubuntu/+source/liblockfile/+bug/65837

Thanks,

-- 
Colin Watson                                       [EMAIL PROTECTED]
diff -Nru /tmp/SQHNGoUibB/liblockfile-1.06.1/dotlockfile.c 
/tmp/dgTpoXM4jc/liblockfile-1.06.1ubuntu1/dotlockfile.c
--- /tmp/SQHNGoUibB/liblockfile-1.06.1/dotlockfile.c    2003-05-15 
13:08:28.000000000 +0100
+++ /tmp/dgTpoXM4jc/liblockfile-1.06.1ubuntu1/dotlockfile.c     2006-10-13 
14:10:08.000000000 +0100
@@ -42,7 +42,7 @@
 extern int optind;
 #endif
 
-extern int eaccess(char *, gid_t, struct stat *);
+extern int eaccess_write(char *, gid_t, struct stat *);
 
 /*
  *     Sleep for an amout of time while regulary checking if
@@ -252,14 +252,14 @@
                return L_ERROR;
        }
        gid = getgid();
-       if (eaccess(dir, gid, &st) < 0) {
+       if (eaccess_write(dir, gid, &st) < 0) {
                if (errno == ENOENT) {
 enoent:
                        if (!quiet) fprintf(stderr,
                                "dotlockfile: %s: no such directory\n", dir);
                        return L_TMPLOCK;
                }
-               if ((r = eaccess(dir, getegid(), &st) < 0) && errno == ENOENT)
+               if ((r = eaccess_write(dir, getegid(), &st) < 0) && errno == 
ENOENT)
                        goto enoent;
                if (r < 0 || !ismaillock(lockfile, pwd->pw_name)) {
                        if (!quiet) fprintf(stderr,
@@ -272,7 +272,7 @@
        /*
         *      Now we should be able to chdir() to the lock directory.
         *      When we stat("."), it should be the same as at the
-        *      eaccess() check or someone played symlink() games on us.
+        *      eaccess_write() check or someone played symlink() games on us.
         */
        if (chdir(dir) < 0 || stat(".", &st2) < 0) {
                if (!quiet) fprintf(stderr,
diff -Nru /tmp/SQHNGoUibB/liblockfile-1.06.1/lockfile.c 
/tmp/dgTpoXM4jc/liblockfile-1.06.1ubuntu1/lockfile.c
--- /tmp/SQHNGoUibB/liblockfile-1.06.1/lockfile.c       2004-06-04 
16:14:21.000000000 +0100
+++ /tmp/dgTpoXM4jc/liblockfile-1.06.1ubuntu1/lockfile.c        2006-10-13 
14:09:24.000000000 +0100
@@ -54,7 +54,7 @@
 #ifdef LIB
 static
 #endif
-int eaccess(char *fn, gid_t gid, struct stat *st)
+int eaccess_write(char *fn, gid_t gid, struct stat *st)
 {
        struct stat     tmp;
        uid_t           uid = geteuid();
@@ -96,7 +96,7 @@
                *p = 0;
        else
                strcpy(dir, ".");
-       if (eaccess(dir, egid, NULL) >= 0) {
+       if (eaccess_write(dir, egid, NULL) >= 0) {
                free(dir);
                return 0;
        }
@@ -111,7 +111,7 @@
                        return 0;
                mailgid = st.st_gid;
        }
-       ret = eaccess(dir, mailgid, NULL) >= 0;
+       ret = eaccess_write(dir, mailgid, NULL) >= 0;
        free (dir);
        return ret;
 }

--- End Message ---
--- Begin Message ---
Source: liblockfile
Source-Version: 1.07-1

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

liblockfile-dev_1.07-1_mips.deb
  to pool/main/libl/liblockfile/liblockfile-dev_1.07-1_mips.deb
liblockfile1_1.07-1_mips.deb
  to pool/main/libl/liblockfile/liblockfile1_1.07-1_mips.deb
liblockfile_1.07-1.diff.gz
  to pool/main/libl/liblockfile/liblockfile_1.07-1.diff.gz
liblockfile_1.07-1.dsc
  to pool/main/libl/liblockfile/liblockfile_1.07-1.dsc
liblockfile_1.07.orig.tar.gz
  to pool/main/libl/liblockfile/liblockfile_1.07.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.
Anibal Monsalve Salazar <[EMAIL PROTECTED]> (supplier of updated liblockfile 
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: Sat, 05 Apr 2008 12:14:10 +1000
Source: liblockfile
Binary: liblockfile1 liblockfile-dev
Architecture: source mips
Version: 1.07-1
Distribution: unstable
Urgency: low
Maintainer: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Changed-By: Anibal Monsalve Salazar <[EMAIL PROTECTED]>
Description: 
 liblockfile-dev - Development library for liblockfile
 liblockfile1 - NFS-safe locking library, includes dotlockfile program
Closes: 322790 339498 376409 392779 416271 465090
Changes: 
 liblockfile (1.07-1) unstable; urgency=low
 .
   * New maintainer. Closes: #465090
   * ACKed NMUs. Closes: #392779, #322790
   * Fixed "liblockfile1: fails to call ldconfig". Closes: #376409
   * Fixed "liblockfile-dev: upgrade from sarge + purge leaves
     /usr/share/doc/liblockfile1/liblockfile-dev". Closes: #339498
   * Fixed "liblockfile1: option -u is duplicated". Closes: #416271
   * This package is non-native
   * Bumped Standards-Version to 3.7.3
   * liblockfile1: priority is standard
   * liblockfile-dev: section is libdevel
   * Fixed the following lintian message:
     - liblockfile source: substvar-source-version-is-deprecated liblockfile-dev
     - liblockfile-dev: dev-package-should-be-section-libdevel liblockfile-dev
     - liblockfile1: postinst-must-call-ldconfig usr/lib/liblockfile.so.1.0
     - liblockfile-dev: description-synopsis-might-not-be-phrased-properly
     - liblockfile1: debian-changelog-file-missing-or-wrong-name
     - liblockfile-dev: debian-changelog-file-missing-or-wrong-name
Files: 
 c8a9c46d08dec3c5f360c2e06c646bb6 565 devel standard liblockfile_1.07-1.dsc
 8e35d413e301d0c4cf3751e89df22445 27829 devel standard 
liblockfile_1.07.orig.tar.gz
 b219a3342f7fa6f94fac691bf9170705 4753 devel standard liblockfile_1.07-1.diff.gz
 c8b99744b465acde19040e69aa3f4197 15388 libs standard 
liblockfile1_1.07-1_mips.deb
 9a19108d01c767422a76acbf59e7a956 19590 libdevel optional 
liblockfile-dev_1.07-1_mips.deb

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

iD8DBQFH9x5JgY5NIXPNpFURAtgwAJ9TjXLC17o6Z59LMm7N59/or9vfWACgh9cK
SkYFS6kbYmaprabL61u+YW8=
=4RC3
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to