Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Removal of CompositionExclusions.txt makes Unicode::Normalize not installable from CPAN #11272

Closed
p5pRT opened this issue Apr 21, 2011 · 4 comments

Comments

@p5pRT
Copy link

p5pRT commented Apr 21, 2011

Migrated from rt.perl.org#89036 (status was 'resolved')

Searchable as RT89036$

@p5pRT
Copy link
Author

p5pRT commented Apr 21, 2011

From @kentfredric

Created by @kentfredric

Unicode​::Normalize requires lib/unicore/CompositionExclusions.txt
installed in order to build itself from CPAN sources.

Removal of this file in the installation of 5.14.0 makes it broken.

Given that the solution of solving this without simply reincluding
that file in Perl releases, would entail
Unicode​::Normalize needing to itself ship a copy of this file for each
Perl version that ever was, it seems the lesser
evil to ask that this file is simply re-incorporated into Perl
installations, given that its size is a mere 8K.

Here is a transcript with dg on #p5p if this helps​:

21​:16​:31 < kentnl> is lib/unicore/CompositionExclusions.txt installed
for everyone with 5.14 like it was for <= 5.12.3 ? I can't seem to see
CPANTesters fail that reflect it being missing during
  installation of Unicode-Normalize from CPAN so I'm
assuming its Just Me who doesn't have it and its not By Design.
21​:50​:07 <@​dg> kentnl​: r.e. CompositionExclusions.txt being installed,
it shouldn't be installed now, but the version of Unicode​::Normalize
in the core has the contents embedded
21​:50​:25 <@​dg> but this does mean installing from cpan probably doesn't work...
21​:50​:35 < kentnl> dg​: right, thanks. Yeah, the CPAN one doesn't work :/
21​:51​:27 < kentnl> so I assume likely solution wil be the CPAN one
also embedding it?
21​:52​:50 <@​dg> that's a bit of a can of worms, it might need to embed
the file from all the different unicode versions different versions of
perl support
21​:53​:16 <@​dg> don't really know enough about that stuff though
21​:53​:37 * kentnl wonders why its removed from the installation, but
a few of the other .txt files in that directory are not
21​:54​:19 <@​dg> the idea is the files that are removed aren't needed,
so can be removed to save space
21​:56​:24 <@​dg> but maybe CompositionExclusions.txt should be kept, it's only 8K
21​:56​:53 <@​dg> feel like sending a bug report? :)
21​:57​:05 < kentnl> sure thing. =)

Apologies if my choice of category is misplaced.

Also, apologies if this email doesn't parse correctly by anything
automated, the perlbug cli tool didn't want to work for me ( no local
mail setup ) so I resorted to sending from GMail.

Perl Info

Flags:
    category=core
    severity=low

Site configuration information for perl 5.14.0:

Configured by Gentoo at Thu Apr 21 12:21:18 NZST 2011.

Summary of my perl5 (revision 5 version 14 subversion 0) configuration:

  Platform:
    osname=linux, osvers=2.6.38-gentoo, archname=x86_64-linux-thread-multi
    uname='linux ember 2.6.38-gentoo #1 smp wed mar 16 18:07:46 nzdt
2011 x86_64 intel(r) core(tm)2 duo cpu t9300 @ 2.50ghz genuineintel
gnulinux '
    config_args='-des -Duseshrplib -Darchname=x86_64-linux-thread
-Dcc=x86_64-pc-linux-gnu-gcc -Doptimize=-march=native -mtune=native
-O2 -pipe --param l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2
-msse3 -mssse3 -msse4.1 -msahf -pg -Dldflags=-Wl,-O1g -Wl,-z,combreloc
-Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=both -Dprefix=/usr
-Dsiteprefix=/usr -Dvendorprefix=/usr -Dscriptdir=/usr/bin
-Dprivlib=/usr/lib64/perl5/5.14
-Darchlib=/usr/lib64/perl5/5.14/x86_64-linux-thread-multi
-Dsitelib=/usr/local/lib64/perl5/5.14
-Dsitearch=/usr/local/lib64/perl5/5.14/x86_64-linux-thread-multi
-Dvendorlib=/usr/lib64/perl5/vendor_perl/5.14
-Dvendorarch=/usr/lib64/perl5/vendor_perl/5.14/x86_64-linux-thread-multi
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3
-Dsiteman1dir=/usr/share/man/man1 -Dsiteman3dir=/usr/share/man/man3
-Dvendorman1dir=/usr/share/man/man1
-Dvendorman3dir=/usr/share/man/man3 -Dman1ext=1 -Dman3ext=3pm
-Dlibperl=libperl.so.5.14.0 -Dlocincpth=  -Duselargefiles
-Dd_semctl_semun -Dcf_by=Gentoo -Dmyhostname=localhost
-Dperladmin=root@localhost -Dinstallusrbinperl=n -Ud_csh -Uusenm
-Di_ndbm -Di_gdbm -Di_db -Dusethreads -DDEBUGGING=none
-Dlibpth=/usr/local/lib64 /lib64 /usr/lib64'
    hint=recommended, useposix=true, d_sigaction=define
    useithreads=define, usemultiplicity=define
    useperlio=define, d_sfio=undef, uselargefiles=define, usesocks=undef
    use64bitint=define, use64bitall=define, uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='x86_64-pc-linux-gnu-gcc', ccflags ='-D_REENTRANT -D_GNU_SOURCE
-fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64',
    optimize='-march=native -mtune=native -O2 -pipe --param
l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2 -msse3 -mssse3
-msse4.1 -msahf -pg',
    cppflags='-D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe'
    ccversion='', gccversion='4.5.2', gccosandvers=''
    intsize=4, longsize=8, ptrsize=8, doublesize=8, byteorder=12345678
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='x86_64-pc-linux-gnu-gcc', ldflags ='-Wl,-O1g -Wl,-z,combreloc
-Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=both'
    libpth=/usr/local/lib64 /lib64 /usr/lib64
    libs=-lnsl -lndbm -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthread
-lc -lgdbm_compat
    perllibs=-lnsl -ldl -lm -lcrypt -lutil -lpthread -lc
    libc=/lib/libc-2.13.so, so=so, useshrplib=true, libperl=libperl.so.5.14.0
    gnulibc_version='2.13'
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-Wl,-E'
    cccdlflags='-fPIC', lddlflags='-shared -march=native -mtune=native
-O2 -pipe --param l2-cache-size=3040 -mfpmath=sse -mmmx -msse -msse2
-msse3 -mssse3 -msse4.1 -msahf -pg -Wl,-O1g -Wl,-z,combreloc
-Wl,--sort-common -Wl,--as-needed -Wl,--hash-style=both'

Locally applied patches:
    RC1
    0001-gentoo_MakeMaker-RUNPATH.diff
    0002-gentoo_MakeMaker-delete_packlist.diff
    0003-gentoo_config_over.diff
    0004-gentoo_cpan_definstalldirs.diff
    0005-gentoo_cpanplus_definstalldirs.diff
    0006-gentoo_create-libperl-soname.diff
    0007-gentoo_drop-fstack-protector.diff
    0008-gentoo_enc2xs.diff
    0009-gentoo_mod-paths.diff


@INC for perl 5.14.0:
    /home/kent/.perl/lib/perl5/x86_64-linux-thread-multi
    /home/kent/.perl/lib/perl5
    /home/kent/.perl/lib/perl5/x86_64-linux
    /etc/perl
    /usr/local/lib64/perl5/5.14/x86_64-linux-thread-multi
    /usr/local/lib64/perl5/5.14
    /usr/lib64/perl5/vendor_perl/5.14/x86_64-linux-thread-multi
    /usr/lib64/perl5/vendor_perl/5.14
    /usr/lib64/perl5/5.14/x86_64-linux-thread-multi
    /usr/lib64/perl5/5.14
    .


Environment for perl 5.14.0:
    HOME=/home/kent
    LANG=en_NZ.utf8
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/home/kent/perl5/perlbrew/bin:/home/kent/perl5/perlbrew/perls/current/bin:/home/kent/.perl/bin:~/bin/:/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.5.2:/usr/lib64/subversion/bin:/usr/games/bin
    PERL5LIB=/home/kent/.perl/lib/perl5:/home/kent/.perl/lib/perl5/x86_64-linux:
    PERL5LIB_O=
    PERL_BADLANG (unset)
    PERL_MM_OPT=INSTALL_BASE=/home/kent/.perl
    PERL_MM_OPT_O=
    SHELL=/bin/bash

@p5pRT
Copy link
Author

p5pRT commented Jun 21, 2011

From @kentfredric

Just to update this bug, its priority is now effectively zilch, as,
despite our pessimism, Unicode​::Normalize on CPAN has been reworked to
make this file no longer necessary as of 1.11

http​://cpansearch.perl.org/src/SADAHIRO/Unicode-Normalize-1.12-withoutworldwriteables/Changes

Thanks.

@p5pRT
Copy link
Author

p5pRT commented Jun 21, 2011

The RT System itself - Status changed from 'new' to 'open'

@p5pRT
Copy link
Author

p5pRT commented Jun 21, 2011

@cpansprout - Status changed from 'open' to 'resolved'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant