Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Aug 2016 23:09:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        python@FreeBSD.org
Subject:   [Bug 212072] lang/python27: Fails to create package (missing python2.7/lib-dynload/_curses.so)
Message-ID:  <bug-212072-21822-7ICcJHZBqo@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-212072-21822@https.bugs.freebsd.org/bugzilla/>
References:  <bug-212072-21822@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D212072

--- Comment #2 from dewayne@heuristicsystems.com.au ---
(In reply to Kubilay Kocak from comment #1)
Hi, apologies for being terse.  After reviewing svnlite log -l4 its clear t=
hat
the python port hasn't experienced change.

How we maintain consistency is that we rebuild all ports on a virgin system=
. So
this is a fresh build.  Usually we build some 900+ packages for each of i386
and amd64.  The missing files occurs on both.

At the moment only 233 packages were built and all are "up-to-date with por=
t".
nothing from pkg version -v output|grep py

So to the investigation:
- From the build log:
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking ncurses.h usability... no
checking ncurses.h presence... no
checking for ncurses.h... no
...
building '_curses' extension
/usr/local/libexec/ccache/cc -fPIC -fno-strict-aliasing -O2 -pipe
-DOPENSSL_NO_SSL2 -DOPENSSL_NO_SSL3 -g0 -ggdb0 -DSTRIP_FBSDID -UNDEBUG
-UDEBUGGING -UEBUGGING -UDEBUG -march=3Dpre
In file included from
/var/ports/usr/ports/lang/python27/work/Python-2.7.12/Modules/_cursesmodule=
.c:114:
Include/py_curses.h:50:10: fatal error: 'curses.h' file not found
#include <curses.h>
         ^
1 error generated.
...
Failed to build these modules:
_curses            _curses_panel

Cause?
# grep -i curse /etc/src.conf
WITHOUT_NCURSESW=3Dyes

I suspect that may be the problem, which I'll investigate further.  You mig=
ht
close this as its probably an excessive expectation for port maintainers to
test for missing components from the standard OS. ;)

Thanks for your response.

PS. Interestingly our last build was
9.9M Aug 10 00:00 /d2/distribution/packages/100302/C3/All/python27-2.7.12.t=
xz
All systems were rebuilt over the weekend (as usual) so I'll see what's cha=
nged
to prevent /usr/src/lib/ncurses/ncursesw/curses.h from finding a home...
-

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-212072-21822-7ICcJHZBqo>