Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 848957 - app-editors/vile-9.8u-r1 - /.../sv_inline.h: error: regexp_aligned undeclared here (not in a function)
Summary: app-editors/vile-9.8u-r1 - /.../sv_inline.h: error: regexp_aligned undeclared...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard: fixed in stable
Keywords:
: 884745 (view as bug list)
Depends on:
Blocks: perl-5.36
  Show dependency tree
 
Reported: 2022-06-01 08:22 UTC by Toralf Förster
Modified: 2022-12-10 22:51 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.03 KB, text/plain)
2022-06-01 08:22 UTC, Toralf Förster
Details
app-editors:vile-9.8u-r1:20220601-010036.log (app-editors:vile-9.8u-r1:20220601-010036.log,110.20 KB, text/plain)
2022-06-01 08:22 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,52.27 KB, text/plain)
2022-06-01 08:22 UTC, Toralf Förster
Details
environment (environment,22.92 KB, text/plain)
2022-06-01 08:22 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,30.54 KB, application/x-bzip)
2022-06-01 08:22 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,15.46 KB, application/x-bzip)
2022-06-01 08:22 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,13.79 KB, application/x-bzip)
2022-06-01 08:22 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-06-01 08:22:31 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -c -I. -I. -DHAVE_CONFIG_H   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/5.36/x86_64-linux/CORE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DPROGRAM_NAME=\"vile\" -DVILE_ICON=\"icons/\" -DVILE_LIBDIR_PATH=\"/usr/lib64/vile\" -DVILE_STARTUP_PATH=\"/usr/share/vile\
x86_64-pc-linux-gnu-gcc -c -I. -I. -DHAVE_CONFIG_H   -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/5.36/x86_64-linux/CORE -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 -DPROGRAM_NAME=\"vile\" -DVILE_ICON=\"icons/\" -DVILE_LIBDIR_PATH=\"/usr/lib64/vile\" -DVILE_STARTUP_PATH=\"/usr/share/vile\
In file included from /usr/lib64/perl5/5.36/x86_64-linux/CORE/perl.h:7245,
                 from ./perl.xs:121:
/usr/lib64/perl5/5.36/x86_64-linux/CORE/sv_inline.h:241:32: error: regexp_aligned’ undeclared here (not in a function); did you mean regexp_engine’?
  241 |     { sizeof(ALIGNED_TYPE_NAME(regexp)),
      |                                ^~~~~~

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1-j4-20220531-143236

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-12.1.1 *
clang/llvm (if any):
clang version 14.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/14/bin
/usr/lib/llvm/14
14.0.4
Python 3.9.13
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.3_p7 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.332_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.10.4
php cli:

  HEAD of ::gentoo
commit af9fe22c0768b92729a86a36c93e90a7e5edba45
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Wed Jun 1 00:27:53 2022 +0000

    2022-06-01 00:27:52 UTC

emerge -qpvO app-editors/vile
[ebuild  N    ] app-editors/vile-9.8u-r1  USE="iconv perl"
Comment 1 Toralf Förster gentoo-dev 2022-06-01 08:22:32 UTC
Created attachment 781844 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-06-01 08:22:34 UTC
Created attachment 781847 [details]
app-editors:vile-9.8u-r1:20220601-010036.log
Comment 3 Toralf Förster gentoo-dev 2022-06-01 08:22:35 UTC
Created attachment 781850 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-06-01 08:22:36 UTC
Created attachment 781853 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-06-01 08:22:37 UTC
Created attachment 781856 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-06-01 08:22:38 UTC
Created attachment 781859 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-06-01 08:22:39 UTC
Created attachment 781862 [details]
temp.tar.bz2
Comment 8 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-01 10:01:13 UTC
This might be Perl 5.36 breakage.
Comment 9 Larry the Git Cow gentoo-dev 2022-06-02 02:36:36 UTC
The bug has been referenced in the following commit(s):

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

commit b8d397054046a97dc868c05637b254956b4279cc
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-02 02:34:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-02 02:36:30 +0000

    app-editors/vile: add missing := dep on perl
    
    Bug: https://bugs.gentoo.org/848957
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/vile/{vile-9.8t-r1.ebuild => vile-9.8t-r2.ebuild} | 4 ++--
 app-editors/vile/{vile-9.8u-r1.ebuild => vile-9.8u-r2.ebuild} | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

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

commit 5de2358d964744de178f63b8ba20b7de26607dc2
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-02 02:34:12 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-02 02:36:29 +0000

    app-editors/xvile: add missing := dep on perl
    
    Bug: https://bugs.gentoo.org/848957
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/xvile/{xvile-9.8t-r1.ebuild => xvile-9.8t-r2.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

commit b7fbfa4de9822401e1d61a4e2f000b3a3c850416
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-02 02:33:51 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-02 02:36:29 +0000

    app-editors/xvile: add 9.8v
    
    still fails w/ Perl 5.36
    
    Bug: https://bugs.gentoo.org/848957
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/xvile/Manifest          |  1 +
 app-editors/xvile/xvile-9.8v.ebuild | 48 +++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

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

commit fec19ee9b1f728502c2c78be492f8787d24a95ea
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-06-02 02:30:42 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-06-02 02:36:29 +0000

    app-editors/vile: add 9.8v
    
    Still fails w/ Perl 5.36.
    
    Bug: https://bugs.gentoo.org/848957
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/vile/Manifest         |  1 +
 app-editors/vile/vile-9.8v.ebuild | 51 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-06-05 04:55:13 UTC
CCing Thomas Dickey.
Comment 11 Thomas Dickey 2022-06-05 15:44:29 UTC
vile has a typedef for a "regexp" structure which might be the problem.
There's a workaround in perl.xs which may need tuning (perhaps having
a #define for "regexp" is confusing perl's headers).

/* for perl */
#define main perl_main
#define regexp perl_regexp
#include <EXTERN.h>
#include <perl.h>
#include <XSUB.h>
#undef main
#undef regexp
#undef dofile

(none of my machines have perl 5.36, which I see is a week old)
Comment 12 Thomas Dickey 2022-06-05 15:48:25 UTC
For instance, rather than #define "regexp" around the includes for the perl headers, it might work to #define regexp to "vl_regexp" around the includes for vile's headers (in the preceding chunk).  I don't see any direct usage of "regexp" in perl.xs, so unless there's some nested usage, that could work.
Comment 13 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-24 00:47:08 UTC
Thank you. I've been distracted by other bits and see it's fixed upstream now. Cheers!
Comment 14 Larry the Git Cow gentoo-dev 2022-08-24 00:48:03 UTC
The bug has been closed via the following commit(s):

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

commit 7de3b1f1dd4d3809c68f4d93576cca7e2b60829a
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2022-08-24 00:45:37 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-08-24 00:45:37 +0000

    app-editors/vile: add 9.8w
    
    Closes: https://bugs.gentoo.org/848957
    Signed-off-by: Sam James <sam@gentoo.org>

 app-editors/vile/Manifest         |  1 +
 app-editors/vile/vile-9.8w.ebuild | 51 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 52 insertions(+)
Comment 15 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-12-07 19:40:17 UTC
*** Bug 884745 has been marked as a duplicate of this bug. ***