From owner-freebsd-ports@FreeBSD.ORG Sun Feb 2 02:46:06 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 9E068ACB for ; Sun, 2 Feb 2014 02:46:06 +0000 (UTC) Received: from mail-pd0-x232.google.com (mail-pd0-x232.google.com [IPv6:2607:f8b0:400e:c02::232]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7405C1376 for ; Sun, 2 Feb 2014 02:46:06 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id y13so5666646pdi.37 for ; Sat, 01 Feb 2014 18:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=3G3VHzUD0srDd7LcMu3D5qvXiksnbiS6Cu2m45bA/QE=; b=LI8hwn7Dh9yklJHTshr1Yc2jCHEH8nzVb9SOHI+EcVeB956HEAACHaQ1qiYSyN/R90 Ug7NI69fNKqLKERiNEskg/2ht6dwSTKC30Np7SU3YD4clS+L0ajJ1CbaYf+Ef3XyhPwC aooHfUVFX3uoO2/S7PK4DHh3I3arYuSEevuJps3eQhe5CsR6Q9uKmPYaTFipXezLQV6T Gd9R9BuVRectYBDev4njlUV8L57RedLDCIVMXqaPznBalr6OrHuBNvgD+SVN0/cM7vTq nKy3+lrA29u9nuierFLI4s5Kvm0/Ve9Y5jHZ3I9vIBjwmId74blGj1qCF03lBCnskxEQ 0egA== X-Received: by 10.68.231.169 with SMTP id th9mr29293775pbc.113.1391309166020; Sat, 01 Feb 2014 18:46:06 -0800 (PST) Received: from [10.0.0.130] (c-50-150-107-91.hsd1.ca.comcast.net. [50.150.107.91]) by mx.google.com with ESMTPSA id yz5sm107342931pac.9.2014.02.01.18.46.04 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 01 Feb 2014 18:46:05 -0800 (PST) Message-ID: <52EDB16B.1080206@gmail.com> Date: Sat, 01 Feb 2014 18:46:03 -0800 From: Keith Beattie User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: freebsd-ports@freebsd.org Subject: libncursesw.so linker script syntax error? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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: Sun, 02 Feb 2014 02:46:06 -0000 Hello, I'm having trouble building both the emacs and aspell port, both of which fail with a very similar error. Here's aspell: /bin/sh ./libtool --tag=CXX --mode=link c++ -O2 -fno-strict-aliasing -pipe -march=native -fno-exceptions -o aspell prog/aspell.o prog/check_funs.o prog/checker_string.o libaspell.la -lncursesw -L/usr/local/lib -lintl -L/usr/local/lib -liconv -R/usr/local/lib libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=native -fno-exceptions -o .libs/aspell prog/aspell.o prog/check_funs.o prog/checker_string.o ./.libs/libaspell.so -L/usr/local/lib -lncursesw /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib /usr/bin/ld:/usr/local/lib/libncursesw.so: file format not recognized; treating as linker script /usr/bin/ld:/usr/local/lib/libncursesw.so:1: syntax error gmake[1]: *** [aspell] Error 1 gmake[1]: Leaving directory `/usr/ports/textproc/aspell/work/aspell-0.60.6.1' gmake: *** [all-recursive] Error 1 ===> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=yes and rebuild before reporting the failure to the maintainer. *** Error code 1 Stop in /usr/ports/textproc/aspell. emacs is similar except on libncurses.so Here's libncursesw.so: $ cat /usr/local/lib/libncursesw.so INPUT(libncursesw.so.5 AS_NEEDED(-ltinfow)) I've tried rebuilding the ncurses port, but that hasn't helped. Other info: $ uname -a FreeBSD rome 8.4-RELEASE-p7 FreeBSD 8.4-RELEASE-p7 #0 r261340: Fri Jan 31 23:55:48 PST 2014 root@rome:/usr/obj/usr/src/sys/ROME i386 $ grep -v ^# /etc/make.conf CPUTYPE?=native CFLAGS= -O2 -fno-strict-aliasing -pipe COPTFLAGS= -O -pipe PERL_VERSION=5.16.3 WITH_PKGNG=yes Any suggestions welcome. TIA, ksb