Bug#160846: marked as done ([patch] fcntl64 support for hppa-linux)
Your message dated Thu, 17 Oct 2002 10:32:42 -0400
with message-id <E182Bha-0006Sv-00@auric.debian.org>
and subject line Bug#160846: fixed in glibc 2.3.1-1
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)
--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Sep 2002 05:35:42 +0000
>From randolph@tausq.org Sat Sep 14 00:35:42 2002
Return-path: <randolph@tausq.org>
Received: from gandalf.tausq.org (pippin.tausq.org) [64.81.244.94]
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 17q5an-0008SX-00; Sat, 14 Sep 2002 00:35:41 -0500
Received: by pippin.tausq.org (Postfix, from userid 1000)
id A80B0CD824; Fri, 13 Sep 2002 22:39:39 -0700 (PDT)
Date: Fri, 13 Sep 2002 22:39:39 -0700
From: Randolph Chung <tausq@debian.org>
To: submit@bugs.debian.org
Subject: [patch] fcntl64 support for hppa-linux
Message-ID: <20020914053939.GA30022@tausq.org>
Reply-To: Randolph Chung <tausq@debian.org>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
X-PGP: for PGP key, see http://www.tausq.org/pgp.txt
X-GPG: for GPG key, see http://www.tausq.org/gpg.txt
Delivered-To: submit@bugs.debian.org
Package: glibc
Version: 2.2.5-14.2 and 2.2.93
Tags: patch
This patch fixes LFS support for hppa for the fcntl() syscall. Tested
with 2.2.93 build, but should also work with 2.2.5-series glibc source.
I built apt and samba with the new glibc to test it. Seems to work.
Not yet submitted upstream, again I'll let Carlos do that :-)
Jeff/Gotom, can you add this patch to glibc-package cvs?
thanks,
randolph
--
Randolph Chung
Debian GNU/Linux Developer, hppa/ia64 ports
http://www.tausq.org/
#! /bin/sh -e
# DP: Description: PA-RISC fcntl LFS support
# DP: Author: Randolph Chung <tausq@debian.org>
# DP: Upstream Status: Not submitted
# DP: Tue, 10 Sep 2002 21:07:29 -0700
if [ $# -ne 2 ]; then
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
fi
case "$1" in
-patch) patch -d "$2" -f --no-backup-if-mismatch -p1 < $0;;
-unpatch) patch -d "$2" -f --no-backup-if-mismatch -R -p1 < $0;;
*)
echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
exit 1
esac
exit 0
# append the patch here and adjust the -p? flag in the patch calls.
--- glibc/sysdeps/unix/sysv/linux/hppa/fcntl.c 2002-09-10 20:58:07.000000000 -0700
+++ glibc/sysdeps/unix/sysv/linux/hppa/fcntl.c 2002-09-10 20:58:07.000000000 -0700
@@ -0,0 +1 @@
+#include <sysdeps/unix/sysv/linux/i386/fcntl.c>
--- glibc/sysdeps/unix/sysv/linux/hppa/h/fcntl.h.orig 2002-09-12 10:31:56.000000000 -0700
+++ glibc/sysdeps/unix/sysv/linux/hppa/h/fcntl.h 2002-09-12 23:43:14.000000000 -0700
@@ -63,9 +63,15 @@
#define F_SETFD 2 /* Set file descriptor flags. */
#define F_GETFL 3 /* Get file status flags. */
#define F_SETFL 4 /* Set file status flags. */
+#ifndef __USE_FILE_OFFSET64
#define F_GETLK 5 /* Get record locking info. */
#define F_SETLK 6 /* Set record locking info (non-blocking). */
#define F_SETLKW 7 /* Set record locking info (blocking). */
+#else
+#define F_GETLK F_GETLK64 /* Get record locking info. */
+#define F_SETLK F_SETLK64 /* Set record locking info (non-blocking). */
+#define F_SETLKW F_SETLKW64 /* Set record locking info (blocking). */
+#endif
#define F_GETLK64 8 /* Get record locking info. */
#define F_SETLK64 9 /* Set record locking info (non-blocking). */
---------------------------------------
Received: (at 160846-close) by bugs.debian.org; 17 Oct 2002 14:39:15 +0000
>From katie@auric.debian.org Thu Oct 17 09:39:15 2002
Return-path: <katie@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
by master.debian.org with esmtp (Exim 3.12 1 (Debian))
id 182Bnu-0003B2-00; Thu, 17 Oct 2002 09:39:14 -0500
Received: from katie by auric.debian.org with local (Exim 3.35 1 (Debian))
id 182Bha-0006Sv-00; Thu, 17 Oct 2002 10:32:42 -0400
From: Jeff Bailey <jbailey@nisa.net>
To: 160846-close@bugs.debian.org
X-Katie: $Revision: 1.26 $
Subject: Bug#160846: fixed in glibc 2.3.1-1
Message-Id: <E182Bha-0006Sv-00@auric.debian.org>
Sender: Archive Administrator <katie@auric.debian.org>
Date: Thu, 17 Oct 2002 10:32:42 -0400
Delivered-To: 160846-close@bugs.debian.org
X-Spam-Status: No, hits=-0.3 required=5.0
tests=LARGE_COLLECTION,PGP_SIGNATURE,SPAM_PHRASE_00_01,
SUPERLONG_LINE
version=2.41
X-Spam-Level:
We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive:
glibc-doc_2.3.1-1_all.deb
to pool/main/g/glibc/glibc-doc_2.3.1-1_all.deb
glibc_2.3.1-1.dsc
to pool/main/g/glibc/glibc_2.3.1-1.dsc
glibc_2.3.1-1.tar.gz
to pool/main/g/glibc/glibc_2.3.1-1.tar.gz
libc6-dbg_2.3.1-1_i386.deb
to pool/main/g/glibc/libc6-dbg_2.3.1-1_i386.deb
libc6-dev_2.3.1-1_i386.deb
to pool/main/g/glibc/libc6-dev_2.3.1-1_i386.deb
libc6-pic_2.3.1-1_i386.deb
to pool/main/g/glibc/libc6-pic_2.3.1-1_i386.deb
libc6-prof_2.3.1-1_i386.deb
to pool/main/g/glibc/libc6-prof_2.3.1-1_i386.deb
libc6_2.3.1-1_i386.deb
to pool/main/g/glibc/libc6_2.3.1-1_i386.deb
locales_2.3.1-1_all.deb
to pool/main/g/glibc/locales_2.3.1-1_all.deb
nscd_2.3.1-1_i386.deb
to pool/main/g/glibc/nscd_2.3.1-1_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 160846@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Jeff Bailey <jbailey@nisa.net> (supplier of updated glibc 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 ftpmaster@debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Thu, 17 Oct 2002 08:37:52 -0400
Source: glibc
Binary: libc6.1-prof libc1 libc0.3-pic locales glibc-doc libc6-pic libc1-prof libc0.3 libc0.3-dbg libc6.1-dev libc1-pic libc6-prof libc1-dbg libc6-dev-sparc64 libc6 libc0.3-dev libc6-dbg nscd libc6.1-dbg libc6.1-pic libc6-sparc64 libc6-dev libc0.3-prof libc6.1 libc1-dev
Architecture: source i386 all
Version: 2.3.1-1
Distribution: unstable
Urgency: low
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Jeff Bailey <jbailey@nisa.net>
Description:
glibc-doc - GNU C Library: Documentation
libc6 - GNU C Library: Shared libraries and Timezone data
libc6-dbg - GNU C Library: Libraries with debugging symbols
libc6-dev - GNU C Library: Development Libraries and Header Files.
libc6-pic - GNU C Library: PIC archive library
libc6-prof - GNU C Library: Profiling Libraries.
locales - GNU C Library: National Language (locale) data [support]
nscd - GNU C Library: Name Service Cache Daemon
Closes: 155606 155904 156821 157374 159417 160846
Changes:
glibc (2.3.1-1) unstable; urgency=low
.
* This is the "twilight" release...
.
* Jeff Bailey <jbailey@nisa.net>
- Upgrade tarballs to 2.3.1
- version: Update to 2.3.1
.
- debian/sysdeps/linux.mk: Do not build optimized libraries
- debian/rules.d/control.mk: Likewise
.
- debian/control.in/main: Require binutils 2.13.90.0.10-1 for ppc
.
- debian/patches/elf-machine-rela-mips.dpatch: New file
- debian/patches/0list: Update accordingly.
.
- debian/rules: Use -O on i386. This should go somewhere else,
but I want to get this release out.
.
* XXX Below here was during the 2.3 development, and never released.
.
* Jeff Bailey <jbailey@nisa.net>
- Upgrade tarballs to 2.3
- version: Update to 2.3
.
- debian/patches/hppa-data-start.dpatch: Remove, incorporated upstream
- debian/patches/various-lsb-fixes.dpatch: Remove, incorporated upstream
.
- debian/patches/0list: adjust accordingly
Also, prune ia64-reloc-none from the list.
I can't tell from the code snippet if this
has been incorporated or not.
.
- .cvsignore: Add the stamp directories
.
- debian/rules: Don't put CFLAGS in configparms, resolves ldconfig
miscompile on i386
.
- debian/rules: Add freebsd-i386 support
- debian/rules.d/control.mk: Add freebsd-i386 support
- debian/sysdeps/freebsd.mk: New file to add freebsd-i386 support
- debian/sysdeps/paths.mk: Add freebsd-i386 support
- debian/sysdeps/soname.mk: Add freebsd-i386 support
.
* XXX Below here was during the 2.2.94 development, and never released.
.
* Jeff Bailey <jbailey@nisa.net>
- Upgrade tarballs to 2.2.94
- version: Update to 2.2.94
.
- debian/patches/cvs: Remove
- debian/patches/manual-texinfo4: Remove, incorporated upstream.
- debian/patches/i386-mathinline.dpatch: Remove, glibc headers require
ANSI compilers.
- debian/patches/db1-addon-enabler.dpatch: Remove
- debian/patches/0list: adjust accordingly
.
- debian/patches/0list: Comment out string2-pointer-arith.
This was originally created to fix #44697, but without this
patch, 44697 is no longer reproducable.
.
- debian/patches/fhs-linux-paths.dpatch: Update to new template format
.
- .cvsignore: New file
.
* XXX Below here was during the 2.2.93 development, and never released.
.
* Jeff Bailey <jbailey@nisa.net>
- Upgrade tarballs to 2.2.93
- version: Update to 2.2.93
.
The following important patches are still disabled:
.
glibc22-hppa-pthreads, glibc22-hppa-rela, ia64-perf
.
- debian/patches/0list: prune commented out patches that won't
be needed anymore
.
- debian/patches/ia64-reloc-none.dpatch: Updated, thank to
Randolph Chung <randolph@tausq.org>
.
- debian/make-cvs-patch.sh: New file.
.
- debian/patches/template.dpatch: Update headers to new format.
.
- debian/patches/hurd-ioperms.dpatch - Deleted
- debian/patches/hurd-lfs64.dpatch - Deleted
- debian/patches/hurd-update.dpatch - Deleted
- debian/patches/syserrlist.dpatch - Deleted
.
- debian/README - More updates
.
- debian/rules.d/control.mk: debian/control should Depend on
debian/sysdeps/depflags.pl
.
- debian/sysdeps/depflags.pl: Actually add the dependancy on
libdb1-compat. This is an update to GOTO Masanori's change,
Thanks to Ryan Murray for catching this.
.
- debian/patches/mathpatch.dpatch: Prune
.
- debian/rules.d/patch.mk: Add `setup' as an alias for `patch'
to provide dbs compatability.
.
- debian/patches/cvs.dpatch: Sync with CVS from September 14th.
- debian/patches/0list: Updated
.
* GOTO Masanori <gotom@debian.or.jp>
- debian/packages.d/glibc-doc.mk: change texi2html processed file from
chapters.texi to libc.texinfo. Closes: #159417
- debian/packages.d/libc-{dbg,pic,prof}.mk: fix /usr/doc removal
compilation failure.
- debian/libc/DEBIAN/postinst: Fix 'grep -v' failure if the size of
/etc/ld.so.nohwcap is 0.
- debian/rules.d/control.mk: Generate libc-opt control information.
.
- Updating 2.2.9x fixes LSB 1.2 compliance. Closes: #156821
- debian/control: add Depends: libdb1-compat.
Until woody, libdb1 is included in libc6 package. However after sarge,
libdb1 support is removed. libdb1-compat contains libdb1 which is
formerly provided by libc6. Now libc6 depends on libdb1-compat,
so upgrading from woody to sarge does not break any libdb1 issues.
Closes: #155904
.
- debian/patches/glibc22-hppa-fcntl.dpatch: added, patched by
Carlos O'Donell <carlos@baldric.uwo.ca>.
- debian/patches/glibc22-hppa-fcntl-lfs.dpatch: added, patched by
Randolph Chung <tausq@debian.org>. Closes: #160846
.
* Ben Collins <bcollins@debian.org>
- Make sparc64 build use gcc-3.2.
- Update all config options to not use --disable-sanity-checks, since we
are actually using gcc-3.2 for everything.
- Patch cleanups.
- Re-enable optimized libs. Includes a simple mechanism which should fix
the conflicting symbols during libc/libc-opt upgrade scenarios. This
means that libc6-v9, libc6-i586 and libc6-i686 are back in full swing.
- Remove all references to /usr/doc symlink crap, which is deprecated.
.
* XXX Below here was during the 2.2.92 development, and never released.
.
* Jeff Bailey <jbailey@nisa.net>
- Upgrade tarballs to 2.2.92
- version: Update to 2.2.92
- debian/control.in/main: Require gcc-3.2 for all archs
- debian/patches/0list: prune glibc-cvs, glibc22-s390-resource,
gmon-start, locales-de_CH, sh-sysdep, alpha-build-failure
.
These are already included in the 2.3 series.
.
- debian/patches/glibc22-misc.dpatch: Split into ...
debian/patches/makeconfig.dpatch: ... this
debian/patches/locale-es_AR.dpatch: ... and this
debian/patches/i386-mathinline.dpatch: ... and this
debian/patches/ldconfig.dpatch: ... and this.
.
- debian/patches/makeconfig.dpatch: Update for 2.3 series
.
- debian/patches/0list: Temporarily disable some other patches:
.
glibc22-hppa-pthreads, glibc22-hppa-rela, ia64-perf
.
- debian/rules: memset.S works on ppc now, so stop deleting it. Thanks
to Jack Howarth <howarth@fuse.net> for letting us know.
.
- debian/sysdeps/gnu.mk: Remove --enable-libio, now set by default. Add
NO_TEST = yes, make check does not run on i386-gnu.
.
- debian/sysdeps/tools.mk: Hardcode gcc-3.2 for $(CC) and $(BUILD_CC)
until gcc-defaults switches.
.
- debian/rules: use CC=$(CC) when calling configure to get any changed
definitions.
.
- debian/control.in/main: Require binutils (>= 2.13.90.0.4-1)
.
- debian/rules: Add time/date stamps to beginning and end of log files
.
- db1-addon-2.1.3.tar.bz2: Delete
.
- debian/ppc-memset.S: Delete
.
- debian/README: Update
.
* GOTO Masanori <gotom@debian.or.jp>
- debian/packages.d/libc-dbg.mk: update libpthread-0.9 -> 0.10.
- packages.d/libc.mk: likewise.
- packages.d/optimized.mk: likewise.
- packages.d/sparc64.mk: likewise.
.
- debian/patches/glibc22-hppa-mcontext.dpatch: Fix unmatched userland
mcontext_t definition differed from kernel. Patched by
Carlos O'Donell <carlos@baldric.uwo.ca>. Closes: #157374
.
* XXX Below here was during the 2.2.5 development, and never released.
.
* GOTO Masanori <gotom@debian.or.jp>
- debian/patches/glibc-cvs.dpatch: Update from Glibc CVS.
- debian/patches: Dropped applying below patches due to updating
glibc-cvs.dpatch.
hurd-update, hurd-ioperms, ia64-strncpy, sparc-misc, resolv-nss_dns,
glibc-openoffice-fixes, xdr-array-security, hurd-lfs64,
syserrlist, mathpatch
- Fix gcc 3.1/3.2 compatibility building for glibc on ppc, with upstream
patched by Jack Howarth <howarth@bromo.msbb.uc.edu> and
Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
Closes: #155606
Files:
d80e03a24af6c9d097f29c223e09960e 1369 libs required glibc_2.3.1-1.dsc
37bcd63e087a81255da9d481587bad13 13090602 libs required glibc_2.3.1-1.tar.gz
a2a9a66f30c12c3bef286fb0b7e9bf80 3180600 base required libc6_2.3.1-1_i386.deb
dfebb37ef482678a1ca706d946928187 2385922 devel standard libc6-dev_2.3.1-1_i386.deb
642a442c5f78244b561efaa4ea8112e0 890174 devel extra libc6-prof_2.3.1-1_i386.deb
22351c20c64e14aa5a32f8960eab48b4 860098 devel extra libc6-dbg_2.3.1-1_i386.deb
57fa2ef7d1b2f45e24e4c91fae2cecc2 821588 devel optional libc6-pic_2.3.1-1_i386.deb
e36900fcae8f4b0c05bf41f934c8ebbe 61364 admin optional nscd_2.3.1-1_i386.deb
e8b4f84aab9fda4ff25e323441f7bf04 3684254 base standard locales_2.3.1-1_all.deb
f0dcb2e53946f375d32e9a583e8c2da9 2953208 doc optional glibc-doc_2.3.1-1_all.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
iD8DBQE9rsA95M5hmdCYCpkRAqkJAKCuKdo9gdpXs3kAy3iaVbiJ3IQAdgCfcjyb
vekJXmckVMqf4uJ0xt9Le9I=
=T+iO
-----END PGP SIGNATURE-----
Reply to: