Bug 2008778 - exim-4.94.2-4.fc36 FTBFS with OpenSSL 3: tls-openssl.c:230:5: error: missing binary operator before token "1"
Summary: exim-4.94.2-4.fc36 FTBFS with OpenSSL 3: tls-openssl.c:230:5: error: missing ...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: exim
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F36FTBFS
TreeView+ depends on / blocked
 
Reported: 2021-09-29 07:28 UTC by Petr Pisar
Modified: 2021-10-04 14:52 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-04 14:51:33 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2021-09-29 07:28:15 UTC
exim-4.94.2-4.fc36 fails to build in Fedora 36:

cc -c -O -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I/usr/include/nsl -I/usr/include/tirpc -O2 -flto=auto -ffat-lto-objects -fexceptions -
g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/re
dhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fpie -DMACRO_PREDEF  -o macro-tls.o tls.c
In file included from sha_ver.h:38,
                 from hash.h:14,
                 from exim.h:530,
                 from tls.c:20:
tls-openssl.c:230:5: error: missing binary operator before token "1"
  230 | #if SSL_OP_NO_TLSv1_1 == 0x00000400L
      |     ^~~~~~~~~~~~~~~~~
[...]
make[1]: *** [Makefile:317: macro-tls.o] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/exim-4.94.2/build-Linux-x86_64'

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/11191742>. This is very probably caused by upgrading OpenSSL from 1:1.1.1k-2.fc35 to 1:3.0.0-1.fc36.

Comment 1 Jaroslav Škarvada 2021-10-04 14:51:09 UTC
https://bugs.exim.org/show_bug.cgi?id=2810


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