Skip to content

Rebuild perl #15

Merged
merged 7 commits into from
Feb 26, 2018
Merged

Rebuild perl #15

merged 7 commits into from
Feb 26, 2018

Conversation

donald
Copy link
Contributor

@donald donald commented Feb 25, 2018

Rebuild perl to fix a problem with the new glibc. See ccef814.

This includes perl-5.26.1-3 and perl-5.26.1-4. perl-5.26.1-3 already existed for some time but was not pushed upstream.

Changes:
    6c6
    < BUILD=2
    ---
    > BUILD=3
    186a187,190
    >
    > cpan Test::File::ShareDir::Dist # required by DateTime::Locale
    > cpan DateTime::Locale           # required by DateTime
    >
    362a367
    > cpan Statistics::Distributions
Rebuild for new glibc to avoid errors during xs compilation [1]

    cc -c  -I"/home/buczek/x86" -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -D_FORTIFY_SOURCE=2 -O2   -DVERSION=\"0.00\" -DXS_VERSION=\"0.00\" -fPIC "-I/pkg/perl-5.26.1-3/lib/5.26.1/x86_64-linux/CORE"   cpuid_pl_e48a.c
    In file included from cpuid_pl_e48a.xs:2:0:
    /pkg/perl-5.26.1-3/lib/5.26.1/x86_64-linux/CORE/perl.h:738:13: fatal error: xlocale.h: No such file or directory
     #   include <xlocale.h>
                 ^~~~~~~~~~~
    compilation terminated.
    Makefile:330: recipe for target 'cpuid_pl_e48a.o' failed

created with

    cp perl-5.26.1-3.build.sh perl-5.26.1-4.build.sh

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1464244
Its annoying if we fail after 30 minutes because we don't have an X11
display for Tk. Add code to fail early.
Put the DEBUG at the end so that we can uncomment and still have the
DEBUG to search for.
Automatic build of Test::utf8 fails, because "." is no longer in the
PERL5LIB during build. Build it explicitly.
Currently sourceforge seems to have a problem. If so, use existing copy
of source archive.
@thomas thomas merged commit 8e02035 into master Feb 26, 2018
@donald donald deleted the rebuild-perl branch February 26, 2018 07:51
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants