From owner-freebsd-stable@freebsd.org Sat Oct 8 04:26:18 2016 Return-Path: Delivered-To: freebsd-stable@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 56AEBBECAFC for ; Sat, 8 Oct 2016 04:26:18 +0000 (UTC) (envelope-from enslay@gmail.com) Received: from mail-io0-x230.google.com (mail-io0-x230.google.com [IPv6:2607:f8b0:4001:c06::230]) (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 17C7CD6E for ; Sat, 8 Oct 2016 04:26:18 +0000 (UTC) (envelope-from enslay@gmail.com) Received: by mail-io0-x230.google.com with SMTP id i202so65229370ioi.2 for ; Fri, 07 Oct 2016 21:26:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to; bh=19Ln+xpg/Ns1508jOdZlBpQ7tz1htfRVy8StBTatRzQ=; b=yXPZs6m20CU7KbQ4YflS3m4L9031F1nacNMovmjgx0ppktRThvEMQpSCT99W+Ew1iE 9ezDqL0nq46KHZRtz/k3Lu2jJ8UvGmlQE6957bCJuZ2I/UZDfK49KPoL1gTlXkAI2m08 naT/Nu29tZ8+3pxYgVnLeAKGRdxCpUBMwG+SznUjdsTQl0iLngZx4U3++EShsokkdVn4 c9UEzk81xUb+4nJwfQhpeIulqMdfcap2dfT8MSuJUv38k1TM2k1CXd6Kkf2ysC5sbmmf ZkTCo3sPi1G3JM9yikHFOP7hVBJNyfEPOMhgD7eFHQAtIQc9M0+GfMfgaTmm3qcWNBHd uC3A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=19Ln+xpg/Ns1508jOdZlBpQ7tz1htfRVy8StBTatRzQ=; b=ka02qM1jz7sSANZHI2iTJF4doCJ3s7oqrTWsDSDVgie2J5opTjV4nuvZOhr7sdaZ3v +ID4ag7Qqj6i9Tq6gROv82V3lMGX20UQxFVAzwk06+ZhaSVjKrjk5XQEHu4I0PqURuGh JZeSqEmhB+pOwbuwxkQWHG4h1FJ/rlmfMgCSP4RSmupgpMi2Z1ybew5kVZlyuZTq6x/j tLFhnA6aOT9g7Vb98hxhJtCJkEmR8b+0spyIz2iiRmIFRMDs5S91vKJRULPiMhV6ccVa P98r1wLY9fLDbEVoIKscAVMM+dNja5m8y4FXq2FpALKdKzYkf62EIr/DKUm0GTxvTWiD M/9Q== X-Gm-Message-State: AA6/9RkZqC21ea9e/ofZkiinSYbsZDOdvJ/M+HXDbMXxdRW5n/NVCwWIdqrd/L9qPHCAwbyplMIPcuoqG6bBQw== X-Received: by 10.107.11.98 with SMTP id v95mr24074161ioi.145.1475900777300; Fri, 07 Oct 2016 21:26:17 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.14.71 with HTTP; Fri, 7 Oct 2016 21:26:16 -0700 (PDT) From: Nathan Lay Date: Sat, 8 Oct 2016 00:26:16 -0400 Message-ID: Subject: Your buildworld system is pulling userland libraries/headers To: freebsd-stable@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Oct 2016 04:26:18 -0000 Hello once again FreeBSD-stable, While upgrading from FreeBSD 10-STABLE and later updating my FreeBSD 11-STABLE system, I noticed that your build system is pulling headers and libraries from the userland rather than the /usr/src tree. This can't possibly be intended. I kind of figured with recent news of delayed released you might have realized this. After all, _FOR EXAMPLE_ (may not reflect reality), who wants to accidentally include userland's older version of OpenSSL headers and link with userland's older version of OpenSSL? I can cope with this by manually copying headers from /usr/src/sys/sys and /usr/src/include to their appropriate locations and/or installing the newer library manually and then restarting the build. But others may not be so familiar with FreeBSD. And I did manage to get FreeBSD 11-STABLE up and running just fine eventually. But just a few days ago, I updated SVN to rebuild world and kernel following the news of your delayed release and found libprocstat failing to compile. And it failed to compile because it was including /usr/include/ufs/ufs/extattr.h instead of /usr/src/sys/sys/ufs/ufs/extattr.h. This is very disturbing to me. During the FreeBSD 10 updating phase, I saw way more examples of this with even unresolved reference errors during linking since the build system was trying to link with userland's FreeBSD 10 libraries! I can think of two recurring examples: devctl and procstat. I also noticed your build system liked to now put modules in /boot/modules. I was hacking if_ath and none of my changes were working. Well, it was because kldload was loading the unchanged one in /boot/kernel rather than the one now being installed in /boot/modules. That's a really nasty surprise. I probably spent a couple hours figuring that out :) Best regards, Nathan Lay P.S. FreeBSD 11 is running great! Great job!