Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615246 - <dev-perl/Wx-0.993.200 broken on perl 5.26 (Unescaped left brace in regex is illegal)
Summary: <dev-perl/Wx-0.993.200 broken on perl 5.26 (Unescaped left brace in regex is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Perl team
URL: https://rt.cpan.org/Ticket/Display.ht...
Whiteboard:
Keywords:
: 647282 (view as bug list)
Depends on: 657192
Blocks: perl-5.26
  Show dependency tree
 
Reported: 2017-04-11 08:47 UTC by Kent Fredric (IRC: kent\n) (RETIRED)
Modified: 2018-06-17 04:39 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-11 08:47:58 UTC
And 0.9929 has dot-in-@INC issues.

>>> Preparing source in /var/tmp/portage/dev-perl/Wx-0.992.800/work/Wx-0.9928 ...                                                   
                                                                                                
 * Requested wxWidgets:        3.0                                                                                                       
 * Using wxWidgets:            gtk2-unicode-3.0                                                    
                                                                                                
>>> Source prepared.                                                                            
>>> Configuring source in /var/tmp/portage/dev-perl/Wx-0.992.800/work/Wx-0.9928 ...             
 * Using ExtUtils::MakeMaker                                                                    
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Wx-0.992.800/image/
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\s*\%include{ <-- HERE ([^}]+)}\s*;\s*$/ at /var/tmp/portage/dev-perl/Wx-0.992.800/work/Wx-0.9928/build/Wx/build/Utils.pm line 110.
Compilation failed in require at /var/tmp/portage/dev-perl/Wx-0.992.800/work/Wx-0.9928/build/Wx/build/MakeMaker/Core.pm line 11.
BEGIN failed--compilation aborted at /var/tmp/portage/dev-perl/Wx-0.992.800/work/Wx-0.9928/build/Wx/build/MakeMaker/Core.pm line 11.
Compilation failed in require at Makefile.PL line 21.                                                
BEGIN failed--compilation aborted at Makefile.PL line 21.                                                                                                                                  
 * ERROR: dev-perl/Wx-0.992.800::gentoo failed (configure phase):
Comment 1 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-04-30 13:10:00 UTC
Unescaped brace problem is now fixed, but that leaks through into a new problem:

UTF8_BOM C conflict.

https://rt.cpan.org/Ticket/Display.html?id=121464
Comment 2 Andreas K. Hüttel archtester gentoo-dev 2017-06-29 21:31:17 UTC
commit 8d7f7f316be4ebcbd580e0013aae89d36511ae08 (origin/master, origin/HEAD)
Author: Andreas K. Hüttel <dilfridge@gentoo.org>
Date:   Thu Jun 29 23:21:00 2017 +0200

    dev-perl/Wx: Version bump, fixes bug 615246
    
    Package-Manager: Portage-2.3.6, Repoman-2.3.2

 dev-perl/Wx/Manifest            |  1 +
 dev-perl/Wx/Wx-0.993.200.ebuild | 46 ++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 47 insertions(+)



(The BOM issue only affects building against wxWidgets 2, but we build dev-perl/Wx against 3.0 ...)
Comment 3 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-03-20 20:54:36 UTC
*** Bug 647282 has been marked as a duplicate of this bug. ***
Comment 4 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2018-03-21 00:18:59 UTC
(In reply to Andreas K. Hüttel from comment #2)
> commit 8d7f7f316be4ebcbd580e0013aae89d36511ae08 (origin/master, origin/HEAD)
> Author: Andreas K. Hüttel <dilfridge@gentoo.org>
> Date:   Thu Jun 29 23:21:00 2017 +0200
> 
>     dev-perl/Wx: Version bump, fixes bug 615246
>     
>     Package-Manager: Portage-2.3.6, Repoman-2.3.2
> 
>  dev-perl/Wx/Manifest            |  1 +
>  dev-perl/Wx/Wx-0.993.200.ebuild | 46
> ++++++++++++++++++++++++++++++++++++++++++++++
>  2 files changed, 47 insertions(+)
> 
> 
> 
> (The BOM issue only affects building against wxWidgets 2, but we build
> dev-perl/Wx against 3.0 ...)

Turns out, this is wrong.

If you install Alien-wxWidgets after eselecting wxwidgets gtk2-unicode-release-2.8, then the subseqeuent build of dev-perl/Wx builds against gtk2 wxWidgets 2.8 :(
Comment 5 Larry the Git Cow gentoo-dev 2018-03-21 00:59:08 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dae187f9846017f28fbbd0047db520cad0b4daa8

commit dae187f9846017f28fbbd0047db520cad0b4daa8
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-21 00:57:47 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-21 00:58:25 +0000

    dev-perl/Wx: Force newer Alien-wxWidgets to avoid wxgtk build issues
    
    Older EAPI6 versions of Alien-wxWidgets could build against versions
    of wxGTK that eventually lead to dev-perl/Wx failing to compile.
    
    Also avoids using deprecated API of wxwidgets.eclass
    
    Bug: https://bugs.gentoo.org/615246
    Closes: https://bugs.gentoo.org/627180
    Closes: https://bugs.gentoo.org/623042
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-perl/Wx/Wx-0.993.200-r1.ebuild | 46 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ed08a23a6851fc365b1a538789258f4649091849

commit ed08a23a6851fc365b1a538789258f4649091849
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-03-21 00:44:38 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-03-21 00:58:24 +0000

    dev-perl/Alien-wxWidgets: Fix use of wxwidgets eclass
    
    EAPI5 auto-setup the wxwidgets magic, but EAPI6 requires explicit
    invocation to function.
    
    This omission means Alien-wxWidgets would get built with whatever was
    currently selected with "eselect wxwidgets", ultimately resulting in
    compilation failure in dev-perl/Wx when the wx implementation was
    either wxGTK 2.8, or the GTK3 version of wxGTK3
    
    Bug: https://bugs.gentoo.org/623042
    Bug: https://bugs.gentoo.org/627180
    Bug: https://bugs.gentoo.org/615246
    Package-Manager: Portage-2.3.24, Repoman-2.3.6

 .../Alien-wxWidgets-0.690.0-r1.ebuild              | 37 ++++++++++++++++++++++
 1 file changed, 37 insertions(+)}
Comment 6 Larry the Git Cow gentoo-dev 2018-06-17 04:35:54 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86785076b7000bb35938be80ccb0aa05fe14901f

commit 86785076b7000bb35938be80ccb0aa05fe14901f
Author:     Kent Fredric <kentnl@gentoo.org>
AuthorDate: 2018-06-17 04:33:57 +0000
Commit:     Kent Fredric <kentnl@gentoo.org>
CommitDate: 2018-06-17 04:35:42 +0000

    dev-perl/Wx: Cleanup old re bug #615246
    
    Closes: https://bugs.gentoo.org/615246
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-perl/Wx/Manifest            |  1 -
 dev-perl/Wx/Wx-0.992.800.ebuild | 46 -----------------------------------------
 dev-perl/Wx/Wx-0.993.200.ebuild | 46 -----------------------------------------
 3 files changed, 93 deletions(-)