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

 
 

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

bug #36991: Build failure after touching gentpl.py

Submitter:  GrĂ©goire Sutre <gsutre>
Submitted:  Sun 29 Jul 2012 03:43:26 PM UTC
   
 
Category:  Compilation Severity:  Minor
Priority:  3 - Low Item Group:  Software Error
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  Bazaar - trunk
Release:  Reproducibility:  Every Time
Planned Release:  None

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

This is fixed in current trunk.

Andrei Borzenkov <arvidjaar>
Group 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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-04-28 arvidjaar StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code