Hi,

just tried out gnulib-tool, taking the very naive approach:

- (in gnulib/) git checkout pygnulib
- made a commit with this change
- edited project's bootstrap to rename gnulib-tool into gnulib-tool.py
- tried './bootstrap'.

./bootstrap: 920: ./bootstrap: gnulib/gnulib-tool.py: Permission denied

This is easily fixed by 'chmod a+x gnulib/gnulib-tool.py'

Second try resulted in:
./bootstrap: gnulib/gnulib-tool.py  --import --no-changelog --aux-dir build-
aux --doc-base doc --lib libgnu --m4-base m4/ --source-base lib/ --tests-base 
tests --local-dir gl --makefile-name=gnulib.mk --libtool --import ...
usage: gnulib-tool.py --help
gnulib/gnulib-tool.py: error: argument -i/--import: expected at least one 
argument
Traceback (most recent call last):
  File "gnulib/gnulib-tool.py", line 927, in <module>
    errno = error.errno
AttributeError: 'exceptions.SystemExit' object has no attribute 'errno'
./bootstrap: gnulib-tool failed

Maybe I did something basically wrong !?

Attached bootstrap.conf
# bootstrap.conf - Bootstrap configuration.
# Copyright (C) 2007, 2008, 2009, 2010, 2011, 2012 Free Software Foundation,
# Inc.
#
# This file is part of GNU Wget.
#
# GNU Wget 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.
#
# GNU Wget 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 `https://www.gnu.org/licenses/'.

# gnulib library name
gnulib_name=libgnu
gnulib_tool_option_extras="--makefile-name=gnulib.mk"
use_libtool=1
SKIP_PO=1
checkout_only_file=

gnulib_modules="
accept
bind
c-strcase
c-strcasestr
c-ctype
calloc-posix
clock-time
close
closedir
connect
crypto/md2
crypto/md5
crypto/sha1
crypto/sha256
crypto/sha512
dirname
dup2
errno
fclose
fcntl
fdopen
fflush
flock
fnmatch-gnu
fopen
fstat
fsync
ftruncate
futimens
getaddrinfo
getsockname
gettext-h
gettime
gitlog-to-changelog
glob
iconv
inet_pton
inline
inttypes
ioctl
isatty
lib-symbol-visibility
listen
maintainer-makefile
malloc-posix
memchr
mkdir
mkstemp
msvc-nothrow
nanosleep
netdb
netinet_in
nl_langinfo
open
opendir
progname
spawn-pipe
popen
poll
pthread
pwrite
qsort_r
random_r
read
readdir
realloc-posix
recv
recvfrom
rename
safe-read
safe-write
select
send
sendto
servent
setlocale
setsockopt
socket
sockets
socklen
stdarg
stdbool
stddef
stdint
stat
strcase
strchrnul
strdup-posix
strerror
strndup
strstr
strtoll
sys_file
sys_socket
sys_stat
sys_time
sys_types
time_r
unistd
unlink
warnings
write
"

# Build prerequisites
buildreq="\
autoconf    2.62
automake    1.11.1
git         1.4.4
"

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to