Date: Mon, 06 May 2019 19:26:23 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 237767] devel/py-libzfs: Installation via ports and binary package fails Message-ID: <bug-237767-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237767 Bug ID: 237767 Summary: devel/py-libzfs: Installation via ports and binary package fails Product: Ports & Packages Version: Latest Hardware: amd64 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: wg@FreeBSD.org Reporter: marcel@herrbischoff.com Assignee: wg@FreeBSD.org Flags: maintainer-feedback?(wg@FreeBSD.org) Attempting to install the package fails in both cases on FreeBSD 12.0-RELEA= SE: ----- snip ---- $ sudo pkg install py36-libzfs Updating FreeBSD repository catalogue... FreeBSD repository is up to date. All repositories are up to date. Checking integrity... done (0 conflicting) The following 1 package(s) will be affected (of 0 checked): New packages to be INSTALLED: py36-libzfs: 1.0.20181220 [FreeBSD] Number of packages to be installed: 1 The process will require 7 MiB more space. Proceed with this action? [y/N]: y [1/1] Installing py36-libzfs-1.0.20181220... [1/1] Extracting py36-libzfs-1.0.20181220: 22% pkg: Fail to create temporary file: /usr/local/lib/python3.6/site-packages/libzfs-1.0-py3.6.egg-info/.PKG-INFO.= VOctmCOcGNw0:Not a directory [1/1] Extracting py36-libzfs-1.0.20181220: 100% ----- snip ---- $ cd /usr/ports/devel/py-libzfs/ && sudo make install clean [...truncated...] =3D=3D=3D> Building for py36-libzfs-1.0.20181220 WARNING: '' not a valid package name; please use only .-separated package n= ames in setup.py running build running build_py running build_ext cythoning libzfs.pyx to libzfs.c warning: ./pxd/nvpair.pxd:77:2: 'DATA_TYPE_UINT8_ARRAY' redeclared=20 building 'libzfs' extension creating build creating build/temp.freebsd-12.0-RELEASE-amd64-3.6 clang -DNDEBUG -O2 -pipe -march=3Dnative -fstack-protector-strong -fno-strict-aliasing -fPIC -I/usr/src/cddl/lib/libumem -I/usr/src/sys/cddl/compat/opensolaris/ -I/usr/src/sys/cddl/compat/opensola= ris -I/usr/src/cddl/compat/opensolaris/include -I/usr/src/cddl/compat/opensolaris/lib/libumem -I/usr/src/cddl/contrib/opensolaris/lib/libzpool/common -I/usr/src/sys/cddl/contrib/opensolaris/common/zfs -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/fs/zfs -I/usr/src/sys/cddl/contrib/opensolaris/uts/common/sys -I/usr/src/cddl/contrib/opensolaris/head -I/usr/src/sys/cddl/contrib/opensolaris/uts/common -I/usr/src/cddl/contrib/opensolaris/lib/libnvpair -I/usr/src/cddl/contrib/opensolaris/lib/libuutil/common -I/usr/src/cddl/contrib/opensolaris/lib/libzfs/common -I/usr/src/cddl/contrib/opensolaris/lib/libzfs_core/common -I/usr/local/include/python3.6m -c libzfs.c -o build/temp.freebsd-12.0-RELEASE-amd64-3.6/libzfs.o -DNEED_SOLARIS_BOOLEAN -D_XPG6 -g cd /usr/ports/devel/py-libzfs/ && make install cleancd /usr/ports/devel/py-libzfs/ && make install cleanlibzfs.c:806:11: warning: 'likely' macro redefined [-Wmacro-redefined] #define likely(x) __builtin_expect(!!(x), 1) ^ /usr/src/cddl/contrib/opensolaris/lib/libzpool/common/sys/zfs_context.h:674= :9: note: previous definition is here #define likely(x) __builtin_expect((x), 1) ^ libzfs.c:52191:73: warning: incompatible pointer to integer conversion pass= ing 'PyObject *' (aka 'struct _object *') to parameter of type 'enum lzc_send_flags' [-Wint-conversion] __pyx_v_ret =3D lzc_send_space(__pyx_v_c_name, __pyx_v_cfromname, __pyx_int_0, (&__pyx_v_space)); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~ /usr/src/cddl/contrib/opensolaris/lib/libzfs_core/common/libzfs_core.h:79:6= 7: note: passing argument to parameter here int lzc_send_space(const char *, const char *, enum lzc_send_flags, uint64_t *); ^ libzfs.c:55567:74: warning: passing 'const char *' to parameter of type 'ch= ar *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] __pyx_v_ret =3D zfs_destroy_snaps(__pyx_v_self->__pyx_base.handle, __pyx_v_c_name, 1); =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20= =20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20 ^~~~~~~~~~~~~~ /usr/src/cddl/contrib/opensolaris/lib/libzfs/common/libzfs.h:596:52: note: passing argument to parameter here extern int zfs_destroy_snaps(zfs_handle_t *, char *, boolean_t); ^ 3 warnings generated. creating build/lib.freebsd-12.0-RELEASE-amd64-3.6 clang -shared -fstack-protector-strong -O2 -pipe -march=3Dnative -fstack-protector-strong -fno-strict-aliasing build/temp.freebsd-12.0-RELEASE-amd64-3.6/libzfs.o -L/usr/local/lib -lnvpair -lzfs -lzfs_core -luutil -lgeom -lpython3.6m -o build/lib.freebsd-12.0-RELEASE-amd64-3.6/libzfs.so -g =3D=3D=3D> Staging for py36-libzfs-1.0.20181220 =3D=3D=3D> py36-libzfs-1.0.20181220 depends on package: py36-setuptools>0= - found =3D=3D=3D> py36-libzfs-1.0.20181220 depends on file: /usr/local/bin/pytho= n3.6 - found =3D=3D=3D> Generating temporary packing list WARNING: '' not a valid package name; please use only .-separated package n= ames in setup.py running install running build running build_py copying libzfs.c -> build/lib.freebsd-12.0-RELEASE-amd64-3.6 running build_ext skipping 'libzfs.c' Cython extension (up-to-date) running install_lib creating /ram/usr/ports/devel/py-libzfs/work-py36/stage/usr/local/lib/pytho= n3.6 creating /ram/usr/ports/devel/py-libzfs/work-py36/stage/usr/local/lib/python3.6/site= -packages copying build/lib.freebsd-12.0-RELEASE-amd64-3.6/libzfs.so -> /ram/usr/ports/devel/py-libzfs/work-py36/stage/usr/local/lib/python3.6/site= -packages copying build/lib.freebsd-12.0-RELEASE-amd64-3.6/libzfs.c -> /ram/usr/ports/devel/py-libzfs/work-py36/stage/usr/local/lib/python3.6/site= -packages writing byte-compilation script '/tmp/tmpy7f_dl9j.py' /usr/local/bin/python3.6 /tmp/tmpy7f_dl9j.py removing /tmp/tmpy7f_dl9j.py running install_egg_info running egg_info creating libzfs.egg-info writing libzfs.egg-info/PKG-INFO writing dependency_links to libzfs.egg-info/dependency_links.txt writing top-level names to libzfs.egg-info/top_level.txt writing manifest file 'libzfs.egg-info/SOURCES.txt' reading manifest file 'libzfs.egg-info/SOURCES.txt' writing manifest file 'libzfs.egg-info/SOURCES.txt' Copying libzfs.egg-info to /ram/usr/ports/devel/py-libzfs/work-py36/stage/usr/local/lib/python3.6/site= -packages/libzfs-1.0-py3.6.egg-info running install_scripts writing list of installed files to '/ram/usr/ports/devel/py-libzfs/work-py36/.PLIST.pymodtmp' =3D=3D=3D=3D> Compressing man pages (compress-man) =3D=3D=3D=3D> Running Q/A tests (stage-qa) Warning: 'lib/python3.6/site-packages/libzfs.so' is not stripped consider trying INSTALL_TARGET=3Dinstall-strip or using ${STRIP_CMD} =3D=3D=3D> Installing for py36-libzfs-1.0.20181220 =3D=3D=3D> Checking if py36-libzfs is already installed =3D=3D=3D> Registering installation for py36-libzfs-1.0.20181220 Installing py36-libzfs-1.0.20181220... pkg-static: Fail to create temporary file: /usr/local/lib/python3.6/site-packages/libzfs-1.0-py3.6.egg-info/.PKG-INFO.= DkMyMB08OSls:Not a directory *** Error code 70 Stop. make: stopped in /usr/ports/devel/py-libzfs ----- snip ---- This currently prevents installing sysutils/iocage. --=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-237767-7788>