FTBFS: 'SSL_OP_BIT’ undeclared here

Bug #1959588 reported by Andreas Hasenack
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
stunnel4 (Ubuntu)
Fix Released
Undecided
Andreas Hasenack

Bug Description

gcc -DHAVE_CONFIG_H -I. -I/usr/kerberos/include -I/usr/include -DLIBDIR='"/usr/lib/x86_64-linux-gnu/stunnel"' -DCONFDIR='"/etc/stunnel"' -DPIDFILE='"/var/run/stunnel4.pid"' -Wdate-time -D_FORTIFY_SOURCE=2 -g -O2 -ffile-prefix-map=/home/ubuntu/deb/stunnel4/stunnel4-5.60+dfsg=. -flto=auto -ffat-lto-objects -flto=auto -ffat-lto-objects -fstack-protector-strong -Wformat -Werror=format-security -Wall -pthread -Wextra -Wpedantic -Wformat=2 -Wconversion -Wno-long-long -Wno-deprecated-declarations -fPIE -fstack-protector -D_FORTIFY_SOURCE=2 -c -o stunnel-options.o `test -f 'options.c' || echo './'`options.c
options.c:229:13: error: ‘SSL_OP_BIT’ undeclared here (not in a function)
  229 | {"BIT", SSL_OP_BIT},
      | ^~~~~~~~~~
options.c:229:5: warning: missing initializer for field ‘value’ of ‘SSL_OPTION’ [-Wmissing-field-initializers]
  229 | {"BIT", SSL_OP_BIT},
      | ^
options.c:107:19: note: ‘value’ declared here
  107 | long unsigned value;
      | ^~~~~
make[2]: *** [Makefile:720: stunnel-options.o] Error 1
make[2]: Leaving directory '/home/ubuntu/deb/stunnel4/stunnel4-5.60+dfsg/src'
make[1]: *** [Makefile:415: all] Error 2
make[1]: Leaving directory '/home/ubuntu/deb/stunnel4/stunnel4-5.60+dfsg/src'
make: *** [Makefile:449: all-recursive] Error 1

Related branches

summary: - FTBFS: SSL_OP_BIT’ undeclared here
+ FTBFS: 'SSL_OP_BIT’ undeclared here
Changed in stunnel4 (Ubuntu):
assignee: nobody → Andreas Hasenack (ahasenack)
status: New → In Progress
Revision history for this message
Andreas Hasenack (ahasenack) wrote :

uploaded

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package stunnel4 - 3:5.60+dfsg-1ubuntu1

---------------
stunnel4 (3:5.60+dfsg-1ubuntu1) jammy; urgency=medium

  * Fix DEP8 failure (LP: #1959615):
    - d/t/python/struntime/__main__.py: PROTOCOL_TLS is deprecated in
      python 3.9
    - d/t/certs/{README.txt,*.pem}: regenerate test certificate with a
      subjectAltName of IP:127.0.0.1, since PROTOCOL_TLS_CLIENT enables
      check_hosthame and one of the tests connects to 127.0.0.1
  * d/p/07-ssl_op_bit-is-reserved patch: don't use a symbol that's
    reserved in OpenSSL 3 (LP: #1959588)

 -- Andreas Hasenack <email address hidden> Mon, 31 Jan 2022 20:33:12 +0000

Changed in stunnel4 (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.