Re: Trying to bootstrap my project, distcheck doesn't configure

2020-09-14 Thread Mathieu Lirzin
Hello Bruce,

Bruce Korb  writes:

> In 9/9/20 11:37 AM, Bruce Korb wrote:
>> So in the years since I last rebuilt my project, it seems the world
>> has changed. What should I be looking for?
> OK. I've made some progress without any hints.

It would help if you could provide the instructions allowing others to
reproduce the problem you are facing.

> Now I'm hitting this
> that I've never seen before:
>> $ grep do_not_make_me au*bld/autoopts/Makefile.am
>> do_not_make_me_la_LIBADD += @LTALLOCA@
>> do_not_make_me_la_DEPENDENCIES += @LTALLOCA@
>> EXTRA_do_not_make_me_la_SOURCES += alloca.c
>> EXTRA_do_not_make_me_la_SOURCES += dup2.c
>> do_not_make_me_la_SOURCES += fd-hook.c
>> do_not_make_me_la_SOURCES += gettext.h
>> EXTRA_do_not_make_me_la_SOURCES += msvc-inval.c
>> EXTRA_do_not_make_me_la_SOURCES += msvc-nothrow.c
>> EXTRA_do_not_make_me_la_SOURCES += nanosleep.c
>> do_not_make_me_la_SOURCES += parse-duration.c
>> EXTRA_do_not_make_me_la_SOURCES += raise.c
>> EXTRA_do_not_make_me_la_SOURCES += select.c
>> do_not_make_me_la_SOURCES += sig-handler.c
>> EXTRA_do_not_make_me_la_SOURCES += sigaction.c
>> EXTRA_do_not_make_me_la_SOURCES += sigprocmask.c
>> do_not_make_me_la_SOURCES += sockets.h sockets.c
>> do_not_make_me_la_SOURCES += stat-time.c
>> do_not_make_me_la_SOURCES += sys_socket.c
>> do_not_make_me_la_SOURCES += timespec.c
>> do_not_make_me_la_SOURCES += unistd.c
> which trigger error messages that I can get around by hacking in dummy
> initial assignments, but I'm guessing that's not the intended
> method. I need a clue, please? Thank you.

Dummy initial assignments is a valid fix if you want/need to dispatch
your source definitions in multiple files without having to care about
the inclusion order.  Alternatively you can define all your sources in
one go in one file like this:

do_not_make_me_la_SOURCES = \
  sockets.h \
  sockets.c \
  stat-time.c \
  sys_socket.c \
  timespec.c \
  unistd.c

>> autoopts/Makefile.am:97: error: do_not_make_me_la_LIBADD must be set
>> with '=' before using '+='
>> autoopts/Makefile.am:98: error: do_not_make_me_la_DEPENDENCIES must
>> be set with '=' before using '+='
>> autoopts/Makefile.am:100: error: EXTRA_do_not_make_me_la_SOURCES
>> must be set with '=' before using '+='
>> autoopts/Makefile.am:146: error: do_not_make_me_la_SOURCES must be
>> set with '=' before using '+='
>> autoopts/Makefile.am:390: error: MOSTLYCLEANDIRS must be set with
>> '=' before using '+='
>> autoopts/Makefile.am:100: warning: variable
>> 'EXTRA_do_not_make_me_la_SOURCES' is defined but no program or
>> autoopts/Makefile.am:100: library has 'do_not_make_me_la' as
>> canonical name (possible typo)
>> autoopts/Makefile.am:146: warning: variable
>> 'do_not_make_me_la_SOURCES' is defined but no program or
>> autoopts/Makefile.am:146: library has 'do_not_make_me_la' as
>> canonical name (possible typo)
>> autoopts/Makefile.am:97: warning: variable
>> 'do_not_make_me_la_LIBADD' is defined but no program or
>> autoopts/Makefile.am:97: library has 'do_not_make_me_la' as
>> canonical name (possible typo)
>> autoopts/Makefile.am:98: warning: variable
>> 'do_not_make_me_la_DEPENDENCIES' is defined but no program or
>> autoopts/Makefile.am:98: library has 'do_not_make_me_la' as
>> canonical name (possible typo)

-- 
Mathieu Lirzin
GPG: F2A3 8D7E EB2B 6640 5761  070D 0ADE E100 9460 4D37



Re: Trying to bootstrap my project, distcheck doesn't configure

2020-09-14 Thread Bruce Korb

In 9/9/20 11:37 AM, Bruce Korb wrote:
So in the years since I last rebuilt my project, it seems the world 
has changed. What should I be looking for?
OK. I've made some progress without any hints. Now I'm hitting this that 
I've never seen before:

$ grep do_not_make_me au*bld/autoopts/Makefile.am
do_not_make_me_la_LIBADD += @LTALLOCA@
do_not_make_me_la_DEPENDENCIES += @LTALLOCA@
EXTRA_do_not_make_me_la_SOURCES += alloca.c
EXTRA_do_not_make_me_la_SOURCES += dup2.c
do_not_make_me_la_SOURCES += fd-hook.c
do_not_make_me_la_SOURCES += gettext.h
EXTRA_do_not_make_me_la_SOURCES += msvc-inval.c
EXTRA_do_not_make_me_la_SOURCES += msvc-nothrow.c
EXTRA_do_not_make_me_la_SOURCES += nanosleep.c
do_not_make_me_la_SOURCES += parse-duration.c
EXTRA_do_not_make_me_la_SOURCES += raise.c
EXTRA_do_not_make_me_la_SOURCES += select.c
do_not_make_me_la_SOURCES += sig-handler.c
EXTRA_do_not_make_me_la_SOURCES += sigaction.c
EXTRA_do_not_make_me_la_SOURCES += sigprocmask.c
do_not_make_me_la_SOURCES += sockets.h sockets.c
do_not_make_me_la_SOURCES += stat-time.c
do_not_make_me_la_SOURCES += sys_socket.c
do_not_make_me_la_SOURCES += timespec.c
do_not_make_me_la_SOURCES += unistd.c
which trigger error messages that I can get around by hacking in dummy 
initial assignments, but I'm guessing that's not the intended method. I 
need a clue, please? Thank you.


autoopts/Makefile.am:97: error: do_not_make_me_la_LIBADD must be set 
with '=' before using '+='
autoopts/Makefile.am:98: error: do_not_make_me_la_DEPENDENCIES must be 
set with '=' before using '+='
autoopts/Makefile.am:100: error: EXTRA_do_not_make_me_la_SOURCES must 
be set with '=' before using '+='
autoopts/Makefile.am:146: error: do_not_make_me_la_SOURCES must be set 
with '=' before using '+='
autoopts/Makefile.am:390: error: MOSTLYCLEANDIRS must be set with '=' 
before using '+='
autoopts/Makefile.am:100: warning: variable 
'EXTRA_do_not_make_me_la_SOURCES' is defined but no program or
autoopts/Makefile.am:100: library has 'do_not_make_me_la' as canonical 
name (possible typo)
autoopts/Makefile.am:146: warning: variable 
'do_not_make_me_la_SOURCES' is defined but no program or
autoopts/Makefile.am:146: library has 'do_not_make_me_la' as canonical 
name (possible typo)
autoopts/Makefile.am:97: warning: variable 'do_not_make_me_la_LIBADD' 
is defined but no program or
autoopts/Makefile.am:97: library has 'do_not_make_me_la' as canonical 
name (possible typo)
autoopts/Makefile.am:98: warning: variable 
'do_not_make_me_la_DEPENDENCIES' is defined but no program or
autoopts/Makefile.am:98: library has 'do_not_make_me_la' as canonical 
name (possible typo)





Trying to bootstrap my project, distcheck doesn't configure

2020-09-09 Thread Bruce Korb
So in the years since I last rebuilt my project, it seems the world
has changed. I spent two days pounding on configury stuff just to get
it to the point where bootstrapping once again succeeds and the
project built and ran "make check". With more fiddling, I got it to
roll up a distribution, but the "make distcheck" tries to make
dependencies before having done the configure step. It doesn't work.
So my question:

Why would the distcheck rules fail to do configure as soon as the
tarball is unrolled?
What should I be looking for?

Thank you!

Regards, Bruce