From owner-freebsd-ports-bugs@freebsd.org Thu Nov 15 20:13:00 2018 Return-Path: Delivered-To: freebsd-ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D2E5B11084F3 for ; Thu, 15 Nov 2018 20:12:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 47A487C3BF for ; Thu, 15 Nov 2018 20:12:59 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 0C5EA11084F2; Thu, 15 Nov 2018 20:12:59 +0000 (UTC) Delivered-To: ports-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DEA0011084EF for ; Thu, 15 Nov 2018 20:12:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BB957C3BB for ; Thu, 15 Nov 2018 20:12:58 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 83C091F532 for ; Thu, 15 Nov 2018 20:12:57 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id wAFKCvAx000936 for ; Thu, 15 Nov 2018 20:12:57 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id wAFKCvMg000935 for ports-bugs@FreeBSD.org; Thu, 15 Nov 2018 20:12:57 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 233243] www/nginx builds against OpenSSL111 in poudriere but sets the library path to /usr/lib Date: Thu, 15 Nov 2018 20:12:56 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: reko.turja@liukuma.net X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: joneum@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-Rspamd-Queue-Id: 47A487C3BF X-Spamd-Result: default: False [-105.91 / 200.00]; FORGED_RECIPIENTS_FORWARDING(0.00)[]; ALLOW_DOMAIN_WHITELIST(-100.00)[freebsd.org]; FORWARDED(0.00)[ports-bugs@mailman.ysv.freebsd.org]; SPF_FAIL_FORWARDING(0.00)[]; TO_DN_NONE(0.00)[]; HAS_XAW(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; XAW_SERVICE_ACCT(1.00)[]; RCVD_IN_DNSWL_MED(-0.20)[5.0.0.0.0.5.0.0.0.0.0.0.0.0.0.0.a.6.0.2.4.5.2.2.0.0.9.1.1.0.0.2.list.dnswl.org : 127.0.9.2]; MX_GOOD(-0.01)[cached: mx66.freebsd.org]; NEURAL_HAM_SHORT(-1.00)[-0.999,0]; RCVD_NO_TLS_LAST(0.10)[]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; IP_SCORE(-3.71)[ip: (-9.87), ipnet: 2001:1900:2254::/48(-4.81), asn: 10310(-3.75), country: US(-0.10)]; ASN(0.00)[asn:10310, ipnet:2001:1900:2254::/48, country:US]; FORGED_RECIPIENTS(0.00)[ports-bugs@FreeBSD.org,freebsd-ports-bugs@freebsd.org]; TO_DOM_EQ_FROM_DOM(0.00)[]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000,0]; NEURAL_HAM_LONG(-1.00)[-1.000,0]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[freebsd.org]; RCPT_COUNT_ONE(0.00)[1]; FROM_NO_DN(0.00)[]; RCVD_COUNT_SEVEN(0.00)[7] X-Rspamd-Server: mx1.freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Nov 2018 20:13:00 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D233243 Bug ID: 233243 Summary: www/nginx builds against OpenSSL111 in poudriere but sets the library path to /usr/lib Product: Ports & Packages Version: Latest Hardware: i386 OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: joneum@FreeBSD.org Reporter: reko.turja@liukuma.net Flags: maintainer-feedback?(joneum@FreeBSD.org) Assignee: joneum@FreeBSD.org It seems that www/nginx builds nicely against OpenSSL 1.1.1 in Poudriere environment, but then linker uses /usr/lib for libcrypto.so and libssl.so: /usr/local/sbin/nginx: libthr.so.3 =3D> /lib/libthr.so.3 (0x28122000) libcrypt.so.5 =3D> /lib/libcrypt.so.5 (0x28145000) libpcre.so.1 =3D> /usr/local/lib/libpcre.so.1 (0x28164000) libssl.so =3D> /usr/lib/libssl.so (0x281f2000) libcrypto.so =3D> /usr/lib/libcrypto.so (0x2824b000) libz.so.6 =3D> /lib/libz.so.6 (0x283dc000) libc.so.7 =3D> /lib/libc.so.7 (0x283f2000) service nginx restart Performing sanity check on nginx configuration: /usr/local/sbin/nginx: Undefined symbol "OPENSSL_init_ssl" When I do: root@xxx:/usr/lib # rm libssl.so root@xxx:/usr/lib # rm libcrypto.so root@xxx:/usr/lib # ln -s /usr/local/lib lib/ libdata/ libexec/=20 root@xxx:/usr/lib # ln -s /usr/local/lib/libcrypto.so.11 libcrypto.so root@xxx:/usr/lib # ln -s /usr/local/lib/libssl.so.11 libssl.so root@xxx:/usr/lib # service nginx restart Performing sanity check on nginx configuration: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful Stopping nginx. Performing sanity check on nginx configuration: nginx: the configuration file /usr/local/etc/nginx/nginx.conf syntax is ok nginx: configuration file /usr/local/etc/nginx/nginx.conf test is successful Starting nginx. root@xxx:/usr/lib #=20 Nginx starts as expected. My make.conf for poudriere jail is: DEFAULT_VERSIONS +=3D ssl=3Dopenssl111 python=3D3.6 python2=3D2.7 py= thon3=3D3.6 perl5=3D5.26 OPTIONS_UNSET +=3D GSSAPI_BASE OPTIONS_SET +=3D GSSAPI_NONE OPTIONS_UNSET +=3D X11 MYSQL GNOME NIS DEBUG HELP GNUTLS NLS DBUS= SOUND \ ALSA PULSEAUDIO DOCBOOK CUPS TESTS HTMLDOCS BONJOUR GSSAPI APIDOCS WITH_PKG=3Dyes and src.conf: WITHOUT_UNBOUND=3Dyes WITHOUT_APM=3Dyes WITHOUT_ATM=3Dyes WITHOUT_BLUETOOTH=3Dyes WITHOUT_CDDL=3Dyes WITHOUT_FLOPPY=3Dyes WITHOUT_FORTRAN=3Dyes WITHOUT_GSSAPI=3Dyes WITHOUT_I4B=3Dyes WITH_IDEA=3Dyes WITHOUT_INFO=3Dyes WITHOUT_IPFILTER=3Dyes WITHOUT_IPFW=3Dyes WITHOUT_IPX=3Dyes WITHOUT_KERBEROS=3Dyes WITHOUT_LDNS=3Dyes WITHOUT_NIS=3Dyes WITHOUT_PROFILE=3Dyes WITHOUT_RCMDS=3Dyes WITHOUT_SENDMAIL=3Dyes WITHOUT_WPA_SUPPLICANT_EAPOL=3Dyes WITHOUT_WIRELESS=3Dyes WITHOUT_ZFS=3Dyes WITHOUT_NTP=3DYES WITHOUT_NIS=3DYES --=20 You are receiving this mail because: You are the assignee for the bug.=