pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50732: devel/gettext-tools DragonFly 4.5 pkgsrc ncurses Error: buildlink3 leakage into ./.libs/libgettextlib.lai



>Number:         50732
>Category:       pkg
>Synopsis:       devel/gettext-tools DragonFly 4.5 pkgsrc ncurses Error: buildlink3 leakage into ./.libs/libgettextlib.lai
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Jan 31 07:05:00 +0000 2016
>Originator:     David Shao
>Release:        current pkgsrc cvs
>Organization:
>Environment:
DragonFly  4.5-DEVELOPMENT DragonFly v4.5.0.440.gc19fc-DEVELOPMENT #0: Sat Jan 30 10:35:41 PST 2016     xxxxx@:/usr/obj/usr/src/sys/X86_64_GENERIC  x86_64


>Description:
Latest DragonFly has moved its libncurses into a private library.  Therefore dports / pkgsrc will I suppose have to switch to using the ports / pkgsrc version of ncurses. 

In /usr/pkg/etc/mk.conf I have set (libedit was privatized as well):

CURSES_DEFAULT=ncurses
READLINE_DEFAULT=readline
USE_BUILTIN.termcap=no

The Makefile of devel/gettext-libs refers to 
.include "../../mk/termcap.buildlink3.mk"

The real reason I set the termcap USE_BUILTIN to no is that devel/gtexinfo refuses to build now since it has in its Makefile

.include "../../mk/termcap.buildlink3.mk"

Unfortunately going back to replace devel/gettext-tools now has the error mentioned in the subject line:

libtool: link: warning: library `/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib/libncurses.la' was moved.
libtool: link: cc -shared  -fPIC -DPIC  .libs/copy-acl.o .libs/set-acl.o .libs/acl-errno-valid.o .libs/acl-internal.o .libs/get-permissions.o .libs/set-permissions.o .libs/allocator.o .libs/areadlink.o .libs/argmatch.o .libs/gl_array_list.o .libs/backupfile.o .libs/addext.o .libs/basename.o .libs/binary-io.o .libs/c-ctype.o .libs/c-strcasecmp.o .libs/c-strncasecmp.o .libs/c-strcasestr.o .libs/c-strstr.o .libs/careadlinkat.o .libs/classpath.o .libs/clean-temp.o .libs/cloexec.o .libs/closeout.o .libs/concat-filename.o .libs/copy-file.o .libs/csharpcomp.o .libs/csharpexec.o .libs/error-progname.o .libs/execute.o .libs/exitfail.o .libs/fatal-signal.o .libs/fd-hook.o .libs/fd-ostream.o .libs/fd-safer-flag.o .libs/dup-safer-flag.o .libs/file-ostream.o .libs/findprog.o .libs/fstrcmp.o .libs/full-write.o .libs/fwriteerror.o .libs/gcd.o .libs/hash.o .libs/html-ostream.o .libs/html-styled-ostream.o .libs/javacomp.o .libs/javaexec.o .libs/javaversion.o .libs/gl_linkedhash_list.o .libs/gl_list.o
  .libs/localcharset.o .libs/localename.o glthread/.libs/lock.o .libs/malloca.o .libs/mbchar.o .libs/mbiter.o .libs/mbslen.o .libs/mbsstr.o .libs/mbswidth.o .libs/mbuiter.o .libs/ostream.o .libs/pipe-filter-ii.o .libs/pipe-filter-aux.o .libs/pipe2.o .libs/pipe2-safer.o .libs/progname.o .libs/propername.o .libs/qcopy-acl.o .libs/qset-acl.o .libs/quotearg.o .libs/safe-read.o .libs/safe-write.o .libs/sh-quote.o .libs/sig-handler.o .libs/spawn-pipe.o .libs/striconv.o .libs/striconveh.o .libs/striconveha.o .libs/strnlen1.o .libs/styled-ostream.o .libs/tempname.o .libs/term-ostream.o .libs/term-styled-ostream.o glthread/.libs/threadlib.o glthread/.libs/tls.o .libs/tmpdir.o .libs/trim.o uniconv/.libs/u8-conv-from-enc.o unictype/.libs/ctype_space.o unilbrk/.libs/lbrktables.o unilbrk/.libs/u8-possible-linebreaks.o unilbrk/.libs/u8-width-linebreaks.o unilbrk/.libs/ulc-common.o unilbrk/.libs/ulc-width-linebreaks.o uniname/.libs/uniname.o .libs/unistd.o .libs/dup-safer.o .libs/fd-safer.o .libs/p
 ipe-safer.o unistr/.libs/u16-mbtouc.o unistr/.libs/u16-mbtouc-aux.o unistr/.libs/u8-check.o unistr/.libs/u8-mblen.o unistr/.libs/u8-mbtouc.o unistr/.libs/u8-mbtouc-aux.o unistr/.libs/u8-mbtouc-unsafe.o unistr/.libs/u8-mbtouc-unsafe-aux.o unistr/.libs/u8-mbtoucr.o unistr/.libs/u8-prev.o unistr/.libs/u8-uctomb.o unistr/.libs/u8-uctomb-aux.o uniwidth/.libs/width.o .libs/wait-process.o .libs/wctype-h.o .libs/xmalloc.o .libs/xstrdup.o .libs/xconcat-filename.o .libs/xerror.o .libs/gl_xlist.o .libs/xmalloca.o .libs/xreadlink.o .libs/xsetenv.o .libs/xsize.o .libs/xstriconv.o .libs/xstriconveh.o .libs/xvasprintf.o .libs/xasprintf.o .libs/asnprintf.o .libs/canonicalize-lgpl.o .libs/dup2.o .libs/error.o .libs/fcntl.o .libs/getopt.o .libs/getopt1.o .libs/obstack.o .libs/printf-args.o .libs/printf-parse.o .libs/rawmemchr.o .libs/secure_getenv.o .libs/spawn_faction_addclose.o .libs/spawn_faction_adddup2.o .libs/spawn_faction_addopen.o .libs/strerror.o .libs/strerror-override.o .libs/strstr.o .lib
 s/vasnprintf.o  -Wl,--whole-archive ./.libs/libcroco_rpl.a ./.libs/libglib_rpl.a ./.libs/libxml_rpl.a -Wl,--no-whole-archive  -Wl,-rpath -Wl,/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib -Wl,-rpath -Wl,/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib -Wl,-rpath -Wl,/usr/pkg/lib -L/usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib /usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib/libncurses.so /usr/pkgsrc/devel/gettext-tools/work/.buildlink/lib/libintl.so  -Wl,-R/usr/pkg/lib   -Wl,-soname -Wl,libgettextlib-0.19.6.so -o .libs/libgettextlib-0.19.6.so
libtool: link: (cd ".libs" && rm -f "libgettextlib.so" && ln -s "libgettextlib-0.19.6.so" "libgettextlib.so")
libtool: link: ( cd ".libs" && rm -f "libgettextlib.la" && ln -s "../libgettextlib.la" "libgettextlib.la" )
==> [buildlink3] Error: buildlink3 leakage into ./.libs/libgettextlib.lai
*** Error code 1

Looking at the file .libs/libgettextlib.lai, there is the strange line:

# Libraries that this one depends upon.
dependency_libs='-L/usr/pkg/lib -L/usr/pkgsrc/devel/ncurses/work/.destdir/usr/pkgsrc/devel/gettext-tools/work
/.buildlink/lib -lncurses -lintl'



>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index