Your message dated Sun, 10 Jul 2005 15:46:48 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#317685: flex-2.5.31 fails to compile modutils (yytext_ptr
undeclared)
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Jul 2005 17:17:15 +0000
>From [EMAIL PROTECTED] Sun Jul 10 10:17:15 2005
Return-path: <[EMAIL PROTECTED]>
Received: from smtp.gentoo.org [134.68.220.30]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DrfQZ-0001lA-00; Sun, 10 Jul 2005 10:17:15 -0700
Received: from localhost ([127.0.0.1] helo=home.wh0rd.org)
by smtp.gentoo.org with esmtp (Exim 4.43)
id 1DrfQ2-00014g-4W
for [EMAIL PROTECTED]; Sun, 10 Jul 2005 17:16:43 +0000
Received: (qmail 13292 invoked from network); 10 Jul 2005 13:16:09 -0400
Received: from unknown (HELO ?192.168.0.2?) (192.168.0.2)
by 192.168.0.1 with SMTP; 10 Jul 2005 13:16:09 -0400
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Mike Frysinger <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: flex-2.5.31 fails to compile modutils (yytext_ptr undeclared)
X-Mailer: reportbug 3.15
Date: Sun, 10 Jul 2005 13:17:31 -0400
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-8.0 required=4.0 tests=BAYES_00,HAS_PACKAGE
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Package: flex
Version: 2.5.31-31
Severity: important
Justification: fails to build from source
Attempts to build module-utils-2.4.27 fail:
gcc -O2 -Wall -Wno-uninitialized -I. -I. -I./../include -D_GNU_SOURCE
-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\"
-DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DCONFIG_ROOT_CHECK_OFF=0
-c -o lex.o lex.c
lex.l: In function `yylex':
lex.l:429: error: `yytext_ptr' undeclared (first use in this function)
lex.l:429: error: (Each undeclared identifier is reported only once
lex.l:429: error: for each function it appears in.)
make[1]: *** [lex.o] Error 1
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11.12-grsec
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Versions of packages flex depends on:
ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an
ii m4 1.4.3-1 a macro processing language
Versions of packages flex recommends:
ii gcc [c-compiler] 4:3.3.5-3 The GNU C compiler
ii gcc-3.3 [c-compiler] 1:3.3.5-12 The GNU C compiler
ii gcc-3.4 [c-compiler] 3.4.3-12 The GNU C compiler
-- debconf information excluded
---------------------------------------
Received: (at 317685-done) by bugs.debian.org; 10 Jul 2005 20:50:51 +0000
>From [EMAIL PROTECTED] Sun Jul 10 13:50:51 2005
Return-path: <[EMAIL PROTECTED]>
Received: from host-12-107-230-171.dtccom.net
(glaurung.internal.golden-gryphon.com) [12.107.230.171]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DrilH-00083N-00; Sun, 10 Jul 2005 13:50:51 -0700
Received: from glaurung.internal.golden-gryphon.com ([EMAIL PROTECTED]
[127.0.0.1])
by glaurung.internal.golden-gryphon.com (8.13.4/8.13.4/Debian-3) with
ESMTP id j6AKkm6e002418
(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT);
Sun, 10 Jul 2005 15:46:48 -0500
Received: (from [EMAIL PROTECTED])
by glaurung.internal.golden-gryphon.com (8.13.4/8.13.4/Submit) id
j6AKkm0r002417;
Sun, 10 Jul 2005 15:46:48 -0500
X-Authentication-Warning: glaurung.internal.golden-gryphon.com: srivasta set
sender to srivasta(va, manoj)@debian.org using -f
From: Manoj Srivastava <[EMAIL PROTECTED] (va, manoj)>
To: Mike Frysinger <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Bug#317685: flex-2.5.31 fails to compile modutils (yytext_ptr
undeclared)
Organization: The Debian Project
References: <[EMAIL PROTECTED]>
User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)
(i686-pc-linux-gnu)
Face: iVBORw0KGgoAAAANSUhEUgAAACYAAAAwCAMAAABKbPgaAAAAM1BMVEUAAADIjH/0rp1KPz79
0b+ic2nlpJc2Ly2AY17VlYb4uqi2gHQXFBN2WVXgno5iT02Xa2Nx+jaIAAACVElEQVQ4jeWU23bj
IAxFLUAggQX6/6+dI9LGTpo+9mlYiXNhc3TnOP50naZE0tqvgEk+soutnNfQ8yPTWMTENhNrjI+Y
+N7POVt8tAzpn2vJlsmttbyfrdkP7hx5iezteGzsbOts7xT+tC1mcG+LtRP2X/16bEQExuyx1uZW
vscrAWUT8aE0aDBeBuw8nS5u4WgWyDCllOZUBeyWgbWbGrBsTDpTx0qpphlcYPcgJLvBXFClPMg5
6WH2JidLIAaDF5aAed7uPTH4bjw0bZvfajp2tHc1F+cBm+Vr9YomGSwNhbmcczYEWUu5MBpYvCLV
F+ZIKwQfYB+CBXnIRQFvIRhK6l96PemsFLEPFxi+MPxiTYH0Ave1InPsIYes3NJb42ytBSmmysyj
lIQYHJm6Im1WbQ0kWMesKFRFPKTDzJ3GhWUn2KWKEkWlKthoACLm2eWJQQh2qKbAUgQxa+8TVjn1
aySm8656ookCfCc5TRzvnZ6YOu3NpHg+uR5YuRkNF/b5IHq5Y7Ve6c2+sR4hqIZ3+5DCt3ukh8Eo
vFIXVJxqfMdbkd/BF3YaQkB/2RIUHPMS7RLVAHefrYzWZVQ/ei4peBsROFLi90ltQyvF5I05t4Zs
L4C9DODJ2AZCUf8UitGjCIdfx15QQkfZibTOGT3edxns5fY6F2rstKcTwiiaJnQwvYkdzTlaTqNH
IkSmGdLrON45tGsMNDoSYr4bxH5emHEFaoFjKBahHXFXfLx9cR9p6ejJXihuxPz57gWHZkWovbPl
9gsU8eImtBi++3D+f+sfT/Mg79fyEz8AAAAASUVORK5CYII=
X-URL: http://www.debian.org/%7Esrivasta/
Mail-Copies-To: nobody
X-Hashcash: 1:25:050710:[EMAIL
PROTECTED]::DjxdahcypST3Sp9A:000000000000000000000000000000000000000FYrx
X-Hashcash: 1:25:050710:[EMAIL
PROTECTED]::OpYHae2al+saiS1N:00000000000000000000000000000000000000000000w5id
X-Face: [EMAIL PROTECTED]/;Y^gTjR\T^"B'fbeuVGiyKrvbfKJl!^e|e:iu(kJ6c|QYB57LP*|t
&YlP~HF/=h:[EMAIL PROTECTED]:6Cj0kd#4]>*D,|0djf'CVlXkI,>aV4\}?d_KEqsN{Nnt7
78"OsbQ["56/!nisvyB/uA5Q.{)gm6?q.j71ww.>b9b]-sG8zNt%KkIa>xWg&1VcjZk[hBQ>]j~`Wq
Xl,y1a!(>6`UM{~'X[Y_,Bv+}=L\SS*mA8=s;!=O`ja|@PEzb&i0}Qp,`Z\:6:OmRi*
X-Hashcash: 1:25:050710:[EMAIL
PROTECTED]::4gooF5lE5QqlOcfg:0000000000000000000000000000000002FEK4
Date: Sun, 10 Jul 2005 15:46:48 -0500
In-Reply-To: <[EMAIL PROTECTED]> (Mike Frysinger's message of
"Sun, 10 Jul 2005 13:17:31 -0400")
Message-ID: <[EMAIL PROTECTED]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-CRM114-Score: -15.5655
X-CRM114-Status: Good ( pR: -15.5655 )
X-SA-Orig: -9.899, -15.5655
X-Spam-Value: -15.2081944444444
X-Grey: White
X-SA-Rep: -15.2081944444444 ALL_TRUSTED,BAYES_00,HASHCASH_25
X-Scanned-By: MIMEDefang version 2.51 (www . roaringpenguin . com / mimedefang)
on 192.168.1.10
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
Hi,
> flex undefines yytext_ptr at the end of the flex body.
This is a new feature of flex. It cleans up after it self;
there are a number of assets present in the rules section that
are not present outside it. This is helpful since flex now no longer
pollutes the user namespace as much, and helps in allowing for
multiple scanners, with potentialy different options, in the same
program.
If you are a Debian user, you can see that modutils sources
already have a patch fixing the lex file to conform.
The `flex' input file consists of three sections, separated by a
line containing only `%%'.
definitions
%%
rules
%%
user code
Flex sets up a number of things that are available in the
rules section, and now cleans it all up before polluting the user
namespace. Now, actions can be any C statement, but using functions
that in turn use flex macros is going to be a problem since declaring
the function is going to be problematic.In other words, there are
macros and stuff available only in the rules section, for use in
actions.
----------------------------------------------------------------------
In the rules section, any indented or %{ %} enclosed text appearing
before the first rule may be used to declare variables which are local
to the scanning routine and (after the declarations) code which is to be
executed whenever the scanning routine is entered. Other indented or
%{ %} text in the rule section is still copied to the output, but its
meaning is not well-defined and it may well cause compile-time errors
(this feature is present for POSIX compliance. See *Note Lex and Posix::, for
other such features).
Any _indented_ text or text enclosed in `%{' and `%}' is copied
verbatim to the output (with the %{ and %} symbols removed). The %{
and %} symbols must appear unindented on lines by themselves.
----------------------------------------------------------------------
Some of these changes were driven by the need to make flex
scanners reentrant, others by hte requirements for having multiple
scanners, perhaps with different options, in the same program.
manoj
ps.
An important potential problem when using `unput()' is that if you
are using `%pointer' (the default), a call to `unput()' _destroys_
the contents of `yytext', starting with its rightmost character and
devouring one character to the left with each call. If you need the
value of `yytext' preserved after a call to `unput()' (as in the
above example), you must either first copy it elsewhere, or build
your scanner using `%array' instead. Also, `yytext' presently does
_not_ dynamically grow if a call to `unput()' results in too much
text being pushed back; instead, a run-time error results.
This unput behaviour is not POSIX or lex compliant. Also, The
`unput()' routine is not redefinable.
--
It's not whether you win or lose, it's how you look playing the game.
Manoj Srivastava <[EMAIL PROTECTED]> <http://www.debian.org/%7Esrivasta/>
1024D/BF24424C print 4966 F272 D093 B493 410B 924B 21BA DABB BF24 424C
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]