Bug 21350 - [4.0/4.1 Regression] release now requires bision
Summary: [4.0/4.1 Regression] release now requires bision
Status: RESOLVED WORKSFORME
Alias: None
Product: gcc
Classification: Unclassified
Component: other (show other bugs)
Version: 4.0.0
: P2 minor
Target Milestone: 4.0.2
Assignee: Not yet assigned to anyone
URL:
Keywords: build
Depends on:
Blocks: 22396
  Show dependency treegraph
 
Reported: 2005-05-03 02:28 UTC by Peter Pirkelbauer
Modified: 2005-08-22 03:27 UTC (History)
4 users (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed: 2005-05-03 15:27:00


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pirkelbauer 2005-05-03 02:28:50 UTC
when bison is not installed, configure reports only a warning, instead of an error.

Consequently, the following make-command fails.
Comment 1 Peter Pirkelbauer 2005-05-03 02:33:31 UTC
automake 1.9
autoconf 2.59a
Comment 2 Andrew Pinski 2005-05-03 14:45:25 UTC
Are you building from the source tarball or from CVS?
If from the source tarball, you don't need bison which is why it is just a warning.
Otherwise this is a bug in the release process if bison is now required (and a regression).
What is the current error you are getting building GCC?
Comment 3 Gabriel Dos Reis 2005-05-03 15:24:03 UTC
Subject: Re:  configure reports only a warning when bison is not installed

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Are you building from the source tarball or from CVS?
| If from the source tarball, you don't need bison which is why it is just a warning.
| Otherwise this is a bug in the release process if bison is now required (and a regression).
| What is the current error you are getting building GCC?

The problem as I was able to reproduce on Peter's machine yesterday is
the following: gcc-core from release repository does not seem to
contain w pregenerated c-parse.c.  At build time, the build machiery
attempts to generate it from c-parse.in and was looking for bison
which Peter did not have. For some reasons the build did not stop for
clear and unambiguous reason, (and even sooner aat configure time).  

If we now require bison for gcc-core, then we should check that at
configure time and abort.

-- Gaby
Comment 4 Andrew Pinski 2005-05-03 15:26:59 UTC
Ok, we don't require bison at least before, sounds like the release package is messed up.
Comment 5 Gabriel Dos Reis 2005-05-03 15:43:26 UTC
Subject: Re:  [4.0/4.1 Regression] build now requires bision

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

|            What    |Removed                     |Added
| ----------------------------------------------------------------------------
|                  CC|gdr at cs dot tamu dot edu  |gdr at gcc dot gnu dot org

Thanks!

:-)

-- Gaby
Comment 6 Andrew Pinski 2005-06-27 05:11:39 UTC
CCing the release manager.
Comment 7 Mark Mitchell 2005-06-27 23:47:20 UTC
I don't understand this PR.

Here is evidence that c-parse.c is in fact included:

$ tar tjf gcc-core-4.0.1-20050616.tar.bz2 | grep c-parse
gcc-4.0.1-20050616/gcc/c-parse.in
gcc-4.0.1-20050616/gcc/c-parse.y
gcc-4.0.1-20050616/gcc/c-parse.c

Andrew, are you sure that c-parse.c is not present?
Comment 8 Mark Mitchell 2005-08-22 03:27:17 UTC
There's nothing that suggests that we can reproduce this bug, so I've closed it.