Overview

Request 507762 accepted

- Explicitly require m4 and library devel package
- Do not ship static library

- flex 2.6.4:
* Some minor performance enhancements
* honor user defined yy_* macros again
- includes changes from 2.6.3:
* several bug fixes resolved problems introduced in recent flex
versions regarding processing of comments, literals and various
quoting scenarios.
* fix buffer overflow through long path (bsc#1026047)
- includes changes from 2.6.2:
* a segfalt involving yyrestart(NULL) has been fixed
* flex should now handle quoting when mixed with m4 processing
correctly
* flex handles `[[' and `]]' correctly
* flex no longer generates non-ANSI code
* more compilation warnings were squashed in generated scanners
* prevented a buffer overflow that could occur when input buffers
were the exact wrong size
- drop flex-2.6.1-fPIC.patch
- build the shared library and split libfl

Loading...

Dominique Leuenberger's avatar

Grub2's build failure feels like related to this submission:

[  108s] grub_script.yy.c: In function 'yy_fatal_error':
[  108s] grub_script.yy.c:18:22: error: statement with no effect [-Werror=unused-value]
[  108s]  

Dominique Leuenberger's avatar

CC @michael-chang @arvidjaar (grub2 maintainers)

This update of flex breaks grub2


Dominique Leuenberger's avatar

grub2 maintainer is on FTO this week


Andrei Borzenkov's avatar

Yes, see https://github.com/westes/flex/issues/162. It should be fixed in current flex master, but did not check which commit exactly (I tested master). It is probably https://github.com/westes/flex/commit/f5d87f1a26f4a5c3402497008ae10e9a1345d327


Martin Pluskal's avatar

This is already part of 2.6.4


Andrei Borzenkov's avatar

Yes, sorry. It is due to https://github.com/westes/flex/commit/a58086a269d3d7367530c1a178644a8e5f1a374f and the fact that grub2 does #define fprintf(...) 0. I'll submit fix for grub2; do we need but report for this?



Dominique Leuenberger's avatar

Unignored: returned to active backlog.


Martin Pluskal's avatar

There is conflict with flex-old (which does not seems to be needed by anything) - see sr#507155


Dominique Leuenberger's avatar

Responsible for the build fail https://build.opensuse.org/package/live_build_log/openSUSE:Factory:Staging:C/libsepol/standard/x86_64

[   31s] flex -t ../cil/src/cil_lexer.l > ../cil/src/cil_lexer.c
[   31s] flex: fatal internal error, exec of /usr/bin/m4 failed
[   31s] make[1]: *** [Makefile:57: ../cil/src/cil_lexer.c] Error 1

(specifically the removal of 'Requires: m4'


Dominique Leuenberger's avatar

The removal of m4 dependency causes issues - needs revalidation

Request History
Martin Pluskal's avatar

pluskalm created request

- Explicitly require m4 and library devel package
- Do not ship static library

- flex 2.6.4:
* Some minor performance enhancements
* honor user defined yy_* macros again
- includes changes from 2.6.3:
* several bug fixes resolved problems introduced in recent flex
versions regarding processing of comments, literals and various
quoting scenarios.
* fix buffer overflow through long path (bsc#1026047)
- includes changes from 2.6.2:
* a segfalt involving yyrestart(NULL) has been fixed
* flex should now handle quoting when mixed with m4 processing
correctly
* flex handles `[[' and `]]' correctly
* flex no longer generates non-ANSI code
* more compilation warnings were squashed in generated scanners
* prevented a buffer overflow that could occur when input buffers
were the exact wrong size
- drop flex-2.6.1-fPIC.patch
- build the shared library and split libfl


Factory Auto's avatar

factory-auto added opensuse-review-team as a reviewer

Please review sources


Factory Auto's avatar

factory-auto added factory-repo-checker as a reviewer

Please review build success


Factory Auto's avatar

factory-auto accepted review

Check script succeeded


Staging Bot's avatar

staging-bot set openSUSE:Factory:Staging:C as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:C"


Staging Bot's avatar

staging-bot accepted review

Picked openSUSE:Factory:Staging:C


Factory Repo Checker's avatar

factory-repo-checker reopened review

Execution plan: devel:tools:compiler/openSUSE_Factory
found conflict of flex-old-2.5.4a-155.11.x86_64 with libfl-devel-2.6.4-142.1.x86_64:
- /usr/include/FlexLexer.h


Factory Repo Checker's avatar

factory-repo-checker reopened review

found conflict of flex-old-2.5.4a-155.11.x86_64 with libfl-devel-2.6.4-143.1.x86_64:
- /usr/include/FlexLexer.h


Dominique Leuenberger's avatar

dimstar_suse accepted review

Removing from openSUSE:Factory:Staging:C, re-evaluation needed


Dominique Leuenberger's avatar

dimstar_suse added factory-staging as a reviewer

Requesting new staging review


Factory Repo Checker's avatar

factory-repo-checker accepted review

Builds for repo devel:tools:compiler/openSUSE_Factory


mrdocs's avatar

mrdocs accepted review

https://build.opensuse.org/request/show/508197 is accepted


Dominique Leuenberger's avatar

dimstar_suse set openSUSE:Factory:Staging:B as a staging project

Being evaluated by staging project "openSUSE:Factory:Staging:B"


Dominique Leuenberger's avatar

dimstar_suse accepted review

Picked openSUSE:Factory:Staging:B


Dominique Leuenberger's avatar

dimstar_suse changed priority to moderate => important

raising priority for openSUSE:Factory:Staging:B


Saul Goodman's avatar

licensedigger accepted review

ok


Dominique Leuenberger's avatar

dimstar_suse accepted review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse approved review

ready to accept


Dominique Leuenberger's avatar

dimstar_suse accepted request

Accept to openSUSE:Factory

openSUSE Build Service is sponsored by