pkgsrc-Bugs archive

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

pkg/39969: devel/ArX improperly invokes (attempts) python during build

>Number:         39969
>Category:       pkg
>Synopsis:       devel/ArX improperly invokes (attempts) python during build
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Nov 20 09:15:01 +0000 2008
>Originator:     Robert Elz
>Release:        NetBSD 4.0_STABLE (pkgsrc current today)
        Prince of Songkla University
System: NetBSD 4.0_STABLE NetBSD 4.0_STABLE 
(JADE-1.696-20080517) #9: Fri May 23 18:55:13 ICT 2008 i386
Architecture: i386
Machine: i386
        I use pkg_comp with libkver to similate a 4.0 release environment.
        For this I have 4.0 release sets installed (wthout X sets),
        and have X11_TYPE=modular set in (the sandbox) mk.conf.  Most
        likely none of that is relevant for this problem.

        Building devel/Arx cause a script to try running "env python"
        which fails, as thee is nothing called python installed (there
        is a "python2.4" instaled).

        I built devel/ArX starting with an almost empty sandbox (it did
        have pkg_install, digest, libkver, linktpksrc, and for the latter,
        perl5 installed - all current versions).

        Building ArX using "pkg_comp build devel/ArX" ends with ...

checking for python build information... 
checking for python2.4... python2.4
checking for main in -lpython2.4... no
checking python2.4/Python.h usability... no
checking python2.4/Python.h presence... no
checking for python2.4/Python.h... no
checking for python2.3... (cached) python2.4
checking for main in -lpython2.4... (cached) no
checking for python2.4/Python.h... (cached) no
checking for python2.2... (cached) python2.4
checking for main in -lpython2.4... (cached) no
checking for python2.4/Python.h... (cached) no
checking for python2.1... (cached) python2.4
checking for main in -lpython2.4... (cached) no
checking for python2.4/Python.h... (cached) no
checking for python... (cached) python2.4
checking for main in -lpython2.4... (cached) no
checking for python2.4/Python.h... (cached) no
  results of the Python check:
    Binary:      python2.4
    Library:     no
    Include Dir: no
checking for gnutar... /usr/pkg/bin/gtar
checking for gnudiff... /usr/pkg/bin/gdiff
checking for gnudiff3... no
checking for gdiff3... /usr/pkg/bin/gdiff3
checking for gnupatch... /usr/pkg/bin/gpatch
checking for pkg-config... 
checking for gpg... no
configure: WARNING: Could not find gpg.  You can set it manually with the 
ARXGPG variable.  Your build will not be able to sign or verify revisions by 
default.  See "arx param -H" for how to set it up on a per user basis.
configure: creating ./config.status
config.status: creating SConstruct
config.status: creating Makefile
config.status: creating src/config.h
===> Building for ArX-2.2.4nb9
env: python: No such file or directory
*** Error code 127

make: stopped in /usr/pkgsrc/devel/ArX
*** Error code 1


        After the build aborts, the sandbox contains (if this
        happens to be relevant)

pkg_install-20081013 Package management and administration tools for pkgsrc
libkver-0.6nb1      Shared library and sysctl(1) replacement to override system 
digest-20080510     Message digest wrapper utility
perl-5.10.0nb2      Practical Extraction and Report Language
lintpkgsrc-4.82     Sanity checks on the complete pkgsrc tree
python24-2.4.5nb2   Interpreted, interactive, object-oriented programming 
scons-1.1.0         Python-based, open-source build system
pkg-config-0.23     System for managing library compile/link flags
checkperms-1.10     Check and correct file permissions
patch-2.5.4nb2      Patch files using diff output
diffutils-2.8.1nb2  GNU diff utilities - find the differences between files
gtar-base-1.20      The GNU tape archiver with remote magnetic tape support
lzo-2.03            Portable lossless data compression library
libcfg+-0.6.2nb3    Command line and configuration file parsing library
libtasn1-1.5        ASN.1 structure parser library
libgpg-error-1.6    Definitions of common error values for all GnuPG components
libgcrypt-1.4.3     GNU cryptographic library
opencdk-0.6.6       Open Crypto Development Kit
gnutls-2.6.1        GNU Transport Layer Security library
fam-2.7.0nb9        File Alteration Monitor
pcre-7.8            Perl Compatible Regular Expressions library
glib2-2.18.2        Some useful routines for C programming (glib2)
libIDL-0.8.11       CORBA Interface Definition Language parser
ORBit2-2.14.16      High-performance CORBA ORB with C language support
libXau-1.0.4        Authorization Protocol for X from
libXdmcp-1.0.2      X Display Manager Control Protocol library from
libX11-1.1.5        Base X libraries from modular Xorg X11
expat-2.0.1         XML parser library written in C
dbus-1.2.4          Message bus system
dbus-glib-0.76      GLib bindings for the D-BUS message bus system
xmlcatmgr-2.2nb1    XML and SGML catalog manager
libxml2-2.7.2nb1    XML parser library from the GNOME project
GConf-2.24.0        Configuration database system used by GNOME
gnome-vfs-2.24.0    GNOME Virtual File System (v2)

        There is nothing relating to python in the sandbox
        mk.conf nor the environment (ie: it picked to use
        python 2.4 all by itself, the binary packages directory
        has 2.1 2.3 2.4 and 2.5 versions available to use).

        I assume something needs to patch the script to use
        /usr/pkg/bin/python2.4 instead of "env python" - or
        some equivalent thereto.

Home | Main Index | Thread Index | Old Index