Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 2021 15:42:40 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Yuri Victorovich <yuri@freebsd.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r559797 - head/archivers/py-zstandard
Message-ID:  <X/xHwIKzyk2g3HTk@hades.panopticon>
In-Reply-To: <202101010229.1012TiRR005369@repo.freebsd.org>
References:  <202101010229.1012TiRR005369@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Yuri Victorovich (yuri@FreeBSD.org) wrote:

> Author: yuri
> Date: Fri Jan  1 02:29:43 2021
> New Revision: 559797
> URL: https://svnweb.freebsd.org/changeset/ports/559797
> 
> Log:
>   archivers/py-zstandard: Update 0.14.1 -> 0.15.1
> 
> Modified:
>   head/archivers/py-zstandard/Makefile
>   head/archivers/py-zstandard/distinfo

The port is broken:

% python3 -m zstandard
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/runpy.py", line 188, in _run_module_as_main
    mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
  File "/usr/local/lib/python3.9/runpy.py", line 147, in _get_module_details
    return _get_module_details(pkg_main_name, error)
  File "/usr/local/lib/python3.9/runpy.py", line 111, in _get_module_details
    __import__(pkg_name)
  File "/usr/local/lib/python3.9/site-packages/zstandard/__init__.py", line 39, in <module>
    from .backend_c import *  # type: ignore
ImportError: zstd C API versions mismatch; Python bindings were not compiled/linked against expected zstd version (10405 returned by the lib, 10408 hardcoded in zstd headers, 10408 hardcoded in the cext)

Please fix ASAP and please test ports before committing.

> Modified: head/archivers/py-zstandard/Makefile
> ==============================================================================
> --- head/archivers/py-zstandard/Makefile	Fri Jan  1 02:29:39 2021	(r559796)
> +++ head/archivers/py-zstandard/Makefile	Fri Jan  1 02:29:43 2021	(r559797)
> @@ -1,7 +1,7 @@
>  # $FreeBSD$
>  
>  PORTNAME=	zstandard
> -DISTVERSION=	0.14.1
> +DISTVERSION=	0.15.1
>  CATEGORIES=	archivers python
>  MASTER_SITES=	CHEESESHOP
>  PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
> @@ -22,6 +22,6 @@ USE_PYTHON=	distutils autoplist
>  PYDISTUTILS_BUILDARGS=	--system-zstd
>  
>  post-install:
> -	@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR} && ${STRIP_CMD} zstd*.so _zstd_cffi*.so
> +	@cd ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/zstandard && ${STRIP_CMD} backend_c.so _cffi.so
>  
>  .include <bsd.port.mk>
> 
> Modified: head/archivers/py-zstandard/distinfo
> ==============================================================================
> --- head/archivers/py-zstandard/distinfo	Fri Jan  1 02:29:39 2021	(r559796)
> +++ head/archivers/py-zstandard/distinfo	Fri Jan  1 02:29:43 2021	(r559797)
> @@ -1,3 +1,3 @@
> -TIMESTAMP = 1607475065
> -SHA256 (zstandard-0.14.1.tar.gz) = 5dd700e52ec28c64d43f681ccde76b6436c8f89a332d6c9e22a6b629f28daeb5
> -SIZE (zstandard-0.14.1.tar.gz) = 676849
> +TIMESTAMP = 1609467783
> +SHA256 (zstandard-0.15.1.tar.gz) = cb7c6a6f7d62350b9f5539045da54422975630e34dd9069584cc776b9917115f
> +SIZE (zstandard-0.15.1.tar.gz) = 992126
> 

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:              https://github.com/AMDmi3




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