Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 951347 - dev-python/m2crypto-0.44.0: fails to build with dev-libs/openssl-3.4 (src/.../_m2crypto_wrap.c: error: fd_set has no member named _fds_bits)
Summary: dev-python/m2crypto-0.44.0: fails to build with dev-libs/openssl-3.4 (src/......
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 949705
  Show dependency tree
 
Reported: 2025-03-14 16:50 UTC by Toralf Förster
Modified: 2025-04-19 00:19 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,18.59 KB, text/plain)
2025-03-14 16:50 UTC, Toralf Förster
Details
dev-python:m2crypto-0.44.0:20250313-214104.log (dev-python:m2crypto-0.44.0:20250313-214104.log,16.16 KB, text/plain)
2025-03-14 16:50 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,155.94 KB, text/plain)
2025-03-14 16:50 UTC, Toralf Förster
Details
environment (environment,154.86 KB, text/plain)
2025-03-14 16:50 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.20 KB, application/x-xz)
2025-03-14 16:50 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,23.81 KB, application/x-xz)
2025-03-14 16:50 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,1.75 KB, application/x-xz)
2025-03-14 16:50 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,42.65 KB, application/x-xz)
2025-03-14 16:50 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,34.60 KB, application/x-xz)
2025-03-14 16:50 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2025-03-14 16:50:03 UTC
too long lines were shrinked:

         || defined __STRICT_ANSI__))'
/usr/include/sys/cdefs.h:718: Warning 202: Syntax error: expected operator
/usr/include/sys/cdefs.h:393: Warning 305: Bad constant value (ignored).
2025-03-13 21:41:44,017 root INFO creating /var/tmp/portage/dev-python/m2crypto-0.44.0/work/m2crypto-0.44.0-python3_12/build/temp.linux-x86_64-cpython-312/src/SWIG
2025-03-13 21:41:44,018 root INFO x86_64-pc-linux-gnu-gcc -O2 -pipe -march=native -fno-diagnostics-color -DNDEBUG -fPIC -I/usr/include/python3.12 -I/var/tmp/portage/dev-python/m2crypto-0.44.0/work/m2crypto-0.44.0/src/SWIG -c src/SWIG/_m2crypto_wrap.c -o /var/tmp/portage/dev-python/m2crypto-0.44.0/wo
src/SWIG/_m2crypto_wrap.c: In function _wrap_fd_set___fds_bits_set:
src/SWIG/_m2crypto_wrap.c:11879:88: error: fd_set has no member named __fds_bits; did you mean fds_bits?
11879 |       for (; ii < (size_t)1024/(8*(int) sizeof(__fd_mask)); ++ii) *(__fd_mask *)&arg1->__fds_bits[ii] = *((__fd_mask *)arg2 + ii);
      |                                                                                        ^~~~~~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_systemd-20250311-124509

  UNMASKED:

  [go-1.24] Requested by WilliamH - maybe block bug 950018
  <dev-lang/go-9999

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang version 20.1.0
llvm-config: 20.1.0
Python 3.12.9
go version go1.24.1 linux/amd64
Available Ruby profiles:
  [1]   ruby32 (with Rubygems)
  [2]   ruby34 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.85.0
  [2]   rust-1.85.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.14_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.6_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.442_p06 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm


  HEAD of ::gentoo
commit ff881be1c2598712e930c1f5709d91202cdfa327
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Thu Mar 13 20:20:33 2025 +0000

    2025-03-13 20:20:33 UTC

emerge -qpvO =dev-python/m2crypto-0.44.0
[ebuild  N    ] dev-python/m2crypto-0.44.0  USE="-debug" PYTHON_TARGETS="python3_12 -python3_10 -python3_11 -python3_13"
Comment 1 Toralf Förster gentoo-dev 2025-03-14 16:50:04 UTC
Created attachment 920780 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2025-03-14 16:50:05 UTC
Created attachment 920781 [details]
dev-python:m2crypto-0.44.0:20250313-214104.log
Comment 3 Toralf Förster gentoo-dev 2025-03-14 16:50:06 UTC
Created attachment 920782 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2025-03-14 16:50:08 UTC
Created attachment 920783 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2025-03-14 16:50:09 UTC
Created attachment 920784 [details]
etc.clang.tar.xz
Comment 6 Toralf Förster gentoo-dev 2025-03-14 16:50:10 UTC
Created attachment 920785 [details]
etc.portage.tar.xz
Comment 7 Toralf Förster gentoo-dev 2025-03-14 16:50:11 UTC
Created attachment 920786 [details]
logs.tar.xz
Comment 8 Toralf Förster gentoo-dev 2025-03-14 16:50:12 UTC
Created attachment 920787 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2025-03-14 16:50:14 UTC
Created attachment 920788 [details]
temp.tar.xz
Comment 11 Petr Šourek 2025-03-26 10:27:57 UTC
(In reply to Sam James from comment #10)
> https://lists.sr.ht/~mcepl/m2crypto/
> %3C6wbrpfnizsi4sishlfsfbirq4www442f7kab2bbkznhlinydjs@yedsa52tcp7u%3E

Thanks, there is a link to the patch inside. And I can confirm its working.

https://salsa.debian.org/python-team/packages/m2crypto/-/blob/22c985763270bd91fd8c0d3863ef9f77d8b0faa7/debian/patches/0004-swig-Workaround-for-reading-sys-select.h-ending-with.patch
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-04-19 00:19:24 UTC
Looks like 0.45.0 is supposed to contain the fix but doesn't quite work: https://lists.sr.ht/~mcepl/m2crypto/<2a37085149e723226358a302a76d158117fb81cd.camel@gentoo.org>.