pkgsrc-Changes archive

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

Re: CVS commit: pkgsrc/textproc/json-c



On Thu, Nov 28, 2013 at 04:30:50PM +0000, David Holland wrote:
> On Mon, Nov 25, 2013 at 11:59:08AM +0000, Thomas Klausner wrote:
>  > Modified Files:
>  >    pkgsrc/textproc/json-c: Makefile PLIST buildlink3.mk distinfo
>  > Removed Files:
>  >    pkgsrc/textproc/json-c/patches: patch-Makefile.in
>  > 
>  > Log Message:
>  > Update to 0.11:
> 
> Even with MAKE_JOBS_SAFE=no, I got this:
> 
> ===> Installing for json-c-0.11
> => Generating pre-install file lists
> Making install in .
> test -z "/usr/pkg/lib" || ./install-sh -c -d 
> "/work/obj/textproc/json-c/work/.destdir/usr/pkg/lib"
>  /bin/sh ./libtool   --mode=install /usr/bin/install -c -o build -g pkgsrc   
> libjson-c.la libjson.la '/work/obj/textproc/json-c/work/.destdir/usr/pkg/lib'
> libtool: install: /usr/bin/install -c -o build -g pkgsrc 
> .libs/libjson-c.so.2.0.1 
> /work/obj/textproc/json-c/work/.destdir/usr/pkg/lib/libjson-c.so.2.0.1
> libtool: install: (cd /work/obj/textproc/json-c/work/.destdir/usr/pkg/lib && 
> { ln -s -f libjson-c.so.2.0.1 libjson-c.so.2 || { rm -f libjson-c.so.2 && ln 
> -s libjson-c.so.2.0.1 libjson-c.so.2; }; })
> libtool: install: (cd /work/obj/textproc/json-c/work/.destdir/usr/pkg/lib && 
> { ln -s -f libjson-c.so.2.0.1 libjson-c.so || { rm -f libjson-c.so && ln -s 
> libjson-c.so.2.0.1 libjson-c.so; }; })
> libtool: install: /usr/bin/install -c -o build -g pkgsrc .libs/libjson-c.lai 
> /work/obj/textproc/json-c/work/.destdir/usr/pkg/lib/libjson-c.la
> libtool: install: warning: relinking `libjson.la'
> libtool: install:  (cd /work/obj/textproc/json-c/work/json-c-0.11; /bin/sh 
> /usr/pkg/bin/libtool --tag CC --mode=relink cc -Wall -Werror -Wextra 
> -Wwrite-strings -Wno-unused-parameter -std=gnu99 -version-info 1:0:1 
> -no-undefined -ljson-c -Wl,-R/usr/pkg/lib -o libjson.la -rpath /usr/pkg/lib 
> libjson.lo -ljson-c -L/work/obj/textproc/json-c/work/.buildlink/lib 
> -inst-prefix-dir /work/obj/textproc/json-c/work/.destdir)
> libtool: relink: cc -shared  -fPIC -DPIC  .libs/libjson.o   
> -Wl,-rpath,/usr/pkg/lib -L/work/obj/textproc/json-c/work/.buildlink/lib 
> /usr/pkg/lib/libjson-c.so  -Wl,-R/usr/pkg/lib   -Wl,-soname -Wl,libjson.so.0 
> -o .libs/libjson.so.0.1.0
> ld: cannot find -ljson-c
> libtool: install: error: relink `libjson.la' with the above command before 
> installing it
> *** Error code 1

Opsys, version?

I can't reproduce on 6.99.24/amd64 nor 6.0.1/amd64:

Making install in .
test -z "/usr/pkg/lib" || ./install-sh -c -d 
"/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib"
 /bin/sh ./libtool   --mode=install /usr/bin/install -c -o wiz -g staff   
libjson-c.la libjson.la '/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib'
libtool: install: /usr/bin/install -c -o wiz -g staff .libs/libjson-c.so.2.0.1 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson-c.so.2.0.1
libtool: install: (cd /usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib && 
{ ln -s -f libjson-c.so.2.0.1 libjson-c.so.2 || { rm -f libjson-c.so.2 && ln -s 
libjson-c.so.2.0.1 libjson-c.so.2; }; })
libtool: install: (cd /usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib && 
{ ln -s -f libjson-c.so.2.0.1 libjson-c.so || { rm -f libjson-c.so && ln -s 
libjson-c.so.2.0.1 libjson-c.so; }; })
libtool: install: /usr/bin/install -c -o wiz -g staff .libs/libjson-c.lai 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson-c.la
libtool: install: warning: relinking `libjson.la'
libtool: install:  (cd /usr/pkgsrc/textproc/json-c/work/json-c-0.11; /bin/sh 
/usr/pkg/bin/libtool --tag CC --mode=relink gcc -Wall -Werror -Wextra 
-Wwrite-strings -Wno-unused-parameter -std=gnu99 -O2 -version-info 1:0:1 
-no-undefined -ljson-c -Wl,-R/usr/pkg/lib -o libjson.la -rpath /usr/pkg/lib 
libjson.lo -ljson-c -L/usr/pkgsrc/textproc/json-c/work/.buildlink/lib 
-inst-prefix-dir /usr/pkgsrc/textproc/json-c/work/.destdir)
libtool: relink: gcc -shared  .libs/libjson.o   -Wl,-rpath -Wl,/usr/pkg/lib 
-L/usr/pkgsrc/textproc/json-c/work/.buildlink/lib 
-L/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib -L/usr/pkg/lib -ljson-c 
 -Wl,-R/usr/pkg/lib   -Wl,-soname -Wl,libjson.so.0 -o .libs/libjson.so.0.1.0
libtool: install: /usr/bin/install -c -o wiz -g staff .libs/libjson.so.0.1.0T 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson.so.0.1.0
libtool: install: (cd /usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib && 
{ ln -s -f libjson.so.0.1.0 libjson.so.0 || { rm -f libjson.so.0 && ln -s 
libjson.so.0.1.0 libjson.so.0; }; })
libtool: install: (cd /usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib && 
{ ln -s -f libjson.so.0.1.0 libjson.so || { rm -f libjson.so && ln -s 
libjson.so.0.1.0 libjson.so; }; })
libtool: install: /usr/bin/install -c -o wiz -g staff .libs/libjson.lai 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson.la
libtool: install: /usr/bin/install -c -o wiz -g staff .libs/libjson-c.a 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson-c.a
libtool: install: chmod 644 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson-c.a
libtool: install: ranlib 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson-c.a
libtool: install: /usr/bin/install -c -o wiz -g staff .libs/libjson.a 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson.a
libtool: install: chmod 644 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson.a
libtool: install: ranlib 
/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/libjson.a
libtool: install: warning: remember to run `libtool --finish /usr/pkg/lib'
test -z "/usr/pkg/include/json-c" || ./install-sh -c -d 
"/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/include/json-c"
 /usr/bin/install -c -o wiz -g staff -m 644 arraylist.h bits.h debug.h json.h 
json_config.h json_c_version.h json_inttypes.h json_object.h 
json_object_iterator.h json_object_private.h json_tokener.h json_util.h 
linkhash.h printbuf.h 
'/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/include/json-c'
test -z "/usr/pkg/lib/pkgconfig" || ./install-sh -c -d 
"/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/pkgconfig"
 /usr/bin/install -c -o wiz -g staff -m 644 json-c.pc json.pc 
'/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/lib/pkgconfig'
/usr/bin/make  install-data-hook
test \! -e "/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/include/json" || 
rm "/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/include/json"
ln -s json-c "/usr/pkgsrc/textproc/json-c/work/.destdir/usr/pkg/include/json"
Making install in tests
=> Automatic manual page handling

Why does it say 'cc' for you where it says 'gcc' for me?
 Thomas



Home | Main Index | Thread Index | Old Index