pkgsrc-Bugs archive

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

pkg/44813: time/etm build failures (missing ez_setup.py) (NetBSD 5.0) (py2.6)



>Number:         44813
>Category:       pkg
>Synopsis:       time/etm build failures (missing ez_setup.py) (NetBSD 5.0) 
>(py2.6)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Apr 02 04:00:00 +0000 2011
>Originator:     Robert Elz
>Release:        NetBSD 5.0   (pkgsrc current (HEAD) 2011-04-01)
>Organization:
        Prince of Songkla University
>Environment:
System: NetBSD jade.coe.psu.ac.th 5.1 NetBSD 5.1 (JADE-1.12-20101117) #5: Wed 
Nov 17 05:30:55 ICT 2010 
kre%jade.coe.psu.ac.th@localhost:/usr/obj/5.1/kernels/i386/JADE i386
Architecture: i386
Machine: i386
>Description:
        Building time/etm fails (badly) the file-check test when
        PKG_DEVELOPER=yes - but this one doesn't look to be a PLIST
        problem, but rather a build failure that doesn't cause a
        build abort (and I hate to think what happens if PKG_DEVELOPER
        isn't set to cause the test that eventually causes failure for me).

>How-To-Repeat:
        I use pkg_comp with NetBSD 5.0 release sets installed, and
        libkver to simulate a NetBSD 5.0 release environment.  The
        sandbox starts (almost) empty (NetBSD 5.0 excepted) when
        the package build starts.   I have USE_DESTDIR=no.

        It eventually finishes with ...

=> Checking file-check results for etm-702
ERROR: ************************************************************
ERROR: The following files are in the PLIST but not in /usr/pkg:
ERROR:         
/usr/pkg/lib/python2.6/site-packages/etm-702-py2.6.egg-info/PKG-INFO
        [many lines deleted]
ERROR:         /usr/pkg/lib/python2.6/site-packages/etm/etmlogo_32x32x32.png
ERROR: ************************************************************
ERROR: The following files are in /usr/pkg but not in the PLIST:
ERROR:         /usr/pkg/lib/python2.6/site-packages/etm-702-py2.6.egg
*** Error code 1

Stop.

        I took a ballpark guess (based upon the size of the xterm
        window I was looking at the error log in) and guessed that
        there are probably about 45 files in PLIST but not in /usr/pkg.
        The PLIST has 49 lines ... quite possibly, nothing that should
        have been installed, was installed (just one .egg that was
        not supposed to be installed).

        The underlying cause of this seems to be ...

running build
running build_py
file ez_setup.py (for module ez_setup) not found

        and ...

copying etm/etm_alert.wav -> build/lib/etm
file ez_setup.py (for module ez_setup) not found
running build_scripts

        or that is my guess anyway.   I have no idea what ez_setup.py
        is supposed to be (other than what its name implies) nor
        where it is supposed to come from.

        When the build terminates, the sandbox contains the
        following installed packages (those from the first, down to,
        and including, lintpkgsrc are my "almost empty")

Dependencies installed ...
libkver-1.0         Shared library and sysctl(1) replacement to override system 
version
digest-20080510     Message digest wrapper utility
pkg_install-20110215 Package management and administration tools for pkgsrc
checkperms-1.11     Check and correct file permissions
osabi-NetBSD-5.0    Operating System version dummy-package
x11-links-0.65      Shadow tree of links to native X11 headers and libraries
perl-5.12.2nb1      Practical Extraction and Report Language
lintpkgsrc-4.82     Sanity checks on the complete pkgsrc tree
libffi-3.0.9        Foreign function interface
python26-2.6.6nb7   Interpreted, interactive, object-oriented programming 
language
jpeg-8c             IJG's jpeg compression utilities
png-1.5.1           Library for manipulating PNG images
tiff-3.9.4nb3       Library and tools for reading and writing TIFF data files
py26-expat-0nb4     Python interface to expat
pcre-8.12           Perl Compatible Regular Expressions library
glib2-2.28.3        Some useful routines for C programming (glib2)
xmlcatmgr-2.2nb1    XML and SGML catalog manager
libxml2-2.7.8nb2    XML parser library from the GNOME project
etm-702             events and tasks manager using simple text files
shared-mime-info-0.90 Core database of common types
atk-1.32.0          Set of interfaces for accessibility
gdk-pixbuf2-2.22.1nb1 Image loaders for gtk2
libxcb-1.7          X protocol C-language Binding
pixman-0.20.2       Library of low-level pixel manipulation routines
cairo-1.10.2nb1     Vector graphics library with cross-device output support
pango-1.28.3nb3     Library for layout and rendering of text
gtk2+-2.24.3        GIMP Toolkit v2 - libraries for building X11 user interfaces
wxGTK28-2.8.10nb10  GTK-based implementation of the wxWidgets GUI library
wxGTK28-contrib-2.8.10nb7 GTK-based implementation of the wxWidgets GUI library 
(contrib libraries)
py26-wxWidgets-2.8.10.1nb6 Python bindings for wxWidgets
py26-setuptools-0.6c11nb1 New Python packaging system
py26-dateutil-1.5   Extensions to the standard datetime module
py26-icalendar-2.1  Python parser/generator for iCalendar files, as per RFC2445

        I have no idea how etm got to be in the middle of that
        list (rather than at the end) - I would have expected
        it to have been the last installed, and as nothing gets
        deleted, I'd have expected it to be last in /var/db/pkg
        but I suppose because its name is so short, it might have
        just squeezed in at the end of a filesystem block in some
        left over space that was too small for anything else.

        It isn't properly installed of course, before the file-check
        that aborts the build, there are also the usual ...

pkg_create: can't stat `/usr/pkg/lib/python2.6/site-packages/etm/etmWX.pyc'

        and

pkg_admin: etm-702: File `/usr/pkg/lib/python2.6/site-packages/etm/etmWX.pyc' 
is in +CONTENTS but not on filesystem!

        messages (about each of the missing files it appears, I didn't
        check).

>Fix:
        ???



Home | Main Index | Thread Index | Old Index