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 1735972 - krita: FTBFS against python-3.8
Summary: krita: FTBFS against python-3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: krita
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Rex Dieter
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F31FTBFS PYTHON38 1732841
TreeView+ depends on / blocked
 
Reported: 2019-08-01 13:38 UTC by Fedora Release Engineering
Modified: 2019-10-18 18:55 UTC (History)
5 users (show)

Fixed In Version: krita-4.2.6-2.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-10-18 18:55:27 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (42 bytes, text/plain)
2019-08-01 13:38 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2019-08-01 13:38 UTC, Fedora Release Engineering
no flags Details
state.log (467 bytes, text/plain)
2019-08-01 13:38 UTC, Fedora Release Engineering
no flags Details

Description Fedora Release Engineering 2019-08-01 13:38:24 UTC
krita failed to build from source in Fedora rawhide/f31

https://koji.fedoraproject.org/koji/taskinfo?taskID=36634647


For details on the mass rebuild see:

https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Please fix krita at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks,
krita will be orphaned. Before branching of Fedora 32,
krita will be retired, if it still fails to build.

For more details on the FTBFS policy, please visit:
https://fedoraproject.org/wiki/Fails_to_build_from_source

Comment 1 Fedora Release Engineering 2019-08-01 13:38:26 UTC
Created attachment 1597381 [details]
build.log

Comment 2 Fedora Release Engineering 2019-08-01 13:38:29 UTC
Created attachment 1597382 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2019-08-01 13:38:32 UTC
Created attachment 1597383 [details]
state.log

Comment 4 Miro Hrončok 2019-08-02 10:14:42 UTC
krita also fails to build with Python 3.8.0b3.

[ 98%] Building CXX object plugins/extensions/pykrita/kritarunner/CMakeFiles/kritarunner.dir/__/plugin/plugin.cpp.o
cd /builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/plugins/extensions/pykrita/kritarunner && /usr/bin/c++  -DBOOST_ALL_NO_LIB -DHAVE_X11 -DKCOREADDONS_LIB -DKGUIADDONS_LIB -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DBUS_LIB -DQT_DISABLE_DEPRECATED_BEFORE=0x50900 -DQT_GUI_LIB -DQT_MULTIMEDIA_LIB -DQT_NETWORK_LIB -DQT_NO_DEBUG -DQT_NO_SIGNALS_SLOTS_KEYWORDS -DQT_NO_URL_CAST_FROM_STRING -DQT_PRINTSUPPORT_LIB -DQT_STRICT_ITERATORS -DQT_SVG_LIB -DQT_USE_QSTRINGBUILDER -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -DQT_XML_LIB -DTRANSLATION_DOMAIN=\"krita\" -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/plugins/extensions/pykrita/kritarunner -I/builddir/build/BUILD/krita-4.2.2/plugins/extensions/pykrita/kritarunner -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/plugins/extensions/pykrita/kritarunner/kritarunner_autogen/include -I/builddir/build/BUILD/krita-4.2.2/interfaces -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu -I/builddir/build/BUILD/krita-4.2.2 -I/builddir/build/BUILD/krita-4.2.2/plugins/extensions/pykrita -I/builddir/build/BUILD/krita-4.2.2/plugins/extensions/pykrita/kritarunner/../plugin -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/plugins/extensions/pykrita/kritarunner/../plugin -I/builddir/build/BUILD/krita-4.2.2/plugins/extensions/pykrita/kritarunner/../libkis -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/plugins/extensions/pykrita/kritarunner/../libkis -I/builddir/build/BUILD/krita-4.2.2/libs/ui/canvas -I/builddir/build/BUILD/krita-4.2.2/libs/ui/flake -I/builddir/build/BUILD/krita-4.2.2/libs/ui/ora -I/builddir/build/BUILD/krita-4.2.2/libs/ui/tool -I/builddir/build/BUILD/krita-4.2.2/libs/ui/utils -I/builddir/build/BUILD/krita-4.2.2/libs/ui/widgets -I/builddir/build/BUILD/krita-4.2.2/libs/ui/input/wintab -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/ui -I/builddir/build/BUILD/krita-4.2.2/libs/ui -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/impex -I/builddir/build/BUILD/krita-4.2.2/libs/impex -I/builddir/build/BUILD/krita-4.2.2/libs/image/brushengine -I/builddir/build/BUILD/krita-4.2.2/libs/image/filter -I/builddir/build/BUILD/krita-4.2.2/libs/image/generator -I/builddir/build/BUILD/krita-4.2.2/libs/image/layerstyles -I/builddir/build/BUILD/krita-4.2.2/libs/image/processing -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/image -I/builddir/build/BUILD/krita-4.2.2/libs/image -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/version -I/builddir/build/BUILD/krita-4.2.2/libs/version -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/widgets -I/builddir/build/BUILD/krita-4.2.2/libs/widgets -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/odf -I/builddir/build/BUILD/krita-4.2.2/libs/odf -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/koplugin -I/builddir/build/BUILD/krita-4.2.2/libs/koplugin -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/store -I/builddir/build/BUILD/krita-4.2.2/libs/store -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/global -I/builddir/build/BUILD/krita-4.2.2/libs/global -I/builddir/build/BUILD/krita-4.2.2/libs/flake/commands -I/builddir/build/BUILD/krita-4.2.2/libs/flake/tools -I/builddir/build/BUILD/krita-4.2.2/libs/flake/svg -I/builddir/build/BUILD/krita-4.2.2/libs/flake/text -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/flake -I/builddir/build/BUILD/krita-4.2.2/libs/flake -I/builddir/build/BUILD/krita-4.2.2/libs/pigment/resources -I/builddir/build/BUILD/krita-4.2.2/libs/pigment/compositeops -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/pigment -I/builddir/build/BUILD/krita-4.2.2/libs/pigment -I/builddir/build/BUILD/krita-4.2.2/libs/widgetutils/config -I/builddir/build/BUILD/krita-4.2.2/libs/widgetutils/xmlgui -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/widgetutils -I/builddir/build/BUILD/krita-4.2.2/libs/widgetutils -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/command -I/builddir/build/BUILD/krita-4.2.2/libs/command -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/psd -I/builddir/build/BUILD/krita-4.2.2/libs/psd -I/builddir/build/BUILD/krita-4.2.2/x86_64-redhat-linux-gnu/libs/metadata -I/builddir/build/BUILD/krita-4.2.2/libs/metadata -I/buildd/builddir/build/BUILD/krita-4.2.2/plugins/extensions/pykrita/plugin/pyqtpluginsettings.cpp:19:10: fatal error: ui_manager.h: No such file or directory
   19 | #include "ui_manager.h"
      |          ^~~~~~~~~~~~~~
compilation terminated.


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.8/fedora-rawhide-x86_64/00990211-krita/

For all our attempts to build krita with Python 3.8, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/package/krita/

Testing and mass rebuild of packages is happening in copr. You can follow these instructions to test locally in mock if your package builds with Python 3.8:
https://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Let us know here if you have any questions.

Comment 5 Ben Cotton 2019-08-13 18:36:00 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to 31.

Comment 6 Miro Hrončok 2019-08-14 22:24:49 UTC
The coordinated rebuild of Python 3.8 has started in the `f32-python` side tag.

If you figure out how to rebuild this package, please don't rebuild it in regular rawhide, but use the side tag instead:

    on branch master:
    $ fedpkg build --target=f32-python

To wait for a build to show up in the side tag, do:

    $ koji wait-repo f32-python --build=<nvr>

Where <nvr> is name-version-release of the source package, e.g. python-foo-1.1-2.fc32.

An updated mock config is posted at:
http://copr.fedorainfracloud.org/coprs/g/python/python3.8/

Note that it will take a while before the essential packages are rebuilt, so don't expect all your dependencies to be available right away.

Thanks. Let us know if you need up to date info, or if you have any questions.



PS this message is mass posted to all the bugs that block the PYTHON38 bug. If this is also a Fedora 31 FTBFS bug and you manage to fix it, you can do a f31 build as usual:

    on branch f31:
    $ fedpkg build

Comment 7 Rex Dieter 2019-08-15 13:24:35 UTC
Adjusting summary, general FTBFS issue(s) are fixed

Comment 8 Miro Hrončok 2019-08-21 16:35:36 UTC
The f32-python side tag has been merged. In order to rebuild the package, do it in regular rawhide, but please wait until python3-3.8 is tagged:

  $ koji wait-repo f32-build --build python3-3.8.0~b3-3.fc32


If your built already started in f32-python, after it is finished, please tag it to rawhide with:

  $ koji tag-build f32-pending <nvr>

For example:

  $ koji tag-build f32-pending libreoffice-6.3.0.4-3.fc32

Thanks!

(This comment is mass posted to all bugzillas blocking the PYTHON38 tracking bug.)

Comment 9 Miro Hrončok 2019-08-21 17:29:33 UTC
(Python 3.8 has landed in the rawhide buildroot.)

Comment 10 Rex Dieter 2019-08-21 19:48:59 UTC
python integration in krita is an optional feature, we can disable if needed until fixed.

 %changelog
+* Wed Aug 21 2019 Rex Dieter <rdieter> - 4.2.5-5
+- disable python support on f32+ until FTBFS issues are sorted out

Comment 11 Petr Viktorin 2019-08-27 07:56:45 UTC
I did a scratch build with Python enabled, and it succeeded: https://koji.fedoraproject.org/koji/taskinfo?taskID=37290139

Comment 12 Zbigniew Jędrzejewski-Szmek 2019-10-18 18:55:27 UTC
Built in rawhide with python support.


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