Skip Menu |
 

This queue is for tickets about the Mac-Carbon CPAN distribution.

Report information
The Basics
Id: 30374
Status: resolved
Priority: 0/
Queue: Mac-Carbon

People
Owner: Nobody in particular
Requestors: markemer [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.77
Fixed in: (no value)

Attachments


Subject: Mac::Carbon fails tests on Leopard
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: text/plain; charset="utf8"
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 322
Download (untitled) / with headers
text/plain 322b
Mac Carbon fails to test on Leopard, Perl 5.8.8 with this message: AppleEvents/t/event....ok 1/305 Too many arguments to AEBuildParameters() at AppleEvents/t/event.t line 162, <DATA> line 1. # Looks like you planned 305 tests but only ran 145. # Looks like your test died just after 145. All other tests seem to work ok
CC: undisclosed-recipients: ;
MIME-Version: 1.0
X-Spam-Status: No, hits=-2.6 required=8.0 tests=BAYES_00,SPF_HELO_PASS
In-Reply-To: <rt-3.6.HEAD-9325-1193781443-737.30374-4-0 [...] rt.cpan.org>
References: <RT-Ticket-30374 [...] rt.cpan.org> <rt-3.6.HEAD-9325-1193781443-737.30374-4-0 [...] rt.cpan.org>
Content-Type: text/plain; charset="utf-8"
X-RT-Original-Encoding: us-ascii
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 516194D80B9 for <bug-Mac-Carbon [...] rt.cpan.org>; Tue, 30 Oct 2007 18:12:15 -0400 (EDT)
Received: (qmail 20055 invoked by alias); 30 Oct 2007 22:12:14 -0000
Received: from cgfe-2.wavecable.com (HELO wavecable.net) (24.113.32.36) by la.mx.develooper.com (qpsmtpd/0.28) with ESMTP; Tue, 30 Oct 2007 15:11:58 -0700
Received: from [24.113.6.164] (HELO mp3.pudge.net) by wavecable.net (CommuniGate Pro SMTP 4.2.8) with ESMTP id 207934198 for bug-Mac-Carbon [...] rt.cpan.org; Tue, 30 Oct 2007 15:11:54 -0700
Received: from [10.0.1.177] (bourque [10.0.1.177]) by mp3.pudge.net (Postfix) with ESMTP id CD5AD9145B0 for <bug-Mac-Carbon [...] rt.cpan.org>; Tue, 30 Oct 2007 15:11:53 -0700 (PDT)
Delivered-To: cpan-bug+mac-carbon [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #30374] Mac::Carbon fails tests on Leopard
Return-Path: <cnandor [...] cpan.org>
X-Original-To: bug-Mac-Carbon [...] rt.cpan.org
X-Spam-Check-BY: la.mx.develooper.com
Date: Tue, 30 Oct 2007 15:09:51 -0700
Message-Id: <p0624081dc34d5bff00bf [...] [10.0.1.177]>
To: bug-Mac-Carbon [...] rt.cpan.org
From: Chris Nandor <cnandor [...] cpan.org>
X-RT-Original-Encoding: utf-8
RT-Message-ID: <rt-3.6.HEAD-9328-1193782344-1464.30374-0-0 [...] rt.cpan.org>
Content-Length: 1000
Download (untitled) / with headers
text/plain 1000b
That's weird, since I think Mac::Carbon is included with Leopard, and is built for it. I'll look into it. At 17:57 -0400 2007.10.30, Mark Anderson via RT wrote: Show quoted text
>Tue Oct 30 17:57:21 2007: Request 30374 was acted upon. >Transaction: Ticket created by MARKEMER > Queue: Mac-Carbon > Subject: Mac::Carbon fails tests on Leopard > Broken in: 0.77 > Severity: Critical > Owner: Nobody > Requestors: MARKEMER@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=30374 > > > >Mac Carbon fails to test on Leopard, Perl 5.8.8 with this message: >AppleEvents/t/event....ok 1/305 >Too many arguments to AEBuildParameters() at AppleEvents/t/event.t line >162, <DATA> line 1. ># Looks like you planned 305 tests but only ran 145. ># Looks like your test died just after 145. > >All other tests seem to work ok
-- Chris Nandor pudge@pobox.com http://pudge.net/ Slashdot / SourceForge pudge@slashdot.org http://slashdot.org/
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-9328-1193782344-1464.30374-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-30374 [...] rt.cpan.org> <rt-3.6.HEAD-9325-1193781443-737.30374-4-0 [...] rt.cpan.org> <p0624081dc34d5bff00bf [...] [10.0.1.177]> <rt-3.6.HEAD-9328-1193782344-1464.30374-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-11458-1198087961-1661.30374-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: essuu [...] ourshack.com
X-RT-Original-Encoding: utf-8
X-RT-Original-Encoding: utf-8
Content-Length: 423
Download (untitled) / with headers
text/plain 423b
Hi there, On Tue Oct 30 18:12:24 2007, CNANDOR wrote: Show quoted text
> That's weird, since I think Mac::Carbon is included with Leopard, and is > built for it. > > I'll look into it.
Just as an update to this ticket, I'm seeing the same problem trying to install Mac::Carbon under the shiny new perl5.10.0. It would be great to see this fixed so that 5.10.0 is fully usable on Leopard. Just sorry I have no idea how to fix it. Simon.
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-9328-1193782344-1464.30374-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Charset: utf8
References: <RT-Ticket-30374 [...] rt.cpan.org> <rt-3.6.HEAD-9325-1193781443-737.30374-4-0 [...] rt.cpan.org> <p0624081dc34d5bff00bf [...] [10.0.1.177]> <rt-3.6.HEAD-9328-1193782344-1464.30374-0-0 [...] rt.cpan.org>
Message-Id: <rt-3.6.HEAD-2991-1203629602-563.30374-0-0 [...] rt.cpan.org>
Content-Type: multipart/mixed; boundary="----------=_1203629603-2991-9"
From: jeff [...] zeroclue.com
X-RT-Original-Encoding: utf-8
Content-Length: 0
Content-Disposition: inline
Content-Type: text/plain
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 448
Download (untitled) / with headers
text/plain 448b
For what it's worth, the commented out $fmt on line 159 of AppleEvents/t/event.t works fine. The diff is attached. $ prove -b AppleEvents/t/event.t AppleEvents/t/event....ok 33/305 skipped: various reasons All tests successful, 33 subtests skipped. Files=1, Tests=305, 0 wallclock secs ( 0.14 cusr + 0.02 csys = 0.16 CPU) $ perl -v This is perl, v5.10.0 built for darwin-2level
MIME-Version: 1.0
X-Mailer: MIME-tools 5.418 (Entity 5.418)
Content-Type: multipart/mixed; boundary="----------=_1203629601-2991-8"
Charset: utf8
Content-Length: 0
Content-Type: text/plain
Content-Disposition: inline
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: iso-8859-1
X-RT-Original-Encoding: iso-8859-1
Content-Length: 0
Content-Type: application/octet-stream; name="Mac-Carbon-AppleEvents-t-event.t.diff"
Content-Disposition: inline; filename="Mac-Carbon-AppleEvents-t-event.t.diff"
Content-Transfer-Encoding: base64
Content-Length: 1340
--- ../Mac-Carbon-0.77/AppleEvents/t/event.t 2006-06-21 20:23:25.000000000 -0700 +++ AppleEvents/t/event.t 2008-02-21 13:26:33.000000000 -0800 @@ -155,8 +155,8 @@ } #diag($filedesc_print); - my $fmt = "'----':'obj '{ 'form':'prop', 'want':type(prop), 'from':$filedesc_print, 'seld':type(pnam) }"; - # $fmt = q"'----':'obj '{ 'form':prop, 'want':type(prop), 'from':'obj '{ 'want':type(docf), 'from':'obj '{ 'want':type(cfol), 'from':'obj '{ 'want':type(cobj), 'from':'obj '{ 'want':type(prop), 'from':'null'(), 'form':prop, 'seld':type(sdsk) }, 'form':name, 'seld':'utxt'($0070007200690076006100740065$) }, 'form':name, 'seld':'utxt'($0074006D0070$) }, 'form':name, 'seld':'TEXT'(@) }, 'seld':type(pnam) }"; + #my $fmt = "'----':'obj '{ 'form':'prop', 'want':type(prop), 'from':$filedesc_print, 'seld':type(pnam) }"; + my $fmt = q"'----':'obj '{ 'form':prop, 'want':type(prop), 'from':'obj '{ 'want':type(docf), 'from':'obj '{ 'want':type(cfol), 'from':'obj '{ 'want':type(cobj), 'from':'obj '{ 'want':type(prop), 'from':'null'(), 'form':prop, 'seld':type(sdsk) }, 'form':name, 'seld':'utxt'($0070007200690076006100740065$) }, 'form':name, 'seld':'utxt'($0074006D0070$) }, 'form':name, 'seld':'TEXT'(@) }, 'seld':type(pnam) }"; #diag($fmt); ok(AEBuildParameters($event, $fmt, 'mac-carbon-aeevent-test'), 'AEBuildParameters');
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-2991-1203629602-563.30374-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-30374 [...] rt.cpan.org> <rt-3.6.HEAD-9325-1193781443-737.30374-4-0 [...] rt.cpan.org> <p0624081dc34d5bff00bf [...] [10.0.1.177]> <rt-3.6.HEAD-9328-1193782344-1464.30374-0-0 [...] rt.cpan.org> <rt-3.6.HEAD-2991-1203629602-563.30374-0-0 [...] rt.cpan.org>
Message-ID: <rt-3.6.HEAD-19694-1230064186-270.30374-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: tmb [...] nanite.net
X-RT-Original-Encoding: utf-8
Content-Length: 1052
On Thu Feb 21 16:33:23 2008, jeff@zeroclue.com wrote: Show quoted text
> > > For what it's worth, the commented out $fmt on line 159 of > AppleEvents/t/event.t works fine. The diff is attached. > > $ prove -b AppleEvents/t/event.t > AppleEvents/t/event....ok > > 33/305 skipped: various reasons > All tests successful, 33 subtests skipped. > Files=1, Tests=305, 0 wallclock secs ( 0.14 cusr + 0.02 csys = 0.16 CPU) > > $ perl -v > > This is perl, v5.10.0 built for darwin-2level
Just confirming that Jeff's patch / workaround worked for me as well. Uncommenting line 159 makes all the tests successful and makes it build properly on MacOS X 10.5.6, Intel, perl 5.10.0. I hit this issue while trying to install an updated Bundle::CPAN, which required File::HomeDir (more specifically File::HomeDir::Darwin), which required Mac::Files which required Mac::Carbon. It would be great to see this patched and released to CPAN so others won't have any issues building this module on MacOS X 10.5.
MIME-Version: 1.0 (Apple Message framework v930.3)
X-Spam-Status: No, hits=-0.0 required=8.0 tests=SPF_HELO_PASS
In-Reply-To: <rt-3.6.HEAD-19694-1230064186-270.30374-5-0 [...] rt.cpan.org>
X-Mailer: Apple Mail (2.930.3)
References: <RT-Ticket-30374 [...] rt.cpan.org> <rt-3.6.HEAD-9325-1193781443-737.30374-4-0 [...] rt.cpan.org> <p0624081dc34d5bff00bf [...] [10.0.1.177]> <rt-3.6.HEAD-9328-1193782344-1464.30374-5-0 [...] rt.cpan.org> <rt-3.6.HEAD-2991-1203629602-563.30374-5-0 [...] rt.cpan.org> <rt-3.6.HEAD-19694-1230064186-270.30374-5-0 [...] rt.cpan.org>
Message-ID: <60F05B11-7E3C-4E8E-BE78-F358B4F42C3E [...] cpan.org>
Content-Type: text/plain; charset="utf-8"; delsp="yes"; format="flowed"
X-RT-Original-Encoding: utf-8
Received: from la.mx.develooper.com (x1.develooper.com [63.251.223.170]) by diesel.bestpractical.com (Postfix) with SMTP id 4647619B8098 for <bug-Mac-Carbon [...] rt.cpan.org>; Tue, 23 Dec 2008 15:33:37 -0500 (EST)
Received: (qmail 7554 invoked by uid 103); 23 Dec 2008 20:33:36 -0000
Received: from x16.dev (10.0.100.26) by x1.dev with QMQP; 23 Dec 2008 20:33:36 -0000
Received: from mail3.wavecable.com (HELO wavecable.net) (24.113.32.25) by 16.mx.develooper.com (qpsmtpd/0.43rc1) with ESMTP; Tue, 23 Dec 2008 12:33:33 -0800
Received: from [24.113.155.121] (HELO mp3.pudge.net) by wavecable.net (CommuniGate Pro SMTP 4.2.8) with ESMTP id 84175039 for bug-Mac-Carbon [...] rt.cpan.org; Tue, 23 Dec 2008 12:20:15 -0800
Received: from bourque.pudge.net (bourque [10.0.1.177]) by mp3.pudge.net (Postfix) with ESMTP id A24FFD99943 for <bug-Mac-Carbon [...] rt.cpan.org>; Tue, 23 Dec 2008 12:33:29 -0800 (PST)
Delivered-To: cpan-bug+Mac-Carbon [...] diesel.bestpractical.com
Subject: Re: [rt.cpan.org #30374] Mac::Carbon fails tests on Leopard
Return-Path: <cnandor [...] cpan.org>
X-Spam-Check-BY: 16.mx.develooper.com
X-Original-To: bug-Mac-Carbon [...] rt.cpan.org
Date: Tue, 23 Dec 2008 12:33:29 -0800
X-Spam-Level: *
To: bug-Mac-Carbon [...] rt.cpan.org
Content-Transfer-Encoding: 7bit
From: Chris Nandor <cnandor [...] cpan.org>
RT-Message-ID: <rt-3.6.HEAD-19694-1230064424-1021.30374-0-0 [...] rt.cpan.org>
Content-Length: 413
Download (untitled) / with headers
text/plain 413b
Yeah, I need to do that, and hope to do it soon. Thanks for the ping. On Dec 23, 2008, at 12:29, Mason Brown via RT wrote: Show quoted text
> It would be great to see this patched and released to CPAN so others > won't have any issues > building this module on MacOS X 10.5.
-- Chris Nandor pudge@pobox.com http://pudge.net/ Slashdot / SourceForge pudge@slashdot.org http://slashdot.org/
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-2991-1203629602-563.30374-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-30374 [...] rt.cpan.org> <rt-3.6.HEAD-9325-1193781443-737.30374-4-0 [...] rt.cpan.org> <p0624081dc34d5bff00bf [...] [10.0.1.177]> <rt-3.6.HEAD-9328-1193782344-1464.30374-0-0 [...] rt.cpan.org> <rt-3.6.HEAD-2991-1203629602-563.30374-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-10137-1231491746-205.30374-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 70
Jeff's workaround makes the test happy in Leopard/Intel/5.8.8 as well.
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-10137-1231491746-205.30374-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <RT-Ticket-30374 [...] rt.cpan.org> <rt-3.6.HEAD-9325-1193781443-737.30374-4-0 [...] rt.cpan.org> <p0624081dc34d5bff00bf [...] [10.0.1.177]> <rt-3.6.HEAD-9328-1193782344-1464.30374-0-0 [...] rt.cpan.org> <rt-3.6.HEAD-2991-1203629602-563.30374-0-0 [...] rt.cpan.org> <rt-3.6.HEAD-10137-1231491746-205.30374-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-10137-1231716412-611.30374-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 511
Download (untitled) / with headers
text/plain 511b
Just in case you were wondering what would happen under a *ahem* more mature version of Mac OS: Under Mac OS 10.3.9 (Panther) PPC, AppleEvents/t/events.t passes both _with_ and _without_ the suggested modification, under Perls 5.10.0 and 5.8.1 RC3 (which Apple shipped with this OS). Is there enough interest in results under 10.2 (Jaguar) that I should load a machine and try? I can't go farther back than that, and if you want 10.4 (Tiger) say so, because that's what I would wipe to try Jaguar. Tom Wyant
MIME-Version: 1.0
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
Content-Type: text/plain
Message-ID: <rt-3.6.HEAD-6413-1248522513-1554.30374-0-0 [...] rt.cpan.org>
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 88
Can you please release a new version with this patch applied? -- Best regards, Ruslan.
MIME-Version: 1.0
In-Reply-To: <rt-3.6.HEAD-6413-1248522513-1554.30374-0-0 [...] rt.cpan.org>
X-Mailer: MIME-tools 5.427 (Entity 5.427)
Content-Disposition: inline
Charset: utf8
References: <rt-3.6.HEAD-6413-1248522513-1554.30374-0-0 [...] rt.cpan.org>
Message-ID: <rt-3.6.HEAD-30017-1250943483-1458.30374-0-0 [...] rt.cpan.org>
Content-Type: text/plain
Content-Transfer-Encoding: binary
From: casey [...] shobe.info
X-RT-Original-Encoding: utf-8
Content-Length: 352
Download (untitled) / with headers
text/plain 352b
On Sat Jul 25 07:48:33 2009, RUZ wrote: Show quoted text
> Can you please release a new version with this patch applied?
This being broken with default cpan settings results in a cpan that won't even start without manually removing stuff that requires it from the library directory. Why has this not been fixed in such a long time even though the fix is so simple?


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.