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 1968843 - F35FailsToInstall: module-build-service; fails to build: sqlalchemy.exc.InvalidRequestError: No such event 'dbapi_error' [NEEDINFO]
Summary: F35FailsToInstall: module-build-service; fails to build: sqlalchemy.exc.Inval...
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: module-build-service
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Mike McLean
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On: 1897148
Blocks: PYTHON3.10 F35FTBFS, RAWHIDEFTBFS F35FailsToInstall, RAWHIDEFailsToInstall
TreeView+ depends on / blocked
 
Reported: 2021-06-07 23:11 UTC by Miro Hrončok
Modified: 2021-07-11 04:22 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---
Embargoed:
mhroncok: needinfo? (mikem)


Attachments (Terms of Use)

Description Miro Hrončok 2021-06-07 23:11:40 UTC
Hello,

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

Your package (module-build-service) Fails To Install in Fedora 35:

can't install module-build-service:
  - nothing provides python3.9dist(setuptools) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(requests) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(six) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(sqlalchemy) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(flask) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(distro) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(prometheus-client) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(pyopenssl) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(fedmsg) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(flask-sqlalchemy) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(celery) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(dogpile-cache) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(flask-migrate) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(flask-script) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(funcsigs) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(ldap3) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(moksha-hub) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(munch) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(pygobject) needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python(abi) = 3.9 needed by module-build-service-3.6.1-1.fc35.noarch
  - nothing provides python3.9dist(kobo) >= 0.5 needed by module-build-service-3.6.1-1.fc35.noarch
  
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.


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/fesco/Updates_Policy/#updating-inter-dependent-packages

Thanks!

Comment 1 Miro Hrončok 2021-06-07 23:24:38 UTC
This bugzilla is likely a fallout from the Python 3.10 rebuild.

If your package (or some of the dependencies it has) failed to rebuild during the Python 3.10 rebuild, they now fail to install. To fix this, packages need to be rebuilt in Rawhide.

We will slowly triage the bugzillas, but we'd appreciate your help.

If you know this is blocked by an existing reported build failure or another package not yet rebuilt with Python 3.10, please mark it as such by using the "Depends On"/"Blocks" bugzilla fields. That will help us determine what failures to prioritize.

Thank you and sorry for the inconvenience. Let me know if you need any help.

Comment 2 Miro Hrončok 2021-06-15 00:30:15 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 3 Miro Hrončok 2021-06-25 10:32:54 UTC
Fails to build with: help2man: can't get `--help' info from /builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.noarch//usr/bin/mbs-manager

The underlying traceback is:

+ /builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64//usr/bin/mbs-manager --help
The configuration file at /etc/module-build-service/config.py was not present
Traceback (most recent call last):
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64//usr/bin/mbs-manager", line 33, in <module>
    sys.exit(load_entry_point('module-build-service==3.6.1', 'console_scripts', 'mbs-manager')())
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64//usr/bin/mbs-manager", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib64/python3.10/importlib/metadata/__init__.py", line 162, in load
    module = import_module(match.group('module'))
  File "/usr/lib64/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64/usr/lib/python3.10/site-packages/module_build_service/manage.py", line 15, in <module>
    from module_build_service.builder.MockModuleBuilder import (
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64/usr/lib/python3.10/site-packages/module_build_service/builder/__init__.py", line 12, in <module>
    GenericBuilder.register_backend_class(entrypoint.load())
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2450, in load
    return self.resolve()
  File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 2456, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64/usr/lib/python3.10/site-packages/module_build_service/builder/KojiModuleBuilder.py", line 26, in <module>
    from module_build_service.builder.KojiContentGenerator import KojiContentGenerator
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64/usr/lib/python3.10/site-packages/module_build_service/builder/KojiContentGenerator.py", line 29, in <module>
    from module_build_service.scheduler.db_session import db_session
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64/usr/lib/python3.10/site-packages/module_build_service/scheduler/db_session.py", line 84, in <module>
    _setup_event_listeners(db_session)
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64/usr/lib/python3.10/site-packages/module_build_service/scheduler/db_session.py", line 33, in _setup_event_listeners
    db_hook_event_listeners(db_session.bind.engine)
  File "/builddir/build/BUILDROOT/module-build-service-3.6.1-2.fc35.x86_64/usr/lib/python3.10/site-packages/module_build_service/common/monitor.py", line 89, in db_hook_event_listeners
    def receive_dbapi_error(**kw):
  File "/usr/lib64/python3.10/site-packages/sqlalchemy/event/api.py", line 142, in decorate
    listen(target, identifier, fn, *args, **kw)
  File "/usr/lib64/python3.10/site-packages/sqlalchemy/event/api.py", line 99, in listen
    _event_key(target, identifier, fn).listen(*args, **kw)
  File "/usr/lib64/python3.10/site-packages/sqlalchemy/event/api.py", line 29, in _event_key
    raise exc.InvalidRequestError(
sqlalchemy.exc.InvalidRequestError: No such event 'dbapi_error' for target 'Engine(sqlite:////builddir/build/BUILD/module-build-service-3.6.1/module_build_service.db)'

Comment 4 Miro Hrončok 2021-07-07 11:39:27 UTC
Hello,

This is the second reminder (step 4 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 5 Fedora Release Engineering 2021-07-11 04:22:58 UTC
Dear Maintainer,

your package has an open Fails To Build From Source bug for Fedora 35.
Action is required from you.

If you can fix your package to build, perform a build in koji, and either create
an update in bodhi, or close this bug without creating an update, if updating is
not appropriate [1]. If you are working on a fix, set the status to ASSIGNED to
acknowledge this. If you have already fixed this issue, please close this Bugzilla report.

Following the policy for such packages [2], your package will be orphaned if
this bug remains in NEW state more than 8 weeks (not sooner than 2021-08-02).

A week before the mass branching of Fedora 36 according to the schedule [3],
any packages not successfully rebuilt at least on Fedora 34 will be
retired regardless of the status of this bug.

[1] https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/
[2] https://docs.fedoraproject.org/en-US/fesco/Fails_to_build_from_source_Fails_to_install/
[3] https://fedorapeople.org/groups/schedule/f-36/f-36-key-tasks.html


Note You need to log in before you can comment on or make changes to this bug.