Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695512 - dev-perl/Net-SSLeay USE="libressl": error: ‘struct ssl3_state_st’ has no member named ‘tmp’
Summary: dev-perl/Net-SSLeay USE="libressl": error: ‘struct ssl3_state_st’ has no memb...
Status: RESOLVED DUPLICATE of bug 684308
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: ARM64 Linux
: Normal normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-24 05:00 UTC by Alexander Weber
Modified: 2019-09-27 13:55 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Weber 2019-09-24 05:00:54 UTC
Tested with 1.820.0, 1.850.0 and 1.880.0

>>> Emerging (1 of 1) dev-perl/Net-SSLeay-1.820.0::gentoo
 * Net-SSLeay-1.82.tar.gz BLAKE2B SHA512 size ;-) ...                                                                                                                                  [ ok ]
>>> Unpacking source...
>>> Unpacking Net-SSLeay-1.82.tar.gz to /var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/work
>>> Preparing source in /var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/work/Net-SSLeay-1.82 ...
 * Applying Net-SSLeay-1.82-respect-cflags.patch ...                                                                                                                                   [ ok ]
 * Applying Net-SSLeay-1.82-fix-libdir.patch ...                                                                                                                                       [ ok ]
 * Applying Net-SSLeay-1.82-fix-network-tests.patch ...                                                                                                                                [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/work/Net-SSLeay-1.82 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/image/
*** Found LibreSSL-2.9. installed in /usr
*** Be sure to use the same compiler and options to compile your OpenSSL, perl,
    and Net::SSLeay. Mixing and matching compilers is not supported.
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Net::SSLeay
Writing MYMETA.yml and MYMETA.json
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/work/Net-SSLeay-1.82 ...
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make -j6 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed' 
"/usr/bin/perl" "-Iinc" "/usr/lib64/perl5/5.28.2/ExtUtils/xsubpp"  -typemap '/usr/lib64/perl5/5.28.2/ExtUtils/typemap' -typemap '/var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/work/Net-SSLeay-1.82/typemap'  SSLeay.xs > SSLeay.xsc
Running Mkbootstrap for SSLeay ()
chmod 644 "SSLeay.bs"
cp lib/Net/SSLeay.pm blib/lib/Net/SSLeay.pm
AutoSplitting blib/lib/Net/SSLeay.pm (blib/lib/auto/Net/SSLeay)
"/usr/bin/perl" "-Iinc" -MExtUtils::Command::MM -e 'cp_nonempty' -- SSLeay.bs blib/arch/auto/Net/SSLeay/SSLeay.bs 644
blib/lib/Net/SSLeay.pm: some names are not unique when truncated to 8 characters:
 directory blib/lib/auto/Net/SSLeay:
  do_https3.al, do_https2.al, do_https4.al, do_https.al truncate to do_https
  do_httpx3.al, do_httpx2.al, do_httpx4.al truncate to do_httpx
  get_https.al, get_https3.al, get_https4.al, get_http.al, get_http3.al, get_http4.al, get_httpx.al, get_httpx3.al, get_httpx4.al truncate to get_http
  head_https.al, head_https3.al, head_https4.al, head_http.al, head_http3.al, head_http4.al, head_httpx.al, head_httpx3.al, head_httpx4.al truncate to head_htt
  post_https.al, post_https3.al, post_https4.al, post_http.al, post_http3.al, post_http4.al, post_httpx.al, post_httpx3.al, post_httpx4.al truncate to post_htt
  put_https.al, put_https3.al, put_https4.al, put_http.al, put_http3.al, put_http4.al, put_httpx.al, put_httpx3.al, put_httpx4.al truncate to put_http
  ssl_read_all.al, ssl_read_until.al, ssl_read_CRLF.al truncate to ssl_read
  ssl_write_all.al, ssl_write_CRLF.al truncate to ssl_writ
  tcp_read_all.al, tcp_read_until.al, tcp_read_CRLF.al truncate to tcp_read
  tcp_write_all.al, tcp_write_CRLF.al truncate to tcp_writ
cp lib/Net/SSLeay.pod blib/lib/Net/SSLeay.pod
cp lib/Net/SSLeay/Handle.pm blib/lib/Net/SSLeay/Handle.pm
mv SSLeay.xsc SSLeay.c
aarch64-unknown-linux-gnu-gcc -c   -fwrapv -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=armv8-a+crypto+crc+simd -mlittle-endian -mabi=lp64 -mtune=cortex-a57 -O2 -pipe   -DVERSION=\"1.82\" -DXS_VERSION=\"1.82\" -fPIC "-I/usr/lib64/perl5/5.28.2/aarch64-linux/CORE"   SSLeay.c
SSLeay.c: In function ‘XS_Net__SSLeay_BIO_f_ssl’:
SSLeay.c:4414:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  RETVAL = BIO_f_ssl();
         ^
SSLeay.c: In function ‘XS_Net__SSLeay_BIO_s_mem’:
SSLeay.c:4431:9: warning: assignment discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  RETVAL = BIO_s_mem();
         ^
SSLeay.xs: In function ‘XS_Net__SSLeay_get_keyblock_size’:
SSLeay.xs:5482:21: error: ‘struct ssl3_state_st’ has no member named ‘tmp’
      md_size = s->s3->tmp.new_mac_secret_size;
                     ^~
make: *** [Makefile:351: SSLeay.o] Error 1
 * ERROR: dev-perl/Net-SSLeay-1.820.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-perl/Net-SSLeay-1.820.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-perl/Net-SSLeay-1.820.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/work/Net-SSLeay-1.82'
 * S: '/var/tmp/portage/dev-perl/Net-SSLeay-1.820.0/work/Net-SSLeay-1.82'


Reproducible: Always
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2019-09-27 13:55:51 UTC

*** This bug has been marked as a duplicate of bug 684308 ***