Ports problems

Adam K Kirchhoff adamk at voicenet.com
Sun Nov 16 05:27:32 PST 2003


Hey folks. 

I'm encountering some pretty significant problems building apps from the
ports tree.

autoconf213:

sed -e 's,@''datadir''@,/usr/local/share/autoconf213,g' -e
's,@''PERL''@,/usr/bin/perl,g' autoscan.pl > autoscan.tmp && chmod +x
autoscan.tmp && mv autoscan.tmp autoscan
Error: Autoconf requires GNU m4 1.1 or later
*** Error code 1

Stop in /usr/ports/devel/autoconf213/work/autoconf.
*** Error code 1

Stop in /usr/ports/devel/autoconf213.

I have m4-1.4_1 installed, though.

audiofile:

cc -O -pipe -o instparamtest instparamtest.o
. ./libaudiofile/.libs/libaudiofile.a -lm
source='sixteen-to-eight.c' object='sixteen-to-eight.o' libtool=no
depfile='.deps/sixteen-to-eight.Po'
tmpdepfile='.deps/sixteen-to-eight.TPo'  depmode=gcc /usr/local/bin/bash
. ./depcomp  cc -DHAVE_CONFIG_H -I. -I. -I.. -I../libaudiofile     -O
-pipe -c `test -f sixteen-to-eight.c || echo './'`sixteen-to-eight.c
In file included from sixteen-to-eight.c:34:
/usr/include/inttypes.h:42: syntax error before `intmax_t'
/usr/include/inttypes.h:42: syntax error before `__pure2'
/usr/include/inttypes.h:43: syntax error before `__pure2'
In file included from /usr/include/stdio.h:49,
                 from sixteen-to-eight.c:37:
/usr/include/machine/stdarg.h:47: syntax error before
`typedef'
*** Error code 1

Stop in
/usr/ports/audio/libaudiofile/work/audiofile-0.2.4/test.
*** Error code 1

This happens with some other ports as well.

libgtop2 and gkrellm:

 cc -DHAVE_CONFIG_H -I. -I. -I../.. -D_IN_LIBGTOP -D_GNU_SOURCE
-DGLIBTOP_NAMES -I../.. -I../.. -I../../sysdeps/freebsd -I../../include
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include -O
-pipe -I/usr/X11R6/include -DGTOPLOCALEDIR=\"/usr/local/share/locale\"
-DLIBGTOP_VERSION=\"2.0.7\" -DLIBGTOP_SERVER_VERSION=\"5\"
-DLIBGTOP_VERSION_CODE=2000007
-DLIBGTOP_SERVER=\"/usr/local/bin/libgtop_server2\"
-I/usr/local/include -O -pipe -c mem.c  -fPIC -DPIC -o .libs/mem.o
mem.c: In function `glibtop_get_mem_p':
mem.c:173: structure has no member named `v_page_count'
mem.c:191: structure has no member named `v_active_count'
mem.c:191: structure has no member named `v_inactive_count'
mem.c:192: structure has no member named `v_free_count'
mem.c:200: structure has no member named `v_cache_count'
mem.c:206: structure has no member named `v_wire_count'
gmake[3]: *** [mem.lo] Error 1
gmake[3]: Leaving directory
`/usr/ports/devel/libgtop2/work/libgtop-2.0.7/sysdeps/freebsd'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/devel/libgtop2/work/libgtop-2.0.7/sysdeps'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/devel/libgtop2/work/libgtop-2.0.7'
gmake: *** [all-recursive-am] Error 2
*** Error code 2

Stop in /usr/ports/devel/libgtop2.
*** Error code 1

Unfortunately, I don't know which of these are dragonflybsd specific
build problems (though I imagine the libgtop2 and libaudiofile
definately are) and which are broken in FreeBSD as well.

Any hints?

Is anyone actively working on fixing broken ports by using the dfports
tree?

Adam






More information about the Kernel mailing list