pkgsrc-Users archive

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

Re: emacs24-nox11 failing on netbsd-5/amd64



PR pkg/48622 ?

On Wed, 07 Jan 2015 06:11:49 +0900, Greg Troxel <gdt%ir.bbn.com@localhost> wrote:


I have an up-to-date netbsd-5 system (amd64), and just did an update to
2014Q4 (via pkg_rolling-replace, but that's not relevant).

emacs24-nox11 is failing to build.

cc -std=gnu99 -DHAVE_CONFIG_H -I. -I../lib -I../src -I../src   -I/usr/include    -O2 -I/usr/include -MT readlinkat.o -MD -MP -MF .deps/readlinkat.Tpo -c -o readlinkat.o readlinkat.c
In file included from readlinkat.c:42:
at-func.c:75:27: error: macro "readlink" requires 3 arguments, but only 1 given
In file included from readlinkat.c:42:
at-func.c: In function 'readlinkat':
at-func.c:75: warning: return makes integer from pointer without a cast
at-func.c:93:55: error: macro "readlink" requires 3 arguments, but only 1 given
at-func.c:93: warning: initialization makes integer from pointer without a cast
at-func.c:130:24: error: macro "readlink" requires 3 arguments, but only 1 given
at-func.c:130: warning: assignment makes integer from pointer without a cast
Makefile:1590: recipe for target 'readlinkat.o' failed
gmake[3]: *** [readlinkat.o] Error 1

I was able to build 24.3nb1 from 2014Q3 in early December.
emacs{21,22,23}-nox11 all build, presumably because they don't have the
spiffy new readlinkat support.

Trying to understand this, I found myself in a twisty maze of macros.
As far as I can tell, netbsd-5 does not have readlinkat.

I am likely to treat this as a clue that the machine is past due for
updating to netbsd-6, but it would be nice if emacs24 built on netbsd-5
still.



--
OBATA Akio / obata%lins.jp@localhost


Home | Main Index | Thread Index | Old Index