Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Dec 2017 02:47:27 GMT
From:      pkg-fallout@FreeBSD.org
To:        jhixson@gmail.com
Cc:        pkg-fallout@FreeBSD.org
Subject:   [package - 111amd64-default][net/py-libstorj] Failed for py36-libstoraj-1.0.2 in build
Message-ID:  <201712240247.vBO2lRuZ014315@beefy9.nyi.freebsd.org>

next in thread | raw e-mail | index | archive | help
You are receiving this mail as a port that you maintain
is failing to build on the FreeBSD package build server.
Please investigate the failure and submit a PR to fix
build.

Maintainer:     jhixson@gmail.com
Last committer: vanilla@FreeBSD.org
Ident:          $FreeBSD: head/net/py-libstorj/Makefile 457017 2017-12-23 02:51:49Z vanilla $
Log URL:        http://beefy9.nyi.freebsd.org/data/111amd64-default/457121/logs/py36-libstoraj-1.0.2.log
Build URL:      http://beefy9.nyi.freebsd.org/build.html?mastername=111amd64-default&build=457121
Log:

=>> Building net/py-libstorj
build started at Sun Dec 24 02:47:11 UTC 2017
port directory: /usr/ports/net/py-libstorj
package name: py36-libstoraj-1.0.2
building for: FreeBSD 111amd64-default-job-09 11.1-RELEASE-p6 FreeBSD 11.1-RELEASE-p6 amd64
maintained by: jhixson@gmail.com
Makefile ident:      $FreeBSD: head/net/py-libstorj/Makefile 457017 2017-12-23 02:51:49Z vanilla $
Poudriere version: 3.2.3-18-gb2420da1
Host OSVERSION: 1200052
Jail OSVERSION: 1101001
Job Id: 09

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1101001
UNAME_v=FreeBSD 11.1-RELEASE-p6
UNAME_r=11.1-RELEASE-p6
BLOCKSIZE=K
MAIL=/var/mail/root
STATUS=1
SAVED_TERM=
MASTERMNT=/usr/local/poudriere/data/.m/111amd64-default/ref
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
POUDRIERE_BUILD_TYPE=bulk
OLDPWD=/usr/local/poudriere/data/.m/111amd64-default/ref/.p
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
PWD=/usr/local/poudriere/data/.m/111amd64-default/ref/.p/pool
MASTERNAME=111amd64-default
SCRIPTPREFIX=/usr/local/share/poudriere
USER=root
HOME=/root
P_PYTHON_MAJOR_VER=2
POUDRIERE_VERSION=3.2.3-18-gb2420da1
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
LIBEXECPREFIX=/usr/local/libexec/poudriere
LOCALBASE=/usr/local
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

---Begin Poudriere Port Flags/Env---
PORT_FLAGS=
PKGENV=
FLAVOR=py36
DEPENDS_ARGS=
MAKE_ARGS= FLAVOR=py36
---End Poudriere Port Flags/Env---

---Begin OPTIONS List---
---End OPTIONS List---

--MAINTAINER--
jhixson@gmail.com
--End MAINTAINER--

--CONFIGURE_ARGS--

--End CONFIGURE_ARGS--

--CONFIGURE_ENV--
PYTHON="/usr/local/bin/python3.6" XDG_DATA_HOME=/wrkdirs/usr/ports/net/py-libstorj/work-py36  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/py-libstorj/work-py36  HOME=/wrkdirs/usr/ports/net/py-libstorj/work-py36 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/py-libstorj/work-py36/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh CMAKE_PREFIX_PATH="/usr/local"
--End CONFIGURE_ENV--

--MAKE_ENV--
XDG_DATA_HOME=/wrkdirs/usr/ports/net/py-libstorj/work-py36  XDG_CONFIG_HOME=/wrkdirs/usr/ports/net/py-libstorj/work-py36  HOME=/wrkdirs/usr/ports/net/py-libstorj/work-py36 TMPDIR="/tmp" PATH=/wrkdirs/usr/ports/net/py-libstorj/work-py36/.bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin NO_PIE=yes MK_DEBUG_FILES=no MK_KERNEL_SYMBOLS=no SHELL=/bin/sh NO_LINT=YES LDSHARED="cc -shared" PYTHONDONTWRITEBYTECODE= PYTHONOPTIMIZE= PREFIX=/usr/local  LOCALBASE=/usr/local  LIBDIR="/usr/lib"  CC="cc" CFLAGS="-O2 -pipe  -fstack-protector -isystem /usr/local/include -fno-strict-aliasing"  CPP="cpp" CPPFLAGS="-isystem /usr/local/include"  LDFLAGS=" -fstack-protector" LIBS="-L/usr/local/lib"  CXX="c++" CXXFLAGS="-O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include"  MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install  -s -m 555"  BSD_INSTALL_LIB="install  -s -m 0644"  BSD_INSTALL_SCRIPT="install  -m 555"  BSD_INSTALL_DATA=
 "install  -m 0644"  BSD_INSTALL_MAN="install  -m 444"
--End MAKE_ENV--

--PLIST_SUB--
PYTHON_INCLUDEDIR=include/python3.6m  PYTHON_LIBDIR=lib/python3.6  PYTHON_PLATFORM=freebsd11  PYTHON_PYOEXTENSION=opt-1.pyc  PYTHON_SITELIBDIR=lib/python3.6/site-packages  PYTHON_SUFFIX=36  PYTHON_VER=3.6  PYTHON_VERSION=python3.6 PYTHON2="@comment " PYTHON3="" OSREL=11.1 PREFIX=%D LOCALBASE=/usr/local  RESETPREFIX=/usr/local PORTDOCS="" PORTEXAMPLES="" LIB32DIR=lib DOCSDIR="share/doc/libstoraj"  EXAMPLESDIR="share/examples/libstoraj"  DATADIR="share/libstoraj"  WWWDIR="www/libstoraj"  ETCDIR="etc/libstoraj"
--End PLIST_SUB--

--SUB_LIST--
PREFIX=/usr/local LOCALBASE=/usr/local  DATADIR=/usr/local/share/libstoraj DOCSDIR=/usr/local/share/doc/libstoraj EXAMPLESDIR=/usr/local/share/examples/libstoraj  WWWDIR=/usr/local/www/libstoraj ETCDIR=/usr/local/etc/libstoraj
--End SUB_LIST--

---Begin make.conf---
USE_PACKAGE_DEPENDS=yes
BATCH=yes
WRKDIRPREFIX=/wrkdirs
PORTSDIR=/usr/ports
PACKAGES=/packages
DISTDIR=/distfiles
PACKAGE_BUILDING=yes
PACKAGE_BUILDING_FLAVORS=yes
#### /usr/local/etc/poudriere.d/make.conf ####
# XXX: We really need this but cannot use it while 'make checksum' does not
# try the next mirror on checksum failure.  It currently retries the same
# failed mirror and then fails rather then trying another.  It *does*
# try the next if the size is mismatched though.
#MASTER_SITE_FREEBSD=yes
# Build ALLOW_MAKE_JOBS_PACKAGES with 2 jobs
MAKE_JOBS_NUMBER=2
#### /usr/ports/Mk/Scripts/ports_env.sh ####
ARCH=amd64
CONFIGURE_MAX_CMD_LEN=262144
HAVE_COMPAT_IA32_KERN=YES
OPSYS=FreeBSD
OSREL=11.1
OSVERSION=1101001
PYTHONBASE=/usr/local
UID=0
_OSRELEASE=11.1-RELEASE-p6
#### Misc Poudriere ####
GID=0
DISABLE_MAKE_JOBS=poudriere
---End make.conf---
--Resource limits--
cpu time               (seconds, -t)  unlimited
file size           (512-blocks, -f)  unlimited
data seg size           (kbytes, -d)  33554432
stack size              (kbytes, -s)  524288
core file size      (512-blocks, -c)  unlimited
max memory size         (kbytes, -m)  unlimited
locked memory           (kbytes, -l)  unlimited
max user processes              (-u)  89999
open files                      (-n)  1024
virtual mem size        (kbytes, -v)  unlimited
swap limit              (kbytes, -w)  unlimited
socket buffer size       (bytes, -b)  unlimited
pseudo-terminals                (-p)  unlimited
kqueues                         (-k)  unlimited
umtx shared locks               (-o)  unlimited
--End resource limits--
=======================<phase: check-sanity   >============================
===>  License LGPL21+ accepted by the user
===========================================================================
=======================<phase: pkg-depends    >============================
===>   py36-libstoraj-1.0.2 depends on file: /usr/local/sbin/pkg - not found
===>   Installing existing package /packages/All/pkg-1.10.3_1.txz
[111amd64-default-job-09] Installing pkg-1.10.3_1...
[111amd64-default-job-09] Extracting pkg-1.10.3_1: .......... done
===>   py36-libstoraj-1.0.2 depends on file: /usr/local/sbin/pkg - found
===>   Returning to build of py36-libstoraj-1.0.2
===========================================================================
=======================<phase: fetch-depends  >============================
===========================================================================
=======================<phase: fetch          >============================
===>  License LGPL21+ accepted by the user
=> Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz doesn't seem to exist in /portdistfiles/.
=> Attempting to fetch https://codeload.github.com/Storj/python-libstorj/tar.gz/b344699?dummy=/Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz
fetch: https://codeload.github.com/Storj/python-libstorj/tar.gz/b344699?dummy=/Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz: size unknown
fetch: https://codeload.github.com/Storj/python-libstorj/tar.gz/b344699?dummy=/Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz: size of remote file is not known
Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz           0  B    0  Bps
===> Fetching all distfiles required by py36-libstoraj-1.0.2 for building
===========================================================================
=======================<phase: checksum       >============================
===>  License LGPL21+ accepted by the user
===> Fetching all distfiles required by py36-libstoraj-1.0.2 for building
=> SHA256 Checksum OK for Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz.
=> SHA256 Checksum OK for Storj-libstorj-v1.0.2_GH0.tar.gz.
===========================================================================
=======================<phase: extract-depends>============================
===========================================================================
=======================<phase: extract        >============================
===>  License LGPL21+ accepted by the user
===> Fetching all distfiles required by py36-libstoraj-1.0.2 for building
===>  Extracting for py36-libstoraj-1.0.2
=> SHA256 Checksum OK for Storj-python-libstorj-v1.0.2-b344699_GH0.tar.gz.
=> SHA256 Checksum OK for Storj-libstorj-v1.0.2_GH0.tar.gz.
===========================================================================
=======================<phase: patch-depends  >============================
===========================================================================
=======================<phase: patch          >============================
===>  Patching for py36-libstoraj-1.0.2
===========================================================================
=======================<phase: build-depends  >============================
===>   py36-libstoraj-1.0.2 depends on executable: swig3.0 - not found
===>   Installing existing package /packages/All/swig30-3.0.12.txz
[111amd64-default-job-09] Installing swig30-3.0.12...
[111amd64-default-job-09] `-- Installing lua52-5.2.4...
[111amd64-default-job-09] |   `-- Installing libedit-3.1.20170329_2,1...
[111amd64-default-job-09] |   `-- Extracting libedit-3.1.20170329_2,1: .......... done
[111amd64-default-job-09] `-- Extracting lua52-5.2.4: ......... done
[111amd64-default-job-09] `-- Installing pcre-8.40_1...
[111amd64-default-job-09] `-- Extracting pcre-8.40_1: .......... done
[111amd64-default-job-09] Extracting swig30-3.0.12: .......... done
Message from lua52-5.2.4:

===>   NOTICE:

The lua52 port currently does not have a maintainer. As a result, it is
more likely to have unresolved issues, not be up-to-date, or even be removed in
the future. To volunteer to maintain this port, please create an issue at:

https://bugs.freebsd.org/bugzilla

More information about port maintainership is available at:

https://www.freebsd.org/doc/en/articles/contributing/ports-contributing.html#maintain-port
===>   py36-libstoraj-1.0.2 depends on executable: swig3.0 - found
===>   Returning to build of py36-libstoraj-1.0.2
===>   py36-libstoraj-1.0.2 depends on package: py36-setuptools>0 - not found
===>   Installing existing package /packages/All/py36-setuptools-36.5.0.txz
[111amd64-default-job-09] Installing py36-setuptools-36.5.0...
[111amd64-default-job-09] `-- Installing python36-3.6.4...
[111amd64-default-job-09] |   `-- Installing gettext-runtime-0.19.8.1_1...
[111amd64-default-job-09] |   | `-- Installing indexinfo-0.3.1...
[111amd64-default-job-09] |   | `-- Extracting indexinfo-0.3.1: .... done
[111amd64-default-job-09] |   `-- Extracting gettext-runtime-0.19.8.1_1: .......... done
[111amd64-default-job-09] |   `-- Installing libffi-3.2.1_2...
[111amd64-default-job-09] |   `-- Extracting libffi-3.2.1_2: .......... done
[111amd64-default-job-09] |   `-- Installing readline-7.0.3_1...
[111amd64-default-job-09] |   `-- Extracting readline-7.0.3_1: .......... done
[111amd64-default-job-09] `-- Extracting python36-3.6.4: .......... done
[111amd64-default-job-09] Extracting py36-setuptools-36.5.0: .......... done
Message from python36-3.6.4:

===========================================================================

Note that some standard Python modules are provided as separate ports
as they require additional dependencies. They are available as:

py36-gdbm       databases/py-gdbm@py36
py36-sqlite3    databases/py-sqlite3@py36
py36-tkinter    x11-toolkits/py-tkinter@py36

===========================================================================
Message from py36-setuptools-36.5.0:

*******************************************************************

  Only /usr/local/bin/easy_install-3.6 script has been installed
  since Python 3.6 is not the default Python version.

*******************************************************************
===>   py36-libstoraj-1.0.2 depends on package: py36-setuptools>0 - found
===>   Returning to build of py36-libstoraj-1.0.2
===>   py36-libstoraj-1.0.2 depends on file: /usr/local/bin/python3.6 - found
===========================================================================
=======================<phase: lib-depends    >============================
===>   py36-libstoraj-1.0.2 depends on shared library: libstorj.so - not found
===>   Installing existing package /packages/All/libstorj-1.0.2.txz
[111amd64-default-job-09] Installing libstorj-1.0.2...
[111amd64-default-job-09] `-- Installing curl-7.57.0...
[111amd64-default-job-09] |   `-- Installing ca_root_nss-3.34.1...
[111amd64-default-job-09] |   `-- Extracting ca_root_nss-3.34.1: ........ done
[111amd64-default-job-09] |   `-- Installing libnghttp2-1.29.0...
[111amd64-default-job-09] |   `-- Extracting libnghttp2-1.29.0: .......... done
[111amd64-default-job-09] `-- Extracting curl-7.57.0: .......... done
[111amd64-default-job-09] `-- Installing json-c-0.12.1...
[111amd64-default-job-09] `-- Extracting json-c-0.12.1: .......... done
[111amd64-default-job-09] `-- Installing libmicrohttpd-0.9.52...
[111amd64-default-job-09] `-- Extracting libmicrohttpd-0.9.52: .......... done
[111amd64-default-job-09] `-- Installing libuv-1.18.0...
[111amd64-default-job-09] `-- Extracting libuv-1.18.0: .......... done
[111amd64-default-job-09] `-- Installing nettle-3.4...
[111amd64-default-job-09] |   `-- Installing gmp-6.1.2...
[111amd64-default-job-09] |   `-- Extracting gmp-6.1.2: .......... done
[111amd64-default-job-09] `-- Extracting nettle-3.4: .......... done
[111amd64-default-job-09] Extracting libstorj-1.0.2: .......... done
Message from ca_root_nss-3.34.1:

********************************* WARNING *********************************

FreeBSD does not, and can not warrant that the certification authorities
whose certificates are included in this package have in any way been
audited for trustworthiness or RFC 3647 compliance.

Assessment and verification of trust is the complete responsibility of the
system administrator.

*********************************** NOTE **********************************

This package installs symlinks to support root certificates discovery by
default for software that uses OpenSSL.

This enables SSL Certificate Verification by client software without manual
intervention.

If you prefer to do this manually, replace the following symlinks with
either an empty file or your site-local certificate bundle.

  * /etc/ssl/cert.pem
  * /usr/local/etc/ssl/cert.pem
  * /usr/local/openssl/cert.pem

***************************************************************************
===>   py36-libstoraj-1.0.2 depends on shared library: libstorj.so - found (/usr/local/lib/libstorj.so)
===>   Returning to build of py36-libstoraj-1.0.2
===========================================================================
=======================<phase: configure      >============================
===>  Configuring for py36-libstoraj-1.0.2
running config
===========================================================================
=======================<phase: build          >============================
===>  Building for py36-libstoraj-1.0.2
ext/libstorj/src/storj.h:133: Warning 314: 'pass' is a python keyword, renaming to '_pass'
lib/ext/python_libstorj.i:28: Warning 302: Identifier 'get_info' redefined (ignored),
lib/ext/python_libstorj.h:6: Warning 302: previous definition of 'get_info'.
lib/ext/python_libstorj.i:31: Warning 302: Identifier 'create_bucket' redefined (ignored),
lib/ext/python_libstorj.h:8: Warning 302: previous definition of 'create_bucket'.
lib/ext/python_libstorj.i:34: Warning 302: Identifier 'delete_bucket' redefined (ignored),
lib/ext/python_libstorj.h:10: Warning 302: previous definition of 'delete_bucket'.
lib/ext/python_libstorj.i:37: Warning 302: Identifier 'list_buckets' redefined (ignored),
lib/ext/python_libstorj.h:12: Warning 302: previous definition of 'list_buckets'.
lib/ext/python_libstorj.i:40: Warning 302: Identifier 'list_files' redefined (ignored),
lib/ext/python_libstorj.h:14: Warning 302: previous definition of 'list_files'.
ext/libstorj/src/storj.h:129: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:130: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:132: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:133: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:142: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:152: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:153: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:197: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:220: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:221: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:222: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:232: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:233: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:262: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:263: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:264: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:265: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:267: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:268: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:270: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:279: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:297: Warning 462: Unable to set dimensionless array variable
ext/libstorj/src/storj.h:367: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:368: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:369: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:389: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:390: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:415: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:457: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:458: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:460: Warning 451: Setting a const char * variable may leak memory.
ext/libstorj/src/storj.h:463: Warning 451: Setting a const char * variable may leak memory.
running build
running build_py
creating build
creating build/lib.freebsd-11.1-RELEASE-p6-amd64-3.6
creating build/lib.freebsd-11.1-RELEASE-p6-amd64-3.6/python_libstorj
copying lib/__init__.py -> build/lib.freebsd-11.1-RELEASE-p6-amd64-3.6/python_libstorj
copying lib/storj_env.py -> build/lib.freebsd-11.1-RELEASE-p6-amd64-3.6/python_libstorj
running build_ext
building '_python_libstorj' extension
creating build/temp.freebsd-11.1-RELEASE-p6-amd64-3.6
creating build/temp.freebsd-11.1-RELEASE-p6-amd64-3.6/lib
creating build/temp.freebsd-11.1-RELEASE-p6-amd64-3.6/lib/ext
cc -DNDEBUG -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -I/usr/local/include/python3.6m -c lib/ext/python_libstorj_wrap.cxx -o build/temp.freebsd-11.1-RELEASE-p6-amd64-3.6/lib/ext/python_libstorj_wrap.o
cc -DNDEBUG -O2 -pipe -fstack-protector -isystem /usr/local/include -fno-strict-aliasing -isystem /usr/local/include -fPIC -I/usr/local/include/python3.6m -c lib/ext/python_libstorj.cpp -o build/temp.freebsd-11.1-RELEASE-p6-amd64-3.6/lib/ext/python_libstorj.o
lib/ext/python_libstorj.cpp:43:46: error: use of undeclared identifier 'PyString_FromString'
        PyDict_SetItemString(bucket, "name", PyString_FromString(req->bucket->name));
                                             ^
lib/ext/python_libstorj.cpp:44:44: error: use of undeclared identifier 'PyString_FromString'
        PyDict_SetItemString(bucket, "id", PyString_FromString(req->bucket->id));
                                           ^
lib/ext/python_libstorj.cpp:47:18: error: use of undeclared identifier 'PyString_FromString'
        error =  PyString_FromString(error_str);
                 ^
lib/ext/python_libstorj.cpp:76:54: error: use of undeclared identifier 'PyString_FromString'
            PyDict_SetItemString(bucket_dict,"name", PyString_FromString(req->buckets[i].name));
                                                     ^
lib/ext/python_libstorj.cpp:77:52: error: use of undeclared identifier 'PyString_FromString'
            PyDict_SetItemString(bucket_dict,"id", PyString_FromString(req->buckets[i].id));
                                                   ^
lib/ext/python_libstorj.cpp:79:57: error: use of undeclared identifier 'PyString_FromString'
            PyDict_SetItemString(bucket_dict,"created", PyString_FromString(req->buckets[i].created));
                                                        ^
lib/ext/python_libstorj.cpp:84:17: error: use of undeclared identifier 'PyString_FromString'
        error = PyString_FromString(error_str);
                ^
lib/ext/python_libstorj.cpp:104:56: error: use of undeclared identifier 'PyString_FromString'
            PyDict_SetItemString(file_dict,"filename", PyString_FromString(req->files[i].filename));
                                                       ^
lib/ext/python_libstorj.cpp:105:50: error: use of undeclared identifier 'PyString_FromString'
            PyDict_SetItemString(file_dict,"id", PyString_FromString(req->files[i].id));
                                                 ^
lib/ext/python_libstorj.cpp:107:55: error: use of undeclared identifier 'PyString_FromString'
            PyDict_SetItemString(file_dict,"created", PyString_FromString(req->files[i].created));
                                                      ^
lib/ext/python_libstorj.cpp:109:56: error: use of undeclared identifier 'PyString_FromString'
            PyDict_SetItemString(file_dict,"mimetype", PyString_FromString(req->files[i].mimetype));
                                                       ^
lib/ext/python_libstorj.cpp:114:17: error: use of undeclared identifier 'PyString_FromString'
        error = PyString_FromString(error_str);
                ^
lib/ext/python_libstorj.cpp:130:18: error: use of undeclared identifier 'PyString_AsString'
    char *name = PyString_AsString(py_name);
                 ^
lib/ext/python_libstorj.cpp:136:16: error: use of undeclared identifier 'PyString_AsString'
    char *id = PyString_AsString(py_id);
               ^
lib/ext/python_libstorj.cpp:146:23: error: use of undeclared identifier 'PyString_AsString'
    char *bucket_id = PyString_AsString(py_bucket_id);
                      ^
15 errors generated.
error: command 'cc' failed with exit status 1
*** Error code 1

Stop.
make: stopped in /usr/ports/net/py-libstorj



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201712240247.vBO2lRuZ014315>