Bug 382261
Summary: | %prep hangs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jay Turner <jturner> |
Component: | compat-gcc-32 | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | srevivo |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-07-14 15:25:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Lubomir Kundrak
2007-11-14 11:56:04 UTC
Do you have (approximately) correct date? E.g. for 1970-01-01 or anything older than when the files were modified in the tarball) certainly wouldn't surprise me. Hmm, two hours in future. That shouldn't make any harm. Just do a "make prep" in "pkgs/compat-gcc-32/devel" in "Fedora 8" and you'll be able to reproduce it. + sh -x ./contrib/gcc_update --touch + UPDATE_OPTIONS=-Pd + self=./contrib/gcc_update + '[' '!' -f gcc/version.c ']' + case "$1" in + test 1 '!=' 1 + touch_files + rm -f Makefile.24934 + echo 'all: \' + files_and_dependencies + sed -e 's/ *#.*//' -e '/^$/d' -e s/:// + sed 's, .*, \\,' + echo '; @true' + files_and_dependencies + sed -e 's/ *#.*//' -e '/^$/d' -e s/:// + sed 's, ,: ,' + files_and_dependencies + sed -e 's/ *#.*//' -e '/^$/d' -e s/:// + sed 's, .*, \\,' + echo : + echo ' @for f in $?; do test -f $$f || exit 0; done; \' + echo ' echo Touching $@...; \' + echo ' echo Touching $@... 1>&2; \' + echo ' touch $@' + files_and_dependencies + sed -e 's/ *#.*//' -e '/^$/d' -e s/:// + sed 's,[^ ]* ,,;s,$, :,' + make -f Makefile.24934 all + grep . Touching gcc/cstamp-h.in... Touching gcc/config.in... Touching gcc/ada/treeprs.ads... Touching gcc/ada/einfo.h... Touching gcc/ada/sinfo.h... Touching gcc/ada/nmake.adb... Touching gcc/ada/nmake.ads... Touching libf2c/libI77/config.h.in... Touching fastjar/stamp-h.in... Touching boehm-gc/aclocal.m4... Touching boehm-gc/Makefile.in... Touching boehm-gc/configure... Touching libjava/aclocal.m4... Touching libjava/Makefile.in... Touching libjava/configure... + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all + grep . + sleep 1 + make -f Makefile.24934 all ... Soo, it seems like if MAKELEVEL is not 0, make generates output even though no
work is to be done and thus makes gcc_update who considers only presence of
output (the "grep ." below) think that something changed (seems like our build
system defines that since some time ago):
gcc_update
> while ${MAKE-make} -f Makefile.$$ all | grep . ; do
> sleep 1
sh-3.2$ make -f Makefile.26424
make[1]: Entering directory
`/home/lkundrak/devel/fedora/pkgs/compat-gcc-32/devel/gcc-3.2.3-20040701'
make[1]: Leaving directory
`/home/lkundrak/devel/fedora/pkgs/compat-gcc-32/devel/gcc-3.2.3-20040701'
sh-3.2$ MAKELEVEL=0 make -f Makefile.26424
sh-3.2$
So, in the shortest run, prepending the gcc_update call in the SPEC file solves
the situation.
-./contrib/gcc_update --touch
+MAKELEVEL=0 ./contrib/gcc_update --touch
It might be desirable to do the change in other gcc[-compat] packgaes,
prefferably fixing the gcc_update to either set the level itself or consider the
return value instead.
gcc_update starting with gcc 4.0 uses grep Touching instead of grep . there. If/when I rebuild the compat packages, I'll change it, but this is nothing I would do an errata for. Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping This message is a reminder that Fedora 9 is nearing its end of life. Approximately 30 (thirty) days from now Fedora will stop maintaining and issuing updates for Fedora 9. It is Fedora's policy to close all bug reports from releases that are no longer maintained. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '9'. Package Maintainer: If you wish for this bug to remain open because you plan to fix it in a currently maintained version, simply change the 'version' to a later Fedora version prior to Fedora 9's end of life. Bug Reporter: Thank you for reporting this issue and we are sorry that we may not be able to fix it before Fedora 9 is end of life. If you would still like to see this bug fixed and are able to reproduce it against a later version of Fedora please change the 'version' of this bug to the applicable version. If you are unable to change the version, please add a comment here and someone will do it for you. Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events. Often a more recent Fedora release includes newer upstream software that fixes bugs or makes them obsolete. The process we are following is described here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Fedora 9 changed to end-of-life (EOL) status on 2009-07-10. Fedora 9 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora please feel free to reopen this bug against that version. Thank you for reporting this bug and we are sorry it could not be fixed. |