From owner-freebsd-questions@freebsd.org Tue Aug 23 17:14:23 2016 Return-Path: Delivered-To: freebsd-questions@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 70964BC4243 for ; Tue, 23 Aug 2016 17:14:23 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D95DF14A3 for ; Tue, 23 Aug 2016 17:14:20 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from testbox.news4all.se (testbox.usenet4all.se [10.0.0.3]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id u7NHEA3d061625 for ; Tue, 23 Aug 2016 19:14:10 +0200 (CEST) (envelope-from bah@bananmonarki.se) To: "freebsd-questions@freebsd.org" From: Bernt Hansson Subject: C compiler stopped working Message-ID: Date: Tue, 23 Aug 2016 19:14:10 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2016 17:14:23 -0000 Hello list! FreeBSD 9.3-RELEASE-p43 #0: Sat May 28 00:19:32 UTC 2016 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 About a week or so back i did a pkg delete -af and that broke the C compiler in some strange way. If i try pkg add /usr/ports/packages/Latest/pkg.txz the error is missing signature file. Moving to /usr/ports/ports-mgmt/pkg and doing a simple make i get this error root@kw:/usr/ports/ports-mgmt/pkg # make ===> Configuring for pkg-1.8.7_1 configure: loading site script /usr/ports/Templates/config.site checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) /usr/bin/awk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking whether make supports nested variables... (cached) yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for gcc... cc checking whether the C compiler works... no configure: error: in `/usr/ports/ports-mgmt/pkg/work/pkg-1.8.7': configure: error: C compiler cannot create executables See `config.log' for more details ===> Script "configure" failed unexpectedly. Please report the problem to pkg@FreeBSD.org [maintainer] and attach the "/usr/ports/ports-mgmt/pkg/work/pkg-1.8.7/config.log" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/ports/ports-mgmt/pkg/work/pkg-1.8.7/src/pkg-static info -g -Ea). *** [do-configure] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. *** [/usr/ports/ports-mgmt/pkg/work/.configure_done.pkg._usr_local] Error code 1 Stop in /usr/ports/ports-mgmt/pkg. Then i do /usr/ports/ports-mgmt/pkg/work/pkg-1.8.7/src/pkg-static info -g -Ea /usr/ports/ports-mgmt/pkg/work/pkg-1.8.7/src/pkg-static: Command not found. I've uploaded the config.log to https://minfil.org/W5tcoab2b5/config.log