From owner-freebsd-ports@FreeBSD.ORG Mon Mar 3 18:18:29 2014 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C2A24633; Mon, 3 Mar 2014 18:18:29 +0000 (UTC) Received: from mail-ea0-x22b.google.com (mail-ea0-x22b.google.com [IPv6:2a00:1450:4013:c01::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 37808926; Mon, 3 Mar 2014 18:18:29 +0000 (UTC) Received: by mail-ea0-f171.google.com with SMTP id n15so3259787ead.30 for ; Mon, 03 Mar 2014 10:18:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=0oRNVStKL4wNbyoqfw0rZcxxYQK2IbWRXTOB1TfWeLQ=; b=fsYdJoRLW8ia7hbsR2quK6e3eHhDKbjBpOoky0OmA/33jWKxYZ4R27vwKUTy5Wi6YS A0Ue4RHSJbStKM3vYF6JOX3z8kHLwlO0r8ASoPXlVuQrXIzqj8vMUa8a3BXTpBp2Q4qU pGbO3jDpup5HY04pV7/hPIa6YkCPJLZjSa0WIYLjJVS30nIL4IJdlwf8ctZ/zdZMPwLC eODjO5PBJOWEsXP/Dy7LZojZilX3y2LA0oWqPTcA3N2lRzdiq8WBrwGhF8vXcUbfBX0N cMSIIydoPy6Z0n3W+cp0E/UJ1mNRvYE6AKPg+p3XwE6w+VatY+KMea0lnEFbjlD/lQev 7c0g== MIME-Version: 1.0 X-Received: by 10.15.90.204 with SMTP id q52mr7287039eez.95.1393870707591; Mon, 03 Mar 2014 10:18:27 -0800 (PST) Received: by 10.14.65.4 with HTTP; Mon, 3 Mar 2014 10:18:27 -0800 (PST) In-Reply-To: <5314BBEE.8040200@marino.st> References: <5314BBEE.8040200@marino.st> Date: Mon, 3 Mar 2014 10:18:27 -0800 Message-ID: Subject: Re: mutt failing to build on current From: hiren panchasara To: marino@freebsd.org Content-Type: text/plain; charset=UTF-8 Cc: "Schweigert, Udo" , ports X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Mar 2014 18:18:29 -0000 On Mon, Mar 3, 2014 at 9:29 AM, John Marino wrote: > On 3/3/2014 18:21, hiren panchasara wrote: >> On Sun, Mar 2, 2014 at 11:49 PM, hiren panchasara >> wrote: >>> Poudriere failed to build mutt for me and here is the error log: >>> >>> http://bpaste.net/show/184460/ >>> >>> I have today's current and up-to-date ports tree. >>> >>> Please let me know if I can provide more info. >> >> Logs say: >> configure: error: C compiler cannot create executables - what does it mean? >> >> Attaching config.log also: http://bpaste.net/show/184663/ >> >> Any help is appreciated. >> > > > The actual error is that "-rpath=/usr/local/lib:/usr/lib" is passed > instead of "-Wl,-rpath=/usr/local/lib:/usr/lib". > > caused by: > c_cv_env_LDFLAGS_value=' -L/usr/local/lib -rpath=/usr/local/lib:/usr/lib > -ltinfow -Wl,-rpath,/usr/lib:/usr/local/lib > -Wl,-rpath=/usr/lib:/usr/local/lib' > > The second rpath is correct. > I don't know where LDFLAGS is getting set, probably the vendor makefile. Thanks John. for now, I've switched to gcc and it worked. cheers, Hiren