Some pkgsrc problems

Hasso Tepper hasso at estpak.ee
Fri Jun 6 01:57:56 PDT 2008


I have been working on improving the DragonFly support in pkgsrc to make
at least essential stuff working again. Things are improving quite fast
and I hope to get pkgsrc packages in good shape again for 2008Q2 release.

There are some packages though which are probably essential for at least
some of users, but isn't for me and is not trivial to fix either. I hope
that someone else picks these to fix. I can take care of submitting reports
etc if you really don't want to do it yourself.

1) x11/xterm doesn't compile with current HEAD:

cc -I. -I. -DHAVE_CONFIG_H  -I/usr/pkg/include -I/usr/pkg/include/freetype2
-I/usr/pkg/include -I/usr/pkg/include -I/usr/pkg/include  -DNARROWPROTO=1
-DFUNCPROTO=15 -DOSMAJORVERSION=1 -DOSMINORVERSION=13 -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/freetype2 -U_XOPEN_SOURCE
-D_XOPEN_SOURCE=500 -DXTSTRINGDEFINES  -O2 -I/usr/pkg/include
-I/usr/include -I/usr/pkg/include/freetype2 -W -Wall -Wbad-function-cast
-Wcast-align -Wcast-qual -Winline -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wshadow
-Wstrict-prototypes -Wundef -Wdeclaration-after-statement -Wextra
-Wno-unknown-pragmas -Wswitch-enum -c ./charproc.c
. /charproc.c: In function 'in_put':
. /charproc.c:3242: error: 'fd_mask' undeclared (first use in this function)
. /charproc.c:3242: error: (Each undeclared identifier is reported only once
. /charproc.c:3242: error: for each function it appears in.)
*** Error code 1

It worked before, but was broken with making our sys/select.h conform to
standards. Note, that it's not trivial. All other BSD's are conforming to
standards longer than DragonFly in this regard, but xterm compiles in them. 

2) editors/emacs doesn't compile:

Loading site-init.el (source)...
Dumping under names emacs and emacs-22.1.1
1110350 pure bytes used
. /emacs -q -batch -f list-load-path-shadows
gmake[1]: *** [emacs] Segmentation fault (core dumped)

It looks similar to http://bugs.gentoo.org/show_bug.cgi?id=194582 and
indeed adding gtk to emacs options fixes the segfault.

3) I don't know if there is C# users, but I know there is quite a lot of
them in various Unixes and there are also at least some good applications.
The point is that lang/mono and lang/pnet don't have DragonFly support at
all. From brief look it seems that in both cases knowledge about threading
is needed to make garbage collectors working. The rest is probably trivial.


happy hacking,

-- 
Hasso Tepper





More information about the Users mailing list