Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Mar 2022 16:53:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 262806] mail/notmuch fails to build after py-idna upgrade to 3.3
Message-ID:  <bug-262806-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D262806

            Bug ID: 262806
           Summary: mail/notmuch fails to build after py-idna upgrade to
                    3.3
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: jrm@freebsd.org
          Reporter: p5B2E9A8F@t-online.de
          Assignee: jrm@freebsd.org
             Flags: maintainer-feedback?(jrm@freebsd.org)

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D<phase=
: build          >=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D
=3D=3D=3D=3D=3D env: NO_DEPENDS=3Dyes USER=3Droot UID=3D0 GID=3D0
=3D=3D=3D>  Building for notmuch-0.35
gmake[1]: Entering directory
'/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0.35'
echo 0.35 > version.stamp
Use "gmake V=3D1" to see the verbose compile lines.
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
command-line-arguments.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  debugger.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  status.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
gmime-filter-reply.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  hooks.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
notmuch-client-init.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-compa=
ct.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-confi=
g.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-count=
.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-dump.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-inser=
t.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-reind=
ex.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-reply=
.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-new.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-resto=
re.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-searc=
h.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-setup=
.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-show.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-tag.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-time.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  sprinter-json=
.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  sprinter-text=
.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  sprinter-sexp=
.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  query-string.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  mime-node.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  tag-util.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/filenames=
.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/string-li=
st.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
lib/message-file.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/message-i=
d.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/messages.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/sha1.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/built-wit=
h.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/string-ma=
p.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/indexopts=
.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  lib/tags.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/database=
.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing=20=20
lib/parse-time-vrp.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/director=
y.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/index.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/message.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing=20=20
lib/message-property.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing=20=20
lib/add-message.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/query.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/query-fp=
.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/config.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing=20=20
lib/regexp-fields.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/thread.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/thread-f=
p.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/features=
.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/prefix.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/open.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/init.o
CXX  -O2 -pipe -fstack-protector-strong -fno-strict-aliasing   lib/parse-se=
xp.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  util/xutil.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  util/error_ut=
il.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
util/string-util.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  util/hex-esca=
pe.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
util/talloc-extra.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  util/zlib-ext=
ra.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  util/util.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
util/gmime-extra.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  util/crypto.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  util/repair.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  util/path-uti=
l.o
env LD_LIBRARY_PATH=3D/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0.35/lib
sphinx-build -b man -d doc/_build/man_doctrees -q ./doc doc/_build/man
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
util/unicode-util.o
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing=20
parse-time-string/parse-time-string.o
Missing sphinx or makeinfo, not building info pages
CC  -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch.o
AR lib/libnotmuch.a
AR parse-time-string/libparse-time-string.a
AR util/libnotmuch_util.a
CXX -O2 -pipe -fstack-protector-strong -fno-strict-aliasing=20=20
lib/libnotmuch.so.5.6.0
CXX -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch
ln -sf libnotmuch.so.5.6.0 lib/libnotmuch.so.5
ln -sf libnotmuch.so.5.6.0 lib/libnotmuch.so
cd bindings/python-cffi && \
        /usr/local/bin/python3.8 setup.py build --build-lib build/stage && \
        mkdir -p build/stage/tests && cp tests/*.py build/stage/tests && \
        touch ../python-cffi.stamp
CXX -O2 -pipe  -fstack-protector-strong -fno-strict-aliasing  notmuch-shared
running build
running build_py
creating build
creating build/stage
creating build/stage/notmuch2
copying notmuch2/_base.py -> build/stage/notmuch2
copying notmuch2/_tags.py -> build/stage/notmuch2
copying notmuch2/_message.py -> build/stage/notmuch2
copying notmuch2/_build.py -> build/stage/notmuch2
copying notmuch2/_query.py -> build/stage/notmuch2
copying notmuch2/_config.py -> build/stage/notmuch2
copying notmuch2/_database.py -> build/stage/notmuch2
copying notmuch2/_thread.py -> build/stage/notmuch2
copying notmuch2/__init__.py -> build/stage/notmuch2
copying notmuch2/_errors.py -> build/stage/notmuch2
running build_ext
generating cffi module
'build/temp.freebsd-13.0-RELEASE-amd64-3.8/notmuch2._capi.c'
creating build/temp.freebsd-13.0-RELEASE-amd64-3.8
building 'notmuch2._capi' extension
creating build/temp.freebsd-13.0-RELEASE-amd64-3.8/build
creating
build/temp.freebsd-13.0-RELEASE-amd64-3.8/build/temp.freebsd-13.0-RELEASE-a=
md64-3.8
cc -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing -fPIC
-I/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0.35/lib
-I/usr/local/include/python3.8 -c
build/temp.freebsd-13.0-RELEASE-amd64-3.8/notmuch2._capi.c -o
build/temp.freebsd-13.0-RELEASE-amd64-3.8/build/temp.freebsd-13.0-RELEASE-a=
md64-3.8/notmuch2._capi.o
build/temp.freebsd-13.0-RELEASE-amd64-3.8/notmuch2._capi.c:2963:10: warning:
'notmuch_message_get_flag' is deprecated: function deprecated as of libnotm=
uch
5.3 [-Wdeprecated-declarations]
  return notmuch_message_get_flag(x0, x1);
         ^
/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0.35/lib/notmuch.h:1713:1: not=
e:
'notmuch_message_get_flag' has been explicitly marked deprecated here
NOTMUCH_DEPRECATED (5, 3)
^
/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0.35/lib/notmuch.h:69:21: note:
expanded from macro 'NOTMUCH_DEPRECATED'
    __attribute__ ((deprecated ("function deprecated as of libnotmuch " #ma=
jor
"." #minor)))
                    ^
build/temp.freebsd-13.0-RELEASE-amd64-3.8/notmuch2._capi.c:2995:14: warning:
'notmuch_message_get_flag' is deprecated: function deprecated as of libnotm=
uch
5.3 [-Wdeprecated-declarations]
  { result =3D notmuch_message_get_flag(x0, x1); }
             ^
/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0.35/lib/notmuch.h:1713:1: not=
e:
'notmuch_message_get_flag' has been explicitly marked deprecated here
NOTMUCH_DEPRECATED (5, 3)
^
/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0.35/lib/notmuch.h:69:21: note:
expanded from macro 'NOTMUCH_DEPRECATED'
    __attribute__ ((deprecated ("function deprecated as of libnotmuch " #ma=
jor
"." #minor)))
                    ^
2 warnings generated.
cc -pthread -shared -L/usr/local/lib -Wl,-rpath,/usr/local/lib
-fstack-protector-strong -fstack-protector-strong -O2 -pipe
-fstack-protector-strong -fno-strict-aliasing
build/temp.freebsd-13.0-RELEASE-amd64-3.8/build/temp.freebsd-13.0-RELEASE-a=
md64-3.8/notmuch2._capi.o
-L/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0.35/lib -L/usr/local/lib
-lnotmuch -o build/stage/notmuch2/_capi.abi3.so
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
568, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
886, in require
    needed =3D self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
777, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (idna 3.3
(/usr/local/lib/python3.8/site-packages), Requirement.parse('idna<3,>=3D2.5=
'),
{'requests'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/bin/sphinx-build", line 33, in <module>
    sys.exit(load_entry_point('Sphinx=3D=3D4.3.1', 'console_scripts',
'sphinx-build')())
  File "/usr/local/bin/sphinx-build", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/local/lib/python3.8/importlib/metadata.py", line 77, in load
    module =3D import_module(match.group('module'))
  File "/usr/local/lib/python3.8/importlib/__init__.py", line 127, in
import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 843, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_remo=
ved
  File "/usr/local/lib/python3.8/site-packages/sphinx/cmd/build.py", line 2=
5,
in <module>
    from sphinx.application import Sphinx
  File "/usr/local/lib/python3.8/site-packages/sphinx/application.py", line=
 43,
in <module>
    from sphinx.registry import SphinxComponentRegistry
  File "/usr/local/lib/python3.8/site-packages/sphinx/registry.py", line 24=
, in
<module>
    from pkg_resources import iter_entry_points
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
3243, in <module>
    def _initialize_master_working_set():
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
3226, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
3255, in _initialize_master_working_set
    working_set =3D WorkingSet._build_master()
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
570, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
583, in _build_from_requirements
    dists =3D ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.8/site-packages/pkg_resources/__init__.py", =
line
772, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'idna<3,>=3D2.5' distribution was n=
ot
found and is required by requests
gmake[1]: *** [doc/Makefile.local:83: doc/_build/.roff.stamp] Error 1
gmake[1]: Leaving directory '/wrkdirs/usr/ports/mail/notmuch/work/notmuch-0=
.35'
=3D=3D=3D> Compilation failed unexpectedly.
Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure =
to
the maintainer.
*** Error code 1

Stop.
make: stopped in /usr/ports/mail/notmuch
=3D>> Cleaning up wrkdir
=3D=3D=3D>  Cleaning for notmuch-0.35
build of mail/notmuch | notmuch-0.35 ended at Fri Mar 25 17:25:07 CET 2022
build time: 00:00:34
!!! build failure encountered !!!

--=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-262806-7788>