[Bug 212072] lang/python27: Fails to create package (missing python2.7/lib-dynload/_curses.so)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Tue Aug 23 23:09:13 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=212072
--- Comment #2 from dewayne at heuristicsystems.com.au ---
(In reply to Kubilay Kocak from comment #1)
Hi, apologies for being terse. After reviewing svnlite log -l4 its clear that
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 port".
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=pre
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=yes
I suspect that may be the problem, which I'll investigate further. You might
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.txz
All systems were rebuilt over the weekend (as usual) so I'll see what's changed
to prevent /usr/src/lib/ncurses/ncursesw/curses.h from finding a home...
-
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-python
mailing list