Created attachment 194126 [details] Poudriere build log Currently www/neon fails to build with OpenSSL 1.1 Plan is to update base OpenSSL to 1.1 in 12 so ports will have to be compatible as well.
Looks like we should delete neon from ports. It is unsupported, doesn't have upstream anymore and is not used by subversion (which was main driver to add neon to ports in first place). There were release 0.30.2 which fixes this particular problem, but it is not clear, where should we download source tarball, as homepage of neon is gone 1.5 years ago. Page itself is accessible via webarchive.org, but not tarball. Tarball could be found on some FTP sites, but it doesn't look good idea to rely on it. On the other hand, there are some other ports, which depends on it, including LibreOffice… Uh-oh… Looks like we need mirror source tarball and update port.
A commit references this bug: Author: lev Date: Mon Jun 18 15:26:34 UTC 2018 New revision: 472704 URL: https://svnweb.freebsd.org/changeset/ports/472704 Log: Update to latest version 0.30.2, which should support OpenSSL 1.1.x Move distfile to LOCAL, as upstream site is dead. PR: 228867 Changes: head/www/neon/Makefile head/www/neon/distinfo head/www/neon/pkg-plist
Should be fixed now
Hi Lev, Re-opening as this still has issues. It fails in poudriere yet it was successful in my porting jail. Difference was the use of pkg-config which changes the way configure operates. See: https://keg.brnrd.eu/data/111amd64-default-openssl111/2018-08-14_10h01m04s/logs/errors/neon-0.30.2_1.log Without pkg-config: > checking whether to enable ACL support in neon... yes > checking for pkg-config... no > checking for library containing RSA_new... -lcrypto > checking for library containing SSL_library_init... not found > configure: error: could not find library containing SSL_library_init > ===> Script "configure" failed unexpectedly. With pkg-config: > checking for pkg-config... /usr/local/bin/pkg-config > checking for openssl pkg-config data... yes > configure: using SSL library configuration from pkg-config > checking openssl/ssl.h usability... yes > checking openssl/ssl.h presence... yes > checking for openssl/ssl.h... yes > checking openssl/opensslv.h usability... yes > checking openssl/opensslv.h presence... yes > checking for openssl/opensslv.h... yes > checking OpenSSL version is >= 0.9.7... yes > configure: OpenSSL >= 0.9.7; EGD support not needed in neon > configure: SSL support enabled, using OpenSSL (0.9.7 or later) > checking for CRYPTO_set_idptr_callback... no > checking for SSL_SESSION_cmp... no > configure: Using /usr/local/share/certs/ca-root-nss.crt as default SSL CA bundle Arguably, the check for SSL_library_init should be removed from configure as that's non-existent and checked for in the code > #if OPENSSL_VERSION_NUMBER < 0x10100000L > CRYPTO_malloc_init(); > SSL_load_error_strings(); > SSL_library_init(); Cheers, Bernard.
Created attachment 197115 [details] FIxed compile Patch fixed compile for openssl-devel 1.1.0i for me
Recent failure log: http://package18.nyi.freebsd.org/data/headamd64PR231931-default/2018-10-04_07h49m12s/logs/errors/neon-0.30.2_1.log
Created attachment 197803 [details] Fix OpenSSL 1.x build www/neon: Fix OpenSSL-devel build PR: 228867 Submitted by: Nathan <ndowens@yahoo.com>
(In reply to Nathan from comment #7) Hi Nathan, this new patch only contains a revision bump. Did you perhaps forget to do a svn add on the patch file?
Are you sure patch is correct? It does virtually nothing.
(In reply to Bernard Spil from comment #8) Oops I’ll fix that ASAP
Created attachment 197809 [details] Fix OpenSSL build
A commit references this bug: Author: lev Date: Fri Oct 5 12:21:47 UTC 2018 New revision: 481274 URL: https://svnweb.freebsd.org/changeset/ports/481274 Log: Fix build with openssl 1.1.1 PR: 228867 Submitted by: brnrd@freebsd.org Changes: head/www/neon/Makefile head/www/neon/files/ head/www/neon/files/patch-configure
Committed, thnx!
A commit references this bug: Author: antoine Date: Sat Oct 6 05:46:03 UTC 2018 New revision: 481319 URL: https://svnweb.freebsd.org/changeset/ports/481319 Log: Revert r481274, it broke ports depending on neon PR: 228867 With hat: portmgr Reported by: pkg-fallout Changes: head/www/neon/Makefile head/www/neon/files/
Re-open, the patch was wrong and reverted.
(In reply to Antoine Brodin from comment #15) Which ports did this break?
(In reply to Nathan from comment #16) https://lists.freebsd.org/pipermail/freebsd-pkg-fallout/Week-of-Mon-20181001/898906.html
(In reply to Antoine Brodin from comment #17) I tested libmusicbrainz with openssl 1.1 & openssl-base build and it didn't give me an error like the build log shows
(In reply to Nathan from comment #18) In fact, all the ports depending on neon broke with the previous patch...
Created attachment 198017 [details] Fix build with OpenSSL 1.1. This patch should fix the problem. Because SSL_library_init() does not exist in OpenSSL 1.1, there is no point of guessing. However, we have to make sure -lssl is used for linking libneon.so.
(In reply to Jung-uk Kim from comment #20) What is status of old OpenSSL? Could it be installed from ports and break neon with this patch?
(In reply to Lev A. Serebryakov from comment #21) > What is status of old OpenSSL? Could it be installed from ports and break neon with this patch? I built www/neon and audio/libmusicbrainz5 on 10.4 and 11.2 and I didn't see any regression.
A commit references this bug: Author: lev Date: Fri Oct 12 08:45:36 UTC 2018 New revision: 481885 URL: https://svnweb.freebsd.org/changeset/ports/481885 Log: Second try to fix OpenSSL 1.1.1 build. PR: 228867 Submitted by: jkim@FreeBSD.org Changes: head/www/neon/Makefile
Fixed, thnx!
A commit references this bug: Author: antoine Date: Fri Oct 19 13:47:22 UTC 2018 New revision: 482427 URL: https://svnweb.freebsd.org/changeset/ports/482427 Log: MFH: r481274 r481319 r481885 Fix build with openssl 1.1.1 PR: 228867 Submitted by: brnrd@freebsd.org Revert r481274, it broke ports depending on neon PR: 228867 With hat: portmgr Reported by: pkg-fallout Second try to fix OpenSSL 1.1.1 build. PR: 228867 Submitted by: jkim@FreeBSD.org Changes: _U branches/2018Q4/ branches/2018Q4/www/neon/Makefile