GNU bug report logs - #11548
Mac Intel/PowerPC doesn't build due to recent commit

Previous Next

Package: emacs;

Reported by: David Caldwell <david <at> porkrind.org>

Date: Wed, 23 May 2012 23:38:02 UTC

Severity: normal

Tags: notabug

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 11548 in the body.
You can then email your comments to 11548 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#11548; Package emacs. (Wed, 23 May 2012 23:38:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Caldwell <david <at> porkrind.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 23 May 2012 23:38:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: David Caldwell <david <at> porkrind.org>
To: bug-gnu-emacs <at> gnu.org
Subject: Mac Intel/PowerPC doesn't build due to recent commit
Date: Wed, 23 May 2012 16:34:17 -0700
On Mac OS X x86_64:
make  all-am
gcc -mmacosx-version-min=10.5 -std=gnu99 -DHAVE_CONFIG_H -I. -I../src
-I/Users/david/src/emacs-dev/emacs-bzr/build-2012-05-23/src      -g -O2
-MT allocator.o -MD -MP -MF .deps/allocator.Tpo -c -o allocator.o
allocator.c
In file included from allocator.c:2:
../src/config.h:1352:26: error: m/amdx86-64.h: No such file or directory

Cross compiling PowerPC on Mac OS X:
powerpc-apple-darwin10-gcc-4.2.1 -mmacosx-version-min=10.4 -std=gnu99
-DHAVE_CONFIG_H -I. -I../src
-I/Users/david/src/emacs-dev/emacs-bzr/build-2012-05-23/src      -g -O2
-MT allocator.o -MD -MP -MF .deps/allocator.Tpo -c -o allocator.o
allocator.c
In file included from allocator.c:2:
../src/config.h:1352:26: error: m/macppc.h: No such file or directory

This appears to be related to this commit:

revno: 108341
committer: Paul Eggert <eggert <at> cs.ucla.edu>
branch nick: trunk
timestamp: Tue 2012-05-22 09:20:27 -0700
message:
  Remove src/m/*.


I'm not sure what the solution is, I'm just reporting that I can't build
on the Mac (PPC or Intel) any more.

-David






Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11548; Package emacs. (Thu, 24 May 2012 00:23:01 GMT) Full text and rfc822 format available.

Message #8 received at 11548 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: David Caldwell <david <at> porkrind.org>
Cc: 11548 <at> debbugs.gnu.org
Subject: Re: bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
Date: Wed, 23 May 2012 20:21:15 -0400
David Caldwell wrote:

> I'm not sure what the solution is, I'm just reporting that I can't build
> on the Mac (PPC or Intel) any more.

Does it work if you start from a clean state? Eg

make maintainer-clean
configure
make




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11548; Package emacs. (Thu, 24 May 2012 00:55:02 GMT) Full text and rfc822 format available.

Message #11 received at 11548 <at> debbugs.gnu.org (full text, mbox):

From: David Caldwell <david <at> porkrind.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11548 <at> debbugs.gnu.org
Subject: Re: bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
Date: Wed, 23 May 2012 17:53:20 -0700
[Message part 1 (text/plain, inline)]
On 5/23/12 5:21 PM, Glenn Morris wrote:
> David Caldwell wrote:
> 
>> I'm not sure what the solution is, I'm just reporting that I can't build
>> on the Mac (PPC or Intel) any more.
> 
> Does it work if you start from a clean state? Eg
> 
> make maintainer-clean
> configure
> make

I am doing a clean checkout from bzr, which should be very clean:

bzr checkout --lightweight --hardlink emacs-bzr/trunk emacs-bzr/xxx-test
cd emacs-bzr/xxx-test
./autogen/copy_autogen
./configure --with-ns
make

Interestingly, I tried this locally on my laptop and could not duplicate
the problem. My laptop is running Mac OS X 10.7.4 and Xcode 4.3.2.

However, my Emacs build machine is consistently failing (the one that
builds Emacs for http://emacsformacosx.com). That machine is running
10.6.8 and Xcode 3.2.6 (the last version that worked on that OS, I
think). It needs to run on an older OS because that is the last OS that
supported building Emacs for PowerPC.

-David

[smime.p7s (application/pkcs7-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11548; Package emacs. (Thu, 24 May 2012 01:05:01 GMT) Full text and rfc822 format available.

Message #14 received at 11548 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: David Caldwell <david <at> porkrind.org>
Cc: 11548 <at> debbugs.gnu.org
Subject: Re: bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
Date: Wed, 23 May 2012 21:03:09 -0400
David Caldwell wrote:

> I am doing a clean checkout from bzr, which should be very clean:
>
> bzr checkout --lightweight --hardlink emacs-bzr/trunk emacs-bzr/xxx-test

Are you doing this right now, or was this earlier?

What does line 1352 of config.h look like?

I'm pretty sure your checkout is just not up-to-date...




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11548; Package emacs. (Thu, 24 May 2012 02:00:02 GMT) Full text and rfc822 format available.

Message #17 received at 11548 <at> debbugs.gnu.org (full text, mbox):

From: David Caldwell <david <at> porkrind.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11548 <at> debbugs.gnu.org
Subject: Re: bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
Date: Wed, 23 May 2012 18:58:27 -0700
[Message part 1 (text/plain, inline)]
On 5/23/12 6:03 PM, Glenn Morris wrote:
> David Caldwell wrote:
> 
>> I am doing a clean checkout from bzr, which should be very clean:
>>
>> bzr checkout --lightweight --hardlink emacs-bzr/trunk emacs-bzr/xxx-test
> 
> Are you doing this right now, or was this earlier?
> 
> I'm pretty sure your checkout is just not up-to-date...

Yes you are right, my build machine pulled from the repo at midnight so
it hadn't caught your commit:

revno: 108346
committer: Glenn Morris <rgm <at> gnu.org>
branch nick: trunk
timestamp: Wed 2012-05-23 06:17:31 -0400
message:
  Auto-commit of generated files.

The machine I was testing with locally on *had* that commit so it
worked. All the OS stuff was a red herring.

So this bug is already fixed. Sorry for the false alarm!

-David

[smime.p7s (application/pkcs7-signature, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11548; Package emacs. (Thu, 24 May 2012 02:07:02 GMT) Full text and rfc822 format available.

Message #20 received at 11548 <at> debbugs.gnu.org (full text, mbox):

From: Glenn Morris <rgm <at> gnu.org>
To: David Caldwell <david <at> porkrind.org>
Cc: 11548 <at> debbugs.gnu.org
Subject: Re: bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
Date: Wed, 23 May 2012 22:06:03 -0400
It's very easy to install autoconf/automake, then you won't have this
kind of issue again...





Added tag(s) notabug. Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 24 May 2012 02:08:05 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 11548 <at> debbugs.gnu.org and David Caldwell <david <at> porkrind.org> Request was from Glenn Morris <rgm <at> gnu.org> to control <at> debbugs.gnu.org. (Thu, 24 May 2012 02:08:06 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#11548; Package emacs. (Thu, 24 May 2012 02:27:01 GMT) Full text and rfc822 format available.

Message #27 received at 11548 <at> debbugs.gnu.org (full text, mbox):

From: David Caldwell <david <at> porkrind.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 11548 <at> debbugs.gnu.org
Subject: Re: bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
Date: Wed, 23 May 2012 19:25:28 -0700
[Message part 1 (text/plain, inline)]
On 5/23/12 7:06 PM, Glenn Morris wrote:
> 
> It's very easy to install autoconf/automake, then you won't have this
> kind of issue again...

You are right. I was resisting based on the idea of maintaining some
sort of "purity" of the build machine, but "brew install autoconf
automake" is not out of line. I've gone ahead and done it, thanks for
the push.

[smime.p7s (application/pkcs7-signature, attachment)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 21 Jun 2012 11:24:03 GMT) Full text and rfc822 format available.

This bug report was last modified 13 years and 64 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.