Subject: pkg/22047: Openoffice pkgsrc build fails due to rpm2pkg failing to install ncurses.rpm
To: None <gnats-bugs@gnats.netbsd.org>
From: None <quadreverb@yahoo.com>
List: netbsd-bugs
Date: 07/03/2003 22:12:15
>Number:         22047
>Category:       pkg
>Synopsis:       Openoffice pkgsrc build fails due to rpm2pkg failing to install ncurses.rpm
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Jul 03 22:13:00 UTC 2003
>Closed-Date:
>Last-Modified:
>Originator:     Andy Ruhl
>Release:        1.6.1
>Organization:
>Environment:
NetBSD speedy 1.6.1 NetBSD 1.6.1 (SPEEDY1) #0: Tue Jul  1 15:04:15 MST 2003
root@speedy:/usr/src/sys/arch/i386/compile/SPEEDY1 i386

>Description:
pkgsrc just updated today via cvs (Jul3, 2003)

cd /usr/pkgsrc/misc/openoffice
make install

This will fail.
>How-To-Repeat:
make install in /usr/pkgsrc/misc/openoffice fails with this:

speedy# make install
===> *** No /usr/pkgsrc/distfiles/vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for oo_641_src.tar.bz2.
=> Checksum OK for gpc231.tar.Z.
=> Checksum OK for oo_moz_641.tar.gz.
===> Extracting for openoffice-0.0.0.641nb2
===> Required installed package pth>=2.0.0: pth-2.0.0 found
===> Required installed package perl>=5.0: perl-5.6.1nb9 found
===> Required package sun-jre13-[0-9]*: NOT found
===> Verifying reinstall for ../../lang/sun-jre13
===> *** No /usr/pkgsrc/distfiles/vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for j2re-1_3_1_08-linux-i586.bin.
===> Extracting for sun-jre13-1.0.8nb1
===> Required package suse_compat-[0-9]*: NOT found
===> Verifying reinstall for ../../emulators/suse_compat
===> *** No /usr/pkgsrc/distfiles/vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
=> Checksum OK for suse73/i386/compat.rpm.
===> Extracting for suse_compat-7.3
===> Required package suse_base>=7.3: NOT found
===> Verifying reinstall for ../suse_base
===> *** No /usr/pkgsrc/distfiles/vulnerabilities file found,
===> *** skipping vulnerability checks. To fix, install
===> *** the pkgsrc/security/audit-packages package and run
===> *** '/usr/pkg/sbin/download-vulnerability-list'.
===> Installing for suse_base-7.3nb4
for FILE in /usr/pkgsrc/emulators/suse_base/work/*.sh; do  install -c -o root -g wheel -m 555 $FILE /usr/pkg/sbin/`basename $FILE .sh`;  done
install -d -o root -g wheel -m 555 /usr/pkg/emul/linux/dev
/bin/ln -fs /dev/sound /usr/pkg/emul/linux/dev/dsp
/bin/ln -fs /dev/null /usr/pkg/emul/linux/dev/null
/usr/pkg/sbin/rpm2pkg -d /usr/pkg -f /usr/pkgsrc/emulators/suse_base/work/PLIST_DYNAMIC -p emul/linux -i tmp -i usr/tmp -i var /usr/pkgsrc/distfiles/suse73/i386/aaa_dir.rpm /usr/pkgsrc/distfiles/suse73/i386/gppshare.rpm /usr/pkgsrc/distfiles/suse73/i386/ncurses.rpm /usr/pkgsrc/distfiles/suse73/i386/readline.rpm /usr/pkgsrc/distfiles/suse73/i386/bash.rpm /usr/pkgsrc/distfiles/suse73/i386/sh-utils.rpm /usr/pkgsrc/distfiles/suse73/i386/glibc-2.2.4-78.i386.rpm /usr/pkgsrc/distfiles/suse73/i386/libz-1.1.3-597.i386.rpm
/usr/pkgsrc/distfiles/suse73/i386/ncurses.rpm: error reading header.
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/emulators/suse_base
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/emulators/suse_base
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/emulators/suse_base
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/emulators/suse_base
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/emulators/suse_base
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/emulators/suse_compat
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/emulators/suse_compat
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/emulators/suse_compat
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/lang/sun-jre13
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/lang/sun-jre13
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/lang/sun-jre13
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/misc/openoffice
*** Error code 1
 
Stop.
make: stopped in /usr/pkgsrc/misc/openoffice
speedy# exit
exit
 
Script done on Thu Jul  3 15:06:45 2003

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted: