From owner-freebsd-current@freebsd.org Mon Dec 26 16:27:10 2016 Return-Path: Delivered-To: freebsd-current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8E943C916E9 for ; Mon, 26 Dec 2016 16:27:10 +0000 (UTC) (envelope-from ubm.freebsd@googlemail.com) Received: from mailman.ysv.freebsd.org (unknown [127.0.1.3]) by mx1.freebsd.org (Postfix) with ESMTP id 6D5BD11F9 for ; Mon, 26 Dec 2016 16:27:10 +0000 (UTC) (envelope-from ubm.freebsd@googlemail.com) Received: by mailman.ysv.freebsd.org (Postfix) id 69C90C916E8; Mon, 26 Dec 2016 16:27:10 +0000 (UTC) Delivered-To: current@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 69738C916E7 for ; Mon, 26 Dec 2016 16:27:10 +0000 (UTC) (envelope-from ubm.freebsd@googlemail.com) Received: from mail-wm0-x244.google.com (mail-wm0-x244.google.com [IPv6:2a00:1450:400c:c09::244]) (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 ECB7C11EF for ; Mon, 26 Dec 2016 16:27:09 +0000 (UTC) (envelope-from ubm.freebsd@googlemail.com) Received: by mail-wm0-x244.google.com with SMTP id l2so28143283wml.2 for ; Mon, 26 Dec 2016 08:27:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:date:to:subject:message-id:mime-version :content-transfer-encoding; bh=ncod4TYVJefFqkRvXwqRxAZT5qRVaHcu9tUEUi/zcxA=; b=S5MV/zxN3tAEdzzjogAbnu5IfSXnUYkT1eEQsykarZIQ899TR6eEKAY+9Nr5MZ+FVH lHiHTteis1FMzZuKGPx6fI0AUGTeGp+73jlfFsDSjtMqT4x/xSE41l/qDf2O5V+llah5 z8bE4eAWmVNV44FQvYjMgUdCUK8qjMjbzJIfc/6Alv/oEW7Yv2YtEfiND5bBtHRkD1Zh bTtXWIZs2VhQ7op60XgQsMipXdXoiDRze9rj36Gqr6MrNcpPRlPwKmXaXiH5FJHJvrx9 YuKvuhO0s4ycCxP1WPnT/sQBQWi330j7DIVTiRPSOBJvyduAp/yoxy+veEhBBRlGMd1I ppYw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:subject:message-id:mime-version :content-transfer-encoding; bh=ncod4TYVJefFqkRvXwqRxAZT5qRVaHcu9tUEUi/zcxA=; b=nCxQ2n3ZEqpDDH3D5IwBLCwaINJ7EUd4R00q4ZeE3K0Vk1PnqiXb47k4XmBUOeVl8A 1f3cCG9LTwsNERozpUwo9Wa6A8FfdgKims8vJz2C1bsdRbrAQ24sk7MlOmlgFEUPn6oO WqFqbWVG3jHa0QJKZn9sdDWkXCDUrNS2x8NEdbehIcmGFbXiFaMDGEHBB530xSBwrwnq Es+lFy1dNKs2jQjDETEkNFffsLmTJ3cn49aw8GJNOBBV9/n3w4qTbPjYTKVJSuJvg3SN yZZvZRDz5b3Afien3u8L4b2M2ssTpz7UBHkK+ND8VKMGAhDJsHTbFcGsUScawgA1Gypm 8PAg== X-Gm-Message-State: AIkVDXI3oB83OgZsE/GgaulfObpWbFrR99iWLfxRcnNwEeXuJzV3WRkK/aUygHHPbX4FRg== X-Received: by 10.28.20.70 with SMTP id 67mr23334172wmu.102.1482769627746; Mon, 26 Dec 2016 08:27:07 -0800 (PST) Received: from ubm.strangled.net (ipbcc16d84.dynamic.kabel-deutschland.de. [188.193.109.132]) by smtp.gmail.com with ESMTPSA id g73sm52114005wme.16.2016.12.26.08.27.06 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 26 Dec 2016 08:27:07 -0800 (PST) From: Marc UBM Bocklet X-Google-Original-From: Marc "UBM" Bocklet Date: Mon, 26 Dec 2016 17:27:06 +0100 To: current@freebsd.org Subject: pkg on old current - library woes Message-Id: <20161226172706.5f3a588196ee067e6c19a5ef@gmail.com> X-Mailer: Sylpheed 3.5.1 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Dec 2016 16:27:10 -0000 Hi list, I'm writing this as an reminder for others who might be in a similar situation. Don't blindly (like me) use pkg on an old current or you'll (understandably) run into tons of library / linking issues. I update my current only very belatedly and thus was running current from around March 2016. pkg correctly detected ABI = "FreeBSD:11:amd64"; and installed the requested packages, but of course I was missing all kinds of recent library versions (libssl, libpam, fopencookie problems in mod_php, among others). This caused me quite a headache at first, but then I went from my ancient current to 11-release and now everything works like a charm. Searching online, I found only one reference to the situation I had been in: https://lists.freebsd.org/pipermail/freebsd-pkgbase/2016-June/000271.html. Maybe pkg could print some kind of warning if you're behind too far on current, though admittedly this is very likely some edge case and updating to a release version fixed everything. pkg itself is really great, it's just so much faster and simpler than portmaster or the old package system. Props to all the people who made that possible! Cheers, Marc