devel/json-c build fails

Beeblebrox zaphod at berentweb.com
Mon May 6 16:55:04 UTC 2013


Breaks with below Error Message. If ccache is enabled, breaks sooner.

WITH CCACHE:
===>  Building for json-c-0.9
gmake  all-am
gmake[1]: Entering directory
`/wrkdirs/usr/ports/devel/json-c/work/json-c-0.9'
/bin/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -Wall
-Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe
-march=k8 -fno-strict-aliasing -MT arraylist.lo -MD -MP -MF
.deps/arraylist.Tpo -c -o arraylist.lo arraylist.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -Wall -Wwrite-strings -Werror
-std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=k8
-fno-strict-aliasing -MT arraylist.lo -MD -MP -MF .deps/arraylist.Tpo -c
arraylist.c  -fPIC -DPIC -o .libs/arraylist.o
cc: error: argument unused during compilation: '-I .'
gmake[1]: *** [arraylist.lo] Error 1
gmake[1]: Leaving directory
`/wrkdirs/usr/ports/devel/json-c/work/json-c-0.9'
gmake: *** [all] Error 2
*** [do-build] Error code 1

Stop in /usr/ports/devel/json-c.

W/O CCACHE:
mv -f .deps/linkhash.Tpo .deps/linkhash.Plo
/bin/sh ./libtool --tag=CC   --mode=compile cc -DHAVE_CONFIG_H -I.    -Wall
-Wwrite-strings -Werror -std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe
-march=k8 -fno-strict-aliasing -MT printbuf.lo -MD -MP -MF
.deps/printbuf.Tpo -c -o printbuf.lo printbuf.c
libtool: compile:  cc -DHAVE_CONFIG_H -I. -Wall -Wwrite-strings -Werror
-std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=k8
-fno-strict-aliasing -MT printbuf.lo -MD -MP -MF .deps/printbuf.Tpo -c
printbuf.c  -fPIC -DPIC -o .libs/printbuf.o
libtool: compile:  cc -DHAVE_CONFIG_H -I. -Wall -Wwrite-strings -Werror
-std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=k8
-fno-strict-aliasing -MT printbuf.lo -MD -MP -MF .deps/printbuf.Tpo -c
printbuf.c -o printbuf.o >/dev/null 2>&1
mv -f .deps/printbuf.Tpo .deps/printbuf.Plo
/bin/sh ./libtool --tag=CC   --mode=link cc -Wall -Wwrite-strings -Werror
-std=gnu99 -D_GNU_SOURCE -D_REENTRANT -O2 -pipe -march=k8
-fno-strict-aliasing -version-info 0:1:0  -o libjson.la -rpath
/usr/local/lib arraylist.lo debug.lo json_object.lo json_tokener.lo
json_util.lo linkhash.lo printbuf.lo  
libtool: link: cc -shared  .libs/arraylist.o .libs/debug.o
.libs/json_object.o .libs/json_tokener.o .libs/json_util.o .libs/linkhash.o
.libs/printbuf.o    -march=k8   -Wl,-soname -Wl,libjson.so.0 -o
.libs/libjson.so.0
libtool: link: (cd ".libs" && rm -f "libjson.so" && ln -s "libjson.so.0"
"libjson.so")
libtool: link: (cd ".libs" && rm -f "libjson.so" && ln -s "libjson.so.0"
"libjson.so")
libtool: link: ar cru .libs/libjson.a  arraylist.o debug.o json_object.o
json_tokener.o json_util.o linkhash.o printbuf.o
libtool: link: ranlib .libs/libjson.a
libtool: link: ( cd ".libs" && rm -f "libjson.la" && ln -s "../libjson.la"
"libjson.la" )
gmake[1]: Leaving directory
`/asp/obj/asp/git/ports/devel/json-c/work/json-c-0.9'




-----
10-Current-amd64-using ccache-portstree merged with marcuscom.gnome3 & xorg.devel

--
View this message in context: http://freebsd.1045724.n5.nabble.com/devel-json-c-build-fails-tp5809185.html
Sent from the freebsd-ports mailing list archive at Nabble.com.


More information about the freebsd-ports mailing list