NetBSD Problem Report #39129

From www@NetBSD.org  Fri Jul 11 11:30:36 2008
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [204.152.190.11])
	by narn.NetBSD.org (Postfix) with ESMTP id 63DE263BCA3
	for <gnats-bugs@gnats.netbsd.org>; Fri, 11 Jul 2008 11:30:36 +0000 (UTC)
Message-Id: <20080711113036.094C363B9AA@narn.NetBSD.org>
Date: Fri, 11 Jul 2008 11:30:36 +0000 (UTC)
From: srcshelton@gmail.com
Reply-To: srcshelton@gmail.com
To: gnats-bugs@NetBSD.org
Subject: devel/scmcvs does not work correctly on IRIX
X-Send-Pr-Version: www-1.0

>Number:         39129
>Category:       pkg
>Synopsis:       devel/scmcvs does not work correctly on IRIX
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    irix-pkg-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Jul 11 11:35:00 +0000 2008
>Last-Modified:  Tue Jul 15 14:40:36 +0000 2008
>Originator:     Stuart Shelton
>Release:        pkgsrc latest from CVS
>Organization:
>Environment:
IRIX 6.5.30f; MIPSpro Compilers: Version 7.4.4m
>Description:

CVS (from scmcvs) builds correctly and appears to pass its test-suite (although this doesn't appear to actually perform any tests...).  However, when I use it to try to sync pkgsrc I always get:

netbsd@fuel ~ # cd /usr/bsd/src && CVSROOT="anoncvs@anoncvs.netbsd.org:/cvsroot" CVS_RSH="ssh" /usr/bsd/bin/cvs update -dP
? BUILDING
? INDEX
? Makefile.inc
? PKGDB
? UPDATING
cvs update: Updating .
cvs update: Updating archivers
cvs update: Updating archivers/9e
<...>
cvs update: Updating archivers/unshield/patches
cvs update: Updating archivers/unzip
cvs [update aborted]: cannot open file Makefile for comparing: Permission denied


... whilst with another CVS, it works correctly:

<...>

cvs update: Updating archivers/unshield/patches
cvs update: Updating archivers/unzip
M archivers/unzip/Makefile
cvs update: Updating archivers/unzip/files
cvs update: Updating archivers/unzip/patches

... so something happened there, but the pkgsrc cvs didn't like it.

To be clear, every file & directory (named Makefile or otherwise) are all owned by the same user and have full permissions for that user:

netbsd@fuel ~ # find /usr/bsd/src/ -name Makefile -exec ls -l {} \; | cut -d" " -f 1,3-4 | sort | uniq
-rw-rw-r-- netbsd netbsd

>How-To-Repeat:

After the above, running pkgsrc cvs again results in:

<...>
cvs update: Updating archivers/unshield/patches
cvs update: Updating archivers/unzip
cvs [update aborted]: cannot open file Makefile for comparing: Permission denied

... this file is (presumably):

netbsd@fuel ~ # ls -l archivers/unzip/Makefile
-rw-r--r-- 1 netbsd netbsd 1.6K 2008-03-24 05:07 archivers/unzip/Makefile

netbsd@fuel ~ # cat archivers/unzip/Makefile
# $NetBSD: Makefile,v 1.69 2008/03/23 13:05:31 tron Exp $

DISTNAME=       unzip552
PKGNAME=        unzip-5.52
PKGREVISION=    4
CATEGORIES=     archivers
MASTER_SITES=   ftp://ftp.info-zip.org/pub/infozip/src/
EXTRACT_SUFX=   .tgz

MAINTAINER=     wiz@NetBSD.org
HOMEPAGE=       http://www.info-zip.org/pub/infozip/UnZip.html
COMMENT=        List, test and extract compressed files in a ZIP archive

PKG_INSTALLATION_TYPES= overwrite pkgviews
PKG_DESTDIR_SUPPORT=    user-destdir

DIST_SUBDIR=    ${PKGNAME_NOREV}        # Remove on next update.
WRKSRC=         ${WRKDIR}/${PKGNAME_NOREV}
USE_TOOLS+=     gmake

.include "../../mk/bsd.prefs.mk"

MAKE_FILE=      unix/Makefile
BUILD_TARGET=   generic_zlib unzipsfx
.if ${OPSYS:M*BSD} != "" || ${OPSYS} == "Darwin"
CFLAGS+=        -DBSD
.endif
CFLAGS+=        -I. -DUNIX -Dunix -DUSE_UNSHRINK
MAKE_FLAGS+=    CF=${CPPFLAGS:Q}\ ${CFLAGS:Q}
MAKE_FLAGS+=    LF2=${_STRIPFLAG_CC:Q}\ ${LDFLAGS:Q}\ -lz

#LDFLAGS.IRIX+= -lmp

INSTALLATION_DIRS=      bin ${PKGMANDIR}/man1 share/doc

TEST_TARGET=    check

do-install:
        cd ${WRKSRC} && ${INSTALL_PROGRAM} unzip funzip unzipsfx ${DESTDIR}${PREFIX}/bin
        ${LN} -sf unzip ${DESTDIR}${PREFIX}/bin/zipinfo
        cd ${WRKSRC}/unix && ${INSTALL_SCRIPT} zipgrep ${DESTDIR}${PREFIX}/bin
        cd ${WRKSRC}/man && ${INSTALL_MAN} funzip.1 unzip.1 unzipsfx.1 \
                zipgrep.1 zipinfo.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
        ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/unzip
        cd ${WRKSRC} && ${INSTALL_DATA} BUGS LICENSE README WHERE \
                ${DESTDIR}${PREFIX}/share/doc/unzip
        cd ${WRKSRC} && ${INSTALL_DATA} COPYING.OLD \
                ${DESTDIR}${PREFIX}/share/doc/unzip/COPYING

.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"

... so this error is definitely spurious.
>Fix:

After deleting archivers/unzip/Makefile, pkgsrc cvs can continue... but then breaks on audio/gqmpeg/Makefile, then audio/gqmpeg-devel/Makefile, then audio/libao/Makefile.common...

All of these files do exist, but are readable and writeable by the user running cvs - and so far the problem only seems to occur with Makefiles rather any of the other files within the package directories.

Very strange...

(The working cvs is 1.11.20, the broken pkgsrc cvs is 1.11.22)

>Release-Note:

>Audit-Trail:
From: Tobias Nygren <tnn@NetBSD.org>
To: gnats-bugs@NetBSD.org
Cc: 
Subject: Re: pkg/39129: devel/scmcvs does not work correctly on IRIX
Date: Fri, 11 Jul 2008 14:07:55 +0200

 It sounds like an ACL problem to me. Try a clean checkout on a
 known OK filesystem. Also make sure the umask is sane.
 The error described can only happen if open(2) returns EACCES which
 sounds unlikely to be a CVS issue.
 (At least I haven't had any similar problem with devel/scmcvs on IRIX.)

From: "Stuart Shelton" <srcshelton@gmail.com>
To: gnats-bugs@netbsd.org
Cc: pkg-manager@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org
Subject: Re: pkg/39129: devel/scmcvs does not work correctly on IRIX
Date: Fri, 11 Jul 2008 15:50:56 +0100

 That was my initial thought - but another totally separate (IRIX)
 system is having identical problems with identical files(!)

 I've also checked the filesystem, and there are no ACLs anywhere
 within the pkgsrc tree on either machine...

 It's obscure for certain, but I'm convinced that this is a CVS problem...


 The 'par' output contains:

 278651mS[  0]             cvs(2669024): chdir("/usr/bsd/src") OK
 278651mS[  0]             cvs(2669024): chdir("archivers/unzip") OK
 278651mS[  0]             cvs(2669024): stat("CVS", 0x7ffb7be0) OK
 278651mS[  0]             cvs(2669024): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 278651mS[  0]             cvs(2669024): open("CVS/Entries", O_RDONLY, 0666) = 4
 278652mS[  0]             cvs(2669024): fstat(4, 0x7ffb7970) OK
 278652mS[  0]             cvs(2669024): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 278652mS[  0]             cvs(2669024): read(4, 0x10496c58, 4096)
 278657mS[  0]             cvs(2669024): END-read(4,
 "D/patches////\n/DESCR/1.3/Mon May 23 08:12:43 2005//\n/PLIST/1.2/Mon
 Jan  5 11:42:20 2004//\n/Makefile/1.69/Result of
 merge//\n/distinfo/1.18/Mon Mar 24 05:10:53 2008//\n", 4096) = 165
 278657mS[  0]             cvs(2669024): read(4, 0x10496c58, 4096) = 0
 278657mS[  0]             cvs(2669024): close(4) OK
 278657mS[  0]             cvs(2669024): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 278657mS[  0]             cvs(2669024): unlink("CVS/Entries.Static")
 errno = 2 (No such file or directory)
 278657mS[  0]             cvs(2669024): access("CVS/Entries.Log", 0)
 errno = 2 (No such file or directory)
 278657mS[  0]             cvs(2669024): write(2, "cvs update: Updating
 archivers/unzip", 36) = 36
 278658mS[  0]             cvs(2669024): write(2, "\n", 1) = 1
 278658mS[  0]             cvs(2669024): write(2, "cvs [update
 aborted]: cannot open file Makefile for comparing: Permission denied",
 80) = 80
 278658mS[  0]             cvs(2669024): write(2, "\n", 1) = 1

 ... so it does appear to be failing incorrectly.

 The contents of /usr/bsd/src/archivers/unzip are:

 netbsd@octane ~ # ls -lAR /usr/bsd/src/archivers/unzip/
 /usr/bsd/src/archivers/unzip/:
 total 32K
 -rw-r--r-- 1 netbsd netbsd 1.5K 2006-08-27 23:59 .#Makefile.1.64
 -rw-r--r-- 1 netbsd netbsd 1.5K 2006-09-09 05:08 .#Makefile.1.65
 -rw-r--r-- 1 netbsd netbsd 1.6K 2006-11-04 05:08 .#Makefile.1.67
 -rw-r--r-- 1 netbsd netbsd 1.6K 2007-06-05 18:09 .#Makefile.1.68
 drwxr-xr-x 2 netbsd netbsd   48 2008-07-11 15:12 CVS/
 -rw-r--r-- 1 netbsd netbsd 1.3K 2005-05-23 09:12 DESCR
 -rw-r--r-- 1 netbsd netbsd 1.6K 2008-03-24 05:10 Makefile
 -rw-r--r-- 1 netbsd netbsd  349 2004-01-05 11:42 PLIST
 -rw-r--r-- 1 netbsd netbsd  549 2008-03-24 05:10 distinfo
 drwxr-xr-x 3 netbsd netbsd   91 2008-03-24 05:10 patches/

 /usr/bsd/src/archivers/unzip/CVS:
 total 12K
 -rw-r--r-- 1 netbsd netbsd 165 2008-07-11 15:12 Entries
 -rw-r--r-- 1 netbsd netbsd  23 2006-08-26 20:25 Repository
 -rw-r--r-- 1 netbsd netbsd  36 2006-08-26 20:25 Root

 /usr/bsd/src/archivers/unzip/patches:
 total 20K
 drwxr-xr-x 2 netbsd netbsd   48 2008-03-24 05:10 CVS/
 -rw-r--r-- 1 netbsd netbsd  498 2004-06-01 05:31 patch-aa
 -rw-r--r-- 1 netbsd netbsd 1.3K 2004-01-22 12:25 patch-ab
 -rw-r--r-- 1 netbsd netbsd 2.1K 2005-08-04 15:20 patch-ac
 -rw-r--r-- 1 netbsd netbsd  924 2006-11-03 07:53 patch-ad
 -rw-r--r-- 1 netbsd netbsd 1.5K 2008-03-23 13:03 patch-ae

 /usr/bsd/src/archivers/unzip/patches/CVS:
 total 12K
 -rw-r--r-- 1 netbsd netbsd 207 2008-03-24 05:10 Entries
 -rw-r--r-- 1 netbsd netbsd  31 2006-08-26 20:25 Repository
 -rw-r--r-- 1 netbsd netbsd  36 2006-08-26 20:25 Root

 (this is the alternate machine, where I haven't changed to permissions
 to add 'g+rwX')

 After deleting archivers/unzip/Makefile, the equivalent par output is now:

 367440mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367440mS[  0]             cvs(2668622): chdir("archivers/unzip")
 367445mS[  0]             cvs(2668622): END-chdir() OK
 367445mS[  0]             cvs(2668622): stat("CVS", 0x7ffb7be0)
 367454mS[  0]             cvs(2668622): END-stat() OK
 367454mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367455mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367455mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367455mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367455mS[  0]             cvs(2668622): read(4, 0x10497548, 4096)
 367460mS[  0]             cvs(2668622): END-read(4,
 "D/patches////\n/DESCR/1.3/Mon May 23 08:12:43 2005//\n/PLIST/1.2/Mon
 Jan  5 11:42:20 2004//\n/Makefile/1.69/Result of
 merge//\n/distinfo/1.18/Mon Mar 24 05:10:53 2008//\n", 4096) = 165
 367460mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367460mS[  0]             cvs(2668622): close(4) OK
 367460mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367460mS[  0]             cvs(2668622): unlink("CVS/Entries.Static")
 errno = 2 (No such file or directory)
 367460mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0)
 errno = 2 (No such file or directory)
 367460mS[  0]             cvs(2668622): write(2, "cvs update: Updating
 archivers/unzip", 36) = 36
 367460mS[  0]             cvs(2668622): write(2, "\n", 1) = 1
 367460mS[  0]             cvs(2668622): write(2, "cvs update: warning:
 archivers/unzip/Makefile was lost", 54) = 54
 367460mS[  0]             cvs(2668622): write(2, "\n", 1) = 1
 367460mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367460mS[  0]             cvs(2668622): chdir("archivers/unzip") OK
 367460mS[  0]             cvs(2668622): stat("CVS", 0x7ffb7be0) OK
 367460mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367460mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367460mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367460mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367460mS[  0]             cvs(2668622): read(4,
 "D/patches////\n/DESCR/1.3/Mon May 23 08:12:43 2005//\n/PLIST/1.2/Mon
 Jan  5 11:42:20 2004//\n/Makefile/1.69/Result of
 merge//\n/distinfo/1.18/Mon Mar 24 05:10:53 2008//\n", 4096) = 165
 367460mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367460mS[  0]             cvs(2668622): close(4) OK
 367460mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367460mS[  0]             cvs(2668622): access("Makefile", 0) errno =
 2 (No such file or directory)
 367460mS[  0]             cvs(2668622): open(".new.Makefile",
 O_WRONLY|O_CREAT|O_TRUNC, 0777) = 4
 367461mS[  0]             cvs(2668622): write(4, "# $NetBSD:
 Makefile,v 1.69 2008/03/23 13:05:31 tron Exp
 $\n\nDISTNAME=\tunzip552\nPKGNAME=\tunzip-5.52\nPKGREVISION=\t4\nCATEGORIES=\tarchivers\nMASTER_SITES=\tftp://ftp.info-zip.org/pub/infozip/src/\nEXTRACT_SUFX=\t.tgz\n\nMAINTAINER=\twiz@NetBSD.org\nHOMEPAGE=\thttp://www",
 1591) = 1591
 367461mS[  0]             cvs(2668622): close(4) OK
 367461mS[  0]             cvs(2668622): write(1, "U
 archivers/unzip/Makefile\n", 27) = 27
 367461mS[  0]             cvs(2668622): rename(".new.Makefile", "Makefile") OK
 367461mS[  0]             cvs(2668622): umask(0) = 022
 367461mS[  0]             cvs(2668622): umask(022) = 0
 367461mS[  0]             cvs(2668622): chmod("Makefile", 0644) OK
 367461mS[  0]             cvs(2668622): time() = 1215787374
 367461mS[  0]             cvs(2668622): lstat("Makefile", 0x7ffb3a20) OK
 367461mS[  0]             cvs(2668622): stat("Makefile", 0x7ffb3a20) OK
 367461mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
 367461mS[  0]             cvs(2668622): lseek(4, 0, SEEK_END) = 0
 367461mS[  0]             cvs(2668622): fstat(4, 0x7ffb3930) OK
 367461mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb38e0) errno = 25 (Inappropriate I/O control operation)
 367461mS[  0]             cvs(2668622): write(4, "A /Makefile/1.69/Fri
 Jul 11 14:42:54 2008//\n", 44) = 44
 367462mS[  0]             cvs(2668622): close(4) OK
 367462mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0) OK
 367462mS[  0]             cvs(2668622): open("CVS/Entries.Backup",
 O_RDWR|O_CREAT|O_TRUNC, 0666)
 367469mS[  0]             cvs(2668622): END-open() = 4
 367469mS[  0]             cvs(2668622): fstat(4, 0x7ffb7a80) OK
 367469mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7a30) errno = 25 (Inappropriate I/O control operation)
 367470mS[  0]             cvs(2668622): write(4,
 "D/patches////\n/DESCR/1.3/Mon May 23 08:12:43 2005//\n/PLIST/1.2/Mon
 Jan  5 11:42:20 2004//\n/distinfo/1.18/Mon Mar 24 05:10:53
 2008//\n/Makefile/1.69/Fri Jul 11 14:42:54 2008//\n", 174) = 174
 367470mS[  0]             cvs(2668622): close(4) OK
 367470mS[  0]             cvs(2668622): rename("CVS/Entries.Backup",
 "CVS/Entries")
 367499mS[  0]             cvs(2668622): END-rename() OK
 367499mS[  0]             cvs(2668622): unlink("CVS/Entries.Log") OK
 367499mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367499mS[  0]             cvs(2668622): chdir("archivers/unzip/files")
 errno = 2 (No such file or directory)
 367499mS[  0]             cvs(2668622): mkdir("archivers", 0777) errno
 = 17 (File exists)
 367500mS[  0]             cvs(2668622): mkdir("archivers/unzip", 0777)
 errno = 17 (File exists)
 367500mS[  0]             cvs(2668622): mkdir("archivers/unzip/files", 0777)
 367509mS[  0]             cvs(2668622): END-mkdir() OK
 367509mS[  0]             cvs(2668622):
 access("archivers/unzip/files/CVS", 0) errno = 2 (No such file or
 directory)
 367509mS[  0]             cvs(2668622):
 mkdir("archivers/unzip/files/CVS", 0777) OK
 367510mS[  0]             cvs(2668622):
 open("archivers/unzip/files/CVS/Root", O_RDWR|O_CREAT|O_TRUNC, 0666) =
 4
 367510mS[  0]             cvs(2668622): fstat(4, 0x7ffb7a30) OK
 367510mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb79e0) errno = 25 (Inappropriate I/O control operation)
 367510mS[  0]             cvs(2668622): write(4,
 "anoncvs@anoncvs.netbsd.org:/cvsroot\n", 36) = 36
 367510mS[  0]             cvs(2668622): close(4) OK
 367510mS[  0]             cvs(2668622):
 open("archivers/unzip/files/CVS/Repository", O_RDWR|O_CREAT|O_TRUNC,
 0666) = 4
 367510mS[  0]             cvs(2668622): fstat(4, 0x7ffb7a70) OK
 367510mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7a20) errno = 25 (Inappropriate I/O control operation)
 367510mS[  0]             cvs(2668622): write(4,
 "pkgsrc/archivers/unzip/files\n", 29) = 29
 367510mS[  0]             cvs(2668622): close(4) OK
 367510mS[  0]             cvs(2668622):
 open("archivers/unzip/files/CVS/Entries", O_RDWR|O_CREAT|O_TRUNC,
 0666) = 4
 367510mS[  0]             cvs(2668622): close(4) OK
 367510mS[  0]             cvs(2668622):
 unlink("archivers/unzip/files/CVS/Tag") errno = 2 (No such file or
 directory)
 367510mS[  0]             cvs(2668622):
 open("archivers/unzip/CVS/Entries.Log", O_WRONLY|O_APPEND|O_CREAT,
 0666) = 4
 367511mS[  0]             cvs(2668622): lseek(4, 0, SEEK_END) = 0
 367511mS[  0]             cvs(2668622): fstat(4, 0x7ffb7aa0) OK
 367511mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7a50) errno = 25 (Inappropriate I/O control operation)
 367511mS[  0]             cvs(2668622): write(4, "A D/files////\n", 14) = 14
 367511mS[  0]             cvs(2668622): close(4) OK
 367511mS[  0]             cvs(2668622): chdir("archivers/unzip/files") OK
 367511mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367511mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367511mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367511mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367511mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367511mS[  0]             cvs(2668622): close(4) OK
 367511mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367511mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
 367511mS[  0]             cvs(2668622): lseek(4, 0, SEEK_END) = 0
 367511mS[  0]             cvs(2668622): close(4) OK
 367511mS[  0]             cvs(2668622): unlink("CVS/Tag") errno = 2
 (No such file or directory)
 367511mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0) OK
 367511mS[  0]             cvs(2668622): open("CVS/Entries.Backup",
 O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
 367511mS[  0]             cvs(2668622): fstat(4, 0x7ffb7b00) OK
 367511mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7ab0) errno = 25 (Inappropriate I/O control operation)
 367511mS[  0]             cvs(2668622): write(4, "D\n", 2) = 2
 367511mS[  0]             cvs(2668622): close(4) OK
 367511mS[  0]             cvs(2668622): rename("CVS/Entries.Backup",
 "CVS/Entries") OK
 367511mS[  0]             cvs(2668622): unlink("CVS/Entries.Log") OK
 367511mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367512mS[  0]             cvs(2668622): chdir("archivers/unzip/files") OK
 367512mS[  0]             cvs(2668622): stat("CVS", 0x7ffb7be0) OK
 367512mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367512mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367512mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367512mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367512mS[  0]             cvs(2668622): read(4, "D\n", 4096) = 2
 367512mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367512mS[  0]             cvs(2668622): close(4) OK
 367512mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367512mS[  0]             cvs(2668622): unlink("CVS/Entries.Static")
 errno = 2 (No such file or directory)
 367512mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0)
 errno = 2 (No such file or directory)
 367512mS[  0]             cvs(2668622): write(2, "cvs update: Updating
 archivers/unzip/files", 42) = 42
 367512mS[  0]             cvs(2668622): write(2, "\n", 1) = 1
 367512mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367512mS[  0]             cvs(2668622): chdir("archivers/unzip/files") OK
 367512mS[  0]             cvs(2668622): stat("CVS", 0x7ffb7be0) OK
 367512mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367512mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367512mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367512mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367512mS[  0]             cvs(2668622): read(4, "D\n", 4096) = 2
 367512mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367512mS[  0]             cvs(2668622): close(4) OK
 367512mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367512mS[  0]             cvs(2668622): unlink("CVS/Tag") errno = 2
 (No such file or directory)
 367512mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0)
 errno = 2 (No such file or directory)
 367512mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367512mS[  0]             cvs(2668622): chdir("archivers/unzip/patches")
 367529mS[  0]             cvs(2668622): END-chdir() OK
 367529mS[  0]             cvs(2668622): stat("CVS", 0x7ffb7be0)
 367534mS[  0]             cvs(2668622): END-stat() OK
 367534mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367534mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367534mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367534mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367534mS[  0]             cvs(2668622): read(4, 0x10497548, 4096)
 367541mS[  0]             cvs(2668622): END-read(4, "/patch-aa/1.4/Tue
 Jun  1 04:31:42 2004//\n/patch-ab/1.5/Thu Jan 22 12:25:59
 2004//\n/patch-ac/1.1/Thu Aug  4 14:20:35 2005//\n/patch-ad/1.1/Fri
 Nov  3 07:53:55 2006//\n/patch-ae/1.1/Sun Mar 23 13:03:13
 2008//\nD\n", 4096) = 207
 367541mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367541mS[  0]             cvs(2668622): close(4) OK
 367541mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367541mS[  0]             cvs(2668622): unlink("CVS/Entries.Static")
 errno = 2 (No such file or directory)
 367541mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0)
 errno = 2 (No such file or directory)
 367541mS[  0]             cvs(2668622): write(2, "cvs update: Updating
 archivers/unzip/patches", 44) = 44
 367541mS[  0]             cvs(2668622): write(2, "\n", 1) = 1
 367541mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367541mS[  0]             cvs(2668622): chdir("archivers/unzip/pkg")
 errno = 2 (No such file or directory)
 367541mS[  0]             cvs(2668622): mkdir("archivers", 0777) errno
 = 17 (File exists)
 367541mS[  0]             cvs(2668622): mkdir("archivers/unzip", 0777)
 errno = 17 (File exists)
 367541mS[  0]             cvs(2668622): mkdir("archivers/unzip/pkg", 0777) OK
 367541mS[  0]             cvs(2668622):
 access("archivers/unzip/pkg/CVS", 0) errno = 2 (No such file or
 directory)
 367541mS[  0]             cvs(2668622):
 mkdir("archivers/unzip/pkg/CVS", 0777) OK
 367541mS[  0]             cvs(2668622):
 open("archivers/unzip/pkg/CVS/Root", O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
 367542mS[  0]             cvs(2668622): fstat(4, 0x7ffb7a30) OK
 367542mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb79e0) errno = 25 (Inappropriate I/O control operation)
 367542mS[  0]             cvs(2668622): write(4,
 "anoncvs@anoncvs.netbsd.org:/cvsroot\n", 36) = 36
 367542mS[  0]             cvs(2668622): close(4) OK
 367542mS[  0]             cvs(2668622):
 open("archivers/unzip/pkg/CVS/Repository", O_RDWR|O_CREAT|O_TRUNC,
 0666) = 4
 367542mS[  0]             cvs(2668622): fstat(4, 0x7ffb7a70) OK
 367542mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7a20) errno = 25 (Inappropriate I/O control operation)
 367542mS[  0]             cvs(2668622): write(4,
 "pkgsrc/archivers/unzip/pkg\n", 27) = 27
 367542mS[  0]             cvs(2668622): close(4) OK
 367542mS[  0]             cvs(2668622):
 open("archivers/unzip/pkg/CVS/Entries", O_RDWR|O_CREAT|O_TRUNC, 0666)
 = 4
 367542mS[  0]             cvs(2668622): close(4) OK
 367542mS[  0]             cvs(2668622):
 unlink("archivers/unzip/pkg/CVS/Tag") errno = 2 (No such file or
 directory)
 367542mS[  0]             cvs(2668622):
 open("archivers/unzip/CVS/Entries.Log", O_WRONLY|O_APPEND|O_CREAT,
 0666) = 4
 367542mS[  0]             cvs(2668622): lseek(4, 0, SEEK_END) = 14
 367542mS[  0]             cvs(2668622): fstat(4, 0x7ffb7aa0) OK
 367542mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7a50) errno = 25 (Inappropriate I/O control operation)
 367542mS[  0]             cvs(2668622): write(4, "A D/pkg////\n", 12) = 12
 367542mS[  0]             cvs(2668622): close(4) OK
 367542mS[  0]             cvs(2668622): chdir("archivers/unzip/pkg") OK
 367542mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367542mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367542mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367542mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367542mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367542mS[  0]             cvs(2668622): close(4) OK
 367542mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367542mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_WRONLY|O_APPEND|O_CREAT, 0666) = 4
 367543mS[  0]             cvs(2668622): lseek(4, 0, SEEK_END) = 0
 367543mS[  0]             cvs(2668622): close(4) OK
 367543mS[  0]             cvs(2668622): unlink("CVS/Tag") errno = 2
 (No such file or directory)
 367543mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0) OK
 367543mS[  0]             cvs(2668622): open("CVS/Entries.Backup",
 O_RDWR|O_CREAT|O_TRUNC, 0666) = 4
 367543mS[  0]             cvs(2668622): fstat(4, 0x7ffb7b00) OK
 367543mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7ab0) errno = 25 (Inappropriate I/O control operation)
 367543mS[  0]             cvs(2668622): write(4, "D\n", 2) = 2
 367543mS[  0]             cvs(2668622): close(4) OK
 367543mS[  0]             cvs(2668622): rename("CVS/Entries.Backup",
 "CVS/Entries") OK
 367543mS[  0]             cvs(2668622): unlink("CVS/Entries.Log") OK
 367543mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367543mS[  0]             cvs(2668622): chdir("archivers/unzip/pkg") OK
 367543mS[  0]             cvs(2668622): stat("CVS", 0x7ffb7be0) OK
 367543mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367543mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367543mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367543mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367543mS[  0]             cvs(2668622): read(4, "D\n", 4096) = 2
 367543mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367543mS[  0]             cvs(2668622): close(4) OK
 367543mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367543mS[  0]             cvs(2668622): unlink("CVS/Entries.Static")
 errno = 2 (No such file or directory)
 367543mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0)
 errno = 2 (No such file or directory)
 367543mS[  0]             cvs(2668622): write(2, "cvs update: Updating
 archivers/unzip/pkg", 40) = 40
 367543mS[  0]             cvs(2668622): write(2, "\n", 1) = 1
 367543mS[  0]             cvs(2668622): chdir("/usr/bsd/src") OK
 367544mS[  0]             cvs(2668622): chdir("archivers/unzip/pkg") OK
 367544mS[  0]             cvs(2668622): stat("CVS", 0x7ffb7be0) OK
 367544mS[  0]             cvs(2668622): open("CVS/Tag", O_RDONLY,
 0666) errno = 2 (No such file or directory)
 367544mS[  0]             cvs(2668622): open("CVS/Entries", O_RDONLY, 0666) = 4
 367544mS[  0]             cvs(2668622): fstat(4, 0x7ffb7970) OK
 367544mS[  0]             cvs(2668622): ioctl(4, __OLD_TCGETA,
 0x7ffb7920) errno = 25 (Inappropriate I/O control operation)
 367544mS[  0]             cvs(2668622): read(4, "D\n", 4096) = 2
 :367544mS[  0]             cvs(2668622): read(4, 0x10497548, 4096) = 0
 367544mS[  0]             cvs(2668622): close(4) OK
 367544mS[  0]             cvs(2668622): open("CVS/Entries.Log",
 O_RDONLY, 0666) errno = 2 (No such file or directory)
 367544mS[  0]             cvs(2668622): unlink("CVS/Tag") errno = 2
 (No such file or directory)
 367544mS[  0]             cvs(2668622): access("CVS/Entries.Log", 0)
 errno = 2 (No such file or directory)

 ... which to me looks identical up to the point where the first failed
 - again suggesting an application problem?

 Cheers,

 Stuart


 2008/7/11 Tobias Nygren <tnn@netbsd.org>:
 > The following reply was made to PR pkg/39129; it has been noted by GNATS.
 >
 > From: Tobias Nygren <tnn@NetBSD.org>
 > To: gnats-bugs@NetBSD.org
 > Cc:
 > Subject: Re: pkg/39129: devel/scmcvs does not work correctly on IRIX
 > Date: Fri, 11 Jul 2008 14:07:55 +0200
 >
 >  It sounds like an ACL problem to me. Try a clean checkout on a
 >  known OK filesystem. Also make sure the umask is sane.
 >  The error described can only happen if open(2) returns EACCES which
 >  sounds unlikely to be a CVS issue.
 >  (At least I haven't had any similar problem with devel/scmcvs on IRIX.)
 >
 >

Responsible-Changed-From-To: pkg-manager->irix-pkg-people
Responsible-Changed-By: snj@NetBSD.org
Responsible-Changed-When: Tue, 15 Jul 2008 14:40:36 +0000
Responsible-Changed-Why:
IRIX problem.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.