[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #36991] Build failure after touching gentpl.py

From: Gregoire Sutre
Subject: [bug #36991] Build failure after touching gentpl.py
Date: Sun, 29 Jul 2012 15:43:27 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.5) Gecko/20100101 Firefox/10.0.5 Iceweasel/10.0.5


                 Summary: Build failure after touching gentpl.py
                 Project: GNU GRUB
            Submitted by: gsutre
            Submitted on: Sun 29 Jul 2012 05:43:26 PM CEST
                Category: Compilation
                Severity: Minor
                Priority: 3 - Low
              Item Group: Software Error
                  Status: None
                 Privacy: Public
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: Bazaar - trunk
         Reproducibility: Every Time
         Planned Release: None



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
 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
mv -f grub-core/kern/emu/.deps-util/grub_mkimage-argp_common.Tpo
make[2]: *** No rule to make target `libgrubgcry.a', needed by `grub-mkimage'.
make[2]: Leaving directory `/tmp/grub'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/grub'
make: *** [all] Error 2


Reply to this item at:


  Message sent via/by Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]