Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 823754 - dev-db/mysql-connector-c-8.0.27 - viosslfactories.cc:537:27: error: ‘FIPS_mode’ was not declared in this scope
Summary: dev-db/mysql-connector-c-8.0.27 - viosslfactories.cc:537:27: error: ‘FIPS_mod...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: openssl-3.0 822258
  Show dependency tree
 
Reported: 2021-11-14 18:00 UTC by Drake Donahue
Modified: 2021-11-17 01:05 UTC (History)
4 users (show)

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


Attachments
build log (build.log,67.01 KB, text/x-log)
2021-11-14 18:00 UTC, Drake Donahue
Details
environment (environment,108.59 KB, text/plain)
2021-11-14 18:02 UTC, Drake Donahue
Details
mysql-connector-c-8.0.27-openssl-3.0-disable-FIPS_mode.patch (mysql-connector-c-8.0.27-openssl-3.0-disable-FIPS_mode.patch,387 bytes, patch)
2021-11-16 10:11 UTC, Mark Wright
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Drake Donahue 2021-11-14 18:00:41 UTC
Created attachment 751152 [details]
build log

emerge --info '=dev-db/mysql-connector-c-8.0.27::gentoo'
Portage 3.0.28 (python 3.9.8-final-0, default/linux/amd64/17.1/desktop, gcc-11.2.0, glibc-2.34-r1, 5.15.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-5.15.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-6700K_CPU_@_4.00GHz-with-glibc2.34
KiB Mem:    32794784 total,  17404804 free
KiB Swap:   32767996 total,  32767996 free
Timestamp of repository gentoo: Sun, 14 Nov 2021 16:30:01 +0000
Head commit of repository gentoo: c75bfa849de020f38d3e0b131d6362eb9aceb4fc
sh bash 5.1_p8
ld GNU ld (Gentoo 2.37_p1 p0) 2.37
app-shells/bash:          5.1_p8::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.34.0-r5::gentoo
dev-lang/python:          2.7.18_p13::gentoo, 3.6.15::gentoo, 3.9.8::gentoo, 3.10.0_p1::gentoo, 3.11.0_alpha2::gentoo
dev-lang/rust-bin:        1.56.1::gentoo
dev-util/cmake:           3.21.4::gentoo
sys-apps/baselayout:      2.8::gentoo
sys-apps/openrc:          0.44.8::gentoo
sys-apps/sandbox:         2.29::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.71-r1::gentoo
sys-devel/automake:       1.16.5::gentoo
sys-devel/binutils:       2.37_p1::gentoo
sys-devel/gcc:            11.2.0::gentoo
sys-devel/gcc-config:     2.4::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.15::gentoo (virtual/os-headers)
sys-libs/glibc:           2.34-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-extra-opts: 

localrepo
    location: /var/db/repos/localrepo
    masters: gentoo

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe -fcommon"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/fax /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.1/ext-active/ /etc/php/cgi-php8.1/ext-active/ /etc/php/cli-php8.1/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /var/spool/fax/etc/xferfaxlog"
CXXFLAGS="-march=native -O2 -pipe -fcommon"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X a52 aac acl acpi alsa amd64 apache2 avahi bluetooth bonjour branding bzip2 cairo cdda cdr cli crypt cups dbus dri dts dvd dvdr elogind emboss encode exif flac fortran gdbm gif gpm gtk gui iconv icu ipv6 jpeg lcms libglvnd libnotify libtirpc mad mmx mng mp3 mp4 mpeg multilib nautilus ncurses nls notification nptl ogg opengl openmp pam pango pcre pdf png policykit ppds qt5 readline sdl seccomp snmp spell split-usr sse sse2 ssl startup-notification svg tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xattr xcb xml xv xvid zeroconf zlib" ABI_X86="64 32" ADA_TARGET="gnat_2019" APACHE2_MODULES="cgi" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="efi-64" INPUT_DEVICES="libinput" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-3" POSTGRES_TARGETS="postgres12 postgres13" PYTHON_SINGLE_TARGET="python3_9" PYTHON_TARGETS="python3_9" RUBY_TARGETS="ruby26 ruby27" SANE_BACKENDS="pixma" USERLAND="GNU" VIDEO_CARDS="amdgpu radeonsi" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq proto steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, RUSTFLAGS

=================================================================================

emerge -pqv '=dev-db/mysql-connector-c-8.0.27::gentoo' :
[ebuild     U ] dev-db/mysql-connector-c-8.0.27 [8.0.26] USE="-ldap -static-libs" ABI_X86="32 (64) (-x32)" 

!!! The following installed packages are masked:
- xfce-extra/xfce4-vala-4.10.3-r7::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Michał Górny <mgorny@gentoo.org> (2021-11-11)
# Last release was for XFCE 4.10, back in 2013.  Does not support modern
# Vala versions.  No revdeps.
# Removal on 2021-12-11.  Bug #823128.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

=================================================================================
Comment 1 Drake Donahue 2021-11-14 18:02:38 UTC
Created attachment 751154 [details]
environment
Comment 2 Mark Wright gentoo-dev 2021-11-16 10:11:26 UTC
Created attachment 751630 [details, diff]
mysql-connector-c-8.0.27-openssl-3.0-disable-FIPS_mode.patch

This is just a hack (by me) to disable FIPS with openssl 3.0 and allow it to compile.
Comment 3 Larry the Git Cow gentoo-dev 2021-11-17 01:05:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0d4c22f9c0b099d27366ea5d9f3503f72f4bbbd

commit a0d4c22f9c0b099d27366ea5d9f3503f72f4bbbd
Author:     Thomas Deutschmann <whissi@gentoo.org>
AuthorDate: 2021-11-17 00:55:16 +0000
Commit:     Thomas Deutschmann <whissi@gentoo.org>
CommitDate: 2021-11-17 01:04:47 +0000

    dev-db/mysql-connector-c: fix building against openssl-3
    
    Closes: https://bugs.gentoo.org/823754
    Package-Manager: Portage-3.0.28, Repoman-3.0.3
    Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>

 ...nector-c-8.0.27-add-OpenSSL-3.0.0-support.patch | 27 ++++++++++++++++++----
 1 file changed, 22 insertions(+), 5 deletions(-)