git-merge-changelog in debian

2014-03-09 Thread Ian Beckwith
Hi,

Per user request, git-merge-changelog is now a package in debian.

The binary package is generated from the gnulib source package, along
with the gnulib binary package.

Debian mandates man pages for all binaries, so I adapted the comments at
the top of git-merge-changelog.c into a man page. My *roff is a bit
ropy, so I used perl's pod format. I've attached it, along with the
pod2man output, feel free to include it if it's any use.

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
=head1 NAME

git-merge-changelog - git merge driver for GNU ChangeLog files

=head1 DESCRIPTION

The default merge driver of 'git' Balways produces conflicts when
pulling public modifications into a privately modified ChangeLog file.
This is because ChangeLog files are always modified at the top; the
default merge driver has no clue how to deal with this. Furthermore
the conflicts are presented with more EltEltEltElt  
EgtEgtEgtEgt markers than
necessary; this is because the default merge driver makes pointless
efforts to look at the individual line changes inside a ChangeLog entry.

This program serves as a 'git' merge driver that avoids these problems.

=over 4

=item Z1.

It produces no conflict when ChangeLog entries have been inserted
at the top both in the public and in the private modification. It
puts the privately added entries above the publicly added entries.

=item Z2.

It respects the structure of ChangeLog files: entries are not split
into lines but kept together.

=item Z3.

It also handles the case of small modifications of past ChangeLog
entries, or of removed ChangeLog entries: they are merged as one
would expect it.

=item Z4.

Conflicts are presented at the top of the file, rather than where
they occurred, so that the user will see them immediately. (Unlike
for source code written in some programming language, conflict markers
that are located several hundreds lines from the top will not cause
any syntax error and therefore would be likely to remain unnoticed.)

=back

=head2 For git users:

=over 4

=item -

Add to .git/config of the checkout (or to your $HOME/.gitconfig) the
lines

 [merge merge-changelog]
 name = GNU-style ChangeLog merge driver
 driver = /usr/bin/git-merge-changelog %O %A %B

=item -

In every directory that contains a ChangeLog file, add a file
'.gitattributes' with this line:

 ChangeLogmerge=merge-changelog

(See man 5 gitattributes for more info.)

=back

=head2 For bzr users:

=over 4

=item -

Install the 'extmerge' bzr plug-in listed at
Lhttp://doc.bazaar.canonical.com/plugins/en/index.html
Lhttp://wiki.bazaar.canonical.com/BzrPlugins

=item -

Add to your $HOME/.bazaar/bazaar.conf the line

 external_merge = git-merge-changelog %b %T %o

=item -

Then, to merge a conflict in a ChangeLog file, use

 $ bzr extmerge ChangeLog

=back

=head2 For hg users:

=over 4

=item -

Add to your $HOME/.hgrc the lines

 [merge-patterns]
ChangeLog = git-merge-changelog

 [merge-tools]
 git-merge-changelog.executable = /usr/bin/git-merge-changelog
 git-merge-changelog.args = $base $local $other

See Lhttp://www.selenic.com/mercurial/hgrc.5.html section Bmerge-tools
for reference.

=back

=head2 Use as an alternative to 'diff3':

git-merge-changelog performs the same role as diff3 -m, just with
reordered arguments:

 $ git-merge-changelog %O %A %B

is comparable to

 $ diff3 -m %A %O %B

=head2 Calling convention:

A merge driver is called with three filename arguments:

=over 4

=item Z1.

%O = The common ancestor of %A and %B.

=item Z2.

%A = The file's contents from the current branch.

=item Z3.

%B = The file's contents from the other branch; this is the contents
being merged in.

=back

In case of a git stash apply or of an upstream pull (e.g. from a subsystem
maintainer to a central maintainer) or of a downstream pull with --rebase:

=over 4

=item Z2.

%A = The file's newest pulled contents; modified by other committers.

=item Z3.

%B = The user's newest copy of the file; modified by the user.

=back

In case of a downstream pull (e.g. from a central repository to the user)
or of an upstream pull with --rebase:

=over 4

=item Z2.

%A = The user's newest copy of the file; modified by the user.

=item Z3.

%B = The file's newest pulled contents; modified by other committers.

=back

It should write its merged output into file %A. It can also echo some
remarks to stdout.  It should exit with return code 0 if the merge could
be resolved cleanly, or with non-zero return code if there were conflicts.

=head2 How it works:

The structure of a ChangeLog file: It consists of ChangeLog entries. A
ChangeLog entry starts at a line following a blank line and that starts with
a non-whitespace character, or at the beginning of a file.
The merge driver works as follows: It reads the three files into memory and
dissects them into ChangeLog entries. It then finds

test suite failure: test-dirent-c++

2014-01-19 Thread Ian Beckwith
Hi,

gnulib-tool --with-c++-tests --test dirent fails (on debian stable amd64) with:

g++ -DHAVE_CONFIG_H -I. -I../../gltests  -DGNULIB_STRICT_CHECKING=1 -I. 
-I../../gltests -I.. -I../../gltests/.. -I../gllib -I../../gltests/../gllib
-MT test-dirent-c++.o -MD -MP -MF .deps/test-dirent-c++.Tpo -c -o 
test-dirent-c++.o ../../gltests/test-dirent-c++.cc
../../gltests/test-dirent-c++.cc:27:1: error: ‘gnulib’ has not been declared
../../gltests/test-dirent-c++.cc:33:1: error: ‘gnulib’ has not been declared
make[4]: *** [test-dirent-c++.o] Error 1

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: 65 Days of Static - The Fall of Math - This Cat is A Landmine


signature.asc
Description: Digital signature


test suite failure: non-recursive-gnulib-prefix-hack

2014-01-19 Thread Ian Beckwith
Hi,

gnulib-tool --test non-recursive-gnulib-prefix-hack
fails (on debian stable amd64) with:

./gnulib-tool --test non-recursive-gnulib-prefix-hack
Module list with included dependencies (indented):
  non-recursive-gnulib-prefix-hack
File list:
  build-aux/prefix-gnulib-mk
  lib/dummy.c
  m4/00gnulib.m4
  m4/gnulib-common.m4
  m4/non-recursive-gnulib-prefix-hack.m4
  m4/onceonly.m4
executing aclocal -I glm4
executing autoconf
executing autoheader
executing automake --add-missing --copy
configure.ac:108: required directory ./lib does not exist
configure.ac:4: installing `build-aux/install-sh'
configure.ac:4: installing `build-aux/missing'
gllib/Makefile.am: installing `build-aux/depcomp'

it also causes gnulib-tool --create-megatestdir
to bomb out at that point without creating do-autobuild
(I was also using --with-c++-tests --with-privileged-tests 
--with-longrunning-tests)

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA


signature.asc
Description: Digital signature


test suite failure: gnumakefile

2014-01-19 Thread Ian Beckwith
Hi,

gnulib-tool --test gnumakefile fails:

configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
GNUmakefile:43: ../maint.mk: No such file or directory
make: *** No rule to make target `../maint.mk'.  Stop.

It's been failing for ages, thought I'd mention it again.

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA



New stable snapshot

2013-08-09 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20130805-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20130805

(stable branch, master is the debian branch, derived from stable).

I've not yet updated/uploaded the debian package, will be done in the
next week or so.

There are a couple of test suite failures:

non-recursive-gnulib-prefix-hack: lib/ missing, see earlier mail
gnumakefile: has been failing for ages

I plan to resume making snapshots, at least quarterly, hopefully more
frequently.

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Nadja - Desire in Uneasiness - Disambiguation
Gnulib stable snapshot
--

  * 20130805-stable

Snapshot taken based on:

commit ef5856c0c4c6302b6cac9c7cefb4e6cbdcf127be
Date:   Tue Jun 11 00:10:21 2013 -0700

with the following additional commits:

* [353402b]-[979b76e] autoupdate
* [2845ecc]-[1fd0acc] getcwd-lgpl: port to Tru64
* [240af58]-[dbe7a05] nproc: relax license to LGPLv2+
* [33758ba]-[121180e] xalloc-oversized: relax license to LGPLv2+
* [612ef3f]-[a08b131] mgetgroups: relax license to LGPLv2+
* [c96bab3]-[9e801ad] fnmatch: don't goto over declaration
* [de3b502]-[cce1478] autoupdate
* [03e96cc]-[78b78bc] autoupdate



signature.asc
Description: Digital signature


snapshots, debian, non-recursive-gnulib-prefix-hack

2013-07-20 Thread Ian Beckwith
um, Hi.

Sorry I vanished completely and stopped doing the gnulib snapshots,
work has eaten my life for the last year. It's still doing it's best
to consume me but I'm trying to claw back some time for at least some
of the free software stuff I used to do.

My guilt has finally triggered by gnulib being removed from Debian
Testing for RC (release-critical) bugs, both of which it looks like
can be fixed just by packaging a new snapshot, which I'm going to do
over the next couple of weeks.

Fortunately this happened after the stable debian release, so gnulib
(snapshot 20120404) made it into the latest stable release (wheezy).

Debian bug list is at:

http://bugs.debian.org/cgi-bin/pkgreport.cgi?which=pkgversion=dist=data=gnulibarchive=no

As I haven't been following the list for the last year, is there
anything I should know before doing the next snapshot or that might
affect the debian packaging?

Bug report:

gnulib-tool --create-megatestdir bails on non-recursive-gnulib-prefix-hack

Module list with included dependencies (indented):
  non-recursive-gnulib-prefix-hack
File list:
  build-aux/prefix-gnulib-mk
  lib/dummy.c
  m4/00gnulib.m4
  m4/gnulib-common.m4
  m4/non-recursive-gnulib-prefix-hack.m4
  m4/onceonly.m4
executing aclocal -I glm4
executing autoconf
executing autoheader
executing automake --add-missing --copy
configure.ac:108: required directory ./lib does not exist
configure.ac:4: installing `build-aux/install-sh'
configure.ac:4: installing `build-aux/missing'
gllib/Makefile.am: installing `build-aux/depcomp'

cheers,

Ian

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA


signature.asc
Description: Digital signature


Re: New stable snapshot

2012-04-08 Thread Ian Beckwith
Hi,

On Fri, Apr 06, 2012 at 12:02:05PM +0200, Bruno Haible wrote:
 Pretty conservative, well done.

Thanks! This is the only context in which I consider conservative a
compliment :)

 This fix [1][2] could possibly have been included as well. It fixes a
 warning unknown option after #pragma GCC diagnostic that was
 introduced on 2012-02-08. It affects the 'regex' module (which many
 packages use) with all GCC versions from 4.3.0 to 4.5.3. On the other hand,
 it's only a warning. So, I don't really know what I would do if I were you...

I saw that, but thought it's only a warning and didn't take it.
If you think it is sufficiently important I can roll up another snapshot.

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Poliça - Give You The Ghost - Dark Star



New stable snapshot

2012-04-05 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20120404-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20120404

(stable branch, master is the debian branch, derived from stable).

Only a few commits cherry picked, most were new code.

cheers,

Ian.

PS mumble mumble snapshot even later mumble sorry mumble.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Nadja - Numbness - Numb
Gnulib stable snapshot
--

  * 20120404-stable

Snapshot taken based on:

commit 1f28fa660e4ca110f073251a24ef3a94ad97ef69
Date:   Sat Mar 24 16:41:21 2012 +0100

with the following additional commits:

* [7ce7d6b]-[c07add3] autoupdate
* [3d0ba3f]-[7f8314c] maint.mk: fix syntax checks without exclusions
* [0e0635a]-[3d25ec7] fflush: Fix syntax error.


signature.asc
Description: Digital signature


crypto/gc-{hmac-md5,hmac-sha1,pbkdf2-sha1}: test suite failures

2011-11-17 Thread Ian Beckwith
Hi,

crypto/gc-hmac-md5, crypto/gc-hmac-sha1, and crypto/gc-pbkdf2-sha1 all fail 
with:

gcc -DHAVE_CONFIG_H -I. -I..  -DGNULIB_STRICT_CHECKING=1   -g -O2 -MT sha1.o 
-MD -MP -MF .deps/sha1.Tpo -c -o sha1.o sha1.c
sha1.c:29:22: fatal error: stdalign.h: No such file or directory

or

gcc -DHAVE_CONFIG_H -I. -I..  -DGNULIB_STRICT_CHECKING=1   -g -O2 -MT md5.o -MD 
-MP -MF .deps/md5.Tpo -c -o md5.o md5.c
md5.c:27:22: fatal error: stdalign.h: No such file or directory

(logs attached)

cheers,

Ian

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Angels of Light - New Mother - Real Person
To: gnu...@autobuild.josefsson.org

+ : autobuild project... crypto/gc-hmac-md5
+ : autobuild revision... cvs-20110908-00
+ date +%Y%m%d-%H%M%S
+ : autobuild timestamp... 2017-072611
+ hostname
+ : autobuild hostname... jezebel
+ cd crypto/gc-hmac-md5
+ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking whether make sets $(MAKE)... (cached) yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for Minix Amsterdam compiler... no
checking for ar... ar
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking whether byte ordering is bigendian... no
checking for inline... inline
checking for C/C++ restrict keyword... __restrict
checking for unsigned long long int... yes
checking for long long int... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for stdint.h... (cached) yes
checking whether the preprocessor supports include_next... yes
checking whether system header files limit the line length... no
checking whether stdint.h conforms to C99... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gllib/Makefile
config.status: creating glm4/Makefile
config.status: creating config.h
config.status: executing depfiles commands
+ make
make  all-recursive
make[1]: Entering directory 
`/home/ianb/tmp/scratch/gnulib-tests/t/crypto/gc-hmac-md5'
Making all in gllib
make[2]: Entering directory 
`/home/ianb/tmp/scratch/gnulib-tests/t/crypto/gc-hmac-md5/gllib'
make  all-recursive
make[3]: Entering directory 
`/home/ianb/tmp/scratch/gnulib-tests/t/crypto/gc-hmac-md5/gllib'
make[4]: Entering directory 
`/home/ianb/tmp/scratch/gnulib-tests/t/crypto/gc-hmac-md5/gllib'
gcc -DHAVE_CONFIG_H -I. -I..  -DGNULIB_STRICT_CHECKING=1   -g -O2 -MT dummy.o 
-MD -MP -MF .deps/dummy.Tpo -c -o dummy.o dummy.c
mv -f .deps/dummy.Tpo .deps/dummy.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DGNULIB_STRICT_CHECKING=1   -g -O2 -MT 
gc-gnulib.o -MD -MP -MF .deps/gc-gnulib.Tpo -c -o gc-gnulib.o gc-gnulib.c
mv -f .deps/gc-gnulib.Tpo .deps/gc-gnulib.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DGNULIB_STRICT_CHECKING=1   -g -O2 -MT 
hmac-md5.o -MD -MP -MF .deps/hmac-md5.Tpo -c -o hmac-md5.o hmac-md5.c
mv -f .deps/hmac-md5.Tpo .deps/hmac-md5.Po
gcc -DHAVE_CONFIG_H -I. -I..  -DGNULIB_STRICT_CHECKING=1   -g -O2 -MT md5.o -MD 
-MP -MF .deps/md5.Tpo -c -o md5.o md5.c
md5.c:27:22: fatal error: stdalign.h: No such file or directory
compilation terminated.
make[4]: *** [md5.o] Error 1
make[4]: Leaving directory 
`/home/ianb/tmp/scratch/gnulib-tests/t/crypto/gc-hmac-md5/gllib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/home/ianb/tmp/scratch/gnulib-tests/t/crypto/gc-hmac-md5/gllib'
make[2]: *** [all] Error 2
make[2]: Leaving directory 
`/home/ianb/tmp/scratch/gnulib-tests/t/crypto/gc-hmac-md5/gllib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/ianb/tmp/scratch/gnulib-tests/t/crypto/gc-hmac-md5'
make: *** [all] Error 2

New stable snapshot

2011-09-08 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

This snapshot is *very* late. My apologies for the delay, life got all
deadliney.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20110908-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20110908

(stable branch, master is the debian branch, derived from stable).

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Talvin Singh - OK - Sutrix
Gnulib stable snapshot
--

  * 20110908-stable

Snapshot taken based on:

commit 0ba19fcc5ff43167939e465af4b93f965fffcc8c
Date:   Tue Aug 30 16:38:59 2011 -0700

with the following additional commits:

* [a0d9972]-[21d1619] freopen: Don't crash if the filename argument is 
NULL.
* [a5a35f0]-[c4596b1] freopen: Documentation.
* [9926b90]-[395f9e6] tests: avoid spurious assertion failure in 
test-float.c on ppc64
* [8b18afa]-[c948e19] sys_select: Avoid a syntax error regarding 
timespec_t on IRIX 6.5.
* [de1fa2a]-[17f0ec6] openat: work around AIX 7.1 fstatat issue
* [6cf1a95]-[338ebcb] lib/fstatat.c: Include sys/types.h before 
sys/stat.h.
* [d21602d]-[aa4ddc3] pthread: Determine $(LIB_PTHREAD) correctly on IRIX 
6.5.
* [7c712d9]-[b34698e] imaxabs: Avoid link error on OSF/1 with DTK cc.
* [d828cda]-[6add58a] imaxdiv: Avoid link error on OSF/1 with DTK cc.
* [ae006b4]-[4a9738e] strtoimax: Avoid link error on OSF/1 with DTK cc.
* [24bfc89]-[1d71dc7] strtoumax: Avoid link error on OSF/1 with DTK cc.
* [d1fa59e]-[e238a25] strtoimax, strtoumax: Document problem on HP-UX 11.
* [e4078c6]-[b26a79b] avoid literal : in index entries
* [e91216b]-[946c971] openat: test for fstatat (AT_FDCWD, ..., 0) bug
* [204072b]-[9f60473] openat: test for fstatat (..., 0) bug
* [a05ce27]-[f4293d3] openat: port to AIX 7.1 with large files
* [90a660c]-[e916d00] autoupdate
* [76074e9]-[a5e4927] openat: Work around compilation error with OSF/1 5.1 
DTK cc.


signature.asc
Description: Digital signature


New stable snapshot

2011-06-10 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

At Bruno's suggestion, I avoided all the strerror-related patches.
As a consequence, the period over which I cherry-picked patches is
longer than normal, which explains why there are an unusually large
number of cherrypicked commits.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20110609-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20110609

(stable branch, master is the debian branch, derived from stable).

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: David Holmes - Paper Underwear
Gnulib stable snapshot
--

  * 20110609-stable

Snapshot taken based on:

commit 0c4be75eb0966bde4533bc111778e0ab494a93be
Date:   Wed May 18 13:13:03 2011 -0600

with the following additional commits:

* [48cc748]-[a5f8483] intprops: TYPE_IS_INTEGER, TYPE_SIGNED not integer 
constant exprs
* [8cc0fee]-[8c5e817] intprops: work around C compiler bugs
* [92c71a1]-[2dd0ce3] intprops: work around IRIX 6.5 cc bug with 0u - 0u + 
-1
* [c9ff025]-[056b00f] maint: correct misuse of a and an
* [93d7550]-[0cc5541] maint: replace misused a with an
* [325f131]-[f00bf3d] relocatable-prog-wrapper: Fix possible link error.
* [21eb071]-[8694861] clock-time: change to LGPLv2+.
* [6c8bcfc]-[617bbef] * doc/intprops.texi: fix typo in copyright date
* [99b3138]-[9279f19] verify: fix bug when gnulib assert.h is also 
included
* [64c6332]-[98ce667] linkat, renameat: Update dependencies.
* [fbd3cc5]-[be2aacf] getugroups: Fix module description.
* [ddd54c7]-[cd78e73] gnulib-tool: fix portability problem with MacOS sed
* [59ed6e8]-[1166200] idcache: Fix module description.
* [1e8752a]-[4831e70] Fix recent ChangeLog entry.
* [d94bbd1]-[4af1887] opendir-safer.c: don't clobber errno; don't close 
negative FD
* [6dc42e2]-[d0fe920] utimensat: do not reference an out-of-scope buffer
* [866bbae]-[b9bb8b9] tests: fix logic bug in init.sh
* [fc9b0f6]-[cca883f] atexit-tests: ensure reliable exit status
* [f4c4af0]-[61c4bf6] docs: document recently fixed glibc printf bug
* [9d196fa]-[a3a87d2] test-intprops: disable -Wtype-limits diagnostics
* [1622b36]-[527d6c4] getcwd: work around mingw bug
* [4ed9779]-[d1c9bfc] mbsrchr: Avoid collision with system function on 
Interix.
* [03f358b]-[1ad6403] gen-uni-tables: Say gen-uni-tables.c consistently.
* [8d8a973]-[cb6151a] getloadavg: Remove an unreliable safety check.
* [fdc9e6c]-[264ebf0] Status of work-in-progress around libposix.
* [2449068]-[cfd76ac] trim: avoid a warning from -O2 -Wstrict-overflow
* [a8ff65c]-[264aa35] parse-datetime.y: accommodate -Wstrict-overflow
* [05f391a]-[ca57003] wctype-h: Avoid namespace pollution on Solaris 2.6.
* [224c034]-[225c8ef] Fix link errors in tests: wait-process uses 
gettext-h.
* [9c3746f]-[7f56311] build-aux/config.sub
* [7c886ca]-[802ee67] Fix link errors in tests: openat-die uses gettext-h.
* [64e3383]-[e54b616] pipe2: Remove dependency on 'nonblocking' module.
* [27edfbd]-[4ba5a2c] doc: Fix a module name.
* [872f360]-[8248d1a] Copyright: Use LGPL 2.1 instead of LGPL 2.0.
* [0605107]-[d9883ac] setlocale: Enable replacement on Cygwin 1.5.
* [d3e6271]-[1a2b0e6] sys_select: Ensure memset is declared also on AIX 7.
* [c00787b]-[11da7a4] setenv: Avoid gcc warning.
* [6f88ff3]-[4c509f3] unsetenv: Avoid gcc warning.
* [1866b23]-[0560196] localename: Fix link dependencies.
* [bf7690a]-[54731c1] pipe-filter-ii: Fix test failure on AIX and IRIX.
* [e7754b0]-[52062c8] acl: Fix test failure on AIX 7.
* [c914617]-[34d3cce] ansi-c++-opt: Interoperability with libtool.
* [3f9fff2]-[0bd455a] careadlinkat: Avoid mismatch between ssize_t and int.
* [c224523]-[5c698ae] canonicalize-lgpl: work around AIX realpath bug
* [79aac72]-[cc1a9b7] canonicalize-lgpl: use common idiom
* [3180807]-[768eb31] doc/lgpl-2.1.texi
* [fba3245]-[a96c4d5] tests: fix usage message in 'mktempd_'
* [7b2b693]-[a43f6fd] autoupdate
* [3639716]-[74c0798] rmdir: Avoid test failure on HP-UX 10.20.
* [9776680]-[6ddae30] acl tests: Fix compilation error on HP-UX 11.
* [5f0441a]-[c1bf224] thread: Fix confusion between NULL and 0.


signature.asc
Description: Digital signature


New stable snapshot

2011-04-14 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20110412-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20110412

(stable branch, master is the debian branch, derived from stable).

cheers,

Ian.

PS This one is a bit late, sorry..

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Mansun - Six - Legacy
Gnulib stable snapshot
--

  * 20110412-stable

Snapshot taken based on:

commit dec3475763be252103922a887920012eeb32dc26
Date:  Thu Mar 31 15:28:37 2011 -0600

with the following additional commits:

* [b64c50c]-[c8bdb92] wcpcpy, wcpncpy: Ensure declaration on glibc = 2.13 
systems.
* [25d7f3a]-[6c630cd] wmemchr, wcschr, wcsrchr, wcspbrk, wcsstr: Avoid 
errors in C++ mode.
* [eccf108]-[de98845] autoupdate
* [a2c7be5]-[d6acfb1] maint.mk: Don't trigger sc_space_tab check.
* [31c3890]-[eb1217e] pipe2: Relicense under LGPLv2+.
* [bd5d1e6]-[2db494c] binary-io: relicense under LGPLv2+
* [b277764]-[a7091b5] fcntl-h: fix O_ACCMODE on cygwin
* [306bd09]-[6870aba] autoupdate
* [62f3b86]-[90309e4] getaddrinfo: Fix test for sa_len member.
* [5e29a7a]-[9bb2e6b] test-chown.h: correct a cast
* [eff4c03]-[7f3fdea] stdint test: Fix compilation failure on OSF/1 with 
DTK compiler.
* [ca6143b]-[8571b74] autoupdate
* [fb79969]-[fa84676] autoupdate


signature.asc
Description: Digital signature


new stable snapshot

2011-02-17 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20110216-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20110216

(stable branch, master is the debian branch, derived from stable).

Debian Squeeze has now been released, so I'm resuming uploading
snapshots to debian unstable (sid) instead of experimental.
They will then migrate (usually after 10 days) to the testing (aka
wheezy) distribution.

Squeeze was released with the 20100704 stable snapshot.

I was going to do this snapshot last week, but it was just after a
huge code dump of new modules so I thought I'd leave them to marinate
for a bit.

I suspect some of the __attribute__ patches I cherry-picked could have
been skipped, but once I took some of the earlier ones I thought it
best to take the whole series.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Brian Eno - Taking Tiger Mountain (By Strategy) - Third Uncle
Gnulib stable snapshot
--

  * 20110216-stable

Snapshot taken based on:

commit f9289f00be9b70c0cb469faee8a40a768d7c6d43
Date:   Wed Feb 9 20:55:19 2011 +0100

with the following additional commits:

* [27147dc]-[4c5d3e6] doc: update users.txt
* [a54ee6e]-[a1245ce] doc: update users.txt
* [4cce65c]-[b9f1203] doc: update users.txt
* [aa887f8]-[ce38c27] mbsrtowcs: Work around bug on native Windows.
* [c9dc6ff]-[461ace8] wcsrtombs: Work around bug on native Windows.
* [06c2675]-[1138b90] stdlib: support non-GCC __attribute__
* [4baa767]-[1dfaba6] quotearg test: Avoid test failure on mingw.
* [b45dc21]-[d19a89f] stdlib: don't get in the way of non-GCC __attribute__
* [9fbdea6]-[860215e] Fix last ChangeLog entry.
* [e680a55]-[2d86779] Don't interfere with a program's definition of 
__attribute__.
* [a38e4bb]-[6f5e418] mbsinit: Don't crash for a NULL argument.
* [cca34e7]-[1b94e03] mbsinit: Work around mingw bug.
* [a035a8d]-[2bbd452] mbrtowc: Work around native Windows bug.
* [f6a5a12]-[c7a1790] Don't interfere with a program's definition of 
__attribute__.
* [59b191e]-[5f5a2a4] Consistent macro naming for macros that use GCC 
__attribute__.
* [bf2664d]-[25ab657] doc: update users.txt
* [665d45c]-[321331f] autoupdate


signature.asc
Description: Digital signature


Re: New stable snapshot

2010-12-22 Thread Ian Beckwith
On Wed, Dec 22, 2010 at 09:29:17AM +0100, Bruno Haible wrote:
 Then I thinnk it's worth creating a new one, yes.

Righto, I've just released a new snapshot. I'll send out
a separate announcement mail.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Antony and the Johnsons - The Crying Light - Another World


signature.asc
Description: Digital signature


(another) new stable snapshot

2010-12-22 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. This is the same as the
20101220-stable snapshot but with one additional patch:

[d534aa8]-[385ec31] iconv_open: Fix regression from 2010-12-04.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20101221-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20101221

(stable branch, master is the debian branch, derived from stable).

Debian is still frozen, so I'm uploading snapshots to the
'experimental' repository so they don't interfere with the
release. See http://wiki.debian.org/DebianExperimental
for information on accessing the experimental repo.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Antony and the Johnsons - The Crying Light - Another World


signature.asc
Description: Digital signature


Re: New stable snapshot

2010-12-21 Thread Ian Beckwith
On Tue, Dec 21, 2010 at 12:27:35PM +0100, Bruno Haible wrote:
 Ian Beckwith wrote:
  I've released a new stable snapshot. See attached NEWS.stable for details.

Oops, I updated git, uploaded the debian package, but forgot to upload
the tarball. It's now at:

http://erislabs.net/ianb/projects/gnulib/gnulib-20101220-stable.tar.gz

 Thanks. It would have been nice to include also this regression fix:
   d534aa814510c8cd4ac70ffee3e0abd58daba356  iconv_open: Fix regression from 
 2010-12-04.
   
 http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=d534aa814510c8cd4ac70ffee3e0abd58daba356
 The effect of this bug are link errors on glibc systems and systems with
 GNU libiconv installed [1].

Damn, it was committed a couple of hours after I pulled. Is it worth
creating a new snapshot with just that fix cherrypicked? It won't take
long to create, especially as I can get away without running the whole
test suite.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Mono - You are There - Moonlight


signature.asc
Description: Digital signature


New stable snapshot

2010-12-20 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20101220-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20101220

(stable branch, master is the debian branch, derived from stable).

Debian is still frozen, so I'm uploading snapshots to the
'experimental' repository so they don't interfere with the
release. See http://wiki.debian.org/DebianExperimental
for information on accessing the experimental repo.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Joy Division - Closer - Heart and Soul
Gnulib stable snapshot
--

  * 20101220-stable

Snapshot taken based on:

commit 64911207854610668b480939469282fdaeb96f74
Date:   Tue Dec 7 03:32:46 2010 +0100

with the following additional commits:

* [8029e49]-[6f83d07] autoupdate
* [0de2016]-[c94504d] * build-aux/gendocs.sh: restore x bit
* [82afcdd]-[e631098] autoupdate
* [980f9d2]-[20c5bd5] cloexec, fcntl: relax license
* [15a8eaf]-[68e0cfc] tests: set fail=0 at start
* [ef6309e]-[d157341] acl: port to Solaris 8 when copying from tmpfs to ufs
* [585734b]-[fb7d1d8] iconv: Make it possible again to use this module 
without 'iconv-h'.
* [7b4e992]-[3eb5095] unistr/u8-mbsnlen: Add missing dependency.
* [cc0adb3]-[e65c7e5] relocatable-prog-wrapper: Separate from 
relocatable-prog.
* [423d3ca]-[6f9e924] doc: Mention vasprintf-posix module.
* [224a907]-[7131d7e] Document some different function declarations on 
OSF/1 5.1.


signature.asc
Description: Digital signature


[PATCH] iconv: fix deps

2010-12-18 Thread Ian Beckwith
Hi,

iconv fails the test suite due to a missing dep.
Trivial patch attached.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Captain Beefheart and the Magic Band - Safe as Milk - Flower Pot
diff --git a/modules/iconv b/modules/iconv
index ca8b048..45075b4 100644
--- a/modules/iconv
+++ b/modules/iconv
@@ -6,6 +6,7 @@ m4/iconv.m4
 
 Depends-on:
 havelib
+iconv-h
 
 configure.ac:
 AM_ICONV


signature.asc
Description: Digital signature


[PATCH] relocatable-prog-wrapper: fix test suite

2010-12-18 Thread Ian Beckwith
Hi,

relocatable-prog-wrapper fails the test suite.
Trivial patch attached. I'm not 100% sure it is correct,
but it passes the tests with it applied.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Captain Beefheart and the Magic Band - Safe as Milk - Flower Pot
diff --git a/modules/relocatable-prog-wrapper b/modules/relocatable-prog-wrapper
index e938a69..1639c67 100644
--- a/modules/relocatable-prog-wrapper
+++ b/modules/relocatable-prog-wrapper
@@ -26,6 +26,7 @@ m4/eealloc.m4
 m4/environ.m4
 m4/longlong.m4
 m4/readlink.m4
+m4/relocatable.m4
 m4/relocatable-lib.m4
 m4/setenv.m4
 m4/strerror.m4
@@ -48,6 +49,7 @@ configure.ac:
 gl_FUNC_READLINK_SEPARATE
 gl_CANONICALIZE_LGPL_SEPARATE
 gl_MALLOCA
+gl_RELOCATABLE_BODY
 gl_RELOCATABLE_LIBRARY_SEPARATE
 gl_FUNC_SETENV_SEPARATE
 gl_FUNC_STRERROR_SEPARATE


signature.asc
Description: Digital signature


[PATCH] unistr/u8-mbsnlen-tests: fix deps

2010-12-18 Thread Ian Beckwith
Hi,

u8-mbsnlen's tests fail due to a missing dep.
Trivial patch attached.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Captain Beefheart and the Magic Band - Dirty Blue Gene
diff --git a/modules/unistr/u8-mbsnlen-tests b/modules/unistr/u8-mbsnlen-tests
index b5b3925..a65d4cf 100644
--- a/modules/unistr/u8-mbsnlen-tests
+++ b/modules/unistr/u8-mbsnlen-tests
@@ -3,6 +3,7 @@ tests/unistr/test-u8-mbsnlen.c
 tests/macros.h
 
 Depends-on:
+unistr/u8-mbtouc
 
 configure.ac:
 


signature.asc
Description: Digital signature


New stable snapshot

2010-10-24 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20101024-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20101024

(stable branch, master is the debian branch, derived from stable).

Debian is still frozen, so I'm uploading snapshots to the
'experimental' repository so they don't interfere with the
release. See http://wiki.debian.org/DebianExperimental
for information on accessing the experimental repo.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: In the Nursery - Sense - Temporis
Gnulib stable snapshot
--

  * 20101024-stable

Snapshot taken based on:

commit ba523890aa7bae76e3ac6b3ce68f22a79d25ce2c
Date:   Wed Oct 13 10:15:38 2010 +0200

with the following additional commits:

* [b6d1430]-[fef7abe] termios: fix compilation on mingw
* [74b1e48]-[7bf74f7] socketlib: Fix.
* [d239853]-[ced7fa1] vasnprintf: Don't set errno to 0.
* [fdaeccf]-[66e670a] GNUmakefile: handle stable target, not major
* [cac3889]-[7661272] ignore-value: make header idempotent
* [61241ea]-[25d72f8] termios: Update documentation.
* [94617c2]-[a964f9e] Fix date in ChangeLog.
* [3f75f63]-[7966020] nextafter: Fix configure check.
* [b86f488]-[ddc319e] c-stack: work around libsigsegv 2.8 bug
* [a0598ff]-[69c6204] nl_langinfo test: Avoid test failure on NetBSD 5.
* [f8dd25c]-[9116c10] Tests: Fix LOCALE_JA on MirBSD 10.
* [9645318]-[87dea4e] nl_langinfo: Mention problem with CRNCYSTR on NetBSD 
5.0.


signature.asc
Description: Digital signature


socketlib missing dep on sys_socket

2010-10-14 Thread Ian Beckwith
Hi,

gnulib-tool --test socketlib fails with:

 configure:3552: error: possibly undefined macro: gl_PREREQ_SYS_H_WINSOCK2

Adding a dependency on sys_socket fixes it. Trivial patch attached.

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA

diff --git a/modules/socketlib b/modules/socketlib
index d4c95db..4e6d022 100644
--- a/modules/socketlib
+++ b/modules/socketlib
@@ -5,6 +5,7 @@ Files:
 m4/socketlib.m4
 
 Depends-on:
+sys_socket
 
 configure.ac:
 gl_SOCKETLIB


signature.asc
Description: Digital signature


New stable snapshot

2010-08-30 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20100829-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20100829

(stable branch, master is the debian branch, derived from stable).

Debian has now frozen in preparation for the next release, so the
previous snapshot (20100704) will be the one that makes it into the
next stable release (squeeze).

While the freeze is in place, I'm uploading snapshots to the
'experimental' repository so they don't interfere with the
release. See http://wiki.debian.org/DebianExperimental
for information on accessing the experimental repo.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Buck 65 - Square - Square Three
Gnulib stable snapshot
--

  * 20100829-stable

Snapshot taken based on:

commit 3f08220c1a263dfc45f6e0ce6dcee97631dd5e56
Date:   Tue Aug 17 07:18:27 2010 -0700

with the following additional commits:

* [6333e13]-[a2ae92e] Fix gnulib-tool sed script de-commentation for AIX 
sed.
* [350aad7]-[9e05eaf] autoupdate
* [06728e0]-[c94cede] fts: allow compilation with C++
* [51c2a23]-[880d107] poll, select: handle ERROR_BROKEN_PIPE.
* [0c37a90]-[0b22530] argz: fix shell quoting issue
* [204e903]-[99d6cd5] stdbool: avoid rejecting clang
* [5a2d7e1]-[21182ba] priv-set: fix comments
* [a9ec89b]-[325e969] priv-set: fix comment
* [667277d]-[d74874d] getloadavg: don't define SVR4 on cygwin
* [8c8ee4b]-[24ad42e] getloadavg: simplify code
* [cab03f4]-[6acb78a] stdbool: avoid spurious failure with modern xlc
* [8951e0e]-[2981537] Fix test-unlinkat, test-rmdir failure on AIX 5.3.
* [0a05120]-[a83a25f] poll: return immediately on POLLHUP.
* [fc9e09a]-[63b29c2] autoupdate
* [20e165d]-[6a0e461] stat-time: relax license LGPL
* [2901094]-[90aa7a1] acl: fix compilation test
* [a228f53]-[0b86eb2] lseek: fix link test
* [14b6d70]-[3056d82] btowc: fix missing file
* [78ea303]-[0e59cb6] glob: fix compile test
* [06e1426]-[7434863] lib-symbol-versions: fix m4 quoting
* [6530a2c]-[d45eaf1] login_tty: add missing dependeny
* [f99e41e]-[176c42a] * ChangeLog: fix typo
* [ebf441c]-[2a3686a] sys_socket, netdb: Ensure socklen_t gets defined.
* [63d392e]-[cb49949] Avoid relocwrapper link errors due to gnulib 
replacement functions.
* [7a6e9cf]-[da66e7e] ftello: Relax license.
* [5712b08]-[02df495] autoupdate
* [6c345f6]-[9a348fb] unistr/u*-strchr: Fix tests dependencies.
* [c4bc551]-[2b958de] pread, pwrite: add missing dependency


signature.asc
Description: Digital signature


[PATCH] missing deps in unistr/

2010-08-19 Thread Ian Beckwith
Hi,

Several of the unistr/u{8,16}-str* modules fail the test suite
due to missing dependencies on unistr/u32-to-u{8,16}.

Patch attached.

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Knife - Silent Shout - We Share Our Mothers Health
diff --git a/modules/unistr/u16-strchr b/modules/unistr/u16-strchr
index d38fa74..9078bc7 100644
--- a/modules/unistr/u16-strchr
+++ b/modules/unistr/u16-strchr
@@ -7,6 +7,7 @@ lib/unistr/u16-strchr.c
 Depends-on:
 unistr/base
 unistr/u16-uctomb
+unistr/u32-to-u16
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strchr])
diff --git a/modules/unistr/u16-strcspn b/modules/unistr/u16-strcspn
index 763264c..1fa7a8a 100644
--- a/modules/unistr/u16-strcspn
+++ b/modules/unistr/u16-strcspn
@@ -10,6 +10,7 @@ unistr/base
 unistr/u16-strlen
 unistr/u16-strmbtouc
 unistr/u16-strchr
+unistr/u32-to-u16
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strcspn])
diff --git a/modules/unistr/u16-strpbrk b/modules/unistr/u16-strpbrk
index 077c643..6ace09b 100644
--- a/modules/unistr/u16-strpbrk
+++ b/modules/unistr/u16-strpbrk
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u16-strmbtouc
 unistr/u16-strchr
+unistr/u32-to-u16
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strpbrk])
diff --git a/modules/unistr/u16-strspn b/modules/unistr/u16-strspn
index 4527eaf..d660f4f 100644
--- a/modules/unistr/u16-strspn
+++ b/modules/unistr/u16-strspn
@@ -11,6 +11,7 @@ unistr/u16-strlen
 unistr/u16-strmbtouc
 unistr/u16-cmp
 unistr/u16-strchr
+unistr/u32-to-u16
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strspn])
diff --git a/modules/unistr/u16-strstr b/modules/unistr/u16-strstr
index 014ae11..025408c 100644
--- a/modules/unistr/u16-strstr
+++ b/modules/unistr/u16-strstr
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u16-strchr
 unistr/u16-strmbtouc
+unistr/u32-to-u16
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strstr])
diff --git a/modules/unistr/u16-strtok b/modules/unistr/u16-strtok
index ae90fc1..20712d3 100644
--- a/modules/unistr/u16-strtok
+++ b/modules/unistr/u16-strtok
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u16-strspn
 unistr/u16-strpbrk
+unistr/u32-to-u16
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u16-strtok])
diff --git a/modules/unistr/u8-strchr b/modules/unistr/u8-strchr
index da486e3..01561f7 100644
--- a/modules/unistr/u8-strchr
+++ b/modules/unistr/u8-strchr
@@ -7,6 +7,7 @@ lib/unistr/u8-strchr.c
 Depends-on:
 unistr/base
 unistr/u8-uctomb
+unistr/u32-to-u8
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strchr])
diff --git a/modules/unistr/u8-strcspn b/modules/unistr/u8-strcspn
index d876be2..a52d322 100644
--- a/modules/unistr/u8-strcspn
+++ b/modules/unistr/u8-strcspn
@@ -10,6 +10,7 @@ unistr/base
 unistr/u8-strlen
 unistr/u8-strmbtouc
 unistr/u8-strchr
+unistr/u32-to-u8
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strcspn])
diff --git a/modules/unistr/u8-strpbrk b/modules/unistr/u8-strpbrk
index db6d74b..52525b6 100644
--- a/modules/unistr/u8-strpbrk
+++ b/modules/unistr/u8-strpbrk
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u8-strmbtouc
 unistr/u8-strchr
+unistr/u32-to-u8
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strpbrk])
diff --git a/modules/unistr/u8-strspn b/modules/unistr/u8-strspn
index c397b66..bac1c17 100644
--- a/modules/unistr/u8-strspn
+++ b/modules/unistr/u8-strspn
@@ -11,6 +11,7 @@ unistr/u8-strlen
 unistr/u8-strmbtouc
 unistr/u8-cmp
 unistr/u8-strchr
+unistr/u32-to-u8
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strspn])
diff --git a/modules/unistr/u8-strstr b/modules/unistr/u8-strstr
index 30d99a4..1a868e9 100644
--- a/modules/unistr/u8-strstr
+++ b/modules/unistr/u8-strstr
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u8-strchr
 unistr/u8-strmbtouc
+unistr/u32-to-u8
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strstr])
diff --git a/modules/unistr/u8-strtok b/modules/unistr/u8-strtok
index ecd1599..38f0e36 100644
--- a/modules/unistr/u8-strtok
+++ b/modules/unistr/u8-strtok
@@ -9,6 +9,7 @@ Depends-on:
 unistr/base
 unistr/u8-strspn
 unistr/u8-strpbrk
+unistr/u32-to-u8
 
 configure.ac:
 gl_LIBUNISTRING_MODULE([0.9], [unistr/u8-strtok])


signature.asc
Description: Digital signature


New stable snapshot

2010-07-04 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.
Feedback welcome.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20100704-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20100704

(stable branch, master is the debian branch, derived from stable).

This snapshot is rather later than usual, life got unexpectedly busy.
This may well become the version in the next stable debian release
(squeeze), depending when debian actually freezes.

The freeze can sometimes drag on for months, in which case I will
still keep making stable snapshots, although they obviously won't be
uploaded to debian.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: 65daysofstatic - We Were Exploding Anyway - Tiger Girl
Gnulib stable snapshot
--

  * 20100704-stable

Snapshot taken based on:

commit 86ba51d2c17219b82b977da0a912e05a3d9bf858
Date:   Sun Jun 20 13:31:40 2010 +0200

with the following additional commits:

* [d0ed135]-[8626eaa] autoupdates
* [386abcb]-[a155c56] autoupdate
* [599af40]-[170554f] unitypes: Fix bug introduced on 2010-05-18.
* [7740412]-[331fd48] string: Fix syntax error with g++ 2.96.
* [5616180]-[ce5a4ac] idpriv-drop: Fix tests.
* [6e9c624]-[cbec1d8] gettext: Use AC_GNU_SOURCE as a fallback for 
AC_USE_SYSTEM_EXTENSIONS.
* [7773f84]-[a01b938] stdbool: Update doc.


signature.asc
Description: Digital signature


idpriv-drop test failure

2010-06-30 Thread Ian Beckwith
Hi,

idpriv-drop fails its test suite:

chmod: cannot access `test-idpriv-droptemp': No such file or directory
./test-idpriv-drop.su.sh: 40: ./test-idpriv-droptemp: not found

Looks like a cut-and-paste error, patch attached.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Orchestral Manoeuvres in the Dark - The New Stone Age
diff --git a/tests/test-idpriv-drop.su.sh b/tests/test-idpriv-drop.su.sh
index 5dadc24..0203c51 100755
--- a/tests/test-idpriv-drop.su.sh
+++ b/tests/test-idpriv-drop.su.sh
@@ -31,12 +31,12 @@ chmod 6755 test-idpriv-drop${EXEEXT}
 ./test-idpriv-drop${EXEEXT} || exit 13  # setuid and setgid root
 
 if chown nobody test-idpriv-drop${EXEEXT} 2/dev/null; then
-  chmod 4755 test-idpriv-droptemp${EXEEXT}
-  ./test-idpriv-droptemp${EXEEXT} || exit 13# setuid nobody
-  chmod 2755 test-idpriv-droptemp${EXEEXT}
-  ./test-idpriv-droptemp${EXEEXT} || exit 13# setgid root
-  chmod 6755 test-idpriv-droptemp${EXEEXT}
-  ./test-idpriv-droptemp${EXEEXT} || exit 13# setuid nobody and setgid root
+  chmod 4755 test-idpriv-drop${EXEEXT}
+  ./test-idpriv-drop${EXEEXT} || exit 13# setuid nobody
+  chmod 2755 test-idpriv-drop${EXEEXT}
+  ./test-idpriv-drop${EXEEXT} || exit 13# setgid root
+  chmod 6755 test-idpriv-drop${EXEEXT}
+  ./test-idpriv-drop${EXEEXT} || exit 13# setuid nobody and setgid root
 fi
 
 if chown root:nobody test-idpriv-drop${EXEEXT} 2/dev/null; then


signature.asc
Description: Digital signature


unitypes test suite failure

2010-06-28 Thread Ian Beckwith
Hi,

gnulib-tool --create-testdir fails with unitypes:

configure.ac:46: error: possibly undefined macro: gl_LIBUNISTRING_LIBHEADER

Trivial patch attached.

Ian.

PS I'm aware the next stable snapshot is late. Life suddenly got
hectic, but it should appear in the next few days.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Jean Michael Jarre - Waiting for Cousteau - Waiting For Cousteau
diff --git a/modules/unitypes b/modules/unitypes
index 3b851c6..7cd1a19 100644
--- a/modules/unitypes
+++ b/modules/unitypes
@@ -3,6 +3,7 @@ Base types for Unicode string functions.
 
 Files:
 lib/unitypes.in.h
+m4/libunistring-base.m4
 
 Depends-on:
 stdint


signature.asc
Description: Digital signature


Re: bashisms

2010-05-19 Thread Ian Beckwith
Hi,

On Wed, May 19, 2010 at 08:30:13AM +0200, Ralf Wildenhues wrote:
 We've had a similar discussion about this on an Autoconf list a while
 ago (with a Debian maintainer).  The Autoconf manual, Shell Portability
 chapter, lists 1 2 13 15 as signals which are safe to trap.  I'm not
 aware of any shell which does not accept these signal numbers in
 practice, except for maybe one that was written specifically to inflict
 extra pain upon shell script authors by explicitly disallowing them.

Thanks, to you and everyone else for the analysis.
I'll reassign the bug to checkbashisms and refer them
to this discussion.

  which won't cause a syntax error but could lead to fallback options
  being chosen unnecessarily. Could these all be replaced by use of
  which(1)?
 
 which is not Posix, unlike type.  Only the -p argument is not Posix,
 nor portable.  But you already mentioned that this merely causes a
 fallback to be used, so this is not a problem.

Oops, yes, I was only looking under builtins, not utilities.

thanks,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Man Or Astroman? - The Vortex Beyond


signature.asc
Description: Digital signature


bashisms

2010-05-18 Thread Ian Beckwith
Hi,

I got a bug report in debian about bashisms in gnulib
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=581105).
Working with a POSIX shell is a release goal for debian squeeze,
along with a switch to dash as /bin/sh.

I had a look with checkbashisms (from the devscripts package in debian
and ubuntu). I've attached the output.

Most instances are either wrapped in tests for their existence, false
positives or otherwise OK, but there are a few I'm not sure about:

* trap with signal numbers

According to http://www.opengroup.org/onlinepubs/009695399/utilities/trap.html
(btw, am I right in saying The Open Group Base Specifications Issue 6
IEEE Std 1003.1, 2004 Edition is POSIX, or at least a part of
it?), POSIX requires signals specified as names (HUP, INT, etc),
although XSI allows numbers for certain signals (the ones used by
gnulib all fall into this category).

* type

All uses of 'type' are along the lines of:

 possible bashism in gnulib-tool line 552 (type):
 if (type -p readlink)  /dev/null 21; then

which won't cause a syntax error but could lead to fallback options
being chosen unnecessarily. Could these all be replaced by use of
which(1)?

* shopt

Most uses of shopt are fine, but there is one I'm not sure about:

 possible bashism in tests/init.sh line 112 (shopt):
 test -n $EXEEXT  shopt -s expand_aliases

Are there situations where $EXEEXT is set and bash is not running?

thanks,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
possible bashism in tests/test-parse-duration.sh line 33 ($RANDOM):
tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in tests/test-fprintf-posix.sh line 4 (trap with signal 
numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-file-has-acl.sh line 34 ($RANDOM):
tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in tests/test-select-out.sh line 5 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-lseek.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-copy-file.sh line 28 ($RANDOM):
tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in tests/test-sigpipe.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-binary-io.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-closein.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/uniwidth/test-uc_width2.sh line 4 (trap with signal 
numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-dprintf-posix.sh line 4 (trap with signal 
numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-tsearch.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-c-stack2.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-fpending.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfile' 1 2 3 15
script tests/init.sh does not appear to have a #! interpreter line;
you may get strange results
possible bashism in tests/init.sh line 112 (shopt):
test -n $EXEEXT  shopt -s expand_aliases
possible bashism in tests/init.sh line 136 (should be word 21):
warn_() { echo $@ 1$stderr_fileno_; }
possible bashism in tests/test-c-stack.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-vfprintf-posix.sh line 4 (trap with signal 
numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-vdprintf-posix.sh line 4 (trap with signal 
numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-yesno.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-vprintf-posix.sh line 4 (trap with signal 
numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-select-in.sh line 8 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-idpriv-droptemp.sh line 19 (type):
  if (type sudo)  /dev/null 21; then
possible bashism in tests/test-copy-acl.sh line 34 ($RANDOM):
tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in tests/test-set-mode-acl.sh line 34 ($RANDOM):
tmp=$TMPDIR/gl$$-$RANDOM
possible bashism in tests/test-perror.sh line 4 (trap with signal numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-idpriv-drop.sh line 19 (type):
  if (type sudo)  /dev/null 21; then
possible bashism in tests/test-printf-posix.sh line 4 (trap with signal 
numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-xprintf-posix.sh line 4 (trap with signal 
numbers):
trap 'rm -fr $tmpfiles' 1 2 3 15
possible bashism in tests/test-update-copyright.sh line 27 (trap with signal 
numbers):
trap 'rm -f $TMP_BASE*' 0 1 2 3 15
possible bashism in MODULES.html.sh line 1394 ($RANDOM):
tmp=$TMPDIR/MD$$-$RANDOM

New stable snapshot

2010-04-24 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.
Feedback welcome.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20100424-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20100424

(stable branch, master is the debian branch, derived from stable).

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Tom Waits - Bone Machine - Black Wings


signature.asc
Description: Digital signature


HOWTO and script for stable snapshots

2010-04-24 Thread Ian Beckwith
Hi,

I've written a guide to creating stable snapshots, and a
script to help with the cherry-picking (both attached).

If you feel they are appropriate to be in the gnulib tree, feel free.
If so, would you prefer the guide in another format, eg texinfo?. If
not, well, they are now in the list archive and at:

http://erislabs.net/ianb/projects/gnulib/STABLE-HOWTO.html

http://erislabs.net/ianb/projects/gnulib/stable-cherry-pick

cheers,

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Tom Waits - Bone Machine - Whistle Down the Wind
 How to make a gnulib stable snapshot
 

by Ian Beckwith i...@erislabs.net
Last Update: Tue Apr 24 2010
Latest Version: http://erislabs.net/projects/gnulib/STABLE-HOWTO.html

BRANCHES

   * upstream - tracks git://git.savannah.gnu.org/gnulib.git
   * stable   - the stable snapshot we produce, based on upstream
   * master   - the debian branch, based on stable (optional)

PROCEDURE

   * if you don't already have a repository:

 + clone the gnulib repo:
 $ git clone git://git.savannah.gnu.org/gnulib.git
 $ git branch -m master upstream

 + then either import the existing stable repo:
 $ git remote add erislabs git://erislabs.net/gnulib.git
 $ git fetch erislabs
 $ git branch stable erislabs/stable

 + or, if that isn't possible, start from scratch:
 $ git branch stable upstream

   * update upstream branch:
 $ git checkout upstream
 $ git pull

   * tag the current upstream HEAD for later use:
 $ git tag snapshot-start upstream

   * run the test suite:
 $ git checkout upstream
 $ ./gnulib-tool --create-megatestdir --with-tests  --dir=t 21 | tee 
create.out
 $ cd t
 $ ./do-autobuild 21 | tee ../build.out
 $ cd ..

   * find failing tests with:
 $ grep -L rc=0 t/logs/*

   * report any issues to bug-gnulib@gnu.org

   * merge the current upstream version into the stable branch:
 $ git checkout stable
 $ git merge upstream

   * resolve conflicts
 $ git checkout upstream all conflicting paths except NEWS.stable
 $ git commit -a

   * wait a week or so

   * update upstream branch:
 $ git checkout upstream
 $ git pull

   * create list of commits to review:
 $ git log --oneline --reverse --topo-order snapshot-start..upstream  
../stable.log

   * return to the stable branch
 $ git checkout stable

   * prepare NEWS.stable for new release.

 + add new header

 + add __NEXTCOMMITMARKER__ tag where you want commits to be logged

   * for each commit in ../stable.log:

 + review each commit in ../stable.log:
 $ git show commitid

 + if you want to cherry-pick that commit:
 $ stable-cherry-pick commitid
   (stable-cherry-pick source: 
http://erislabs.net/ianb/projects/gnulib/stable-cherry-pick)

 + if the cherry-pick fails:

   * resolve the conflict and commit, making a note of the new commitid

   * fill in the new commitid in NEWS.stable, then commit

   * remove __NEXTCOMMIT__ marker from NEWS.stable, commit

   * test (see above). If testsuite fails, check whether bug exists
 in upstream branch, report to bug-gnu...@gnu.org.

   * remove the temporary snapshot-start tag
  $ git tag -d snapshot-start

   * tag the new release
  $ git tag stable/yymmdd

   * create and upload tarball:
  $ git archive --format=tar --prefix=gnulib-yymmdd-stable/ 
stable/yymmdd | gzip -9  ../gnulib-yymmdd-stable.tar.gz

   * push changes to stable git repository

   * mail announcement to bug-gnulib@gnu.org
#!/bin/sh
# stable-cherry-pick -- Cherry-pick commits into current branch and
#   log them to NEWS.stable. See STABLE-HOWTO for more info,
#   also at http://erislabs.net/projects/gnulib/STABLE-HOWTO.html

# Copyright (C) 2009-2010 Free Software Foundation, Inc.

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see http://www.gnu.org/licenses/.

# Written by Ian Beckwith i...@erislabs.net 20091114

PROGNAME=$(basename $0)
NEXTCOMMITMARKER=__NEXTCOMMITMARKER__
NEWS=NEWS.stable
TMP=$NEWS.tmp

warn ()
{
echo $PROGNAME: $1
shift
while [ $# -gt 0 ]; do
echo  $1
shift
done
}

fail ()
{
warn

Re: New stable snapshot

2010-04-24 Thread Ian Beckwith
Inevitably I forgot to attach NEWS.stable.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Tom Waits - Rain Dogs - Cemetery Polka
Gnulib stable snapshot
--
  * 20100424-stable

Snapshot taken based on:

commit  ba564f2164f381af846d9695e6465cffe7ec918c
Date:   Fri Apr 9 02:02:15 2010 +0200

with the following additional commits:

* [950f346]-[99a272b] ftruncate: mark module as obsolete; even MinGW 
provides it, now
* [2d4d227]-[358e18f] Add attribution to a ChangeLog entry.
* [38e3c69]-[a11321f] ftruncate: add two years to projected module removal 
date: 2012
* [6b8b58b]-[1ce7c50] init.sh: run tr in the C locale to avoid multibyte 
interpretation
* [85f6993]-[bcd59b9] Add missing parenthesis in manywarnings example
* [3213c10]-[102392e] vasnprintf test: Reduce code duplication.
* [3c65a68]-[4b43aec] write: Fix a C++ test error on mingw.
* [067d1f1]-[cc75f4b] vasnprintf: Fix multiple test failures on mingw.
* [32d1664]-[e651e75] vasnprintf: Fix crash in %ls directive.
* [0167c19]-[8bd3d4c] vasnprintf: Correct handling of unconvertible wide 
string arguments.
* [de9f4b1]-[c886605] vasnprintf: Add more tests.
* [15a0c62]-[849156a] fchownat: Fix a C++ test error on Solaris 8.
* [67c7b8e]-[42d09c4] maint.mk: correct a diagnostic
* [b969309]-[70b21bf] mkdir: Make it work on mingw64.
* [3c79d51]-[9f9fbf6] Update comment.
* [03271c7]-[f5544ce] Fix typo in comment.
* [1820b30]-[3e18c19] libunistring: Detect libunistring also when it 
depends on libiconv.
* [82b0be3]-[6f6d4bf] havelib: Add static libraries to LIBS in the right 
order.
* [e330e06]-[1d3b6f0] libunistring: Correct value of $LTLIBUNISTRING.
* [c9f911d]-[86cda03] autoupdate
* [197b47e]-[5510d3d] git-version-gen: use git update-index... rather 
than git status
* [5fbd6e3]-[5fbd6e3] doc: users.txt: GNU patch now uses gnulib
* [2abb98c]-[f07545c] getopt-posix: avoid spurious failure on FreeBSD
* [3108b95]-[1454b1f] getopt-posix: avoid spurious failure on Solaris
* [5cc0bcf]-[d711c30] getopt-posix: detect MacOS bug
* [db3e280]-[cc1fb6a] getopt: merge bug fixes from glibc
* [61c96af]-[6229a28] getopt-gnu: match recent glibc fixes and posix ruling
* [d39bc2c]-[588d54b] autoupdate
* [7c1b995]-[a251be0] strtok_r: relax license to LGPLv2+
* [56d363d]-[57a3236] test-forkpty: fix expected signature
* [e764ea2]-[0dc1446] openpty: Fix mistake from 2010-03-21.
* [ae75893]-[854fe4e] Override netdb.h always.
* [93b28fe]-[e7f1d9f] ioctl: Move autoconf macro to a .m4 file.
* [710c8d3]-[8cf9b2c] relocatable: Drop the need to define 
RELOCATABLE_STRIP in Makefile.am.
* [2f31750]-[2676677] relocatable: Simplify doc.
* [cea53ef]-[5428678] bootstrap: use git -h instead of git --help
* [e51d12c]-[528ab01] vasnprintf: Correct errno value in case of 
out-of-memory.

and one local commit, submitted upstream:

* [7ffc813]-[b219cbd] make check: avoid an error when no .git dir present.


signature.asc
Description: Digital signature


{f,}printf-posix test failure

2010-04-22 Thread Ian Beckwith
Hi,

printf-posix and fprintf-posix fail the test suite on debian stable and
unstable, i386 and ia64.

The problem seems to be the same, test-printf-posix2 and
test-fprintf-posix2 fail at the same place. Looking at
test-fprintf-posix2:

gltests/test-fprintf-posix2.sh runs test-fprintf-posix2 1
which fails:

(gdb) n
83  ret = fprintf (stdout, %.500f, 1.0);
(gdb) n
84  return !(ret == 502 || (ret  0  errno == ENOMEM));
(gdb) p ret
$1 = -1
(gdb) p errno
$2 = 22

(22 == EINVAL)

The problem seems to be in vasnprintf.c.

vasnprintf.c:5023 calls SNPRINTF_BUF(arg);

The expansion of SNPRINTF_BUF includes at vasnprintf.c:4919:

retcount = SNPRINTF ((TCHAR_T *) (result + length), \
 maxlen, buf,   \
 arg, count);  \

which, if I'm understanding it right (USE_SNPRINTF is defined), calls
the system's snprintf(), which returns -1.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Vampire Weekend - Contra - Giving Up The Gun


signature.asc
Description: Digital signature


make check fails: modules/ioctl uses AC_CHECK_FUNCS

2010-04-19 Thread Ian Beckwith
Hi,

'make check' fails because modules/ioctl uses AC_CHECK_FUNCS:

$ make check
git grep -w -l AC_CHECK_FUNCS modules  \
  { echo use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/
  12; \
exit 1; } || :
modules/ioctl
use AC_CHECK_FUNCS_ONCE, not AC_CHECK_FUNCS in modules/
make: *** [sc_prefer_ac_check_funcs_once] Error 1

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Death in Vegas - The Contino Sessions - Flying


signature.asc
Description: Digital signature


Re: New stable snapshot

2010-03-11 Thread Ian Beckwith
On Tue, Mar 09, 2010 at 10:53:25AM +0100, Bruno Haible wrote:
  I've released a new stable snapshot. See attached NEWS.stable for details.
 
 Thanks for doing this. It's time to advertise your stable releases a little
 more. Here's a proposed doc change:

Thanks!

[snip]
 +We also make stable releases every two months, at
 +...@url{http://erislabs.net/ianb/projects/gnulib/}.
 +...@end itemize

I'll try and increase the frequency so it's nearer monthly, but two
months is good as an upper bound.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Sisters of Mercy - Floodland - Colours


signature.asc
Description: Digital signature


New stable snapshot

2010-03-08 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.
Feedback welcome.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20100308-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20100308

(stable branch, master is the debian branch, derived from stable).

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Mogwai - The Hawk is Howling - Daphne And The Brain
Gnulib stable snapshot
--
  * 20100308-stable

Snapshot taken based on:

commit  4fc10daa05477586fea99b6b3ca02a87d1102fa1
Date:   Mon Mar 1 22:09:44 2010 +0100

with the following additional commits:

* [88baa1e]-[6681664] spawn: Don't override the system defined values on 
FreeBSD 8.
* [ca156dd]-[12e638f] copy-acl: enhance Solaris ACL error handling
* [fa93cea]-[fbe6ced] exit: Obsolete module, use stdlib instead.
* [eb6dce1]-[529ebff] exitfail: Relax license to LGPLv2.1+.  Drop 
exitfail.m4.
* [434627d]-[3dfb904] Prefer lib_SOURCES over unconditional AC_LIBOBJ.
* [032088a]-[99e99ca] euidaccess: relax license to LGPLv2+
* [3753983]-[51c9c87] Fix incorrect Makefile.am generation in German 
locale.
* [89e5b6b]-[6fde090] Clarify access, euidaccess, faccessat.
* [798f5bd]-[661fa69] Fix link error on platforms with GNU libiconv.
* [94a90dc]-[a62a0db] Exclude lib-ignore module.
* [fc980d5]-[9f46144] Fix test-dirent link error.
* [f19a2e5]-[2e4b5be] Fix test-dirent-safer link error. Correct last 
commit.
* [7d09cc8]-[c896764] Fix test-cond link error.


signature.asc
Description: Digital signature


New stable snapshot

2010-01-11 Thread Ian Beckwith
Hi,

I've released a new stable snapshot. See attached NEWS.stable for details.
Feedback welcome.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20100109-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20100109

(stable branch, master is the debian branch, derived from stable).

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA

Gnulib stable snapshot
--
  * 20100109-stable

Snapshot taken based on:

commit  12319ff4e84ca616a671216d991dd6eaf1c39c47
Date:   Fri Jan 1 16:00:07 2010 +0100

with the following additional commits:

* [e7100ae]-[60a41fa] headers: make check of system header explicit
* [1bf02c3]-[2e79dd2] wchar: Remove unused configure check.
* [8f3aa1f]-[ab43907] autoupdate
* [e138cd8]-[18a2e77] fdopendir: fix configure test
* [7a29e00]-[11639c6] nl_langinfo: avoid configure-time syntax error
* [51983dc]-[fab630e] mkdir: avoid xalloc
* [28e6fc0]-[b8025c4] xalloc.h: use consistent formatting
* [0c2fded]-[41d7de2] maint.mk: include 4 more function names in 
alloca.h-checking regexp
* [0e0f8f1]-[2d44e17] maint: remove useless inclusions of alloca.h
* [c1b6197]-[9e93370] ChangeLog: correct last entry: s/alloca.h/xalloc.h/
* [f8b8f4f]-[bfdc843] strcase: document what it provides
* [41c44a6]-[88de58a] utimens (fdutimens): ignore a negative FD, per 
contract
* [735d9d0]-[8a69e5c] maint: support 'make announcement' from a VPATH build
* [816a1ec]-[0d57ec9] readtokens: this module *does* require xalloc.h
* [f9eed4b]-[58b5448] nl_langinfo: do not call AC_CHECK_FUNC_ONCE inside 
if.
* [60ad192]-[932e55d] stdio, unistd: guarantee ssize_t
* [ae0044c]-[78c1179] autoupdate
* [eb9c0c2]-[d0f97a4] cleanup after gl_FUNC_READLINK, for gl_FUNC_SYMLINK 
test
* [e5697c6]-[b4e7212] linkat, renameat: avoid bad free
* [010ecd2]-[65e8854] dirent: fix test failure
* [978114f]-[eb65fea] pread: fix compilation on glibc
* [2f0e0a8]-[c93838e] doc: regenerate INSTALL
* [654c876]-[4b8c490] select: add missing dependency
* [c4b4563]-[9ebfb66] maint.mk: ignore multi-line copyright in NEWS
* [cb361c9]-[d9d722c] maint.mk: detect incorrect GFDL usage
* [c1a179c]-[abd3f20] wctype: allow C++ use
* [6751651]-[1c3411f] autoupdate
* [5cd308a]-[d1ecc61] ChangeLog: Correct a recent entry.
* [7f01cc5]-[77f03a3] nl_langinfo: Simplify logic.
* [cc6a687]-[efba37d] doc: Clarify the platforms.
* [64cbadd]-[a75ac7f] xlist, xoset: Fix missing dependency bug, introduced 
on 2009-12-13.
* [f1195cc]-[877b01f] stdio: Ensure stdio.h defines off_t, ssize_t, 
va_list.
* [027bd46]-[53c2db0] dirent: Document the last fix.
* [969fe75]-[085b493] mbslen: Avoid collision with system function.
* [ccc06b2]-[3437136] Fix indentation of wctype.in.h, broken since 
2007-01-06.
* [0906b5f]-[6b40a56] glob: Fix C++ compilation.
* [2cf2e37]-[0b0ac4a] dup2: work around mingw bug
* [581419c]-[fad0fe1] lib/dup2.c (rpl_dup2): Improve comment.
* [dd5823d]-[465b4d1] Tests for module 'getlogin_r'.
* [3361cfa]-[5bfd3af] getlogin_r: Add comment.
* [89b39ef]-[88bc1a6] getlogin_r: Small fixes.
* [570a589]-[d6b7bf8] getlogin_r: Support for native Windows.
* [630a387]-[b2c3f71] unistr/u8-to-u16: Reject invalid input.
* [95a86a9]-[f3af270] unistr/u8-to-u32: Reject invalid input.
* [f03c8d5]-[987b3c4] unistr/u16-to-u8: Reject invalid input.
* [19aa55e]-[b4ee15b] unistr/u16-to-u32: Reject invalid input.



Re: coreutils-8.4 very soon

2010-01-11 Thread Ian Beckwith
On Mon, Jan 11, 2010 at 10:25:53PM +0100, Jim Meyering wrote:
 Considering the coreutils-8.3 build failures, I'm going to release
 coreutils-8.4 soon, perhaps on Wednesday.  A cursory review and
 preliminary testing suggests that it will be safe to use the latest
 from gnulib.  Since you two have made relatively large changes recently,
 what do you think of using the latest in a bug-fix-only coreutils release?

If you are feeling daring, you might want to try my just-released
stable snapshot.  At Bruno's suggestion, I've been making periodic
stable snapshots of gnulib (well, this is only my second). I froze on
January 1st, and cherry-picked uncontroversial-looking fixes up until
January 9th.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20100109-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git tag: stable/20100109

(stable branch, master is the debian branch, derived from stable).

See NEWS.stable in the tarball or my just-posted announcement mail
for which commits are included.

Ian

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA




select, nanosleep, mbslen, at-func2

2010-01-06 Thread Ian Beckwith
Hi,

select (LGPLv2+) and nanosleep (GPL) both need a dependency on
sockets (LGPLv2+).

Reported against gnuit:

 From: Nelson H. F. Beebe be...@math.utah.edu

 Several months ago, I successfully built gnuit-4.9.5 on 20+ flavors of
 Unix.  Today, I tried a recent addition to our test laboratory: MirOS
 (http://www.mirbsd.org/), formerly known as MirBSD, and an offshoot of
 the OpenBSD development.

 Compilation failed in lib/mbslen.c because of a macro expansion of the
 name mbslen.  I added protecting parentheses, and the build,
 validation, and installation then succeeded.  The patch is trivial:

 % diff mbslen.c~ mbslen.c
 29c29
  mbslen (const char *string)
 ---
  (mbslen) (const char *string)

It looks more like a workaround than a fix to me, hopefully you can
figure out the right thing to do.

Also, in the Debian BTS 
(http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=561117)
a report about the GNU/kFreeBSD port:

 From: Petr Salinger petr.salin...@seznam.cz

 Hi,

 during build of coreutils-8.1:

 at-func2.c: In function 'at_func2':
 at-func2.c:113: warning: attempt to free a non-heap object 'proc_buf1'

 IMO, the right fix is

 --- lib/at-func2.c
 +++ lib/at-func2.c
 @@ -110,7 +110,7 @@
}
}
  else if (proc_file1 != proc_buf1  proc_file1 != file1)
 -  free (proc_buf1);
 +  free (proc_file1);
}
}

cheers,

Ian.

PS In general, would you prefer separate messages for each bug?

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Shins - Wincing the Night Away - Red Rabbits


signature.asc
Description: Digital signature


First attempt at stable snapshot

2009-11-20 Thread Ian Beckwith
Hi,

I've made my first attempt at a stable gnulib snapshot.

Feedback welcome, particularly on whether I have been too strict or
too lenient in my choice of patches to cherry-pick, see NEWS.stable
(attached). I've tried to only pick bug-fixes that aren't too intrusive,
along with trivial patches like license changes that don't affect the code.

Tarball: http://erislabs.net/ianb/projects/gnulib/gnulib-20091120-stable.tar.gz

Gitweb: http://erislabs.net/gitweb?p=gnulib.git;a=shortlog;h=refs/heads/stable

Git: git://erislabs.net/gnulib.git

(stable branch, master is the debian branch, derived from stable).

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Gnulib stable snapshot
--
  * 20091120-stable

Snapshot taken based on:

commit 7becd9d708425924f3a402fdd3c6e18ba2a7e4e3
Date:   Sat Nov 7 16:03:38 2009 -0700

with the following additional commits:

* [26c5fd7]-[7eb2ad0] utimens: remove invalid futimesat call
* [6553be8]-[510522d] strftime.c: include ignore-value.h only when 
FPRINTFTIME is defined
* [349396e]-[cc85265] stat: detect FreeBSD bug
* [48e9883]-[7f013da] open: detect FreeBSD bug
* [d462fe1]-[02634ef] rename: detect FreeBSD bug
* [b0d3085]-[fd021c4] autoupdate
* [2420877]-[12a64eb] unlink, remove: detect FreeBSD bug
* [492960c]-[24c30ab] link: detect FreeBSD bug
* [24a6037]-[ec14720] symlink: detect FreeBSD bug
* [dfd4d11]-[3bb65d2] readlink: detect FreeBSD bug
* [7127847]-[c9698f2] bootstrap: generalize autoheader check
* [ac67780]-[3739c19] fts: do not fail on a submount during traversal
* [08e6b4c]-[82a192d] getgroups: fix logic error
* [80074d1]-[d9cc1a4] getgroups: avoid calling exit
* [61b3a42]-[a12148f] getgroups, getugroups: provide stubs for mingw
* [0173b1e]-[dc5014b] test-getgroups: avoid compilation failure
* [f3a2c4a]-[5390af1] getgroups: avoid compilation failure
* [1e642be]-[867cf3b] getgroups: work around FreeBSD bug
* [cf0c4ab]-[2d61dc2] getgroups: avoid compiler warning
* [ee8909a]-[28fc486] strftime.h: wrap funtion declaration in extern C 
block
* [fb1b608]-[d837f67] gnulib-tool: correctly detect absence of m4 
directories
* [a86ea84]-[e14e479] fnmatch: avoid compiler warning
* [24a6641]-[16685f1] lib/gc-pbkdf2-sha1.c: Remove comments from RFC 2898.
* [1b712ba]-[4b4b924] avoid new AC_REQUIRE expanded-before-required 
warnings
* [6963723]-[456348e] better AC_REQUIRE expanded-before-required-warning 
avoidance
* [1c32714]-[dc372f7] version-etc: relax license to LGPLv3+
* [7e52ced]-[3f0179e] version-etc-fsf: relax license to LGPLv3+
* [b205080]-[e09f5b5] version-etc: use proper license string
* [b9d28ec]-[f2baca9] Add `gnulib-tool --import' support for LGPLv3+.
* [d9d9b26]-[6d8c90b] Add.
* [0883405]-[72abcbb] utimens: fix regression on Solaris
* [8cfd4a9]-[8607d21] tests: avoid false negative with --with-packager
* [111e540]-[0028f27] build: avoid compiler warnings
* [841ad19]-[c6d977e] manywarnings: depend on warnings
* [758f912]-[dd21f46] autoupdate


signature.asc
Description: Digital signature


Re: more test suite problems

2009-10-08 Thread Ian Beckwith
On Wed, Oct 07, 2009 at 07:10:15PM -0600, Eric Blake wrote:
 So far, I haven't been able to reproduce the failure, on Linux or on
 cygwin.  What OS are you seeing the failure on, and can you pinpoint which
 module in addition to fseek (if any) is necessary to reproduce the
 failure?

Debian stable  unstable, i386  ia64.

Any of the modules listed in my last mail (or below), for instance this fails:

$ ./gnulib-tool --create-megatestdir  --with-tests --dir=test fseek fwritable
$ cd test/ALL/
$ ./configure
$ make

Versions:

unstable/i386:
automake 1.9.6 (1.9.6+nogfdl-3)
autoconf 2.64 (2.64-2)
gcc 4.3.4 (4.3.4-3)
libc6 2.9 (eglibc) (2.9-26)

unstable/ia64:
automake 1.11 (1:1.11-1)
autoconf 2.64 (2.64-2)
gcc 4.3.4 (4.3.4-2)
libc6.1 (eglibc) 2.9 (2.9-26)

stable/i386
automake 1.10.1 (1:1.10.1-3)
autoconf 2.61 (2.61-8)
gcc 4.3.2 (4.3.2-1.1)
libc6 2.7 (2.7-18)

  closein closein-tests fflush fflush-tests fpurge fpurge-tests freadable
  freadable-tests freading freading-tests fwritable fwritable-tests
  fwriting fwriting-tests yesno yesno-tests
 
 Yes, anything that depends on fseek needs the fix for fseek.  But that
 doesn't get me any closer to the root cause.

Well, fwritable and fwritable-tests, at least, don't depend on fseek
(directly or indirectly).

Running 'make CFLAGS=-E fseek.o' in ALL/gllib  shows the offset
parameter is getting mangled:

int
rpl_fseeko (FILE *fp, (off_t)(long offset), int whence)

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Talking Heads - Fear of Music - Mind


signature.asc
Description: Digital signature


Re: more test suite problems

2009-10-07 Thread Ian Beckwith
On Mon, Oct 05, 2009 at 02:37:07PM +, Eric Blake wrote:
 Wrong.

 Wrong.

Oops.

  With ./gnulib-tool --create-megatestdir --with-tests,
  fseek fails to compile when combined in ALL/ with any of:
  fwritable fwritable-tests or fwriting.
 
 Previously reported.  Thanks for further clarifying some of the details.  I 
 still haven't had time to figure out how to fix it, but fixing it is still on 
 my TODO list.

I realised my tests weren't exhaustive, the full list of modules broken
with fseek is:

closein closein-tests fflush fflush-tests fpurge fpurge-tests freadable
freadable-tests freading freading-tests fwritable fwritable-tests
fwriting fwriting-tests yesno yesno-tests

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: The Sisters Of Mercy - Something Fast


signature.asc
Description: Digital signature


more test suite problems

2009-10-05 Thread Ian Beckwith
Hi,

More test-suite problems:

Missing dependencies (trivial patches attached):

gnumakefile: maintainer-makefile

fts-lgpl: cloexec fcntl-safer dirent-safer

With ./gnulib-tool --create-megatestdir --with-tests,
fseek fails to compile when combined in ALL/ with any of:
fwritable fwritable-tests or fwriting.

Is 'Module foo depends on a module with an incompatible license' a
bug? Attached are a list of clashes but note that if you apply my
patches above, fts-lgpl also clashes with cloexec, fcntl-safer and
dirent-safer.

cheers,

Ian





-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
From dd61bef7bdb47efd882ce6a275cb8e0ae4e3684d Mon Sep 17 00:00:00 2001
From: Ian Beckwith i...@erislabs.net
Date: Mon, 5 Oct 2009 14:16:49 +0100
Subject: [PATCH 1/2] gnumakefile: depend on maintainer-makefile

---
 modules/gnumakefile |1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/modules/gnumakefile b/modules/gnumakefile
index 483ff74..b6c31be 100644
--- a/modules/gnumakefile
+++ b/modules/gnumakefile
@@ -5,6 +5,7 @@ Files:
 top/GNUmakefile
 
 Depends-on:
+maintainer-makefile
 
 configure.ac:
 # Autoconf 2.61a.99 and earlier don't support linking a file only
-- 
1.6.4.3

From 9f75eb8936e40632090fe4f31940ef55fa51c6ec Mon Sep 17 00:00:00 2001
From: Ian Beckwith i...@erislabs.net
Date: Mon, 5 Oct 2009 14:17:38 +0100
Subject: [PATCH 2/2] fts-lgpl: depend on cloexec fcntl-safer dirent-safer

---
 modules/fts-lgpl |3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/modules/fts-lgpl b/modules/fts-lgpl
index 3a6f0ed..b09d7a0 100644
--- a/modules/fts-lgpl
+++ b/modules/fts-lgpl
@@ -12,6 +12,9 @@ fchdir
 i-ring
 openat
 stdbool
+cloexec
+fcntl-safer
+dirent-safer
 
 configure.ac:
 gl_FUNC_FTS_LGPL
-- 
1.6.4.3

warning: module argp depends on a module with an incompatible license: dirname
warning: module argp depends on a module with an incompatible license: exit
warning: module argp depends on a module with an incompatible license: exitfail
warning: module argp depends on a module with an incompatible license: xalloc
warning: module argp depends on a module with an incompatible license: 
xalloc-die
warning: module argp depends on a module with an incompatible license: xstrndup
warning: module euidaccess depends on a module with an incompatible license: 
exit
warning: module euidaccess depends on a module with an incompatible license: 
exitfail
warning: module euidaccess depends on a module with an incompatible license: 
group-member
warning: module euidaccess depends on a module with an incompatible license: 
xalloc
warning: module euidaccess depends on a module with an incompatible license: 
xalloc-die
warning: module fts-lgpl depends on a module with an incompatible license: 
chdir-long
warning: module fts-lgpl depends on a module with an incompatible license: chown
warning: module fts-lgpl depends on a module with an incompatible license: d-ino
warning: module fts-lgpl depends on a module with an incompatible license: 
dirname
warning: module fts-lgpl depends on a module with an incompatible license: exit
warning: module fts-lgpl depends on a module with an incompatible license: 
exitfail
warning: module fts-lgpl depends on a module with an incompatible license: 
fdopendir
warning: module fts-lgpl depends on a module with an incompatible license: 
getcwd
warning: module fts-lgpl depends on a module with an incompatible license: 
lchown
warning: module fts-lgpl depends on a module with an incompatible license: 
openat
warning: module fts-lgpl depends on a module with an incompatible license: 
openat-die
warning: module fts-lgpl depends on a module with an incompatible license: 
save-cwd
warning: module fts-lgpl depends on a module with an incompatible license: 
unistd-safer
warning: module fts-lgpl depends on a module with an incompatible license: 
xalloc
warning: module fts-lgpl depends on a module with an incompatible license: 
xalloc-die
warning: module fts-lgpl depends on a module with an incompatible license: 
xgetcwd
warning: module fts-lgpl depends on a module with an incompatible license: 
xstrndup
warning: module mkdir depends on a module with an incompatible license: dirname
warning: module mkdir depends on a module with an incompatible license: 
double-slash-root
warning: module mkdir depends on a module with an incompatible license: error
warning: module mkdir depends on a module with an incompatible license: exit
warning: module mkdir depends on a module with an incompatible license: exitfail
warning: module mkdir depends on a module with an incompatible license: xalloc
warning: module mkdir depends on a module with an incompatible license: 
xalloc-die
warning: module mkdir depends on a module with an incompatible license: xstrndup
warning: module obstack depends on a module with an incompatible license: exit
warning: module obstack depends on a module with an incompatible license

Re: more test suite problems

2009-10-05 Thread Ian Beckwith
On Mon, Oct 05, 2009 at 02:41:25PM +0100, Ian Beckwith wrote:
 Is 'Module foo depends on a module with an incompatible license' a
 bug? Attached are a list of clashes

Which are all duplicated, sorry. sort -u incompatible-licenses.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: A Silver Mt. Zion - Could've Moved Mountains...




test suite problems

2009-10-01 Thread Ian Beckwith
Hi,

I've been trying out the test suite.

relocatable-prog-wrapper is missing a dependency on double-slash-root.

Quite a few modules fail gnulib-tool --create-megatestdir --with-tests
with the error:

 executing automake --add-missing --copy
 Makefile.am: C objects in subdir but `AM_PROG_CC_C_O' not in `configure.ac'

Of these modules, the ones I checked had AM_PROG_CC_C_O in module/configure.ac
but not in module/gltests/configure.ac.

List of failing modules:

exclude mbchar mbfile mbiter mbmemcasecmp mbmemcasecmp-tests mbscasecmp
mbscasecmp-tests mbscasestr mbscasestr-tests mbschr mbschr-tests mbscspn
mbscspn-tests mbslen mbsncasecmp mbsncasecmp-tests mbsnlen mbspbrk
mbspbrk-tests mbspcasecmp mbspcasecmp-tests mbsrchr mbsrchr-tests mbssep
mbsspn mbsspn-tests mbsstr mbsstr-tests mbstok_r mbswidth propername
trim wcwidth wcwidth-tests

unicase/: everything except:
base empty-prefix-context empty-suffix-context special-casing tocasefold

uniconv/: everything except: base

unictype/: everything except: base category-test

unilbrk/: everything except: base tables ulc-common

uniname/: uniname uniname-tests

uninorm/: everything except: base decompose-internal decomposition-table

unistdio/: everything except:
base u16-printf-parse u16-sprintf u16-u16-sprintf u32-printf-parse
u32-sprintf u32-u32-sprintf u8-printf-parse u8-sprintf u8-u8-sprintf
ulc-printf-parse ulc-sprintf u-printf-args

unistr/: u16-strcoll u32-strcoll u8-strcoll

uniwbrk/: everything except: base table wordbreak-property

uniwidth/: everything except: base

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Grails - Belgian Wake-Up Drill


signature.asc
Description: Digital signature


Re: License pedantry

2009-09-24 Thread Ian Beckwith
Hi,

Sorry about the delay replying.

On Thu, Sep 17, 2009 at 10:08:01PM +0200, Bruno Haible wrote:
 Welcome! It was a bit unfortunate that gnulib was frozen in Debian for
 about a year, although gnulib attempts to be constantly moving and
 improving. See
   http://www.gnu.org/software/gnulib/manual/html_node/Steady-Development.html

I'm planning uploading roughly monthly snapshots to the debian
unstable distribution, However, due to the way debian release
management works, once a package reaches the stable distribution, it
can only be updated to fix security problems.

This means that although users of the unstable and testing
distributions will have a pretty up to date gnulib, users of the
stable distribution will have a version that is potentially quite out
of date.

 If you want to add value to gnulib, compared to the git repository, you
 might want to periodically update to a stable snapshot of gnulib. This means,
 for example, once in a month, take a snapshot of gnulib, then for a week
 watch closely all patches that go into gnulib's git repository, looking out
 for riskless fixes. Then publish a tarball with these fixes. This would
 be added value in terms of reliability/quality, because despite our efforts
 to not break the gnulib git, sometimes a particular module is broken for a
 day or two.

OK. I'll definitely do this when its time for the stable debian
release, and I'll give it a try monthly and see how it goes. I'm
cautious of committing long-term to monthly stable snapshots until I
know how much time it involves.

 Also, I see in http://packages.debian.org/lenny/gnulib that the formal
 dependencies listed in gnulib/DEPENDENCIES (make, autoconf, automake,
 bison, gperf etc.) are not listed among the Debian dependencies. These
 tools are all needed in order to execute gnulib-tool --create-testdir
 of the whole module set.

Thanks, I'll fix this in the next version.

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA


signature.asc
Description: Digital signature


Re: License pedantry

2009-09-24 Thread Ian Beckwith
Hi,

Sorry about the delay replying.

On Thu, Sep 17, 2009 at 07:03:29AM -0600, Eric Blake wrote:
 Our argument has been that gnulib is for developers, and probably should
 not be distributed as a package.  Read gnulib-intro.texi for why we think
 that snapshots of gnulib are counter-productive.


um, oh.

For what it's worth, the package does have users, and I think its
useful to have it integrated with the system so things like
documentation are available through the usual mechanisms.

Hopefully the stable-snapshot thing in my other mail will placate you.

There is a wishlist bug report in debian:

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=522187

suggesting an additional installer-style package for gnulib that
downloads the latest version direct from the git repo.

It occurs to me that it might be better to have as an option to
gnulib-tool, maybe --git-clone or something along those lines, with
maybe an option to set up a cron job to pull from the master repo (bad
idea if they are going to hack on gnulib itself, but I assume most
people won't).

Do you think this is worth doing?

Ian.

-- 
Ian Beckwith - i...@erislabs.net - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA


signature.asc
Description: Digital signature


Re: MacOS problem with checking whether strcasestr works in linear time

2008-06-10 Thread Ian Beckwith
On Mon, Jun 09, 2008 at 03:34:09PM -0700, Eric Blake wrote:
 And explicitly resetting SIGALRM in the .m4 files avoided the hang.
 I'm committing this.

Great, that fixed it.

Thanks!

Ian.

-- 
Ian Beckwith - [EMAIL PROTECTED] - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA





MacOS problem with checking whether strcasestr works in linear time

2008-06-08 Thread Ian Beckwith
Hi,

I received a report that the gnulib checking whether strcasestr works
in linear time configure test on MacOS hangs for 3 to 4 hours
before completing. Presumably this means the alarm() call in the test
doesn't work.

The version of gnuit with the problem is at:

http://erislabs.net/ianb/tmp/gnuit-4.9.4-test5.tar.gz

and config.log from the system with the problem is at:

http://erislabs.net/ianb/tmp/config.log

This is with gnulib from 2008-05-27 commit 9c504099

cheers,

Ian.

-- 
Ian Beckwith - [EMAIL PROTECTED] - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: The Amazing Pilots - Soul's Island




Re: MacOS problem with checking whether strcasestr works in linear time

2008-06-08 Thread Ian Beckwith
On Mon, Jun 09, 2008 at 12:42:18AM +0200, Bruno Haible wrote:
 On which MacOS X version was this? It configures fine and quickly for me
 on MacOS X 10.3.9 and 10.5.2.

Erm, don't know, I'll ask.

In case you can map kernel versions to MacOS versions, config.log
says:

uname -v = Darwin Kernel Version 9.2.2: Tue Mar  4 21:17:34 PST 2008; 
root:xnu-1228.4.31~1/RELEASE_I386

  http://erislabs.net/ianb/tmp/config.log
 
 This file is not downloadable:
[snip]
 2008-06-09 00:40:57 ERROR 403: Forbidden.
 
 Can you make it downloadable, please? Or gzip it and attach it to your
 mail; that's simpler.

Oops, I've fixed the permissions and also attached it.

cheers,

Ian.

-- 
Ian Beckwith - [EMAIL PROTECTED] - http://erislabs.net/ianb/
GPG fingerprint: AF6C C0F1 1E74 424B BCD5  4814 40EC C154 A8BA C1EA
Listening to: Half Man Half Biscuit - Took Problem Chimp To Ideal Home Show


config.log.gz
Description: Binary data