Bug 1736467 - collectd fails to build with Python 3.8
Summary: collectd fails to build with Python 3.8
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: collectd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
Assignee: Ruben Kerkhof
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: PYTHON38
TreeView+ depends on / blocked
 
Reported: 2019-08-01 17:48 UTC by Miro Hrončok
Modified: 2019-08-24 17:04 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-24 17:04:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Miro Hrončok 2019-08-01 17:48:15 UTC
collectd fails to build with Python 3.8.0b3.


Configuration:
  Build:
    Platform  . . . . . . Linux
    Compiler vendor . . . gnu
    CC  . . . . . . . . . gcc
    CFLAGS  . . . . . . . -Wall -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
    CXXFLAGS  . . . . . . -Wall -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
    CPP . . . . . . . . . gcc -E
    CPPFLAGS  . . . . . . -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
    GRPC_CPP_PLUGIN . . . 
    LD  . . . . . . . . . /usr/bin/ld -m elf_x86_64
    LDFLAGS . . . . . . . -Wl,-z,relro -Wl,--as-needed  -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld
    PROTOC  . . . . . . . /usr/bin/protoc
    YACC  . . . . . . . . yacc
    YFLAGS  . . . . . . . 

  Libraries:
    intel mic . . . . . . no (MicAccessApi not found)
    libaquaero5 . . . . . no (libaquaero5.h not found)
    libatasmart . . . . . yes
    libcurl . . . . . . . yes
    libdbi  . . . . . . . yes
    libdpdk . . . . . . . no (rte_config.h not found)
    libesmtp  . . . . . . yes
    libganglia  . . . . . no (gm_protocol.h not found)
    libgcrypt . . . . . . yes
    libgps  . . . . . . . yes
    libgrpc++ . . . . . . no (requires C++11 support)
    libhiredis  . . . . . yes
    libi2c-dev  . . . . . no (symbol i2c_smbus_read_i2c_block_data not found - have you installed libi2c-dev ?)
    libiokit  . . . . . . no
    libiptc . . . . . . . yes
    libjevents  . . . . . no (jevents.h not found)
    libjvm  . . . . . . . yes
    libkstat  . . . . . . no (Solaris only)
    libkvm  . . . . . . . no
    libldap . . . . . . . yes
    liblua  . . . . . . . yes
    liblvm2app  . . . . . no (lvm2app.h not found)
    libmemcached  . . . . yes
    libmicrohttpd . . . . yes
    libmnl  . . . . . . . yes
    libmodbus . . . . . . yes
    libmongoc . . . . . . yes
    libmosquitto  . . . . yes
    libmysql  . . . . . . yes
    libnetapp . . . . . . no (netapp_api.h not found)
    libnetsnmp  . . . . . yes
    libnetsnmpagent . . . yes
    libnotify . . . . . . yes
    libnvidia-ml  . . . . no
    libopenipmi . . . . . yes
    liboping  . . . . . . yes
    libowcapi . . . . . . yes
    libpcap . . . . . . . yes
    libperfstat . . . . . no (AIX only)
    libperl . . . . . . . yes (version 5.30.0)
    libpq . . . . . . . . yes
    libpqos . . . . . . . no (pqos.h not found)
    libprotobuf . . . . . no (libprotobuf not found)
    libprotobuf-c . . . . yes
    libpython . . . . . . yes
    libqpid-proton .  . . no (proton/proactor.h not found)
    librabbitmq . . . . . yes
    libriemann-client . . yes
    librdkafka  . . . . . yes
    librouteros . . . . . no (routeros_api.h not found)
    librrd  . . . . . . . yes
    libsensors  . . . . . yes
    libsigrok   . . . . . no (pkg-config could not find libsigrok)
    libssl  . . . . . . . yes
    libstatgrab . . . . . no (pkg-config doesn't know libstatgrab)
    libtokyotyrant  . . . no (tcrdb.h not found)
    libudev . . . . . . . yes
    libupsclient  . . . . yes
    libvarnish  . . . . . yes
    libvirt . . . . . . . yes
    libxenctrl  . . . . . yes
    libxml2 . . . . . . . yes
    libxmms . . . . . . . yes
    libyajl . . . . . . . yes
    oracle  . . . . . . . no (ORACLE_HOME is not set)
    protobuf-c  . . . . . yes
    protoc 3  . . . . . . yes

  Features:
    daemon mode . . . . . yes
    debug . . . . . . . . no

  Bindings:
    perl  . . . . . . . . yes (INSTALLDIRS=vendor)

  Modules:
    aggregation . . . . . yes
    amqp    . . . . . . . yes
    amqp1   . . . . . . . no (disabled on command line)
    apache  . . . . . . . yes
    apcups  . . . . . . . yes
    apple_sensors . . . . no (disabled on command line)
    aquaero . . . . . . . no (disabled on command line)
    ascent  . . . . . . . yes
    barometer . . . . . . no (disabled on command line)
    battery . . . . . . . yes
    bind  . . . . . . . . yes
    ceph  . . . . . . . . yes
    cgroups . . . . . . . yes
    chrony. . . . . . . . yes
    conntrack . . . . . . yes
    contextswitch . . . . yes
    cpu . . . . . . . . . yes
    cpufreq . . . . . . . yes
    cpusleep  . . . . . . yes
    csv . . . . . . . . . yes
    curl  . . . . . . . . yes
    curl_json . . . . . . yes
    curl_xml  . . . . . . yes
    dbi . . . . . . . . . yes
    df  . . . . . . . . . yes
    disk  . . . . . . . . yes
    dns . . . . . . . . . yes
    dpdkevents. . . . . . no (disabled on command line)
    dpdkstat  . . . . . . no (disabled on command line)
    drbd  . . . . . . . . yes
    email . . . . . . . . yes
    entropy . . . . . . . yes
    ethstat . . . . . . . yes
    exec  . . . . . . . . yes
    fhcount . . . . . . . yes
    filecount . . . . . . yes
    fscache . . . . . . . yes
    gmond . . . . . . . . no (disabled on command line)
    gps . . . . . . . . . yes
    gpu_nvidia  . . . . . no (disabled on command line)
    grpc  . . . . . . . . no (disabled on command line)
    hddtemp . . . . . . . yes
    hugepages . . . . . . yes
    intel_pmu . . . . . . no (disabled on command line)
    intel_rdt . . . . . . no (disabled on command line)
    interface . . . . . . yes
    ipc . . . . . . . . . yes
    ipmi  . . . . . . . . yes
    iptables  . . . . . . yes
    ipvs  . . . . . . . . yes
    irq . . . . . . . . . yes
    java  . . . . . . . . yes
    load  . . . . . . . . yes
    logfile . . . . . . . yes
    log_logstash  . . . . yes
    lpar  . . . . . . . . no (disabled on command line)
    lua . . . . . . . . . yes
    lvm . . . . . . . . . no (lvm2app.h not found) (dependency error)
    madwifi . . . . . . . yes
    match_empty_counter . yes
    match_hashed  . . . . yes
    match_regex . . . . . yes
    match_timediff  . . . yes
    match_value . . . . . yes
    mbmon . . . . . . . . yes
    mcelog  . . . . . . . yes
    md  . . . . . . . . . yes
    memcachec . . . . . . yes
    memcached . . . . . . yes
    memory  . . . . . . . yes
    mic . . . . . . . . . no (disabled on command line)
    modbus  . . . . . . . yes
    mqtt  . . . . . . . . yes
    multimeter  . . . . . yes
    mysql . . . . . . . . yes
    netapp  . . . . . . . no (disabled on command line)
    netlink . . . . . . . yes
    network . . . . . . . yes
    nfs . . . . . . . . . yes
    nginx . . . . . . . . yes
    notify_desktop  . . . yes
    notify_email  . . . . yes
    notify_nagios . . . . yes
    ntpd  . . . . . . . . yes
    numa  . . . . . . . .configure: error: "Some plugins are missing dependencies - see the summary above for details"
error: Bad exit status from /var/tmp/rpm-tmp.Q7PpUv (%build)
 yes
    nut . . . . . . . . . yes
    olsrd . . . . . . . . yes
    onewire . . . . . . . yes
    openldap  . . . . . . yes
    openvpn . . . . . . . yes
    oracle  . . . . . . . no (disabled on command line)
    ovs_events  . . . . . yes
    ovs_stats . . . . . . yes
    pcie_errors . . . . . yes
    perl  . . . . . . . . yes
    pf  . . . . . . . . . no (disabled on command line)
    pinba . . . . . . . . yes
    ping  . . . . . . . . yes
    postgresql  . . . . . yes
    powerdns  . . . . . . yes
    processes . . . . . . yes
    protocols . . . . . . yes
    python  . . . . . . . yes
    redis . . . . . . . . yes
    routeros  . . . . . . no (disabled on command line)
    rrdcached . . . . . . yes
    rrdtool . . . . . . . yes
    sensors . . . . . . . yes
    serial  . . . . . . . yes
    sigrok  . . . . . . . no (disabled on command line)
    smart . . . . . . . . yes
    snmp  . . . . . . . . yes
    snmp_agent  . . . . . yes
    statsd  . . . . . . . yes
    swap  . . . . . . . . yes
    synproxy  . . . . . . yes
    syslog  . . . . . . . yes
    table . . . . . . . . yes
    tail_csv  . . . . . . yes
    tail  . . . . . . . . yes
    tape  . . . . . . . . no (disabled on command line)
    target_notification . yes
    target_replace  . . . yes
    target_scale  . . . . yes
    target_set  . . . . . yes
    target_v5upgrade  . . yes
    tcpconns  . . . . . . yes
    teamspeak2  . . . . . yes
    ted . . . . . . . . . yes
    thermal . . . . . . . yes
    threshold . . . . . . yes
    tokyotyrant . . . . . no (disabled on command line)
    turbostat . . . . . . no (disabled on command line)
    unixsock  . . . . . . yes
    uptime  . . . . . . . yes
    users . . . . . . . . yes
    uuid  . . . . . . . . yes
    varnish . . . . . . . yes
    virt  . . . . . . . . yes
    vmem  . . . . . . . . yes
    vserver . . . . . . . yes
    wireless  . . . . . . yes
    write_graphite  . . . yes
    write_http  . . . . . yes
    write_kafka . . . . . yes
    write_log . . . . . . yes
    write_mongodb . . . . yes
    write_prometheus. . . yes
    write_redis . . . . . yes
    write_riemann . . . . yes
    write_sensu . . . . . yes
    write_stackdriver . . yes
    write_syslog . .  . . yes
    write_tsdb  . . . . . yes
    xencpu  . . . . . . . yes
    xmms  . . . . . . . . yes
    zfs_arc . . . . . . . yes
    zone  . . . . . . . . no (disabled on command line)
    zookeeper . . . . . . yes



RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.Q7PpUv (%build)

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

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

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 1 Ben Cotton 2019-08-13 16:50:40 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 31 development cycle.
Changing version to '31'.

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

Comment 3 Miro Hrončok 2019-08-14 22:24:25 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 4 Miro Hrončok 2019-08-21 16:35:09 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 5 Miro Hrončok 2019-08-21 17:29:14 UTC
(Python 3.8 has landed in the rawhide buildroot.)

Comment 6 Kevin Fenzi 2019-08-24 17:04:39 UTC
This is building fine now.


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