From owner-freebsd-ports@freebsd.org Sat May 26 11:18:30 2018 Return-Path: Delivered-To: freebsd-ports@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 1B56EF71ADD for ; Sat, 26 May 2018 11:18:30 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: from mail-wm0-x235.google.com (mail-wm0-x235.google.com [IPv6:2a00:1450:400c:c09::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 9425D6BBF0 for ; Sat, 26 May 2018 11:18:28 +0000 (UTC) (envelope-from jonc@chen.org.nz) Received: by mail-wm0-x235.google.com with SMTP id f8-v6so20789315wmc.4 for ; Sat, 26 May 2018 04:18:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chen-org-nz.20150623.gappssmtp.com; s=20150623; h=mime-version:from:date:message-id:subject:to; bh=BsfbWsbZoa4RNZi5+Vz+s7oMqE9SJWAeb3GlSJ5K0TQ=; b=RuTwx2LWghXVc8xs8kPYIXnJ7BUpCDG6vm1K14WETj88BhFTJaDlWRuNtzUAlwItKS bbyeSSPLmbh/H92gMTwgHTtsg7Xk7iRZIdkccp9mBsWGfO3EXSR1SFYlpMRygN73cArZ P1/R+2e0ZPK/yCebqs6LqHI+N7oys1BCLw9HlPfD6/yyoWwAyO532GRYwSUSpk+nx9pH 37klZrOLKrBEVteQWbLkoBE6/O3dgW9vsG3IBSuPJVb8iB03DNdwUIcfS3jZDjjGb9qd zFWI78rjeE5/SqCssTExqLE771X7OPqEfDwciE3AEzPR4eiIVUInuJqFqvCtQ3bOfBMN 4SNw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=BsfbWsbZoa4RNZi5+Vz+s7oMqE9SJWAeb3GlSJ5K0TQ=; b=YDhKM0kszOOZQUb9Ghi7bzqZfcbivb3MmISnrqF7XssL/XC2IHb0aaWQWc3YBhz18b BIq5a6dcdusVXmke/Lxh64EB21B4AI9HlIguT66Ea6GHGZlHsukcFHdAgtV1URF9He+K Zl08wZuQ7xMnNbGzheIt+i84wwNHjfQ1+zAlMmHTtQO33nWZFrt0ISRDzluy7+XMgrY6 pgBwuc79A0lPPXEk1CzMmIX4qost16MJod2twW81zbPmu8kIwyrBGMxRPG9NQA3WZxw0 WDyIRVfS6MzgLUoAA4LfpAYO+fosY51wU5q1eBV/ErVtHq0o8CpXHRdtozF6cyfFpTJj NYgw== X-Gm-Message-State: ALKqPwcu6O+27HVy3d3sh6/GpWQ5hM3xHmLBIYd0eY5bW8FTgv8ehCZg /7/pgMf0EQQE+J25H90fT5iLG22YWGOcVtzdDYARElgL X-Google-Smtp-Source: AB8JxZreVB9oG3N0iZBhZisgPmZdGRNzidDn7XOoqFsc3JdIL9zhNcaG9Rer/QsI5EtfdtnjmLSzeLeFswOXonU4cPk= X-Received: by 2002:a50:ed92:: with SMTP id h18-v6mr7050097edr.102.1527333506225; Sat, 26 May 2018 04:18:26 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a50:d809:0:0:0:0:0 with HTTP; Sat, 26 May 2018 04:18:25 -0700 (PDT) X-Originating-IP: [150.107.174.214] From: Jonathan Chen Date: Sat, 26 May 2018 23:18:25 +1200 Message-ID: Subject: mail/thunderbird fails on link with latest security/nss To: freebsd-ports@freebsd.org Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 May 2018 11:18:30 -0000 Hi, With the recent update to security/nss, mail/thunderbird build currently fails on 11-STABLE/amd64 with: [...] Executing: /usr/bin/c++ -std=gnu++11 -o plugin-container -Qunused-arguments -D_GLIBCXX_USE_C99 -D_GLIBCXX_USE_C99_MATH_TR1 -D_DECLARE_C99_LDB L_MATH -DLIBICONV_PLUG -isystem /usr/local/include -Qunused-arguments -Wall -Wc++11-compat -Wempty-body -Wignored-qualifiers -Woverloaded-vir tual -Wpointer-arith -Wsign-compare -Wtype-limits -Wunreachable-code -Wwrite-strings -Wno-invalid-offsetof -Wclass-varargs -Wloop-analysis -W c++11-compat-pedantic -Wc++14-compat -Wc++14-compat-pedantic -Wc++1z-compat -Wimplicit-fallthrough -Wstring-conversion -Wthread-safety -Wno-i nline-new-delete -Wno-error=deprecated-declarations -Wno-error=array-bounds -Wno-unknown-warning-option -Wno-return-type-c-linkage -O2 -pipe -O3 -DLIBICONV_PLUG -isystem /usr/local/include -fno-strict-aliasing -DLIBICONV_PLUG -isystem /usr/local/include -fno-exceptions -fno-strict- aliasing -fno-rtti -ffunction-sections -fdata-sections -fno-exceptions -fno-math-errno -pipe -I/usr/local/include -O2 -O3 -fno-omit-frame-poi nter /construction/xports/mail/thunderbird/work/.build/ipc/app/tmp4zapiQ.list -pthread -Wl,--as-needed -Wl,-z,noexecstack -Wl,-z,text -rdynam ic -Wl,-rpath-link,/construction/xports/mail/thunderbird/work/.build/dist/bin -Wl,-rpath-link,/usr/local/lib ../../xpcom/glue/libxpcomglue_s. a -pie ../../toolkit/library/libxul.so -L/usr/local/lib -L/usr/local/lib -lplds4 -lplc4 -lnspr4 -pthread /construction/xports/mail/thunderbird/work/.build/ipc/app/tmp4zapiQ.list: INPUT("GMPLoader.o") INPUT("MozillaRuntimeMain.o") INPUT("../../mozglue/build/SSE.o") INPUT("../../memory/mozalloc/Unified_cpp_memory_mozalloc0.o") INPUT("../../memory/build/mozjemalloc_compat.o") INPUT("../../memory/build/mozmemory_wrap.o") INPUT("../../memory/build/jemalloc_config.o") INPUT("../../mozglue/misc/StackWalk.o") INPUT("../../mozglue/misc/TimeStamp.o") INPUT("../../mozglue/misc/TimeStamp_posix.o") INPUT("../../mfbt/Compression.o") INPUT("../../mfbt/Decimal.o") INPUT("../../mfbt/Unified_cpp_mfbt0.o") INPUT("../../mfbt/Unified_cpp_mfbt1.o") INPUT("../../memory/fallible/fallible.o") INPUT("../../dom/media/gmp/rlz/Unified_cpp_dom_media_gmp_rlz0.o") /usr/bin/ld: warning: libssl3.so, needed by ../../toolkit/library/libxul.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libsmime3.so, needed by ../../toolkit/library/libxul.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libnss3.so, needed by ../../toolkit/library/libxul.so, not found (try using -rpath or -rpath-link) /usr/bin/ld: warning: libnssutil3.so, needed by ../../toolkit/library/libxul.so, not found (try using -rpath or -rpath-link) ../../toolkit/library/libxul.so: undefined reference to `PK11_CheckUserPassword@NSS_3.2' ../../toolkit/library/libxul.so: undefined reference to `PK11_GetAllTokens@NSS_3.2' [.. slew of link errors ...] I have had a quick look, and it appears that the libssl3, libsmime3, libnss3 and libnssutil3 are located in /usr/local/lib/nss; but this does not appear to be specified in the link-path. Anyone have a quick fix? Cheers. -- Jonathan Chen