Closed p5pRT closed 20 years ago
Problem compiling perl@14833 on OS X 10.1.3 on a Powerbook G4.
$ ./Configure -des -Dusedevel -Dprefix=/usr/local/devperl; make all test
ext/POSIX/t/posix...................FAILED at test 10
lib/File/Temp/t/security............uid=3023 topuid=10 $\<=501 path='/' at ../lib/File/Temp.pm line 659 File::Temp::_is_safe('/'\,'SCALAR(0x2c00b0)') called at ../lib/File/Temp.pm line 757 File::Temp::_is_verysafe('/tmp/'\,'SCALAR(0x2c00b0)') called at ../lib/File/Temp.pm line 430 File::Temp::_gettemp('/tmp/tmpXXXXX'\,'open'\,1\,'mkdir'\,0\,'unlink_on_close'\,0\,'suffixlen'\,0\,...) called at ../lib/File/Temp.pm line 1057 File::Temp::tempfile('tmpXXXXX'\,'DIR'\,'/tmp'\,'UNLINK'\,1) called at ../lib/File/Temp/t/security.t line 100 eval {...} called at ../lib/File/Temp/t/security.t line 100 main::test_security(0) called at ../lib/File/Temp/t/security.t line 72 uid=3023 topuid=10 $\<=501 path='/' at ../lib/File/Temp.pm line 659 File::Temp::_is_safe('/'\,'SCALAR(0x2fa30c)') called at ../lib/File/Temp.pm line 757 File::Temp::_is_verysafe(.\,'SCALAR(0x2fa30c)') called at ../lib/File/Temp.pm line 430 File::Temp::_gettemp('tmpXXXXX'\,'open'\,1\,'mkdir'\,0\,'unlink_on_close'\,0\,'suffixlen'\,0\,...) called at ../lib/File/Temp.pm line 1057 File::Temp::tempfile('tmpXXXXX'\,'UNLINK'\,1) called at ../lib/File/Temp/t/security.t line 125 eval {...} called at ../lib/File/Temp/t/security.t line 125 main::test_security(0) called at ../lib/File/Temp/t/security.t line 72 ok
So the File::Temp test gives a warning but is 'ok'\, but the POSIX test definitely fails.
On Monday\, February 25\, 2002\, at 04:44 PM\, Marcel Grunauer wrote:
$ ./Configure -des -Dusedevel -Dprefix=/usr/local/devperl; make all test
ext/POSIX/t/posix...................FAILED at test 10
Hi!
This is a known deficiency of MacOS X. There's unfortunately nothing we can do about it.
Sorry.
Regards\,
Kay
On Mon\, Feb 25\, 2002 at 05:31:26PM +0100\, Kay Röpke wrote:
On Monday\, February 25\, 2002\, at 04:44 PM\, Marcel Grunauer wrote:
$ ./Configure -des -Dusedevel -Dprefix=/usr/local/devperl; make all test
ext/POSIX/t/posix...................FAILED at test 10
Hi!
This is a known deficiency of MacOS X. There's unfortunately nothing we can do about it.
There is\, we can declare the test TODO on MacOS X so we don't keep getting bug reports. We'll only hear about it when OS X fixes its POSIX signal handling.
Marcel\, if I could see the full posix.t output I'll rig up a proper skip.
--
Michael G. Schwern \schwern@​pobox\.com http://www.pobox.com/~schwern/ Perl Quality Assurance \perl\-qa@​perl\.org Kwalitee Is Job One I'm exploring my nipples.
On Mon\, 25 Feb 2002\, Marcel Grunauer wrote:
~s perl@14833 fails tests on OS X 10.1.3 on Powerbook G4 This is a bug report for perl from marcel.gruenauer@chello.at\, generated with the help of perlbug 1.28 running under perl v5.6.0.
----------------------------------------------------------------- [Please enter your report here]
Problem compiling perl@14833 on OS X 10.1.3 on a Powerbook G4.
$ ./Configure -des -Dusedevel -Dprefix=/usr/local/devperl; make all test
ext/POSIX/t/posix...................FAILED at test 10
lib/File/Temp/t/security............uid=3023 topuid=10 $\<=501 path='/' at ../lib/File/Temp.pm line 659 File::Temp::_is_safe('/'\,'SCALAR(0x2c00b0)') called at ../lib/File/Temp.pm line 757 File::Temp::_is_verysafe('/tmp/'\,'SCALAR(0x2c00b0)') called at ../lib/File/Temp.pm line 430 File::Temp::_gettemp('/tmp/tmpXXXXX'\,'open'\,1\,'mkdir'\,0\,'unlink_on_close'\,0\,'suffixlen'\,0\,...) called at ../lib/File/Temp.pm line 1057 File::Temp::tempfile('tmpXXXXX'\,'DIR'\,'/tmp'\,'UNLINK'\,1) called at ../lib/File/Temp/t/security.t line 100 eval {...} called at ../lib/File/Temp/t/security.t line 100 main::test_security(0) called at ../lib/File/Temp/t/security.t line 72 uid=3023 topuid=10 $\<=501 path='/' at ../lib/File/Temp.pm line 659 File::Temp::_is_safe('/'\,'SCALAR(0x2fa30c)') called at ../lib/File/Temp.pm line 757 File::Temp::_is_verysafe(.\,'SCALAR(0x2fa30c)') called at ../lib/File/Temp.pm line 430 File::Temp::_gettemp('tmpXXXXX'\,'open'\,1\,'mkdir'\,0\,'unlink_on_close'\,0\,'suffixlen'\,0\,...) called at ../lib/File/Temp.pm line 1057 File::Temp::tempfile('tmpXXXXX'\,'UNLINK'\,1) called at ../lib/File/Temp/t/security.t line 125 eval {...} called at ../lib/File/Temp/t/security.t line 125 main::test_security(0) called at ../lib/File/Temp/t/security.t line 72 ok
So the File::Temp test gives a warning but is 'ok'\, but the POSIX test definitely fails.
Sorry for the long delay in replying.
File::Temp is complaining that your root directory is not owned by a user that it deems to have root privilige. Your root is owned by uid 3023. Is uid 3023 a root-type user on OS X? If so we need to tweak the way that topuid is determined (currently uid\<10 is the clause).
There is a related problem in that the test should fail rather than pass and I'm not sure why it doesn't (since the directory is unsafe after all). I'll take a look at that and try to come up with a fix.
-- Tim Jenness JAC software http://www.jach.hawaii.edu/~timj
Migrated from rt.perl.org#8670 (status was 'resolved')
Searchable as RT8670$