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

Not OK: perl v5.8.7 on darwin-2level 8.1.0 (UNINSTALLED) #7940

Closed
p5pRT opened this issue Jun 1, 2005 · 10 comments
Closed

Not OK: perl v5.8.7 on darwin-2level 8.1.0 (UNINSTALLED) #7940

p5pRT opened this issue Jun 1, 2005 · 10 comments

Comments

@p5pRT
Copy link

p5pRT commented Jun 1, 2005

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

Searchable as RT36061$

@p5pRT
Copy link
Author

p5pRT commented Jun 1, 2005

From schinder@pobox.com

A locale problem​:

../lib/locale...............................# The following locales
#
# C C POSIX POSIX af_ZA af_ZA.ISO8859-1 af_ZA.ISO8859-15
# af_ZA.UTF-8 am_ET am_ET.UTF-8 be_BY be_BY.CP1131 be_BY.CP1251
# be_BY.ISO8859-5 be_BY.UTF-8 bg_BG bg_BG.CP1251 bg_BG.UTF-8
# ca_ES ca_ES.ISO8859-1 ca_ES.ISO8859-15 ca_ES.UTF-8 cs_CZ
# cs_CZ.ISO8859-2 cs_CZ.UTF-8 da_DK da_DK.ISO8859-1 da_DK.ISO8859-15
# da_DK.UTF-8 de_AT de_AT.ISO8859-1 de_AT.ISO8859-15
# de_AT.UTF-8 de_CH de_CH.ISO8859-1 de_CH.ISO8859-15
# de_CH.UTF-8 de_DE de_DE.ISO8859-1 de_DE.ISO8859-15
# de_DE.UTF-8 el_GR el_GR.ISO8859-7 el_GR.UTF-8 en_AU
# en_AU.ISO8859-1 en_AU.ISO8859-15 en_AU.US-ASCII en_AU.UTF-8
# en_CA en_CA.ISO8859-1 en_CA.ISO8859-15 en_CA.US-ASCII
# en_CA.UTF-8 en_GB en_GB.ISO8859-1 en_GB.ISO8859-15
# en_GB.US-ASCII en_GB.UTF-8 en_IE en_IE.UTF-8 en_NZ
# en_NZ.ISO8859-1 en_NZ.ISO8859-15 en_NZ.US-ASCII en_NZ.UTF-8
# en_US en_US.ISO8859-1 en_US.ISO8859-15 en_US.US-ASCII
# en_US.UTF-8 es_ES es_ES.ISO8859-1 es_ES.ISO8859-15
# es_ES.UTF-8 et_EE et_EE.ISO8859-15 et_EE.UTF-8 fi_FI
# fi_FI.ISO8859-1 fi_FI.ISO8859-15 fi_FI.UTF-8 fr_BE
# fr_BE.ISO8859-1 fr_BE.ISO8859-15 fr_BE.UTF-8 fr_CA
# fr_CA.ISO8859-1 fr_CA.ISO8859-15 fr_CA.UTF-8 fr_CH
# fr_CH.ISO8859-1 fr_CH.ISO8859-15 fr_CH.UTF-8 fr_FR
# fr_FR.ISO8859-1 fr_FR.ISO8859-15 fr_FR.UTF-8 he_IL
# he_IL.UTF-8 hi_IN.ISCII-DEV hr_HR hr_HR.ISO8859-2 hr_HR.UTF-8
# hu_HU hu_HU.ISO8859-2 hu_HU.UTF-8 hy_AM hy_AM.ARMSCII-8
# hy_AM.UTF-8 is_IS is_IS.ISO8859-1 is_IS.ISO8859-15
# is_IS.UTF-8 it_CH it_CH.ISO8859-1 it_CH.ISO8859-15
# it_CH.UTF-8 it_IT it_IT.ISO8859-1 it_IT.ISO8859-15
# it_IT.UTF-8 ja_JP ja_JP.SJIS ja_JP.UTF-8 ja_JP.eucJP kk_KZ
# kk_KZ.PT154 kk_KZ.UTF-8 ko_KR ko_KR.CP949 ko_KR.UTF-8
# ko_KR.eucKR lt_LT lt_LT.ISO8859-13 lt_LT.ISO8859-4
# lt_LT.UTF-8 nl_BE nl_BE.ISO8859-1 nl_BE.ISO8859-15
# nl_BE.UTF-8 nl_NL nl_NL.ISO8859-1 nl_NL.ISO8859-15
# nl_NL.UTF-8 no_NO no_NO.ISO8859-1 no_NO.ISO8859-15
# no_NO.UTF-8 pl_PL pl_PL.ISO8859-2 pl_PL.UTF-8 pt_BR
# pt_BR.ISO8859-1 pt_BR.UTF-8 pt_PT pt_PT.ISO8859-1 pt_PT.ISO8859-15
# pt_PT.UTF-8 ro_RO ro_RO.ISO8859-2 ro_RO.UTF-8 ru_RU
# ru_RU.CP1251 ru_RU.CP866 ru_RU.ISO8859-5 ru_RU.KOI8-R
# ru_RU.UTF-8 sk_SK sk_SK.ISO8859-2 sk_SK.UTF-8 sl_SI
# sl_SI.ISO8859-2 sl_SI.UTF-8 sr_YU sr_YU.ISO8859-2 sr_YU.ISO8859-5
# sr_YU.UTF-8 sv_SE sv_SE.ISO8859-1 sv_SE.ISO8859-15
# sv_SE.UTF-8 tr_TR tr_TR.ISO8859-9 tr_TR.UTF-8 uk_UA
# uk_UA.ISO8859-5 uk_UA.KOI8-U uk_UA.UTF-8 zh_CN zh_CN.GB18030
# zh_CN.GB2312 zh_CN.GBK zh_CN.UTF-8 zh_CN.eucCN zh_HK
# zh_HK.Big5HKSCS zh_HK.UTF-8 zh_TW zh_TW.Big5 zh_TW.UTF-8
#
# tested okay.
#
# The following locales
#
# eu_ES eu_ES.ISO8859-1 eu_ES.ISO8859-15 eu_ES.UTF-8
#
# had problems.
#
FAILED tests 99, 105-106, 108-109, 113, 115
  Failed 7/117 tests, 94.02% okay

Perl Info

Flags:
    category=install
    severity=none

Site configuration information for perl v5.8.7:

Configured by schinder at Tue May 31 13:34:44 EDT 2005.

Summary of my perl5 (revision 5 version 8 subversion 7) configuration:
  Platform:
    osname=darwin, osvers=8.1.0, archname=darwin-2level
    uname='darwin powerbookg4.local 8.1.0 darwin kernel version 8.1.0: tue may 10 18:16:08 pdt 2005; root:xnu-792.1.5.obj~4release_ppc power macintosh powerpc '
    config_args=''
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/sw/include -I/sw/include/db4',
    optimize='-O3',
    cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe -I/usr/local/include -I/sw/include -I/sw/include/db4'
    ccversion='', gccversion='4.0.0 20041026 (Apple Computer, Inc. build 4061)', gccosandvers='darwin8'
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags ='-L/usr/local/lib -L/sw/lib'
    libpth=/usr/local/lib /usr/lib /sw/lib
    libs=-ldbm -ldb -ldl -lm -lc
    perllibs=-ldl -lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dlopen.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup -L/usr/local/lib -L/sw/lib'

Locally applied patches:
    


@INC for perl v5.8.7:
    lib
    /Users/schinder/Controlled/Perl
    /usr/local/lib/perl5/5.8.7/darwin-2level
    /usr/local/lib/perl5/5.8.7
    /usr/local/lib/perl5/site_perl/5.8.7/darwin-2level
    /usr/local/lib/perl5/site_perl/5.8.7
    /usr/local/lib/perl5/site_perl/5.8.6/darwin-2level
    /usr/local/lib/perl5/site_perl/5.8.6
    /usr/local/lib/perl5/site_perl/5.8.5/darwin-2level
    /usr/local/lib/perl5/site_perl/5.8.5
    /usr/local/lib/perl5/site_perl/5.8.4/darwin-2level
    /usr/local/lib/perl5/site_perl/5.8.4
    /usr/local/lib/perl5/site_perl/5.8.3/darwin-2level
    /usr/local/lib/perl5/site_perl/5.8.3
    /usr/local/lib/perl5/site_perl/5.8.2/darwin-2level
    /usr/local/lib/perl5/site_perl/5.8.2
    /usr/local/lib/perl5/site_perl/5.8.1
    /usr/local/lib/perl5/site_perl
    .


Environment for perl v5.8.7:
    DYLD_LIBRARY_PATH=/usr/local/lib:/sw/lib:/usr/lib:/usr/X11R6/lib
    HOME=/Users/schinder
    LANG (unset)
    LANGUAGE (unset)
    LD_LIBRARY_PATH (unset)
    LOGDIR (unset)
    PATH=/Users/schinder/bin:/usr/local/bin:/usr/local/sbin:/sw/bin:/usr/local/teTeX/bin/powerpc-apple-darwin7.8.0:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/usr/local/naif/FORTRAN/toolkit/exe:.
    PERL5LIB=/Users/schinder/Controlled/Perl
    PERL_BADLANG (unset)
    SHELL=/bin/sh

@p5pRT
Copy link
Author

p5pRT commented Jun 4, 2005

From domo@computer.org

On 4 Jun 2005, at 15​:25, Alberto Simões wrote​:

So, this is OSX, 10.4, and I'm not very used to it yet, so, it
might be my fault to have these errors​:

No, no. You're doing fine. Thanks for the input. This has already
been reported as a problem -- see <http​://www.nntp.perl.org/group/
perl.perl5.porters/101108>.

...
../lib/locale...............................NOK 115# The following
locales
#
# C C POSIX POSIX af_ZA af_ZA.ISO8859-1 af_ZA.ISO8859-15
# ...
# zh_HK.Big5HKSCS zh_HK.UTF-8 zh_TW zh_TW.Big5 zh_TW.UTF-8
#
# tested okay.
#
# The following locales
#
# eu_ES eu_ES.ISO8859-1 eu_ES.ISO8859-15 eu_ES.UTF-8
#
# had problems.
#
../lib/locale...............................FAILED tests 99,
105-106, 108-109, 113, 115
Failed 7/117 tests, 94.02% okay
../lib/Math/BigInt/t/bare_mbf...............ok
...

Provided that you don't need to use the eu_ES locale (Basque-Spain),
you can go ahead and install perl-5.8.7. Given that you're in
Portugal, do you need this locale?

Without having checked, I suspect the problem is that the eu_ES
locale definition shipped with Mac OS X Tiger (10.4.x) is invalid in
some way. As far as I can tell, no eu_ES locales were shipped with
Panther (10.3.x), which is why the problem has not shown up until now.
--
Dominic Dunlop

@p5pRT
Copy link
Author

p5pRT commented Jun 4, 2005

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

@p5pRT
Copy link
Author

p5pRT commented Nov 7, 2005

From @smpeters

[domo@​computer.org - Sat Jun 04 07​:41​:01 2005]​:

On 4 Jun 2005, at 15​:25, Alberto Simões wrote​:

So, this is OSX, 10.4, and I'm not very used to it yet, so, it
might be my fault to have these errors​:

No, no. You're doing fine. Thanks for the input. This has already
been reported as a problem -- see <http​://www.nntp.perl.org/group/
perl.perl5.porters/101108>.

...
../lib/locale...............................NOK 115# The following
locales
#
# C C POSIX POSIX af_ZA af_ZA.ISO8859-1 af_ZA.ISO8859-15
# ...
# zh_HK.Big5HKSCS zh_HK.UTF-8 zh_TW zh_TW.Big5 zh_TW.UTF-8
#
# tested okay.
#
# The following locales
#
# eu_ES eu_ES.ISO8859-1 eu_ES.ISO8859-15 eu_ES.UTF-8
#
# had problems.
#
../lib/locale...............................FAILED tests 99,
105-106, 108-109, 113, 115
Failed 7/117 tests, 94.02% okay
../lib/Math/BigInt/t/bare_mbf...............ok
...

Provided that you don't need to use the eu_ES locale (Basque-Spain),
you can go ahead and install perl-5.8.7. Given that you're in
Portugal, do you need this locale?

Without having checked, I suspect the problem is that the eu_ES
locale definition shipped with Mac OS X Tiger (10.4.x) is invalid in
some way. As far as I can tell, no eu_ES locales were shipped with
Panther (10.3.x), which is why the problem has not shown up until now.

I just added the following to README.macosx with change #26025. Are there any additions,
corrections, etc. needed?

Starting with Tiger (Mac OS X 10.4), Apple shipped broken locale files for
the eu_ES locale (Basque-Spain). When testing Perl, this will show up as
test failues in the tests C<..lib/locale>. Unless you require the
eu_ES locale, you should be OK to install Perl. If you do need this
locale, you should contact Apple support.

@p5pRT
Copy link
Author

p5pRT commented Nov 7, 2005

From @ysth

On Sun, Nov 06, 2005 at 08​:09​:50PM -0800, Steve Peters via RT wrote​:

I just added the following to README.macosx with change #26025. Are there any additions,
corrections, etc. needed?

Starting with Tiger (Mac OS X 10.4), Apple shipped broken locale files for
the eu_ES locale (Basque-Spain). When testing Perl, this will show up as
test failues in the tests C<..lib/locale>. Unless you require the

Missing a / there​: ^

eu_ES locale, you should be OK to install Perl. If you do need this
locale, you should contact Apple support.

@p5pRT
Copy link
Author

p5pRT commented Nov 7, 2005

From shouldbedomo@mac.com

On 2005â??11â??07, at 05​:09, Steve Peters via RT wrote​:

I just added the following to README.macosx with change #26025.
Are there any additions,
corrections, etc. needed?

Starting with Tiger (Mac OS X 10.4), Apple shipped broken locale
files for
the eu_ES locale (Basque-Spain). When testing Perl, this will show
up as
test failues in the tests C<..lib/locale>. Unless you require the
  ^r
eu_ES locale, you should be OK to install Perl. If you do need this
locale, you should contact Apple support.

Umm, the test failure was suppressed (for the moment) by change
#25406, which skips the offending locales in Mac OS X 10.4.0 -
10.4.3. I don't see it now. Do you? It'll start popping up again if
Apple doesn't address the issue in the next OS update. On the whole,
I'm in favour of keeping it suppressed on the grounds that the it
causes needless worry and complication for most builders of perl for
Mac OS X. But README.macosx should still mention the issue​: someone
may eventually want to do numeric things using these locales with
Perl, and be puzzled by the results.

I'll suggest alternate wording later today, but must run now.
--
Dominic Dunlop

@p5pRT
Copy link
Author

p5pRT commented Nov 7, 2005

From shouldbedomo@mac.com

On 2005–11–07, at 09​:53, I wrote​:

... But README.macosx should still mention the issue​: someone may
eventually want to do numeric things using these locales with Perl,
and be puzzled by the results.

I'll suggest alternate wording later today, but must run now.

OK. Here we go with a patch against blead -- see the attachment.

I took the opportunity to give the whole file a wash and brush-up to
reflect the current state of Perl and Mac OS X. Note that I've said that
the current release of Perl is 5.8.8, which presupposes that this
patch (together with #26025 and #25406 and the development version of
hints/darwin.sh (which I think is already there)) make it into the
maintenance branch.

Copied to those named in the README for comment.
--
Dominic Dunlop

@p5pRT
Copy link
Author

p5pRT commented Nov 7, 2005

From shouldbedomo@mac.com

update-README.macosx.patch
--- perl-current-reference/README.macosx	2005-11-07 05:12:48.000000000 +0100
+++ perl-current-working/README.macosx	2005-11-07 18:21:51.000000000 +0100
@@ -13,12 +13,13 @@
 
 =head1 DESCRIPTION
 
-The latest Perl (5.8.1-RC3 as of this writing) builds without changes
-under Mac OS X. Under the 10.3 "Panther" release, all self-tests pass,
+The latest Perl (5.8.8 as of this writing) builds without changes
+under Mac OS X. Under the 10.4 "Tiger" release, all self-tests pass,
 and all standard features are supported.
 
-Earlier Mac OS X releases did not include a completely thread-safe libc,
-so threading is not fully supported. Also, earlier releases included a
+Mac OS X releases prior to 10.3 "Panther" did not include a completely
+thread-safe libc, so threading is not fully supported when Perl is built
+for these releases. Also, earlier releases included a
 somewhat buggy libdb, so some of the DB_File tests are known to fail on
 those releases.
 
@@ -56,17 +57,10 @@
 pre-bound dynamic library.
 
 
-=head2 Updating Panther
+=head2 Updating Apple-supplied Perl
 
-As of this writing, the latest Perl release that has been tested and
-approved for inclusion in the 10.3 "Panther" release of Mac OS X is
-5.8.1 RC3. It is currently unknown whether the final 5.8.1 release will
-be made in time to be tested and included with Panther.
-
-If the final release of Perl 5.8.1 is not made in time to be included
-with Panther, it is recommended that you wait for an official Apple
-update to the OS, rather than attempting to update it yourself. In most
-cases, if you need a newer Perl, it is preferable to install it in some
+Apple ships a threaded build of perl 5.8.6 with Mac OS 10.4.x, "Tiger".
+In most cases, if you need a newer Perl, it is preferable to install it in some
 other location, such as /usr/local or /opt, rather than overwriting the
 system Perl.  The default location (no -Dprefix=... specified when running
 Configure) is /usr/local.
@@ -81,9 +75,39 @@
 after you've installed the update.
 
 Note that this is only an issue when updating from an older build of the
-same Perl version. If you're updating from (for example) 5.8.1 to 5.8.2,
+same Perl version. If you're updating from (for example) 5.8.6 to 5.8.8,
 this issue won't affect you.
 
+=head2 64-bit Perl
+
+By default, perl is built to use 32-bit integers and pointers. The hints file,
+F<hints/darwin.sh>, provides experimental support for 64-bit integers 
+and pointers (on G5 processors only) when Configure is run with the
+C<-Duse64bitall> option. Expect many compiler warnings and a number
+of test failures.
+
+=head2 Intel processor support
+
+At the time of writing, the Perl developers have no knowledge of the
+behaviour (or misbehaviour) of the Perl build process when hosted by
+an Intel-based Macintosh. As far as we know, Apple ships Perl 5.8.6
+with Intel developer builds of Mac OS X, so we presume that there
+are few or no problems in building that version of Perl. (The source
+package used by Apple may be found at L<http://opendarwin.org/>.)
+If you encounter problems in building a later version of Perl for an
+Intel-based Macintosh, please file a bug report, if possible by using
+the following command in the build directory: 
+
+    ./perl -Ilib utils/perlbug
+
+=head2  Universal binaries
+
+Apple's Xcode development tools, version 2.1 and later, provide
+support for the creation of I<universal binaries>, which contain
+code for both PowerPC and Intel architectures. (In the past, and on
+other platforms, such executable files have been known as I<fat
+binaries>.) Perl's build process currently provides no support for
+the production of universal binaries.
 
 =head2 Known problems
 
@@ -112,10 +136,10 @@
 "libperl and Prebinding").
 
 Starting with Tiger (Mac OS X 10.4), Apple shipped broken locale files for
-the eu_ES locale (Basque-Spain).  When testing Perl, this will show up as
-test failues in the tests C<..lib/locale>.  Unless you require the
-eu_ES locale, you should be OK to install Perl.  If you do need this 
-locale, you should contact Apple support.
+the eu_ES locale (Basque-Spain).  In previous releases of Perl, this resulted in
+failures in the C<lib/locale> test. These failures have been supressed
+in the current release of Perl by making the test ignore the broken locale.
+If you need to use the eu_ES locale, you should contact Apple support.
 
 =head2 MacPerl
 
@@ -190,10 +214,11 @@
 
 =head1 AUTHOR
 
-This README was written by Sherm Pendley E<lt>sherm@dot-app.orgE<gt>.
+This README was written by Sherm Pendley E<lt>sherm@dot-app.orgE<gt>,
+and subsequently updated by Dominic Dunlop E<lt>domo@computer.orgE<gt>.
 The "Starting From Scratch" recipe was contributed by John Montbriand
 E<lt>montbriand@apple.comE<gt>.
 
 =head1 DATE
 
-Last modified 2003-09-08.
+Last modified 2005-11-07.

@p5pRT
Copy link
Author

p5pRT commented Nov 7, 2005

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

@p5pRT p5pRT closed this as completed Nov 7, 2005
@p5pRT
Copy link
Author

p5pRT commented Nov 7, 2005

From @smpeters

On Mon, Nov 07, 2005 at 06​:24​:50PM +0100, Dominic Dunlop wrote​:

On 2005?11?07, at 09​:53, I wrote​:

... But README.macosx should still mention the issue​: someone may
eventually want to do numeric things using these locales with Perl,
and be puzzled by the results.

I'll suggest alternate wording later today, but must run now.

OK. Here we go with a patch against blead -- see the attachment.

I took the opportunity to give the whole file a wash and brush-up to
reflect the current state of Perl and Mac OS X. Note that I've said that
the current release of Perl is 5.8.8, which presupposes that this
patch (together with #26025 and #25406 and the development version of
hints/darwin.sh (which I think is already there)) make it into the
maintenance branch.

Copied to those named in the README for comment.

Thanks! I applied this as change #26038.

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