bugGNU GRUB - Bugs: bug #36991, Build failure after touching...

 
 

You are not allowed to post comments on this tracker with your current authentification level.

bug #36991: Build failure after touching gentpl.py

Submitted by:  GrĂ©goire Sutre <gsutre>
Submitted on:  Sun 29 Jul 2012 03:43:26 PM UTC  
 
Category: CompilationSeverity: Minor
Priority: 3 - LowItem Group: Software Error
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: Bazaar - trunkReproducibility: Every Time
Planned Release: None

Sun 28 Apr 2013 04:44:02 AM UTC, comment #1:

This is fixed in current trunk.

Andrey Borzenkov <arvidjaar>
Project Member
Sun 29 Jul 2012 03:43:26 PM UTC, original submission:

The Makefile rules for autogen-erating Makefile.util.am are not
the same as in autogen.sh:

  • autogen.sh:

cat $UTIL_DEFS | autogen -T Makefile.tpl | sed -e '/^$/{N;/^\n$/D;}' > ...

  • conf/Makefile.common:

autogen -T $(top_srcdir)/Makefile.tpl $< | sed -e '/^$$/{N;/^\\n$$/D;}' > ...

This leads to a build failure when touching gentpl.py:

$ ./autogen.sh && ./configure
$ touch gentpl.py
$ make
python gentpl.py | sed -e '/^$/{N;/^\\n$/D;}' > Makefile.tpl.new || (rm -f Makefile.tpl.new; exit 1)
mv Makefile.tpl.new Makefile.tpl
autogen -T ./Makefile.tpl Makefile.util.def | sed -e '/^$/{N;/^\\n$/D;}' > Makefile.util.am.new || (rm -f Makefile.util.am.new; exit 1)
mv Makefile.util.am.new Makefile.util.am
cd . && /bin/bash /tmp/grub/build-aux/missing --run automake-1.11 --gnu Makefile
cd . && /bin/bash ./config.status Makefile depfiles
config.status: creating Makefile
config.status: executing depfiles commands
[...]
gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\"/usr/local/lib/grub\" -DLOCALEDIR=\"/usr/local/share/locale\" -DGRUB_FILE=\"grub-core/kern/emu/argp_common.c\" -I. -I. -I. -I. -I./include -I./include -I./grub-core/gnulib -I./grub-core/gnulib -DGRUB_PKGLIBDIR=\"/usr/local/lib/grub\" -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -Werror -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -MT grub-core/kern/emu/grub_mkimage-argp_common.o -MD -MP -MF grub-core/kern/emu/.deps-util/grub_mkimage-argp_common.Tpo -c -o grub-core/kern/emu/grub_mkimage-argp_common.o `test -f 'grub-core/kern/emu/argp_common.c' || echo './'`grub-core/kern/emu/argp_common.c
mv -f grub-core/kern/emu/.deps-util/grub_mkimage-argp_common.Tpo grub-core/kern/emu/.deps-util/grub_mkimage-argp_common.Po
make[2]: *** No rule to make target `libgrubgcry.a', needed by `grub-mkimage'. Stop.
make[2]: Leaving directory `/tmp/grub'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/grub'
make: *** [all] Error 2

Grégoire Sutre <gsutre>
Project Member

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arvidjaar (Posted a comment)
  • -unavailable- added by gsutre (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 28 Apr 2013 04:44:02 AM UTCarvidjaarStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup