Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684214 - dev-libs/libressl-2.9.1 version bump
Summary: dev-libs/libressl-2.9.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LibreSSL
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2019-04-23 22:56 UTC by Reuben Farrelly
Modified: 2019-04-24 15:28 UTC (History)
0 users

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


Attachments
disable the (new) handshake_table test in the tests/Makefile.am. (disable-handshake.patch,401 bytes, patch)
2019-04-23 22:56 UTC, Reuben Farrelly
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Reuben Farrelly 2019-04-23 22:56:43 UTC
Created attachment 573918 [details, diff]
disable the (new) handshake_table test in the tests/Makefile.am.

LibreSSL 2.9.1 was released a couple of days ago.  This is the first stable release of the 2.9 series:

https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-2.9.1-relnotes.txt

I was able to successfully build this package by renaming the existing 2.9.0 ebuild to 2.9.1.

The ebuild did however fail repeatably at this point:

make[1]: Entering directory '/usr/portage/distfiles/libressl-2.9.1/tests'
x86_64-pc-linux-gnu-gcc -DPACKAGE_NAME=\"libressl\" -DPACKAGE_TARNAME=\"libressl\" -DPACKAGE_VERSION=\"2.9.1\" -DPACKAGE_STRING=\"libressl\ 2.9.1\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DPACKAGE=\"libressl\" -DVERSION=\"2.9.1\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DHAVE_SYMLINK=1 -DHAVE_ERR_H=1 -DHAVE_ASPRINTF=1 -DHAVE_MEMMEM=1 -DHAVE_REALLOCARRAY=1 -DHAVE_STRNDUP=1 -DHAVE_STRNLEN=1 -DHAVE_STRSEP=1 -DHAVE_TIMEGM=1 -DHAVE_SYSLOG=1 -DHAVE_ACCEPT4=1 -DHAVE_PIPE2=1 -DHAVE_POLL=1 -DHAVE_SOCKETPAIR=1 -DHAVE_EXPLICIT_BZERO=1 -DHAVE_GETAUXVAL=1 -DHAVE_GETAUXVAL=1 -DHAVE_DL_ITERATE_PHDR=1 -DHAVE_CLOCK_GETTIME=1 -DHAVE_VA_COPY=1 -DHAVE___VA_COPY=1 -DHAS_GNU_WARNING_LONG=1 -DSIZEOF_TIME_T=8 -I.  -I../include -I../include/compat -DLIBRESSL_INTERNAL -D__BEGIN_HIDDEN_DECLS= -D__END_HIDDEN_DECLS= -I ../crypto/modes -I ../crypto/asn1 -I ../ssl -I ../tls -I ../apps/openssl -I ../apps/openssl/compat -D_PATH_SSL_CA_FILE=\"../apps/openssl/cert.pem\" -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE -D_GNU_SOURCE -D__STRICT_ALIGNMENT  -g -O2 -Wall -std=gnu99 -fno-strict-aliasing  -fno-strict-overflow -fstack-protector-strong -DHAVE_GNU_STACK  -Wno-pointer-sign -c -o handshake_table.o handshake_table.c
make[1]: *** No rule to make target '/usr/portage/distfiles/libressl-2.9.1/tls/.libs/libtls.a', needed by 'handshake_table'.  Stop.

In this case this test also failed completely outside the ebuild environment so I would consider this an upstream issue.  However I was able to work around this by disabling the handshake_table test.  I've attached the tiny patch I used to do this.

After the patch was applied the ebuild succeeded.
Comment 1 Anthony Basile gentoo-dev 2019-04-24 15:28:41 UTC
done