NetBSD source update | 1 Dec 02:06 2011
Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/audio/Makefile
P pkgsrc/audio/libaudiofile/Makefile
U pkgsrc/audio/libaudiofile/distinfo
cvs update: pkgsrc/audio/libaudiofile/patches/patch-af is no longer in the repository
P pkgsrc/audio/libaudiofile/patches/patch-configure
cvs update: pkgsrc/audio/libaudiofile/patches/patch-libaudiofile_util.cpp is no longer in the repository
U pkgsrc/audio/libwildmidi/DESCR
U pkgsrc/audio/libwildmidi/MESSAGE
U pkgsrc/audio/libwildmidi/Makefile
U pkgsrc/audio/libwildmidi/PLIST
U pkgsrc/audio/libwildmidi/buildlink3.mk
U pkgsrc/audio/libwildmidi/distinfo
U pkgsrc/audio/libwildmidi/patches/patch-src_Makefile.in
U pkgsrc/audio/libwildmidi/patches/patch-src_wildmidi.c
P pkgsrc/audio/musicpd/distinfo
P pkgsrc/audio/musicpd/options.mk
U pkgsrc/audio/musicpd/patches/patch-src_decoder_audiofile__decoder__plugin.c
P pkgsrc/audio/normalize/Makefile
P pkgsrc/comms/libopensync/distinfo
P pkgsrc/comms/libopensync/patches/patch-ad
P pkgsrc/devel/apr/Makefile
P pkgsrc/devel/libidn/Makefile
P pkgsrc/devel/libidn/PLIST
P pkgsrc/devel/libidn/distinfo
P pkgsrc/devel/libidn/patches/patch-ad
(Continue reading)

Thomas Klausner | 1 Dec 10:57 2011
Picon

Re: empty directories after pkg_delete -r \*

On Wed, Nov 30, 2011 at 04:48:54AM +0100, Joerg Sonnenberger wrote:
> On Wed, Nov 30, 2011 at 12:08:54AM +0100, Thomas Klausner wrote:
> > lib/lua/5.1 is handled using  <at> pkgdir in lang/lua and in
> > graphics/graphviz. Perhaps reference counting doesn't manage two
> >  <at> pkgdir entries for the same directory well. Since I didn't see a
> > reason for the entry in graphics/graphviz, I removed it there.
> 
> No, multiple  <at> pkgdir entries should be fine.

Well, I agree they should, but I don't think they are :)

> > share/htdig/common isn't mentioned explicitly as  <at> pkgdir; some files
> > are installed there by www/htdig, and some databases are created there
> > which get deleted using  <at> unexec ${RM}. Is the clean-empty-dirs step
> > too late (or too dumb) to notice this?
> 
> That should be moved to PRE-DEINSTALL.  <at> unexec must die.

I've moved it into a DEINSTALL script and the directory is now removed.
 Thomas

John Klos | 1 Dec 17:05 2011

Failing perl updates

pkg_rolling-replace gave me this on two different machines running 
netbsd-5:

=> Creating binary package /usr/pkgsrc/packages/All/p5-YAML-0.77.tgz
pkg_create: can't stat 
`/usr/pkgsrc/textproc/p5-YAML/work/.destdir/usr/local/lib/perl5/vendor_perl/5.14.0/YAML/Base.pm'
pkg_create: can't stat 
`/usr/pkgsrc/textproc/p5-YAML/work/.destdir/usr/local/lib/perl5/vendor_perl/man/man3/YAML::Base.3'
pkg_create: lstat failed for file 
lib/perl5/vendor_perl/5.14.0/YAML/Base.pm: No such file or directory
*** Error code 2

NetBSD source update | 2 Dec 02:11 2011
Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/devel/SDL/Makefile
P pkgsrc/devel/SDL/distinfo
U pkgsrc/devel/SDL/patches/patch-src_video_wscons_SDL__wsconsevents.c
U pkgsrc/devel/SDL/patches/patch-src_video_wscons_SDL__wsconsvideo.c
P pkgsrc/doc/CHANGES-2011
P pkgsrc/doc/guide/Makefile
U pkgsrc/doc/guide/distinfo
P pkgsrc/editors/emacs20/distinfo
P pkgsrc/editors/emacs20/patches/patch-ab
P pkgsrc/editors/emacs20/patches/patch-bm
cvs update: pkgsrc/editors/emacs20/patches/patch-cb is no longer in the repository
P pkgsrc/geography/geos/distinfo
P pkgsrc/geography/geos/patches/patch-include-geos-platform.h.in
P pkgsrc/mk/defaults/options.description
P pkgsrc/net/p5-Net-Libdnet/Makefile
U pkgsrc/net/p5-Net-Libdnet/distinfo
P pkgsrc/pkgtools/pkg_install/files/lib/license.c
P pkgsrc/security/p5-Digest/Makefile
U pkgsrc/security/p5-Digest/distinfo
P pkgsrc/security/pam-krb5/Makefile
P pkgsrc/www/clearsilver/distinfo
U pkgsrc/www/clearsilver/patches/patch-python_neo__cgi.c
P pkgsrc/www/emacs-w3m-snapshot/Makefile
P pkgsrc/www/emacs-w3m-snapshot/PLIST
P pkgsrc/www/emacs-w3m-snapshot/distinfo
(Continue reading)

David Holland | 2 Dec 03:57 2011
Picon

emacs segfaulting during temacs load phase

So, this behavior (which has been plaguing all the emacs packages on
and off) popped up in emacs20 on current with gcc 4.5, and last night
I traced it to the compiler optimizing out the changes to
__malloc_hook in alloc.c. Adding [the expansion of] __insn_barrier()
in between the assignments made the crash go away.

A casual inspection suggests that this problem should also affect
emacs21 and emacs22 -- that is, the somewhat regrettable structure of
malloc calls is unchanged and there's nothing I can see that would
lead the compiler to make a different decision from what it did on
emacs20.

(I didn't look at emacs23 or emacs24 last night, but they're probably
either similar or have an overt fix or have completely different
code.)

Is the behavior we've been seeing actually consistent with it being a
gcc 4.5 issue? (What I've seen myself has been. But of course there
might be multiple problems with the same symptom.)

Can someone(s) who's been seeing this problem building other emacs
versions (I haven't been so far) try merging my emacs20 changes and
seeing if it helps? The changes are the bottom three hunks of
emacs20's patch-bm.

--

-- 
David A. Holland
dholland <at> netbsd.org

(Continue reading)

Dmitry Matveev | 2 Dec 22:00 2011
Picon

Re: emacs segfaulting during temacs load phase

Hello David,

I have tried to apply the same patch to both Emacs22 and Emacs23 but 
the packages still fail to build on the bytecomp stage.

The patch I've used for Emacs22 is attached.

NetBSD 5.99.56 NetBSD 5.99.56 (GENERIC) #2: Mon Oct 17 04:31:52 MSK 
2011  dm <at> vault:/usr/obj/sys/arch/amd64/compile/GENERIC x86_64

Dmitry

On Fri, 2 Dec 2011 02:57:09 +0000, David Holland wrote:
> So, this behavior (which has been plaguing all the emacs packages on
> and off) popped up in emacs20 on current with gcc 4.5, and last night
> I traced it to the compiler optimizing out the changes to
> __malloc_hook in alloc.c. Adding [the expansion of] __insn_barrier()
> in between the assignments made the crash go away.
>
> A casual inspection suggests that this problem should also affect
> emacs21 and emacs22 -- that is, the somewhat regrettable structure of
> malloc calls is unchanged and there's nothing I can see that would
> lead the compiler to make a different decision from what it did on
> emacs20.
>
> (I didn't look at emacs23 or emacs24 last night, but they're probably
> either similar or have an overt fix or have completely different
> code.)
>
> Is the behavior we've been seeing actually consistent with it being a
(Continue reading)

NetBSD source update | 3 Dec 03:09 2011
Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
P pkgsrc/benchmarks/iozone/Makefile
P pkgsrc/benchmarks/iozone/PLIST
P pkgsrc/benchmarks/iozone/distinfo
P pkgsrc/benchmarks/iozone/patches/patch-aa
P pkgsrc/benchmarks/iozone/patches/patch-ab
U pkgsrc/benchmarks/iozone/patches/patch-iozone_visualizer.pl
U pkgsrc/benchmarks/iozone/patches/patch-report.pl
P pkgsrc/databases/mysql51-client/Makefile.common
P pkgsrc/databases/mysql51-client/distinfo
P pkgsrc/databases/mysql51-client/patches/patch-ae
P pkgsrc/databases/mysql51-server/PLIST
P pkgsrc/databases/mysql51-server/distinfo
P pkgsrc/databases/openldap-server/Makefile
P pkgsrc/databases/phpmyadmin/Makefile
U pkgsrc/databases/phpmyadmin/distinfo
P pkgsrc/databases/py-gdbm/Makefile
P pkgsrc/databases/py-psycopg2/Makefile
P pkgsrc/databases/py-sqlite3/Makefile
P pkgsrc/devel/Makefile
P pkgsrc/devel/apr/Makefile
P pkgsrc/devel/apr/buildlink3.mk
P pkgsrc/devel/apr-util/Makefile
P pkgsrc/devel/apr-util/buildlink3.mk
P pkgsrc/devel/bcc/Makefile
P pkgsrc/devel/clisp-pcre/Makefile
(Continue reading)

David Holland | 3 Dec 21:15 2011
Picon

Re: improving pkglint

On Sat, Nov 26, 2011 at 11:52:55PM +0100, Thomas Klausner wrote:
 > > A while back I wrote:
 > > 
 > >  : (Speaking of which: is there any interest in making pkglint more
 > >  : approachable so more people can work on it? Or is it just my perl
 > >  : allergy that makes it look a mess to me?)    
 > > 
 > > and nobody responded. Admittedly it was at the tail of another
 > > thread... but the question stands. Anyone?
 > 
 > It's split into functions, has comments, readable variable names,
 > explains the cases it handles -- actually I think it's not bad at all.
 > 
 > Perhaps you can mention what kind of improvements you would want in
 > it, or what your issues are?

Well... I looked at it to see if I could get it to enforce proper
games group usage, and found it entirely impenetrable.

I guess it's just my Perl allergy.

--

-- 
David A. Holland
dholland <at> netbsd.org

Julio Merino | 4 Dec 01:19 2011

Re: empty directories after pkg_delete -r \*

On 11/29/11 8:46 PM, David Holland wrote:
> On Wed, Nov 30, 2011 at 12:08:54AM +0100, Thomas Klausner wrote:
>   >  share/htdig/common isn't mentioned explicitly as  <at> pkgdir; some files
>   >  are installed there by www/htdig, and some databases are created there
>   >  which get deleted using  <at> unexec ${RM}. Is the clean-empty-dirs step
>   >  too late (or too dumb) to notice this?
>
> I was just wondering the other day if those databases shouldn't be in
> $VARBASE...

Depends.  Are those databases only modified during package 
addition/removal?  I.e. are they a direct mapping of other installed 
files?  Or are these updated whenever the user performs other operations 
and therefore they might contain user data?  If the former, they do not 
belong in var; if the later, they do.

NetBSD source update | 4 Dec 02:06 2011
Picon

daily pkgsrc CVS update output


Updating pkgsrc tree:
? pkgsrc/INDEX
? pkgsrc/README-IPv6.html
? pkgsrc/README-all.html
U pkgsrc/databases/gdbm/builtin.mk
P pkgsrc/databases/gdbm_compat/buildlink3.mk
U pkgsrc/databases/gdbm_compat/builtin.mk
P pkgsrc/devel/doxygen/distinfo
P pkgsrc/devel/doxygen/patches/patch-ac
P pkgsrc/devel/fossil/Makefile
P pkgsrc/devel/gps/Makefile
P pkgsrc/devel/libthrift/Makefile
P pkgsrc/doc/CHANGES-2011
P pkgsrc/doc/TODO
P pkgsrc/editors/emacs/Makefile.common
P pkgsrc/editors/emacs/distinfo
U pkgsrc/editors/emacs/patches/patch-ac
P pkgsrc/filesystems/glusterfs/options.mk
P pkgsrc/games/asc/distinfo
P pkgsrc/games/asc/patches/patch-source_ASCStringHelpers.h
P pkgsrc/inputmethod/skktools/Makefile
P pkgsrc/inputmethod/skktools/distinfo
U pkgsrc/inputmethod/skktools/patches/patch-Makefile.in
P pkgsrc/lang/gnat-aux/Makefile
P pkgsrc/lang/gnat-aux/buildlink3.mk
P pkgsrc/lang/gnat-aux/distinfo
U pkgsrc/lang/gnat-aux/patches/patch-ad
P pkgsrc/mail/nmh/Makefile
P pkgsrc/net/btpd/Makefile
(Continue reading)


Gmane