Bug 256742 - security/gvm: pkg-static: py38-pycrypto-2.6.1_3 conflicts with py38-pycryptodome-3.10.1
Summary: security/gvm: pkg-static: py38-pycrypto-2.6.1_3 conflicts with py38-pycryptod...
Status: Closed Unable to Reproduce
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Jose Alonso Cardenas Marquez
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-21 09:10 UTC by O. Hartmann
Modified: 2021-09-05 02:18 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (acm)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description O. Hartmann 2021-06-21 09:10:34 UTC
poudriere jail (13-STABLE) running on 14-CURRENT host, fails to build port security/gvm with the error shown below.

Environment is:

=>> Building security/gvm
build started at Mon Jun 21 06:23:13 UTC 2021
port directory: /usr/ports/security/gvm
package name: gvm-21.4.0
building for: FreeBSD host.gdr.de 13.0-STABLE FreeBSD 13.0-STABLE 1300509 amd64
maintained by: acm@FreeBSD.org
Makefile ident: 
Poudriere version: 3.3.6
Host OSVERSION: 1400023
Jail OSVERSION: 1300509
Job Id: 04

---Begin Environment---
SHELL=/bin/csh
OSVERSION=1300509
UNAME_v=FreeBSD 13.0-STABLE 1300509
UNAME_r=13.0-STABLE
BLOCKSIZE=K
MAIL=/var/mail/root
MM_CHARSET=UTF-8
LANG=C.UTF-8
STATUS=1
HOME=/root
PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/root/bin
LOCALBASE=/usr/local
USER=root
LIBEXECPREFIX=/usr/local/libexec/poudriere
POUDRIERE_VERSION=3.3.6
MAKEOBJDIRPREFIX=/pool/sources/13-STABLE/obj/
MASTERMNT=/pool/poudriere/data/.m/13amd64-head-default/ref
POUDRIERE_BUILD_TYPE=bulk
PACKAGE_BUILDING=yes
SAVED_TERM=screen
PWD=/pool/poudriere/data/.m/13amd64-head-default/ref/.p/pool
P_PORTS_FEATURES=FLAVORS SELECTED_OPTIONS
MASTERNAME=13amd64-head-default
SCRIPTPREFIX=/usr/local/share/poudriere
OLDPWD=/pool/poudriere/data/.m/13amd64-head-default/ref/.p
SCRIPTPATH=/usr/local/share/poudriere/bulk.sh
POUDRIEREPATH=/usr/local/bin/poudriere
---End Environment---

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

---Begin OPTIONS List---
===> The following configuration options are available for gvm-21.4.0:
     GVM-TOOLS=on: Install GVM tools
     PYTHON-GVM=on: Install GVM python API library
===> Use 'make config' to modify these settings
---End OPTIONS List---

[...]
===>   gvm-21.4.0 depends on file: /usr/local/sbin/gvmd - found
===>   Returning to build of gvm-21.4.0
===>   gvm-21.4.0 depends on file: /usr/local/bin/ospd-openvas - not found
===>   Installing existing package /packages/All/py38-ospd-openvas-21.4.0.txz
[pulverfass.lan101.bundesimmobilien.intern] Installing py38-ospd-openvas-21.4.0...
[pulverfass.lan101.bundesimmobilien.intern] `-- Installing openvas-21.4.0...
[pulverfass.lan101.bundesimmobilien.intern] |   `-- Installing libpcap-1.10.0...
[pulverfass.lan101.bundesimmobilien.intern] |   `-- Extracting libpcap-1.10.0: .......... done
[pulverfass.lan101.bundesimmobilien.intern] |   `-- Installing py38-impacket-0.9.17...
[pulverfass.lan101.bundesimmobilien.intern] |   | `-- Installing py38-pcapy-0.11.1...
[pulverfass.lan101.bundesimmobilien.intern] |   | `-- Extracting py38-pcapy-0.11.1: ....... done
[pulverfass.lan101.bundesimmobilien.intern] |   | `-- Installing py38-pyasn1-0.4.7...
[pulverfass.lan101.bundesimmobilien.intern] |   | `-- Extracting py38-pyasn1-0.4.7: .......... done
[pulverfass.lan101.bundesimmobilien.intern] |   | `-- Installing py38-pycrypto-2.6.1_3...
pkg-static: py38-pycrypto-2.6.1_3 conflicts with py38-pycryptodome-3.10.1 (installs files into the same place).  Problematic file: /usr/local/lib/python3.8/site-packages/Crypto/Cipher/AES.py

Failed to install the following 1 package(s): /packages/All/py38-ospd-openvas-21.4.0.txz
*** Error code 1
Comment 1 O. Hartmann 2021-06-21 09:11:51 UTC
Same on a poudriere jail running 13-RELENG:

Poudriere version: 3.3.6
Host OSVERSION: 1400023
Jail OSVERSION: 1300139
Job Id: 03
Comment 2 O. Hartmann 2021-08-04 05:40:34 UTC
Does someone take care of this?
Comment 3 Jose Alonso Cardenas Marquez freebsd_committer freebsd_triage 2021-08-04 20:02:12 UTC
(In reply to O. Hartmann from comment #2)

It think it is not a problem with gvm ports. It seems like a CONFLICTS problems between pycrypto and pycryptodome. But it is really strange because openvas/py-ospd-openvas packages were generated without problems from freebsd servers

Take a look at

https://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/py38-ospd-openvas-21.4.1.txz
https://pkg.freebsd.org/FreeBSD:13:amd64/latest/All/openvas-21.4.1.txz