From owner-freebsd-python@FreeBSD.ORG Wed Oct 30 18:15:05 2013 Return-Path: Delivered-To: python@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3DD32B50 for ; Wed, 30 Oct 2013 18:15:05 +0000 (UTC) (envelope-from alfred@freebsd.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 1A4B527CF for ; Wed, 30 Oct 2013 18:15:04 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-76-21-10-192.hsd1.ca.comcast.net [76.21.10.192]) by elvis.mu.org (Postfix) with ESMTPSA id 6B6751A3C7E for ; Wed, 30 Oct 2013 11:08:03 -0700 (PDT) Message-ID: <52714AF6.4070200@freebsd.org> Date: Wed, 30 Oct 2013 11:07:50 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:24.0) Gecko/20100101 Thunderbird/24.0.1 MIME-Version: 1.0 To: python@freebsd.org Subject: Simple py27-ujson-1.33 port breakage Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-python@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD-specific Python issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Oct 2013 18:15:05 -0000 Hey folks, I'm trying to move us to a newer version of ports tree in our project FreeNAS. The problem is that python ports seem to break not only in our build system, but also in FreeBSD in general: I keep getting the following problem with this port we depend on: ===> Building package for py27-ujson-1.33 tar: lib/python2.7/site-packages/ujson.so: Cannot stat: No such file or directory tar: lib/python2.7/site-packages/ujson-1.33-py2.7.egg-info: Cannot stat: No such file or directory tar: Error exit delayed from previous errors. pkg_create: make_dist: tar command failed with code 256 *** [do-package] Error code 1 Stop in /usr/ports_dir/devel/py-ujson. Also on a -current box: ===> Registering installation for py27-ujson-1.33 pkg-static: lstat(/usr/local/lib/python2.7/site-packages/ujson.so): No such file or directory pkg-static: lstat(/usr/local/lib/python2.7/site-packages/ujson-1.33-py2.7.egg-info): No such file or directory Installing py27-ujson-1.33... done ===> Building package for py27-ujson-1.33 Creating package for py27-ujson-1.33 Service unavailable# .(03:48:55)(root@spigot) /usr/home/alfred/git/freebsd-ports/devel/py-ujson # It seems like the problem is that the port is actually installing a file: Copying ujson-1.33-py2.7-freebsd-9.2-RELEASE-amd64.egg to /usr/local/lib/python2.7/site-packages versus what the packing system expects: lib/python2.7/site-packages/ujson-1.33-py2.7.egg-info Note: ujson-1.33-py2.7-freebsd-9.2-RELEASE-amd64.egg VS ujson-1.33-py2.7-freebsd-9.2-RELEASE-amd64.egg Any idea why this is happening? ===> Installing for py27-ujson-1.33 ===> py27-ujson-1.33 depends on file: /usr/local/bin/python2.7 - found ===> py27-ujson-1.33 depends on executable: python - found ===> Generating temporary packing list ===> Checking if devel/py-ujson already installed running install running bdist_egg running egg_info writing ujson.egg-info/PKG-INFO writing top-level names to ujson.egg-info/top_level.txt writing dependency_links to ujson.egg-info/dependency_links.txt reading manifest file 'ujson.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'ujson.egg-info/SOURCES.txt' installing library code to build/bdist.freebsd-11.0-CURRENT-amd64/egg running install_lib running build_ext building 'ujson' extension creating build creating build/temp.freebsd-11.0-CURRENT-amd64-2.7 creating build/temp.freebsd-11.0-CURRENT-amd64-2.7/python creating build/temp.freebsd-11.0-CURRENT-amd64-2.7/lib cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I./python -I./lib -I/usr/local/include/python2.7 -c ./python/ujson.c -o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./python/ujson.o -D_GNU_SOURCE cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I./python -I./lib -I/usr/local/include/python2.7 -c ./python/objToJSON.c -o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./python/objToJSON.o -D_GNU_SOURCE cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I./python -I./lib -I/usr/local/include/python2.7 -c ./python/JSONtoObj.c -o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./python/JSONtoObj.o -D_GNU_SOURCE cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I./python -I./lib -I/usr/local/include/python2.7 -c ./lib/ultrajsonenc.c -o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./lib/ultrajsonenc.o -D_GNU_SOURCE cc -DNDEBUG -O2 -pipe -fno-strict-aliasing -O2 -pipe -fno-strict-aliasing -fPIC -I./python -I./lib -I/usr/local/include/python2.7 -c ./lib/ultrajsondec.c -o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./lib/ultrajsondec.o -D_GNU_SOURCE creating build/lib.freebsd-11.0-CURRENT-amd64-2.7 cc -shared -O2 -pipe -fno-strict-aliasing build/temp.freebsd-11.0-CURRENT-amd64-2.7/./python/ujson.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./python/objToJSON.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./python/JSONtoObj.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./lib/ultrajsonenc.o build/temp.freebsd-11.0-CURRENT-amd64-2.7/./lib/ultrajsondec.o -o build/lib.freebsd-11.0-CURRENT-amd64-2.7/ujson.so creating build/bdist.freebsd-11.0-CURRENT-amd64 creating build/bdist.freebsd-11.0-CURRENT-amd64/egg copying build/lib.freebsd-11.0-CURRENT-amd64-2.7/ujson.so -> build/bdist.freebsd-11.0-CURRENT-amd64/egg writing byte-compilation script '/tmp/tmpOazmFu.py' /usr/local/bin/python2.7 -O /tmp/tmpOazmFu.py removing /tmp/tmpOazmFu.py creating stub loader for ujson.so byte-compiling build/bdist.freebsd-11.0-CURRENT-amd64/egg/ujson.py to ujson.pyc writing byte-compilation script '/tmp/tmpyTDjwm.py' /usr/local/bin/python2.7 -O /tmp/tmpyTDjwm.py removing /tmp/tmpyTDjwm.py creating build/bdist.freebsd-11.0-CURRENT-amd64/egg/EGG-INFO copying ujson.egg-info/PKG-INFO -> build/bdist.freebsd-11.0-CURRENT-amd64/egg/EGG-INFO copying ujson.egg-info/SOURCES.txt -> build/bdist.freebsd-11.0-CURRENT-amd64/egg/EGG-INFO copying ujson.egg-info/dependency_links.txt -> build/bdist.freebsd-11.0-CURRENT-amd64/egg/EGG-INFO copying ujson.egg-info/top_level.txt -> build/bdist.freebsd-11.0-CURRENT-amd64/egg/EGG-INFO writing build/bdist.freebsd-11.0-CURRENT-amd64/egg/EGG-INFO/native_libs.txt zip_safe flag not set; analyzing archive contents... creating dist creating 'dist/ujson-1.33-py2.7-freebsd-11.0-CURRENT-amd64.egg' and adding 'build/bdist.freebsd-11.0-CURRENT-amd64/egg' to it removing 'build/bdist.freebsd-11.0-CURRENT-amd64/egg' (and everything under it) Processing ujson-1.33-py2.7-freebsd-11.0-CURRENT-amd64.egg Removing /usr/local/lib/python2.7/site-packages/ujson-1.33-py2.7-freebsd-11.0-CURRENT-amd64.egg Copying ujson-1.33-py2.7-freebsd-11.0-CURRENT-amd64.egg to /usr/local/lib/python2.7/site-packages ujson 1.33 is already the active version in easy-install.pth Installed /usr/local/lib/python2.7/site-packages/ujson-1.33-py2.7-freebsd-11.0-CURRENT-amd64.egg Processing dependencies for ujson==1.33 Finished processing dependencies for ujson==1.33 ===> Registering installation for py27-ujson-1.33 pkg-static: lstat(/usr/local/lib/python2.7/site-packages/ujson.so): No such file or directory pkg-static: lstat(/usr/local/lib/python2.7/site-packages/ujson-1.33-py2.7.egg-info): No such file or directory Installing py27-ujson-1.33... done ===> Building package for py27-ujson-1.33 Creating package for py27-ujson-1.33 Service unavailable# .(03:48:55)(root@spigot) /usr/home/alfred/git/freebsd-ports/devel/py-ujson #