maintainer-feedback requested: [Bug 264925] lang/python39: wrong update procedure: "pkg list" does not exist!

2022-06-27 Thread bugzilla-noreply
Bugzilla Automation  has asked freebsd-python (Nobody)
 for maintainer-feedback:
Bug 264925: lang/python39: wrong update procedure: "pkg list" does not exist!
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264925



--- Description ---
Due to the upgrade procedure lang/python38 -> lang/python39, the suggested
aBourne shell script suggested for portmaster user introduced in
/usr/ports/UPDATING is wrong - it didn't work the last time it was introduced
in the same file and and doesn't work this time either:

pkg list 

is wrong and is considered to be

pkg info

See entry 20210425:



[Bug 264925] lang/python39: wrong update procedure: "pkg list" does not exist!

2022-06-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264925

Bug ID: 264925
   Summary: lang/python39: wrong update procedure: "pkg list" does
not exist!
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: Individual Port(s)
  Assignee: python@FreeBSD.org
  Reporter: ohartm...@walstatt.org
  Assignee: python@FreeBSD.org
 Flags: maintainer-feedback?(python@FreeBSD.org)

Due to the upgrade procedure lang/python38 -> lang/python39, the suggested
aBourne shell script suggested for portmaster user introduced in
/usr/ports/UPDATING is wrong - it didn't work the last time it was introduced
in the same file and and doesn't work this time either:

pkg list 

is wrong and is considered to be

pkg info

See entry 20210425:

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 264926] graphics/gexiv2: doesn't build with lang/python39 due to static reference to python3.8

2022-06-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264926

Bug ID: 264926
   Summary: graphics/gexiv2: doesn't build with lang/python39 due
to static reference to python3.8
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Only Me
  Priority: ---
 Component: Individual Port(s)
  Assignee: ports-b...@freebsd.org
  Reporter: ohartm...@walstatt.org
CC: c...@freebsd.org, python@FreeBSD.org
CC: c...@freebsd.org, python@FreeBSD.org

With the transition from lang/python38 -> lang/python39 there is some fallout
from building ports depending on Python, especially

graphics/gexiv2

After upgrading according to /usr/ports/UPDATING for "portmaster", building 
fails with

[...]
===>  Building for gexiv2-0.14.0
[  4% 2/23] /usr/local/bin/meson --internal exe --capture gexiv2/gexiv2-enums.h
-- /usr/local/bin/glib-mkenums --identifier-prefix gexiv2 --symbol-prefix
GExiv2 --template
/usr/ports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-enums.h.template
/usr/ports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-metadata.h
/usr/ports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-log.h
FAILED: gexiv2/gexiv2-enums.h 
/usr/local/bin/meson --internal exe --capture gexiv2/gexiv2-enums.h --
/usr/local/bin/glib-mkenums --identifier-prefix gexiv2 --symbol-prefix GExiv2
--template
/usr/ports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-enums.h.template
/usr/ports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-metadata.h
/usr/ports/graphics/gexiv2/work/gexiv2-0.14.0/_build/../gexiv2/gexiv2-log.h
--- stderr ---
env: /usr/local/bin/python3.8: No such file or directory

-- 
You are receiving this mail because:
You are on the CC list for the bug.


maintainer-feedback requested: [Bug 264929] security/py-certbot-dns-route53 jmespath dependency error

2022-06-27 Thread bugzilla-noreply
Bugzilla Automation  has asked freebsd-python (Nobody)
 for maintainer-feedback:
Bug 264929: security/py-certbot-dns-route53 jmespath dependency error
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264929



--- Description ---
Cerbot fails to renew certificates due to a dependency error:

root@mail:~ # certbot renew
An unexpected error occurred:
pkg_resources.ContextualVersionConflict: (jmespath 1.0.1
(/usr/local/lib/python3.8/site-packages),
Requirement.parse('jmespath<1.0.0,>=0.7.1'), {'boto3'})



[Bug 264929] security/py-certbot-dns-route53 jmespath dependency error

2022-06-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264929

Bug ID: 264929
   Summary: security/py-certbot-dns-route53 jmespath dependency
error
   Product: Ports & Packages
   Version: Latest
  Hardware: Any
OS: Any
Status: New
  Severity: Affects Many People
  Priority: ---
 Component: Individual Port(s)
  Assignee: python@FreeBSD.org
  Reporter: b...@area536.com
  Assignee: python@FreeBSD.org
 Flags: maintainer-feedback?(python@FreeBSD.org)

Cerbot fails to renew certificates due to a dependency error:

root@mail:~ # certbot renew
An unexpected error occurred:
pkg_resources.ContextualVersionConflict: (jmespath 1.0.1
(/usr/local/lib/python3.8/site-packages),
Requirement.parse('jmespath<1.0.0,>=0.7.1'), {'boto3'})

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 264929] security/py-certbot-dns-route53 jmespath dependency error

2022-06-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264929

--- Comment #1 from b...@area536.com ---
I fixed this myself by running pkg upgrade -f on the affected system. That is
strange because apparently nothing relevant changed. Obviously something did,
but I can't find it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


[Bug 264926] graphics/gexiv2: doesn't build with lang/python39 due to static reference to python3.8

2022-06-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264926

Christoph Moench-Tegeder  changed:

   What|Removed |Added

 Resolution|--- |Not A Bug
 Status|New |Closed

--- Comment #1 from Christoph Moench-Tegeder  ---
1. gexiv2 does not reference python38 directly (what even made you think that,
and how did you test that hypothesis?). In fact, gexiv2 did build just fine
with python39 here, and we did not have that fallout in the exp-runs of bug
#261703 .

2. Your log snippet is rather short, but the most likely candidate for failing
in that is /usr/local/bin/glib-mkenums - which is in fact a python script -
from devel/glib20. That would indicate that the some runtime dependencies (i.e.
python38) of the glib package had been removed: your system is in an
inconsitant state, so all bets are off anyways.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


pkg-static: Unable to access file /usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/__init__.py:No such file or directory

2022-06-27 Thread Mario Marietto
Hello.

I'm playing a little bit with sikulix. I'm trying to learn how it works
because I want to automatize the daily tasks of my FreeBSD 13.1-RELEASE.
So,as soon as I have implemented my first "click on the image"
function,I've got the error message that you see below and I don't know how
to fix it :











*[error] RunTime:loadLib: libopencv_java430.so (failed) probably dependent
libs missing: Can't load library:
/root/.Sikulix/SikulixLibs/libopencv_java430.so [error] Save your work,
correct the problem and restart the IDE! [error] see:
https://github.com/RaiMan/SikuliX1/wiki/macOS-Linux:-Support-Libraries-for-OpenCV-4

TERMINATING: problem with native library: libopencv_java430.so [error]
script [ click_image ] stopped with error in line 1 [error]
java.lang.ExceptionInInitializerError (
java.lang.ExceptionInInitializerError ) [error] --- Traceback --- error
source first line: module ( function ) statement 1: main (  )
click("1656348124939.png") [error] --- Traceback --- end --*


At this point I tried to compile opencv from ports enabling JAVA like this :

mario@marietto:/usr/ports/graphics/opencv # make (enabled JAVA)
mario@marietto:/usr/ports/graphics/opencv # make install


but it didn't work :


.

===>  Installing for opencv-4.5.5_7
===>  Checking if opencv is already installed
===>   Registering installation for opencv-4.5.5_7
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/__init__.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/config-3.9.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/config.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/gapi/__init__.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/load_config_py2.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/load_config_py3.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/mat_wrapper/__init__.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/misc/__init__.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/misc/version.py:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/python-3.9/cv2.cpython-39.so:No
such file or directory
pkg-static: Unable to access file
/usr/ports/graphics/opencv/work/stage/usr/local/lib/python3.9/site-packages/cv2/utils/__init__.py:No
such file or directory
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/graphics/opencv
*** Error code 1

Stop.
make: stopped in /usr/ports/graphics/opencv


I suppose that the error depends on the fact that I'm using python 3.8 as
default but it wants python 3.9 ?

mario@marietto:/home/marietto # python --version
Python 3.8.13

What's the right procedure to upgrade it (if I should do this,because I'm
not sure). I tried to remove python38,but I think that it's not the right
choice :

mario@marietto:/home/marietto # pkg remove python38

Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 580 packages (of 0
packages in the universe)...

but If I don't remove python38 from packages,I can't compile python 3.9
from ports. So,what ?

take also in consideration that I have installed some python packages :

mario@marietto:/home/marietto # pkg remove python39

Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 6 packages (of 0
packages in the universe):

Installed packages to be REMOVED:
   asciidoc: 10.2.0
   py39-cython: 0.29.30_1
   py39-numpy: 1.22.4_1,1
   py39-setuptools: 62.1.0_1
   python: 3.9_3,2
   python39: 3.9.13

Number of packages to be removed: 6

but I haven't removed them,since I'm not sure if I should do this. I don't
know what to do.

-- 
Mario.


[Bug 264925] lang/python39: wrong update procedure: "pkg list" does not exist!

2022-06-27 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=264925

Tatsuki Makino  changed:

   What|Removed |Added

 CC||tatsuki_mak...@hotmail.com

--- Comment #1 from Tatsuki Makino  ---
"pkg list" is an alias for "pkg info -ql".

I too think it would be better written as pkg info -ql :)

-- 
You are receiving this mail because:
You are the assignee for the bug.