Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1841640

Summary: mailman3 IsADirectoryError: [Errno 21] Is a directory: '/builddir/build/BUILD/mailman-3.2.2/src/mailman/templates'
Product: [Fedora] Fedora Reporter: Igor Raits <igor.raits>
Component: mailman3Assignee: Aurelien Bompard <aurelien>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: aurelien, mhroncok, thrnciar
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: mailman3-3.2.2-3.fc33 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-06-23 15:10:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803234, 1803235, 1785415    

Description Igor Raits 2020-05-29 14:34:02 UTC
Hello,

Please note that this comment was generated automatically. If you feel that this output has mistakes, please contact me via email (ignatenkobrain).

Your package (mailman3) Fails To Install in Fedora 33:

can't install mailman3:
  - nothing provides python3.8dist(setuptools) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(requests) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(alembic) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(atpublic) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(flufl.bounce) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(lazr.config) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(passlib) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(zope.component) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(zope.configuration) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(zope.event) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(zope.interface) needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(click) >= 7 needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(aiosmtpd) >= 1.1 needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(dnspython) >= 1.14 needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(falcon) > 1 needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(flufl.i18n) >= 2 needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(flufl.lock) >= 3.1 needed by mailman3-3.2.2-1.fc33.noarch
  - nothing provides python3.8dist(sqlalchemy) >= 1.2.3 needed by mailman3-3.2.2-1.fc33.noarch
  
If you don't react accordingly to the policy for FTBFS/FTI bugs (https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/), your package may be orphaned in 8+ weeks.

P.S. The data was generated solely from koji buildroot, so it might be newer than the latest compose or the content on mirrors.

P.P.S. If this bug has been reported in the middle of upgrading multiple dependent packages, please consider using side tags: https://docs.fedoraproject.org/en-US/rawhide-gating/multi-builds/

Thanks!

Comment 1 Igor Raits 2020-06-08 06:58:17 UTC
Hello,

This is the first reminder (step 3 from https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/#_package_removal_for_long_standing_ftbfs_and_fti_bugs).

If you know about this problem and are planning on fixing it, please acknowledge so by setting the bug status to ASSIGNED. If you don't have time to maintain this package, consider orphaning it, so maintainers of dependent packages realize the problem.

Comment 2 Tomáš Hrnčiar 2020-06-09 07:50:00 UTC
Many tests failing with same error.

Traceback (most recent call last):
  File "/builddir/build/BUILD/mailman-3.2.2/src/mailman/rest/tests/test_preferences.py", line 41, in setUp
    self._member = self._mlist.subscribe(anne)
  File "/builddir/build/BUILD/mailman-3.2.2/src/mailman/database/transaction.py", line 85, in wrapper
    return function(args[0], config.db.store, *args[1:], **kws)
  File "/builddir/build/BUILD/mailman-3.2.2/src/mailman/model/mailinglist.py", line 494, in subscribe
    notify(SubscriptionEvent(self, member))
  File "/usr/lib/python3.9/site-packages/zope/event/__init__.py", line 31, in notify
    subscriber(event)
  File "/builddir/build/BUILD/mailman-3.2.2/src/mailman/app/membership.py", line 169, in handle_SubscriptionEvent
    send_welcome_message(mlist, member, member.preferred_language)
  File "/builddir/build/BUILD/mailman-3.2.2/src/mailman/app/notifications.py", line 51, in send_welcome_message
    welcome_message = wrap(getUtility(ITemplateLoader).get(
  File "/builddir/build/BUILD/mailman-3.2.2/src/mailman/model/template.py", line 207, in get
    path, fp = find(default_uri, mlist, code)
  File "/builddir/build/BUILD/mailman-3.2.2/src/mailman/utilities/i18n.py", line 156, in find
    for search_path in raw_search_order:
  File "/builddir/build/BUILD/mailman-3.2.2/src/mailman/utilities/i18n.py", line 117, in search
    templates_dir = str(resources.enter_context(path('mailman', 'templates')))
  File "/usr/lib64/python3.9/contextlib.py", line 429, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib64/python3.9/contextlib.py", line 117, in __enter__
    return next(self.gen)
  File "/usr/lib64/python3.9/importlib/resources.py", line 175, in _path_from_reader
    opener_reader = reader.open_resource(norm_resource)
  File "<frozen importlib._bootstrap_external>", line 995, in open_resource
IsADirectoryError: [Errno 21] Is a directory: '/builddir/build/BUILD/mailman-3.2.2/src/mailman/templates'