strange mozilla build failure

Joe Marcus Clarke marcus at marcuscom.com
Thu Jan 20 19:14:49 PST 2005


On Thu, 2005-01-20 at 17:39 +0100, Alexander Leidinger wrote:
> Hi,
> 
> I get this error:
> ---snip---
> gmake[3]: Entering directory `/big/usr/ports/www/mozilla/work/mozilla/nsprpub/config'
> cc -o now.o -c -O -pipe now.c
> now.c:47:2: #error "Architecture not supported"
> now.c:133:2: #error "Architecture not supported"
> gmake[3]: *** [now.o] Error 1
> [...]
> ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade34532.0 make "CFLAGS=-O -pipe" -DWITHOUT_MAILNEWS -DWITHOUT_CHATZILLA -DWITH_JAVASCRIPT_DEBUGGER -DWITHOUT_COMPOSER -DWITHOUT_CUPS
> ---snip---
> 
> My options are:
> ---snip---
> # less /var/db/ports/mozilla/options 
> # This file is auto-generated by 'make config'.
> # No user-servicable parts inside!
> # Options for mozilla-1.7.5_1,2
> _OPTIONS_READ=mozilla-1.7.5_1,2
> WITH_XFT=true
> WITHOUT_CALENDAR=true
> WITHOUT_MAILNEWS=true
> WITHOUT_COMPOSER=true
> WITHOUT_DEBUG=true
> WITHOUT_LDAP=true
> WITHOUT_CHATZILLA=true
> WITHOUT_XMLTERM=true
> WITH_JAVASCRIPT_DEBUGGER=true
> WITH_OPTIMIZED_CFLAGS=true
> WITHOUT_SMB=true
> WITH_MENU_ENTRY=true
> ---snip---
> 
> now.c starts with:
> ---snip---
> #include <stdio.h>
> #include <stdlib.h>
> 
> #if defined(VMS)
> #include <sys/timeb.h>
> #elif defined(XP_UNIX) || defined(XP_OS2_EMX) || defined(XP_BEOS)
> #include <sys/time.h>
> #elif defined(WIN32)
> #include <windows.h>
> #elif defined(XP_OS2_VACPP)
> #include <sys/timeb.h>
> #else
> #error "Architecture not supported"
> #endif
> ---snip---
> 
> Where is it supposed to find e.g. XP_UNIX?
> 
> This is on -current from Jan 4, may I bee stumbled over a bug in our
> make (I remember a discussion about a bug in make, but I'm not sure if
> the timeframe fits)?

mozilla-config.h

This config file is imported during compile time with the line:

-include mozilla-config.h

Therefore, it is highly possible that you're running into a make bug.

Joe

> 
> Bye,
> Alexander.
> 
-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20050120/ddf921f7/attachment.bin


More information about the freebsd-gnome mailing list