[Bug 1464244] New: XS modules fail to build because <xlocale.h> does not exist

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1464244

            Bug ID: 1464244
           Summary: XS modules fail to build because <xlocale.h> does not
                    exist
           Product: Fedora
           Version: rawhide
         Component: perl
          Assignee: jplesnik@xxxxxxxxxx
          Reporter: tibbs@xxxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: cweyl@xxxxxxxxxxxxxxx, iarnell@xxxxxxxxx,
                    jplesnik@xxxxxxxxxx, kasal@xxxxxx,
                    perl-devel@xxxxxxxxxxxxxxxxxxxxxxx, ppisar@xxxxxxxxxx,
                    psabata@xxxxxxxxxx, rc040203@xxxxxxxxxx,
                    tcallawa@xxxxxxxxxx



A recent glibc build in rawhide has removed /usr/include/xlocale.h completely. 
But the current rawhide perl still has a config.h which includes:

#define I_XLOCALE               /**/

Which means that perl.h will do:

#ifdef I_XLOCALE
#   include <xlocale.h>
#endif

And this causes the following build failure for me, and I suspect other
arch-specific Perl modules, to fail to build:

make[2]: Entering directory '/builddir/build/BUILD/cyrus-imapd-3.0.2/perl/imap'
gcc -c  -I../.. -I../../com_err/et   -I../../perl/imap -D_REENTRANT
-D_GNU_SOURCE -O2 -g -pipe -Wall -Werror=format-security
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches
-specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -fwrapv
-fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -g   -DVERSION=\"1.00\" -DXS_VERSION=\"1.00\" -fPIC
"-I/usr/lib64/perl5/CORE"  -DPERL_POLLUTE IMAP.c
make[2]: Leaving directory '/builddir/build/BUILD/cyrus-imapd-3.0.2/perl/imap'
In file included from IMAP.xs:49:0:
/usr/lib64/perl5/CORE/perl.h:738:13: fatal error: xlocale.h: No such file or
directory
 #   include <xlocale.h>
             ^~~~~~~~~~~
compilation terminated.
make[2]: *** [Makefile:353: IMAP.o] Error 1

I would guess that Perl just needs a rebuild to stop defining I_XLOCALE but the
most recent build (release 394) did not complete due to a failing test.  And I
sure hope this doesn't change the ABI....

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
perl-devel mailing list -- perl-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to perl-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Legacy Announce]     [Fedora PHP Devel]     [Kernel Devel]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite Information]
  Powered by Linux