all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
@ 2012-05-23 23:34 David Caldwell
  2012-05-24  0:21 ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: David Caldwell @ 2012-05-23 23:34 UTC (permalink / raw)
  To: 11548

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@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







^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
  2012-05-23 23:34 bug#11548: Mac Intel/PowerPC doesn't build due to recent commit David Caldwell
@ 2012-05-24  0:21 ` Glenn Morris
  2012-05-24  0:53   ` David Caldwell
  0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2012-05-24  0:21 UTC (permalink / raw)
  To: David Caldwell; +Cc: 11548

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
  2012-05-24  0:21 ` Glenn Morris
@ 2012-05-24  0:53   ` David Caldwell
  2012-05-24  1:03     ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: David Caldwell @ 2012-05-24  0:53 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 11548

[-- Attachment #1: Type: text/plain, Size: 993 bytes --]

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


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4446 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
  2012-05-24  0:53   ` David Caldwell
@ 2012-05-24  1:03     ` Glenn Morris
  2012-05-24  1:58       ` David Caldwell
  0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2012-05-24  1:03 UTC (permalink / raw)
  To: David Caldwell; +Cc: 11548

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...





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
  2012-05-24  1:03     ` Glenn Morris
@ 2012-05-24  1:58       ` David Caldwell
  2012-05-24  2:06         ` Glenn Morris
  0 siblings, 1 reply; 7+ messages in thread
From: David Caldwell @ 2012-05-24  1:58 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 11548

[-- Attachment #1: Type: text/plain, Size: 797 bytes --]

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@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


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4446 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
  2012-05-24  1:58       ` David Caldwell
@ 2012-05-24  2:06         ` Glenn Morris
  2012-05-24  2:25           ` David Caldwell
  0 siblings, 1 reply; 7+ messages in thread
From: Glenn Morris @ 2012-05-24  2:06 UTC (permalink / raw)
  To: David Caldwell; +Cc: 11548


It's very easy to install autoconf/automake, then you won't have this
kind of issue again...






^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#11548: Mac Intel/PowerPC doesn't build due to recent commit
  2012-05-24  2:06         ` Glenn Morris
@ 2012-05-24  2:25           ` David Caldwell
  0 siblings, 0 replies; 7+ messages in thread
From: David Caldwell @ 2012-05-24  2:25 UTC (permalink / raw)
  To: Glenn Morris; +Cc: 11548

[-- Attachment #1: Type: text/plain, Size: 367 bytes --]

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.


[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 4446 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2012-05-24  2:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-23 23:34 bug#11548: Mac Intel/PowerPC doesn't build due to recent commit David Caldwell
2012-05-24  0:21 ` Glenn Morris
2012-05-24  0:53   ` David Caldwell
2012-05-24  1:03     ` Glenn Morris
2012-05-24  1:58       ` David Caldwell
2012-05-24  2:06         ` Glenn Morris
2012-05-24  2:25           ` David Caldwell

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.