Date: Wed, 8 Oct 2003 08:12:44 +0100 (BST) From: Bruce M Simpson <bms@spc.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/57731: lang/python port build failure on RELENG_5_1 Message-ID: <20031008071244.666EC38@saboteur.dek.spc.org> Resent-Message-ID: <200310080720.h987KF1k070547@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 57731 >Category: ports >Synopsis: lang/python port build failure on RELENG_5_1 >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Oct 08 00:20:15 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Bruce M Simpson >Release: FreeBSD 5.1-RELEASE i386 >Organization: >Environment: System: FreeBSD kimchi.dek.spc.org 5.1-RELEASE-p8 FreeBSD 5.1-RELEASE-p8 #12: Mon Oct 6 02:43:18 BST 2003 bms@kimchi.dek.spc.org:/usr/src/sys/i386/compile/KIMCHI i386 kimchi:/usr/ports/lang/python % ident Makefile Makefile: $FreeBSD: ports/lang/python/Makefile,v 1.108 2003/10/04 05:17:10 perky Exp $ >Description: The python port fails to build. It errors out during a link step. Output below. ranlib libpython2.3.a c++ -lc_r -Wl,--export-dynamic -o python Modules/python.o libpython2.3.a -lutil -lm libpython2.3.a(posixmodule.o): In function `posix_tmpnam': posixmodule.o(.text+0x39e1): warning: tmpnam() possibly used unsafely; consider using mkstemp() libpython2.3.a(posixmodule.o): In function `posix_tempnam': posixmodule.o(.text+0x3930): warning: tempnam() possibly used unsafely; consider using mkstemp() case $MAKEFLAGS in *-s*) CC='cc' LDSHARED='cc -shared -lc_r' OPT='-DNDEBUG -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x20000' ./python -E ./setup.py -q build;; *) CC='cc' LDSHARED='cc -shared -lc_r' OPT='-DNDEBUG -O -pipe -mcpu=pentiumpro -D_THREAD_SAFE -DTHREAD_STACK_SIZE=0x20000' ./python -E ./setup.py build;; esac Could not find platform independent libraries <prefix> Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>] 'import site' failed; use -v for traceback Traceback (most recent call last): File "./setup.py", line 6, in ? import sys, os, getopt, imp, re ImportError: No module named os *** Error code 1 Stop in /usr/ports/lang/python/work/Python-2.3.2. *** Error code 1 Stop in /usr/ports/lang/python. Exit 1 >How-To-Repeat: Attempt to build python on RELENG_5_1. >Fix: >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031008071244.666EC38>