Skip Menu |

This queue is for tickets about the Event CPAN distribution.

Report information
The Basics
Id: 68290
Status: resolved
Priority: 0/
Queue: Event

People
Owner: Nobody in particular
Requestors: dtanabe [...] lab49.com
Cc:
AdminCc:

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



Subject: Build Broken on OS X (no PPC emulator)
I couldn't install Event until I removed "-arch ppc" from the Makefile. I was initially puzzled because I just installed it yesterday successfully on an older Mac (but still running 10.6.7). I also *only* have the XCode 4 set of development tools installed on the newer Mac; not sure if that contributes to the problem. --DKT
On Wed May 18 11:07:25 2011, dtanabe wrote: Show quoted text
> I couldn't install Event until I removed "-arch ppc" from the Makefile.
Hm, you don't provide much information about the failure. Can you include as much as possible? Also, does the attached patch help?
Subject: p1
Download p1
application/octet-stream 419b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #68290] Build Broken on OS X (no PPC emulator)
Date: Wed, 18 May 2011 11:48:07 -0400
To: "bug-Event [...] rt.cpan.org" <bug-Event [...] rt.cpan.org>
From: Davin Tanabe <dtanabe [...] lab49.com>
No luck with the patch; it actually didn't match what was in 1.15, so I patched it manually, but with no luck. My t/io.t:89 if ($Config{osname} eq 'darwin' or $Config{archname} =~ m/^armv5tejl/) { Patch (orig): if ($Config{osname} eq 'darwin' or $Config{osname} eq 'gnu' or And sorry about the lack of detail—here's the output. Somewhere in the middle, you'll see it whining about the PPC assembler not being found. Hope this is more helpful! —DKT This email and any attachments may contain information which is confidential and/or privileged. The information is intended exclusively for the addressee and the views expressed may not be official policy, but the personal views of the originator. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents is prohibited. If you have received this email and any file transmitted with it in error, please notify the sender by telephone or return email immediately and delete the material from your computer. Internet communications are not secure and Lab49 is not responsible for their abuse by third parties, nor for any alteration or corruption in transmission, nor for any damage or loss caused by any virus or other defect. Lab49 accepts no liability or responsibility arising out of or in any way connected to this email.

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

Subject: Re: [rt.cpan.org #68290] Build Broken on OS X (no PPC emulator)
Date: Wed, 18 May 2011 10:11:59 -0700
To: "Davin K. Tanabe via RT" <bug-Event [...] rt.cpan.org>
From: Joshua N Pritikin <jpritikin [...] pobox.com>
On Wed, May 18, 2011 at 11:48:21AM -0400, Davin K. Tanabe via RT wrote: Show quoted text
> lipo: can't open input file: /var/tmp//ccefkSW1.out (No such file or directory)
Hm, I don't see any errors except for here. The problem may not be due to Event. Is your compiler toolchain able to compile other perl modules?
Subject: Re: [rt.cpan.org #68290] Build Broken on OS X (no PPC emulator)
Date: Wed, 18 May 2011 13:46:15 -0400
To: "bug-Event [...] rt.cpan.org" <bug-Event [...] rt.cpan.org>
From: Davin Tanabe <dtanabe [...] lab49.com>
Towards the middle: c/generic.c:62: warning: format not a string literal and no format arguments /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed Installed assemblers are: /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64 /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 That's what clued me in to the potential problem. It's a fresh build, OS 10.6.7 with the included Perl (5.10.0) and gcc 4.2.1. It's only the CPAN module I needed that wouldn't compile; everything else (including IO::Event, which is what I actually needed) seems fine. And again, removing "-arch ppc" from the three lines where it appears in the Makefile seems to cure all my ills—it compiles and installs without problems after that. My older Mac still had the PPC Rosetta emulator installed. That's probably why it works there and it doesn't work on newer Macs now that they don't install PPC emulator support by default, and I'd be surprised if the XCode 4 toolchain includes any support for it either. On all my other machines, I upgraded XCode 3 to XCode 4; not sure what version of gcc, et al it comes with, but I always also installed support for older SDKs, which generally also meant PPC support. I guess XCode 4 doesn't allow for that any more. —DKT On May 18, 2011, at 1:12 PM, Joshua Pritikin via RT wrote: Show quoted text
> <URL: http://rt.cpan.org/Ticket/Display.html?id=68290 > > > On Wed, May 18, 2011 at 11:48:21AM -0400, Davin K. Tanabe via RT wrote:
>> lipo: can't open input file: /var/tmp//ccefkSW1.out (No such file or directory)
> > Hm, I don't see any errors except for here. The problem may not be due > to Event. Is your compiler toolchain able to compile other perl modules? >
This email and any attachments may contain information which is confidential and/or privileged. The information is intended exclusively for the addressee and the views expressed may not be official policy, but the personal views of the originator. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents is prohibited. If you have received this email and any file transmitted with it in error, please notify the sender by telephone or return email immediately and delete the material from your computer. Internet communications are not secure and Lab49 is not responsible for their abuse by third parties, nor for any alteration or corruption in transmission, nor for any damage or loss caused by any virus or other defect. Lab49 accepts no liability or responsibility arising out of or in any way connected to this email.
Subject: Re: [rt.cpan.org #68290] Build Broken on OS X (no PPC emulator)
Date: Wed, 18 May 2011 10:54:27 -0700
To: "Davin K. Tanabe via RT" <bug-Event [...] rt.cpan.org>
From: Joshua N Pritikin <jpritikin [...] pobox.com>
On Wed, May 18, 2011 at 01:46:25PM -0400, Davin K. Tanabe via RT wrote: Show quoted text
> Queue: Event > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68290 > > > Towards the middle: > > c/generic.c:62: warning: format not a string literal and no format arguments > /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed > Installed assemblers are: > /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64 > /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 > > That's what clued me in to the potential problem. > > It's a fresh build, OS 10.6.7 with the included Perl (5.10.0) and gcc 4.2.1. It's only the CPAN module I needed that wouldn't compile; everything else (including IO::Event, which is what I actually needed) seems fine. And again, removing "-arch ppc" from the three lines where it appears in the Makefile seems to cure all my ills—it compiles and installs without problems after that. > > My older Mac still had the PPC Rosetta emulator installed. That's probably why it works there and it doesn't work on newer Macs now that they don't install PPC emulator support by default, and I'd be surprised if the XCode 4 toolchain includes any support for it either. On all my other machines, I upgraded XCode 3 to XCode 4; not sure what version of gcc, et al it comes with, but I always also installed support for older SDKs, which generally also meant PPC support. I guess XCode 4 doesn't allow for that any more. —DKT
Drat, well, I don't really have any idea. If you can narrow it down to a patch to Event, I will happily apply it.
Subject: Re: [rt.cpan.org #68290] Build Broken on OS X (no PPC emulator)
Date: Wed, 18 May 2011 14:16:31 -0400
To: "bug-Event [...] rt.cpan.org" <bug-Event [...] rt.cpan.org>
From: Davin Tanabe <dtanabe [...] lab49.com>
Looks like there are a few things out there that suffer from the same problem: http://stackoverflow.com/questions/5256397/osx-10-6-6-cant-install-appscript http://lists.apple.com/archives/xcode-users/2011/Mar/msg00215.html I'm trying to figure out how this translates into a patch (I would never be confused as a Perl expert), but hopefully that means more to you than it does to me. —DKT On May 18, 2011, at 1:54 PM, Joshua Pritikin via RT wrote: Show quoted text
> <URL: https://rt.cpan.org/Ticket/Display.html?id=68290 > > > On Wed, May 18, 2011 at 01:46:25PM -0400, Davin K. Tanabe via RT wrote:
>> Queue: Event >> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68290 > >> >> Towards the middle: >> >> c/generic.c:62: warning: format not a string literal and no format arguments >> /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed >> Installed assemblers are: >> /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64 >> /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 >> >> That's what clued me in to the potential problem. >> >> It's a fresh build, OS 10.6.7 with the included Perl (5.10.0) and gcc 4.2.1. It's only the CPAN module I needed that wouldn't compile; everything else (including IO::Event, which is what I actually needed) seems fine. And again, removing "-arch ppc" from the three lines where it appears in the Makefile seems to cure all my ills—it compiles and installs without problems after that. >> >> My older Mac still had the PPC Rosetta emulator installed. That's probably why it works there and it doesn't work on newer Macs now that they don't install PPC emulator support by default, and I'd be surprised if the XCode 4 toolchain includes any support for it either. On all my other machines, I upgraded XCode 3 to XCode 4; not sure what version of gcc, et al it comes with, but I always also installed support for older SDKs, which generally also meant PPC support. I guess XCode 4 doesn't allow for that any more. —DKT
> > Drat, well, I don't really have any idea. If you can narrow it down to a > patch to Event, I will happily apply it. >
This email and any attachments may contain information which is confidential and/or privileged. The information is intended exclusively for the addressee and the views expressed may not be official policy, but the personal views of the originator. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents is prohibited. If you have received this email and any file transmitted with it in error, please notify the sender by telephone or return email immediately and delete the material from your computer. Internet communications are not secure and Lab49 is not responsible for their abuse by third parties, nor for any alteration or corruption in transmission, nor for any damage or loss caused by any virus or other defect. Lab49 accepts no liability or responsibility arising out of or in any way connected to this email.
CC: "bug-Event [...] rt.cpan.org" <bug-Event [...] rt.cpan.org>
Subject: Re: [rt.cpan.org #68290] Build Broken on OS X (no PPC emulator)
Date: Wed, 18 May 2011 14:22:34 -0400
To: Davin Tanabe <dtanabe [...] lab49.com>
From: Davin Tanabe <dtanabe [...] lab49.com>
Definitely not an Event problem. More to the point: http://mjo.tc/atelier/2011/03/xcode4-perl.html It's definitely more than just this library that's broken, and certainly the "fix" for this would be for Apple to fix their broken distribution of Perl. Not sure why some packages work and some don't, but luck of the draw caused this particular one to break for me. Sorry for the false alarm! —DKT On May 18, 2011, at 2:16 PM, Davin Tanabe wrote: Show quoted text
> Looks like there are a few things out there that suffer from the same problem: > > http://stackoverflow.com/questions/5256397/osx-10-6-6-cant-install-appscript > http://lists.apple.com/archives/xcode-users/2011/Mar/msg00215.html > > I'm trying to figure out how this translates into a patch (I would never be confused as a Perl expert), but hopefully that means more to you than it does to me. —DKT > > On May 18, 2011, at 1:54 PM, Joshua Pritikin via RT wrote: >
>> <URL: https://rt.cpan.org/Ticket/Display.html?id=68290 > >> >> On Wed, May 18, 2011 at 01:46:25PM -0400, Davin K. Tanabe via RT wrote:
>>> Queue: Event >>> Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68290 > >>> >>> Towards the middle: >>> >>> c/generic.c:62: warning: format not a string literal and no format arguments >>> /usr/libexec/gcc/powerpc-apple-darwin10/4.2.1/as: assembler (/usr/bin/../libexec/gcc/darwin/ppc/as or /usr/bin/../local/libexec/gcc/darwin/ppc/as) for architecture ppc not installed >>> Installed assemblers are: >>> /usr/bin/../libexec/gcc/darwin/x86_64/as for architecture x86_64 >>> /usr/bin/../libexec/gcc/darwin/i386/as for architecture i386 >>> >>> That's what clued me in to the potential problem. >>> >>> It's a fresh build, OS 10.6.7 with the included Perl (5.10.0) and gcc 4.2.1. It's only the CPAN module I needed that wouldn't compile; everything else (including IO::Event, which is what I actually needed) seems fine. And again, removing "-arch ppc" from the three lines where it appears in the Makefile seems to cure all my ills—it compiles and installs without problems after that. >>> >>> My older Mac still had the PPC Rosetta emulator installed. That's probably why it works there and it doesn't work on newer Macs now that they don't install PPC emulator support by default, and I'd be surprised if the XCode 4 toolchain includes any support for it either. On all my other machines, I upgraded XCode 3 to XCode 4; not sure what version of gcc, et al it comes with, but I always also installed support for older SDKs, which generally also meant PPC support. I guess XCode 4 doesn't allow for that any more. —DKT
>> >> Drat, well, I don't really have any idea. If you can narrow it down to a >> patch to Event, I will happily apply it. >>
>
This email and any attachments may contain information which is confidential and/or privileged. The information is intended exclusively for the addressee and the views expressed may not be official policy, but the personal views of the originator. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents is prohibited. If you have received this email and any file transmitted with it in error, please notify the sender by telephone or return email immediately and delete the material from your computer. Internet communications are not secure and Lab49 is not responsible for their abuse by third parties, nor for any alteration or corruption in transmission, nor for any damage or loss caused by any virus or other defect. Lab49 accepts no liability or responsibility arising out of or in any way connected to this email.
Subject: Re: [rt.cpan.org #68290] Build Broken on OS X (no PPC emulator)
Date: Wed, 18 May 2011 12:04:17 -0700
To: "Davin K. Tanabe via RT" <bug-Event [...] rt.cpan.org>
From: Joshua N Pritikin <jpritikin [...] pobox.com>
On Wed, May 18, 2011 at 02:22:45PM -0400, Davin K. Tanabe via RT wrote: Show quoted text
> Queue: Event > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=68290 > > > Definitely not an Event problem. > > More to the point: > > http://mjo.tc/atelier/2011/03/xcode4-perl.html > > It's definitely more than just this library that's broken, and certainly the "fix" for this would be for Apple to fix their broken distribution of Perl. Not sure why some packages work and some don't, but luck of the draw caused this particular one to break for me. Sorry for the false alarm! —DKT
Ah great. Thanks for tracking that down.