Re: libncursesw.so linker script syntax error?
On 02/02/14 23:54, Scot Hetzel wrote: 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. Tried that, didn't work. It rebuilds the .so as an ldscript again. Similarly with libncurses.so. What does seem to work is moving aside libncursesw.so and making it a symlink to libncursesw.so.5 (which is in turn a link to .so.5.9). I haven't tested this yet, but my guess is that the 5.9.20131221 update to the ncurses port introduced this. Thanks, ksb ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
libncursesw.so linker script syntax error?
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 ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org
pkgdb -F or -L, gimp-2.2,2 /bin/sh:Argument list too long
Hello all, After csup'ing prep for the big xorg upgrade, an old problem is plaguing me again: --- # portversion -v | grep -v up-to-date Stale dependency: gimp-2.2,2 -- *** -- manually run 'pkgdb -F' to fix, or specify -O to force. # pkgdb -F --- Checking the package registry database Stale origin: 'x11/xorg-manpages': perhaps moved or obsoleted. - The port 'x11/xorg-manpages' was removed on because: X.org manual pages are now installed with every single port - Hint: xorg-manpages-6.9.0 is required by the following package(s): xorg-6.9.0 - Hint: checking for overwritten files... - No files installed by xorg-manpages-6.9.0 have been overwritten by other packages. Deinstall xorg-manpages-6.9.0 ? [no] Stale dependency: gimp-2.2,2 - *** (code): /bin/sh:Argument list too long ***: Not in due form: name-version Install stale dependency? ([y]es/[n]o/[a]ll) [yes] n New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. Stale dependency: gimp-2.2,2 - Stop (/usr/ports/graphics/gimp.): Stop: Not in due form: name-version Install stale dependency? ([y]es/[n]o/[a]ll) [yes] n New dependency? (? to help): Skip this? ([y]es/[n]o/[a]ll) [yes] Skipped. --- My goal is to see what projects are ready for upgrading. As such, I went with 'no' to skip the xorg-manpage change for now but then I get the concerning error from /bin/sh about the Argument list being too long. After that I don't trust that it will install the proper dependency so I opt out. pkgdb -L suffers a nearly identical fate: # pkgdb -L [...lots of 'ok's ] /bin/sh:Argument list too long can't convert nil into String gimp-2.2,2: # I've already upgraded to portupgrade-devel (2.3.0_5) following the instructions on upgrading for xorg 7.2, to no avail. I've heard that bash handles long arg lists better than sh or csh, is there a way to force the use of bash for this? In case this helps: # uname -a FreeBSD laptop 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 #1: Wed Mar 28 06:19:06 PDT 2007 root@:/usr/obj/usr/src/sys/LAPTOP i386 # pkg_info | wc -l pkg_info: show_file: can't open '+COMMENT' for reading 592 Other work-arounds? TIA, ksb ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: error building desktop-file-utils
On 11/18/06, Lowell Gilbert [EMAIL PROTECTED] wrote: What version of emacs do you have installed? Interesting: # pkg_info | grep -i emacs emacs-21.3_9GNU editing macros xemacs-packages-14.1_1 Basic XEmacs elisp packages(xemacs-packages) zile-2.2.22 Small emacs-like text editor The xemacs-packages was left over from me switching back to emacs from xemacs (because it crashed consistently when using C-k - but that too is another post) so I pkg_deinstalled xemacs-packages, tried portupgrade -a and got the same failure in desktop-file-utils. So I pkg_deinstalled emacs, portinstalled it, tried portupgrade -a again and it worked! Thanks for your help in asking the right question! ksb ___ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to [EMAIL PROTECTED]