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 1817658 - abiword fails to build with Python 3.9: error: 'bytes_transferred' is not a member of 'asio::placeholders'
Summary: abiword fails to build with Python 3.9: error: 'bytes_transferred' is not a m...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: abiword
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Williamson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1842078 (view as bug list)
Depends On: 1817649
Blocks: F33FTBFS F33FailsToInstall PYTHON39
TreeView+ depends on / blocked
 
Reported: 2020-03-26 18:03 UTC by Miro Hrončok
Modified: 2020-06-23 01:47 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-06-23 01:47:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2020-03-26 18:03:14 UTC
abiword fails to build with Python 3.9.0a5.

Traceback (most recent call last):
  File "/usr/bin/g-ir-scanner", line 103, in <module>
    from giscanner.scannermain import scanner_main
  File "/usr/lib64/gobject-introspection/giscanner/scannermain.py", line 36, in <module>
    from giscanner.dumper import compile_introspection_binary
  File "/usr/lib64/gobject-introspection/giscanner/dumper.py", line 28, in <module>
    from .gdumpparser import IntrospectionBinary
  File "/usr/lib64/gobject-introspection/giscanner/gdumpparser.py", line 25, in <module>
    from xml.etree.cElementTree import parse
ModuleNotFoundError: No module named 'xml.etree.cElementTree'

This is caused directly by bz1817649.


For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.9/fedora-rawhide-x86_64/01321032-abiword/

For all our attempts to build abiword with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/abiword/

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.9:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Let us know here if you have any questions.

Python 3.9 will be included in Fedora 33. To make that update smoother, we're building Fedora packages with early pre-releases of Python 3.9.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires), so if this package is required a lot, it's important for us to get it fixed soon.
We'd appreciate help from the people who know this package best, but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Miro Hrončok 2020-03-26 23:22:34 UTC
Even with bz1817649, abiword still fails to build.

make[6]: Entering directory '/builddir/build/BUILD/abiword-3.0.4/plugins/collab/backends/service/unix'
/bin/sh ../../../../../libtool  --tag=CXX   --mode=compile g++ -DHAVE_CONFIG_H -I. -I../../../../..  -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/telepathy-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/loudmouth-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -pthread -I/usr/include/p11-kit-1  -DABICOLLAB_HANDLER_TELEPATHY -DABICOLLAB_HANDLER_XMPP -DABICOLLAB_HANDLER_TCP -DABICOLLAB_HANDLER_SUGAR -DABICOLLAB_HANDLER_SERVICE -DSOUP24 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread  -I/usr/include/libpng16  -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/wv -I/usr/include/enchant -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libgoffice-0.10 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/librsvg-2.0 -I/usr/include/lasem-0.4 -I/usr/include/gtk-3.0/unix-print -pthread  -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_0 -I/usr/include -I../../../../..  -I../../../../../src/af/ev/gtk -I../../../../../src/af/ev/xp -I../../../../../src/af/gr/gtk -I../../../../../src/af/gr/xp -I../../../../../src/af/util/unix -I../../../../../src/af/util/xp -I../../../../../src/af/xap/gtk -I../../../../../src/af/xap/xp -I../../../../../src/text/fmt/gtk -I../../../../../src/text/fmt/xp -I../../../../../src/text/ptbl/xp -I../../../../../src/wp/impexp/gtk -I../../../../../src/wp/impexp/xp -I../../../../../src/wp/ap/gtk -I../../../../../src/wp/ap/xp -I../../../../../src/plugins -DABI_DLL -I./.. -I./../.. -I./../../.. -I./../../../core -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wunused -Wpointer-arith -Wshadow  -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-overloaded-virtual -c -o ServiceUnixAccountHandler.lo ServiceUnixAccountHandler.cpp
libtool: compile:  g++ -DHAVE_CONFIG_H -I. -I../../../../.. -I/usr/include/libgsf-1 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/telepathy-1.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/loudmouth-1.0 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/fribidi -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/libsoup-2.4 -pthread -I/usr/include/p11-kit-1 -DABICOLLAB_HANDLER_TELEPATHY -DABICOLLAB_HANDLER_XMPP -DABICOLLAB_HANDLER_TCP -DABICOLLAB_HANDLER_SUGAR -DABICOLLAB_HANDLER_SERVICE -DSOUP24 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/libpng16 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libgsf-1 -I/usr/include/libxml2 -I/usr/include/wv -I/usr/include/enchant -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/libgoffice-0.10 -I/usr/include/gtk-3.0 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/gio-unix-2.0 -I/usr/include/atk-1.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/dbus-1.0 -I/usr/lib64/dbus-1.0/include -I/usr/include/at-spi-2.0 -I/usr/include/librsvg-2.0 -I/usr/include/lasem-0.4 -I/usr/include/gtk-3.0/unix-print -pthread -DGDK_VERSION_MIN_REQUIRED=GDK_VERSION_3_0 -I/usr/include -I../../../../.. -I../../../../../src/af/ev/gtk -I../../../../../src/af/ev/xp -I../../../../../src/af/gr/gtk -I../../../../../src/af/gr/xp -I../../../../../src/af/util/unix -I../../../../../src/af/util/xp -I../../../../../src/af/xap/gtk -I../../../../../src/af/xap/xp -I../../../../../src/text/fmt/gtk -I../../../../../src/text/fmt/xp -I../../../../../src/text/ptbl/xp -I../../../../../src/wp/impexp/gtk -I../../../../../src/wp/impexp/xp -I../../../../../src/wp/ap/gtk -I../../../../../src/wp/ap/xp -I../../../../../src/plugins -DABI_DLL -I./.. -I./../.. -I./../../.. -I./../../../core -Wall -Wextra -Wsign-compare -Wpointer-arith -Wchar-subscripts -Wwrite-strings -Wmissing-noreturn -Wunused -Wpointer-arith -Wshadow -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -Wno-overloaded-virtual -c ServiceUnixAccountHandler.cpp  -fPIC -DPIC -o .libs/ServiceUnixAccountHandler.o
make[6]: Leaving directory '/builddir/build/BUILD/abiword-3.0.4/plugins/collab/backends/service/unix'
annobin: ServiceUnixAccountHandler.cpp: ICE: attempting to access a gcc command line option that is not stored in global_options
annobin: ServiceUnixAccountHandler.cpp: ICE: Please contact the annobin maintainer with details of this problem
annobin: ServiceUnixAccountHandler.cpp: ICE: attempting to access a gcc command line option that is not stored in global_options
annobin: ServiceUnixAccountHandler.cpp: ICE: Please contact the annobin maintainer with details of this problem
annobin: ServiceUnixAccountHandler.cpp: ICE: attempting to access a gcc command line option that is not stored in global_options
annobin: ServiceUnixAccountHandler.cpp: ICE: Please contact the annobin maintainer with details of this problem
annobin: ServiceUnixAccountHandler.cpp: ICE: attempting to access a gcc command line option that is not stored in global_options
annobin: ServiceUnixAccountHandler.cpp: ICE: Please contact the annobin maintainer with details of this problem
In file included from ServiceUnixAccountHandler.h:23,
                 from ServiceUnixAccountHandler.cpp:20:
./../../../backends/service/xp/ServiceAccountHandler.h: In member function 'void ServiceAccountHandler::_send(boost::shared_ptr<X>, RealmBuddyPtr)':
./../../../backends/service/xp/ServiceAccountHandler.h:152:28: error: 'error' is not a member of 'asio::placeholders'
  152 |        asio::placeholders::error, asio::placeholders::bytes_transferred, recipient,
      |                            ^~~~~
./../../../backends/service/xp/ServiceAccountHandler.h:152:28: note: suggested alternatives:
In file included from /usr/include/asio/detail/impl/posix_mutex.ipp:24,
                 from /usr/include/asio/detail/posix_mutex.hpp:71,
                 from /usr/include/asio/detail/mutex.hpp:25,
                 from /usr/include/asio/detail/service_registry.hpp:20,
                 from /usr/include/asio/impl/execution_context.hpp:20,
                 from /usr/include/asio/execution_context.hpp:407,
                 from /usr/include/asio/detail/scheduler.hpp:21,
                 from /usr/include/asio/system_context.hpp:19,
                 from /usr/include/asio/impl/system_executor.hpp:22,
                 from /usr/include/asio/system_executor.hpp:127,
                 from /usr/include/asio/associated_executor.hpp:21,
                 from /usr/include/asio.hpp:19,
                 from ./../../../backends/service/xp/RealmConnection.h:24,
                 from ./../../../backends/service/xp/AbiCollabSaveInterceptor.h:23,
                 from ./../../../backends/service/xp/ServiceAccountHandler.h:33,
                 from ServiceUnixAccountHandler.h:23,
                 from ServiceUnixAccountHandler.cpp:20:
/usr/include/asio/error.hpp:64:11: note:   'asio::error'
   64 | namespace error {
      |           ^~~~~
In file included from ./../../../backends/service/xp/ServiceAccountHandler.h:40,
                 from ServiceUnixAccountHandler.h:23,
                 from ServiceUnixAccountHandler.cpp:20:
./../../../backends/service/xp/ServiceErrorCodes.h:52:12: note:   'abicollab::service::error'
   52 | SOAP_ERROR error(const soa::SoapFault& fault);
      |            ^~~~~
In file included from ServiceUnixAccountHandler.h:23,
                 from ServiceUnixAccountHandler.cpp:20:
./../../../backends/service/xp/ServiceAccountHandler.h:152:55: error: 'bytes_transferred' is not a member of 'asio::placeholders'
  152 |        asio::placeholders::error, asio::placeholders::bytes_transferred, recipient,
      |                                                       ^~~~~~~~~~~~~~~~~
make[6]: *** [Makefile:646: ServiceUnixAccountHandler.lo] Error 1
make[5]: *** [Makefile:684: all-recursive] Error 1
make[4]: *** [Makefile:610: all-recursive] Error 1
make[3]: *** [Makefile:701: all-recursive] Error 1
make[2]: *** [Makefile:539: all-recursive] Error 1


For the build logs, see:
https://download.copr.fedorainfracloud.org/results/@python/python3.9/fedora-rawhide-x86_64/01321341-abiword/

For all our attempts to build abiword with Python 3.9, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.9/package/abiword/

Comment 2 Miro Hrončok 2020-05-25 13:02:11 UTC
This comment is mass posted to all bugs blocking the Python 3.9 tracker, sorry if it is not 100 % relevant. When in doubt, please ask.


The Python 3.9 rebuild is in progress in a Koji side tag.

If you fix this bug, please don't rebuild the package in regular rawhide, but do it in the side tag with:

    $ fedpkg build --target=f33-python

The rebuild is progressing slowly and it is possible this package won't have all the required build dependencies yet. If that's the case, please just leave the fix committed and pushed and we will eventually rebuild it for you.

You are not asked to go and try rebuild all the missing dependencies yourself. If you know there is a bootstrap loop in the dependencies, let me know and we can untangle it together.

If you want to test your fix or reproduce the failure, you can still use the Copr repo mentioned in the initial comment of this bug: https://copr.fedorainfracloud.org/coprs/g/python/python3.9/

Comment 3 Miro Hrončok 2020-05-29 07:12:01 UTC
Python 3.9 update: The f33-python side tag is currently being merged.

New builds in f33-python are no longer possible, but python3 is not yet updated to Python 3.9 in rawhide. You can check when Python is Python 3.9 with:

    $ koji wait-repo f33-build --build python3.9-3.9.0~b1-3.fc3

And build the packages normally after that.

Comment 4 Tomáš Hrnčiar 2020-06-08 11:21:25 UTC
*** Bug 1842078 has been marked as a duplicate of this bug. ***

Comment 5 Igor Raits 2020-06-16 04:57:40 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 6 Adam Williamson 2020-06-23 00:54:05 UTC
I have committed a fix for this and another bug that showed up in the meantime, and I have a successful build in a local mock, but the s390 builders seem to be broken ATM so I can't get a build through Koji.

Comment 7 Adam Williamson 2020-06-23 01:47:17 UTC
OK, build is done now: https://koji.fedoraproject.org/koji/buildinfo?buildID=1511447


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