Skip to contentSkip to conversation

autogen.sh from bzr failed : configure.ac:382: error: expected source file, required through AC_LIBSOURCES, not found

DISCUSSION Daniel Kahn Gillmor 2 participants 3 messages Apr 7, 2013

lore
Share & tools
lore
#0 lore raw

hi grub folk--

I'm trying to build grub from the current bzr head on a powerpc64 debian unstable system. I'm afraid i'm getting stuck right at the beginning, as i try to autogen:

0 dkg@reason:~/src/grub/grub$ ./autogen.sh
Importing unicode...
Importing libgcrypt...
Creating Makefile.tpl...
Running autogen...
Saving timestamps...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
missing file grub-core/gnulib/getopt1.c
configure.ac:382: error: expected source file, required through AC_LIBSOURCES, not found m4/gnulib-comp.m4:100: gl_INIT is expanded from...
configure.ac:382: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
1 dkg@reason:~/src/grub/grub$

I don't know what this error means; i've got gnulib and the various auto* packages installed:

0 dkg@reason:~/src/grub/grub$ dpkg -l 'auto*' gnulib Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  autoconf       2.69-1       all          automatic configure script builde
un  autoconf-archi <none>                    (no description available)
un  autoconf-doc   <none>                    (no description available)
un  autoconf2.13   <none>                    (no description available)
un  autofs         <none>                    (no description available)
ii  autogen        1:5.17.2-1   powerpc      automated text file generator
ii  automake       1:1.12.6-2   all          Tool for generating GNU Standards
un  automake1.10-d <none>                    (no description available)
un  automake1.12   <none>                    (no description available)
un  automake1.5    <none>                    (no description available)
un  automake1.6    <none>                    (no description available)
un  automake1.9    <none>                    (no description available)
un  automaken      <none>                    (no description available)
ii  autopoint      0.18.1.1-10  all          The autopoint program from GNU ge
ii  autotools-dev  20120608.1   all          Update infrastructure for config.
ii  gnulib         20120404+sta all          GNU Portability Library

0 dkg@reason:~/src/grub/grub$

i've also tried it with automake 1:1.11.6-1 and autogen 1:5.12-0.1, and i get the same error messages when doing ./autogen.sh from a clean copy.

what am i missing?

     --dkg
#1 lore raw

В Sun, 07 Apr 2013 00:04:08 -0400
Daniel Kahn Gillmor <[email protected]> пишет:

Quoted 6 lines

hi grub folk--

I'm trying to build grub from the current bzr head on a powerpc64 debian unstable system. I'm afraid i'm getting stuck right at the beginning, as i try to autogen:

Quoted 11 lines

0 dkg@reason:~/src/grub/grub$ ./autogen.sh
Importing unicode...
Importing libgcrypt...
Creating Makefile.tpl...
Running autogen...
Saving timestamps...
Running autoreconf...
autoreconf: Entering directory `.'
autoreconf: configure.ac: not using Gettext
autoreconf: running: aclocal -I m4
missing file grub-core/gnulib/getopt1.c

Do you actually have this file? Just to be sure?

Quoted 41 lines

configure.ac:382: error: expected source file, required through AC_LIBSOURCES, not found m4/gnulib-comp.m4:100: gl_INIT is expanded from...
configure.ac:382: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: /usr/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
1 dkg@reason:~/src/grub/grub$

I don't know what this error means; i've got gnulib and the various auto* packages installed:

0 dkg@reason:~/src/grub/grub$ dpkg -l 'auto*' gnulib Desired=Unknown/Install/Remove/Purge/Hold

| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name           Version      Architecture Description
+++-==============-============-============-=================================
ii  autoconf       2.69-1       all          automatic configure script builde
un  autoconf-archi <none>                    (no description available)
un  autoconf-doc   <none>                    (no description available)
un  autoconf2.13   <none>                    (no description available)
un  autofs         <none>                    (no description available)
ii  autogen        1:5.17.2-1   powerpc      automated text file generator
ii  automake       1:1.12.6-2   all          Tool for generating GNU Standards
un  automake1.10-d <none>                    (no description available)
un  automake1.12   <none>                    (no description available)
un  automake1.5    <none>                    (no description available)
un  automake1.6    <none>                    (no description available)
un  automake1.9    <none>                    (no description available)
un  automaken      <none>                    (no description available)
ii  autopoint      0.18.1.1-10  all          The autopoint program from GNU ge
ii  autotools-dev  20120608.1   all          Update infrastructure for config.
ii  gnulib         20120404+sta all          GNU Portability Library

0 dkg@reason:~/src/grub/grub$

i've also tried it with automake 1:1.11.6-1 and autogen 1:5.12-0.1, and i get the same error messages when doing ./autogen.sh from a clean copy.

what am i missing?

     --dkg
#2 lore raw
Quoted 1 line · Andrey Borzenkov

В Sun, 07 Apr 2013 00:04:08 -0400 Daniel Kahn Gillmor <[email protected]> пишет:

[...]

Quoted 3 lines
Quoted 1 line

missing file grub-core/gnulib/getopt1.c

Do you actually have this file? Just to be sure?

hm, good call, the file wasn't there. after checking at the bzr webview
[0] to see that it's actually supposed to be on trunk in the first place (and not generated by some previous autotools step or something), i did a bit of further digging. it was a problem with my use of git-bzr, reported now at http://bugs.debian.org/704913

i'm now using standard bzr instead of git-bzr to do the repository work, and the build seems to be working fine.

Sorry about the false alarm,

	--dkg

[0]
http://bzr.savannah.gnu.org/lh/grub/trunk/grub/annotate/head:/grub-core/gnulib/getopt1.c