From owner-freebsd-ports@FreeBSD.ORG Mon Feb 3 07:54:40 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 7DE433B0 for ; Mon, 3 Feb 2014 07:54:40 +0000 (UTC) Received: from mail-ie0-x231.google.com (mail-ie0-x231.google.com [IPv6:2607:f8b0:4001:c03::231]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4DBEA18CA for ; Mon, 3 Feb 2014 07:54:40 +0000 (UTC) Received: by mail-ie0-f177.google.com with SMTP id at1so6084038iec.36 for ; Sun, 02 Feb 2014 23:54:39 -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:content-transfer-encoding; bh=fqh/nlTZ3/agA5G00+lR1diqkZzNUQ3NPF+zb+sC/no=; b=J7Qo3xVmMx/RwCBMu7IVBt+znZ/amYI7gj9X4eRA5aTyYB/A2CnTxDRt5GY9w9dS8X ULe3qJhTC7EZqXB5uka/z92SzdtTgJgnT/u6Km3WN7BgKW9t2TEw/TORDRiiAvu/ldKO uEdpv/GSU+Ts7o8EOhhL2XflTWkJvuh+6DDcN32Oxg020rmAmO/fkJ8U6a8mT0NpCjPT o2xlIl4swGQpFEzXdKCTl0HPbxv0kAsQMa3FcMMGwfF2VS7m38MU8DvUwo+bc5nYQMiz IRySR+iB/28JlWcIuvdwAKSI8GFcQ/jt56S4mLHrBsyLoLwULN7rR+m/HN8csjGJfD/a aixA== MIME-Version: 1.0 X-Received: by 10.50.29.49 with SMTP id g17mr10474996igh.35.1391414079563; Sun, 02 Feb 2014 23:54:39 -0800 (PST) Received: by 10.50.67.84 with HTTP; Sun, 2 Feb 2014 23:54:39 -0800 (PST) In-Reply-To: <52EDB16B.1080206@gmail.com> References: <52EDB16B.1080206@gmail.com> Date: Mon, 3 Feb 2014 01:54:39 -0600 Message-ID: Subject: Re: libncursesw.so linker script syntax error? From: Scot Hetzel To: Keith Beattie Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: FreeBSD 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 Feb 2014 07:54:40 -0000 On Sat, Feb 1, 2014 at 8:46 PM, Keith Beattie wrote: > 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=3DCXX --mode=3Dlink c++ -O2 -fno-strict-aliasi= ng -pipe -march=3Dnative -fno-exceptions -o aspell prog/aspell.o prog/che= ck_funs.o prog/checker_string.o libaspell.la -lncursesw -L/usr/local/lib -l= intl -L/usr/local/lib -liconv -R/usr/local/lib > libtool: link: c++ -O2 -fno-strict-aliasing -pipe -march=3Dnative -fno-ex= ceptions -o .libs/aspell prog/aspell.o prog/check_funs.o prog/checker_strin= g.o ./.libs/libaspell.so -L/usr/local/lib -lncursesw /usr/local/lib/libint= l.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib > /usr/bin/ld:/usr/local/lib/libncursesw.so: file format not recognized; tr= eating 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 > =3D=3D=3D> Compilation failed unexpectedly. > Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failur= e 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 don't get that output when I `cat /usr/local/lib/libncursesw.so`. When I use `file /usr/local/lib/libncursesw.so*` it shows: /usr/local/lib/libncursesw.so: symbolic link to `libncursesw.so.6' /usr/local/lib/libncursesw.so.6: symbolic link to `libncursesw.so.6.0' /usr/local/lib/libncursesw.so.6.0: ELF 32-bit LSB shared object, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped Try uninstalling the devel/ncurses port again, and check if there are any left over libncurses* files and remove them.