pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36566: bmake package on python 2.3 failes on recent pkgsrc snap under solaris 9



>Number:         36566
>Category:       pkg
>Synopsis:       bmake package on python 2.3 failes on recent pkgsrc snap under 
>solaris 9
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Jun 27 13:50:00 +0000 2007
>Originator:     Stefan Sonnenberg-Carstens
>Release:        None
>Organization:
NRW.BANK
>Environment:
SunOS rwtest21 5.9 Generic_118558-20 sun4u sparc SUNW,Sun-Blade-2500
>Description:
After having build python2.3 it installed successfully.
Building the package though failes in it final steps:

>>>
changing mode of /usr/pkg/lib/python2.3/lib-dynload/resource.so to 755
changing mode of /usr/pkg/lib/python2.3/lib-dynload/nis.so to 755
changing mode of /usr/pkg/lib/python2.3/lib-dynload/zlib.so to 755
changing mode of /usr/pkg/lib/python2.3/lib-dynload/bz2.so to 755
changing mode of /usr/pkg/lib/python2.3/lib-dynload/dl.so to 755
changing mode of /usr/pkg/lib/python2.3/lib-dynload/sunaudiodev.so to 755
changing mode of /usr/pkg/lib/python2.3/lib-dynload/ to 755
running install_scripts
copying build/scripts-2.3/pydoc2.3 -> /usr/pkg/bin
changing mode of /usr/pkg/bin/pydoc2.3 to 755
=> Automatic manual page handling
=> Running POST-INSTALL script actions
pkg_create: can't stat `/usr/pkg/lib/python2.3/lib-dynload/bsddb185.so'
=> Registering installation for python23-2.3.5nb9
pkg_admin: python23-2.3.5nb9: File 
`/usr/pkg/lib/python2.3/lib-dynload/bsddb185.so' is in +CONTENTS but not on 
filesystem!
python23-2.3.5nb9 requires installed package db4-4.5.20.2
python23-2.3.5nb9 requires installed package gettext-lib-0.14.6
python23-2.3.5nb9 requires installed package openssl-0.9.7inb3
python23-2.3.5nb9 requires installed package zlib-1.2.3
===> Building binary package for python23-2.3.5nb9
Creating package /usr/pkgsrc/packages/All/python23-2.3.5nb9.tgz
Using SrcDir value of /usr/pkg
Registering conflicts: python-[0-9]*.
pkg_create: can't stat `/usr/pkg/lib/python2.3/lib-dynload/bsddb185.so'
tar: Unable to access lib/python2.3/lib-dynload/bsddb185.so (No such file or 
directory)
tar: WARNING! These file names were not selected:
lib/python2.3/lib-dynload/bsddb185.so
pkg_create: /usr/pkg/bin/tar command failed with code 1
ERROR: pkg_create -K pkg failed (2)
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/python23
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/python23
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/lang/python23
<<<

My environment looks like this:
bash-2.05# export
declare -x BUILD_JAVA="NO"
declare -x BUILD_OBJC="NO"
declare -x HOME="/"
declare -x HOSTNAME="rwtest21"
declare -x HOSTTYPE="sparc"
declare -x 
LD_LIBRARY_PATH=":/opt/sfw/gcc-3/lib/:/opt/sfw/gcc-3/lib/:/opt/sfw/gcc-3/lib/:/opt/sfw/gcc-3/lib/:/opt/sfw/gcc-3/lib/:/opt/sfw/gcc-3/lib/"
declare -x LOGNAME="root"
declare -x MACHTYPE="sparc-sun-solaris2.9"
declare -x OLDPWD="/usr/pkgsrc"
declare -x OSTYPE="solaris2.9"
declare -x 
PATH="/usr/pkg/bin/:/usr/pkg/sbin/:/opt/sfw/bin/:/opt/sfw/sbin/:/opt/sfw/gcc-3/bin/:/opt/sfw/sparc-sun-solaris2.9/bin/:/usr/pkg/bin/:/usr/pkg/sbin/:/opt/sfw/bin/:/opt/sfw/sbin/:/opt/sfw/gcc-3/bin/:/opt/sfw/sparc-sun-solaris2.9/bin/:/usr/pkg/bin/:/usr/pkg/sbin/:/opt/sfw/bin/:/opt/sfw/sbin/:/opt/sfw/gcc-3/bin/:/opt/sfw/sparc-sun-solaris2.9/:/usr/pkg/bin/:/usr/pkg/sbin/:/usr/bin:/bin:/usr/sbin:/sbin:/opt/sfw/bin/:/opt/sfw/bin/:/opt/sfw/sbin/:/opt/sfw/gcc-3/bin/:/opt/sfw/sparc-sun-solaris2.9/bin/"
declare -x PWD="/usr/pkgsrc/lang/python23"
declare -x PYTHON_VERSION_DEFAULT="23"
declare -x SHELL="/usr/bin/bash"
declare -x SHLVL="1"
declare -x SSH_TTY="/dev/pts/5"
declare -x TERM="xterm"
declare -x TZ="Europe/Berlin"
declare -x USER="root"
declare -x ftp_proxy="http://a.b.c.d:8080";
declare -x http_proxy="http://a.b.c.d:8080";


>How-To-Repeat:
cd /usr/pkgsrc/lang/python23 && bmake all install package clean

>Fix:
Patch PLIST.common to exclude the missing file.
Obviously it is not build.




Home | Main Index | Thread Index | Old Index