First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 43449
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: PHP Bugs <php-bugs@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Colin Daly <colin@ucw.com.au>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
gcc3ify-pass5.patch proposed patch to fix gcc 3.x issues patch Beu 2004-04-12 20:21 0000 7.71 KB Details | Diff
re2c-0.9.3.ebuild New ebuild for 0.9.3 fron re2c.org text/plain Jeremias Reith 2004-05-27 06:48 0000 629 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 43449 depends on: Show dependency tree
Bug 43449 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-03-02 00:44 0000
When I try to emerge php-cvs to test php5, there is a dependency on re2c which
doesn't compile on my system. The output is included in "Actual Results"

Reproducible: Always
Steps to Reproduce:
1. emerge re2c
2.
3.

Actual Results:  
colin@notebook colin $ sudo emerge re2c
Calculating dependencies ...done!
>>> emerge (1 of 1) dev-util/re2c-0.9.1 to /
>>> md5 src_uri ;-) re2c-0.9.1.tar.gz
>>> Unpacking source...
>>> Unpacking re2c-0.9.1.tar.gz to /var/tmp/portage/re2c-0.9.1/work
 * Applying 0.9.1-patch.gz...                                                  

                                                           [ ok ]>>> Source
unpacked.
g++ -o code.o -march=pentium4 -O3 -pipe -fomit-frame-pointer -c code.cc
g++ -o dfa.o -march=pentium4 -O3 -pipe -fomit-frame-pointer -c dfa.cc
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/iomanip.h:31,
                 from code.cc:4:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2
of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/iostream.h:31,
                 from substr.h:4,
                 from dfa.cc:5:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2
of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
egrep "^Version" README | sed 's/Version //' > .version
g++ -o parser.o -march=pentium4 -O3 -pipe -fomit-frame-pointer -c parser.cc
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/iostream.h:31,
                 from parser.y:4:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2
of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
g++ -o actions.o -march=pentium4 -O3 -pipe -fomit-frame-pointer -c actions.cc
In file included from
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/iostream.h:31,
                 from actions.cc:3:
/usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.3/include/g++-v3/backward/backward_warning.h:32:2:
warning: #warning This file includes at least one deprecated or antiquated
header. Please consider using one of the 32 headers found in section 17.4.1.2
of
the C++ standard. Examples include substituting the <X> header for the <X.h>
header for C++ includes, or <sstream> instead of the deprecated header
<strstream.h>. To disable this warning use -Wno-deprecated.
re2c -s scanner.re >scanner.cc
/bin/sh: line 1: re2c: command not found
make: *** [scanner.cc] Error 127
make: *** Waiting for unfinished jobs....

!!! ERROR: dev-util/re2c-0.9.1 failed.
!!! Function src_compile, Line 28, Exitcode 2
!!! (no error message)



Expected Results:  
It should have compiled and installed re2c

colin@notebook colin $ sudo emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.6.2-rc1-mm2)
=================================================================
System uname: 2.6.2-rc1-mm2 i686 Mobile Intel(R) Pentium(R) 4     CPU 3.20GHz
Gentoo Base System version 1.4.3.13
distcc 2.12.1 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632)
[disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3/share/config /usr/share/config
/var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirror.pacific.net.au/linux/Gentoo
ftp://planetmirror.com/pub/gentoo ftp://203.16.234.19/pub/gentoo/
rsync://203.16.234.19/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X acpi alsa apache2 arts avi berkdb cdr crypt cups dga dvd dvdr encode esd
foomaticdb gdbm gif gnome gpm gtk gtk2 imlib java jpeg ldap libg++ libwww mad
mikmod motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib
perl
png pnp postgres python quicktime readline sdl slang snmp spell ssl svga tcltk
tcpd truetype x86 xml xml2 xmms xv zlib"

------- Comment #1 From Tal Peer (RETIRED) 2004-03-03 10:55:09 0000 -------
Weird, as it shouldn't try to recreate the scanner.cc file.
Please post the output of 'ls /var/tmp/portage/re2c-0.9.1/work/re2c-0.9.1/'

------- Comment #2 From Colin Daly 2004-03-03 15:53:49 0000 -------
colin@notebook colin $ sudo ls /var/tmp/portage/re2c-0.9.1/work/re2c-0.9.1/
actions.cc  basics.h   CHANGELOG  code.o  dfa.h  doc	   globals.h  main.cc	NO_WARRANTY  parser.h  parser.y  README  scanner.cc  scanner.re  substr.h  

------- Comment #3 From Tal Peer (RETIRED) 2004-03-05 15:07:41 0000 -------
Interesting.
Is the clock on the machine calibrated?

and by the way, this is surely not a blocker.

------- Comment #4 From Tal Peer (RETIRED) 2004-03-15 05:51:51 0000 -------
Also, does the scanner.re file contain anything?

------- Comment #5 From Stuart Herbert (RETIRED) 2004-03-28 16:39:08 0000 -------
Acknowledging the bug.

------- Comment #6 From Stuart Herbert (RETIRED) 2004-03-29 11:35:15 0000 -------
Okay, the problem is that re2c-0.9.1 is just too old, too broken, and doesn't
work with a modern C compiler.  I've updated the re2c-0.9.1 ebuild to add the
later gcc compiler as a blocker.

There's some work going on over at re2c.org on fixing up re2c, but they haven't
made a release.  Someone needs to talk to them, and sort something out.

Best regards,
Stu

------- Comment #7 From Lisa Seelye (RETIRED) 2004-04-09 21:13:50 0000 -------
don't mind me... i'll just lurk on this bug

i feel partially responsible for unleashing re2c in bug 22110 ;)

------- Comment #8 From Beu 2004-04-12 20:21:00 0000 -------
Created an attachment (id=29179) [details]
proposed patch to fix gcc 3.x issues

------- Comment #9 From Beu 2004-04-12 20:24:30 0000 -------
Sorry..borked on the attachment..

This fixes most of the gcc 3.x issues (just need to re-order the Makefile and touch a few headers)..  I'll have a go at the rest once I've had some sleep 8)

-Elfyn

------- Comment #10 From Jeremias Reith 2004-05-27 06:48:50 0000 -------
Created an attachment (id=32143) [details]
New ebuild for 0.9.3 fron re2c.org

The new version from http://re2c.org should compile cleanly.

------- Comment #11 From Tal Peer (RETIRED) 2004-07-31 08:01:54 0000 -------
Lisa seems to have commited the 0.9.3 ebuild three weeks ago, and it seems to
compile cleanly on gcc 3.x (including 3.4.1 here).
Closing then.

First Last Prev Next    No search results available      Search page      Enter new bug