[prev in list] [next in list] [prev in thread] [next in thread] 

List:       netbsd-bugs
Subject:    pkg/7501: bzcat won't uncompress from symlink
From:       rhialto () polder ! ubc ! kun ! nl
Date:       1999-04-30 10:53:47
[Download RAW message or body]


> Number:         7501
> Category:       pkg
> Synopsis:       bzcat won't uncompress from symlink
> Confidential:   no
> Severity:       non-critical
> Priority:       low
> Responsible:    pkg-manager (NetBSD software packages system bug manager)
> State:          open
> Class:          sw-bug
> Submitter-Id:   net
> Arrival-Date:   Fri Apr 30 04:05:00 1999
> Last-Modified:
> Originator:     Rhialto
> Organization:
	
> Release:        1.3.3
> Environment:
	
System: NetBSD vijver 1.3.3 NetBSD 1.3.3 (KLEI) #5: Thu Apr 29 16:17:37 CEST 1999 \
rhialto@vijver:/usr/src/sys/arch/i386/compile/KLEI i386


> Description:
	
	I was installing packages, with the 'distfiles' directory containing
	symlinks to distfiles on a cd-rom.

	When installing packages with source in .bz2 files (such
	as kde), bzcat refused to decompress the archives.

> How-To-Repeat:
	See Description.
> Fix:
	
	This patches the install system, but maybe bzip2 should be
	changed instead; it explictily does an lstat which is sometimes
	appropriate and sometimes not.

*** bsd.pkg.mk.orig	Fri Apr 30 12:00:24 1999
--- bsd.pkg.mk	Fri Apr 30 12:00:05 1999
***************
*** 282,288 ****
  BZCAT=			${LOCALBASE}/bin/bzcat
  BUILD_DEPENDS+=		${BZCAT}:${PKGSRCDIR}/archivers/bzip2
  .endif # !exists bzcat
! DECOMPRESS_CMD?=	${BZCAT}
  .else
  DECOMPRESS_CMD?=	${GZCAT}
  .endif
--- 282,288 ----
  BZCAT=			${LOCALBASE}/bin/bzcat
  BUILD_DEPENDS+=		${BZCAT}:${PKGSRCDIR}/archivers/bzip2
  .endif # !exists bzcat
! DECOMPRESS_CMD?=	${BZCAT} <
  .else
  DECOMPRESS_CMD?=	${GZCAT}
  .endif
> Audit-Trail:
> Unformatted:


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic