pkgsrc-Users archive

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

Re: graphics/libcaca build fails on -current i386 (amd64?)



On Mon, 27 Nov 2017, John D. Baker wrote:

> I can't find any place these exact macros are defined.

I think it expects to find them in a file "endian.h".

> More curious yet is that "libcaca" builds just fine on netbsd-8.

Or rather it did not long ago.  It doesn't any more.  It outright fails
with:

[...]
--- libcaca_la-dither.lo ---
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -DPLUGINDIR=\"\" -D__LIBCACA__ -I/d0/build/pkgsrc/graphics/libcaca/work/.buildlink/include/ncurses -O2 -D_FORTIFY_SOURCE=2 -g -O2 -fno-strength-reduce -fomit-frame-pointer -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare -MT libcaca_la-dither.lo -MD -MP -MF .deps/libcaca_la-dither.Tpo -c dither.c  -fPIC -DPIC -o .libs/libcaca_la-dither.o
dither.c:21:27: fatal error: endian.h: No such file or directory
compilation terminated.
*** [libcaca_la-dither.lo] Error code 1

make[2]: stopped in /d0/build/pkgsrc/graphics/libcaca/work/libcaca-0.99.beta18/caca
[...]

There is "/usr/include/sys/endian.h", but libcaca seems unable to find it
on netbsd-8.

On -current libcaca seems to be able to find it, but it doesn't define the
macros libcaca wants.


There is also "/usr/pkg/include/boost/predef/other/endian.h", but it doesn't
define the macros, only tests them.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index