From owner-freebsd-questions@FreeBSD.ORG Mon Jul 1 08:36:54 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 623CDB5A for ; Mon, 1 Jul 2013 08:36:54 +0000 (UTC) (envelope-from Olivier.Nicole@cs.ait.ac.th) Received: from mail.cs.ait.ac.th (mail.cs.ait.ac.th [192.41.170.16]) by mx1.freebsd.org (Postfix) with ESMTP id 1462F1864 for ; Mon, 1 Jul 2013 08:36:53 +0000 (UTC) Received: from mail.cs.ait.ac.th (localhost [127.0.0.1]) by mail.cs.ait.ac.th (Postfix) with ESMTP id 32620FEBBB for ; Mon, 1 Jul 2013 15:36:47 +0700 (ICT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cs.ait.ac.th; h= subject:subject:from:from:message-id:date:date:received:received :received; s=selector1; t=1372667806; x=1374482207; bh=g+VNE34Cf qJJcg8q9g8PckH0NtMwj5y5pV27xRz3cBc=; b=HTLLbNMwno/ps6T3G+kbxqUo8 tSjFE5uXawptKiJrEqkF7nTbj5Bu0YOoQNK3EDt+3D5AN0aRJ21VA4XQ+4lf2D6H nnyNWwSDISlf60AiC9ee8Lf6p5WKfZ41L85WZraOpxNtYtO6ezzah1KhKGGBW6IK QfriXCVBy4v4ht5Ivc= X-Virus-Scanned: amavisd-new at cs.ait.ac.th Received: from mail.cs.ait.ac.th ([127.0.0.1]) by mail.cs.ait.ac.th (mail.cs.ait.ac.th [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id HxMWQwu7nU0O for ; Mon, 1 Jul 2013 15:36:46 +0700 (ICT) Received: from banyan.cs.ait.ac.th (banyan.cs.ait.ac.th [192.41.170.5]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.cs.ait.ac.th (Postfix) with ESMTPS id D78BEFEBBA for ; Mon, 1 Jul 2013 15:36:46 +0700 (ICT) Received: (from on@localhost) by banyan.cs.ait.ac.th (8.14.6/8.14.6/Submit) id r618akZ2098114; Mon, 1 Jul 2013 15:36:46 +0700 (ICT) (envelope-from on) Date: Mon, 1 Jul 2013 15:36:46 +0700 (ICT) Message-Id: <201307010836.r618akZ2098114@banyan.cs.ait.ac.th> From: Olivier Nicole To: freebsd-questions@freebsd.org Subject: What compiler is used to build a port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 Jul 2013 08:36:54 -0000 Hi, I have a strange situation: 2 machines, 9.1 p4, on the first machine, graphicslibfpx build with the stock compiler: $ make ===> Fetching all distfiles required by libfpx-1.3.1.1 for building ===> Extracting for libfpx-1.3.1.1 => SHA256 Checksum OK for libfpx-1.3.1-1.tar.xz. ===> Patching for libfpx-1.3.1.1 ===> Applying FreeBSD patches for libfpx-1.3.1.1 /usr/bin/sed -i '' -e '/^#include "fpxlib-config.h"/d' /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/basics/filename.cpp /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/oless/h/owchar.h /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/ole/gen_guid.cpp /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/fpxlib.h ===> Configuring for libfpx-1.3.1.1 ===> Building for libfpx-1.3.1.1 Warning: Object directory not changed from original /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1 g++ -O2 -pipe -DHAVE_WCHAR_H -DHAVE_DLFCN_H -DHAVE_SYS_TIME_H... and on the other machine it insists on using gcc >4.4 (which is actually a mistake, libfpx will *not* compile with gcc 4.4 or gcc 4.6): $ make ===> Fetching all distfiles required by libfpx-1.3.1.1 for building ===> Extracting for libfpx-1.3.1.1 => SHA256 Checksum OK for libfpx-1.3.1-1.tar.xz. ===> Patching for libfpx-1.3.1.1 ===> Applying FreeBSD patches for libfpx-1.3.1.1 /usr/bin/sed -i '' -e '/^#include "fpxlib-config.h"/d' /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/basics/filename.cpp /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/oless/h/owchar.h /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/ole/gen_guid.cpp /usr/ports/graphics/libfpx/work/libfpx-1.3.1-1/fpxlib.h ===> libfpx-1.3.1.1 depends on executable: gcc46 - not found ===> Verifying install for gcc46 in /usr/ports/lang/gcc Making GCC 4.6.3 for x86_64-portbld-freebsd9.1 [c,c++,objc,fortran,java] ===> Found saved configuration for gcc-4.6.3 ===> Fetching all distfiles required by gcc-4.6.3 for building ===> Extracting for gcc-4.6.3 => SHA256 Checksum OK for gcc-4.6.3.tar.bz2. ===> gcc-4.6.3 depends on file: /usr/local/bin/perl5.14.4 - found What could cause aport to request for a different compiler version when both machines are very similar? Best regards, Olivier