firefox3 build fails on alpha

Anton Shterenlikht mexas at bristol.ac.uk
Fri Aug 1 11:51:26 UTC 2008


On Fri, Aug 01, 2008 at 09:55:27AM +0100, Anton Shterenlikht wrote:
> On Thu, Jul 31, 2008 at 05:42:17PM -0500, Jeremy Messenger wrote:
> > On Thu, 31 Jul 2008 17:24:43 -0500, Anton Shterenlikht  
> > <mexas at bristol.ac.uk> wrote:
> > 
> > > On Sun, Jul 13, 2008 at 12:59:29AM +0200, Wilko Bulte wrote:
> > >> Quoting Jeremy Messenger, who wrote on Sat, Jul 12, 2008 at 05:44:11PM  
> > >> -0500 ..
> > >> > On Tue, 08 Jul 2008 07:23:52 -0500, Anton Shterenlikht
> > >> > <mexas at bristol.ac.uk> wrote:
> > >> > >
> > >> > > A followup. It seems xptcinvoke_freebsd_alpha.cpp is missing. It
> > >> > > is used in Makefile:
> > >> >
> > >> > I think most of us don't have any alpha machine. You might have to  
> > >> create
> > >> > patch for us. I think, the alpha support has been dropped so it's
> > >> > pointless for us to work on alpha support.
> > >>
> > >> The latest release of FreeBSD supporting the Alpha platform port is
> > >> RELENG_6.  Anything newer no longer supports Alpha.
> > >
> > > I'm happy with RELENG_6 on alpha.
> > > I'm happy to test firefox3 on alpha, but need to learn about pathes.
> > >
> > > In this particular case it seems that (at least) 2 files
> > > are missing from the distribution:
> > >
> > > 	xptcinvoke_freebsd_alpha.cpp
> > > 	xptcstubs_freebsd_alpha.cpp
> > >
> > > (curiously the corresponding *alpha.cpp files are present for osf1,  
> > > linux,
> > > openvms and openbsd).
> > >
> > > I think that whoever created the tar file simply forgot to add the  
> > > freebsd
> > > files.
> > >
> > > I did try to contact mozilla developers directly, but no reply so far.
> > > I understand that mozilla developers put out the tar file. Perhaps the
> > > port maintainers could alert the mozilla team about the missing files,
> > > or maybe even get these 2 files. I'd be very greatful.
> > 
> > Have you tried 3.0.1 yet? The Makefile.in has changed by Mozilla team:
> > 
> > ---------------------------------------------------
> > ######################################################################
> > #
> > # Tru64/Alpha
> > #
> > ifeq ($(OS_ARCH)$(OS_TEST),OSF1alpha)
> > CPPSRCS		:= xptcinvoke_osf1_alpha.cpp xptcstubs_osf1_alpha.cpp
> > ASFILES		:= xptcinvoke_asm_osf1_alpha.s xptcstubs_asm_osf1_alpha.s
> > endif
> > #
> > # Linux/Alpha
> > #
> > ifneq (,$(filter Linuxalpha FreeBSDalpha NetBSDalpha,$(OS_ARCH)$(OS_TEST)))
> > CPPSRCS		:= xptcinvoke_linux_alpha.cpp xptcstubs_linux_alpha.cpp
> > endif
> > ---------------------------------------------------
> > 
> > But I have no idea if it works.
> 
> I just tried again, and get the same error:
> 
> gmake[8]: Entering directory `/usr/ports/www/firefox3/work/mozilla/xpcom/reflect
> /xptcall/src/md/unix'
> gmake[8]: *** No rule to make target `xptcinvoke_freebsd_alpha.o', needed by `li
> bxptcmd.a'.  Stop.
> gmake[8]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/xpcom/reflect/
> xptcall/src/md/unix'
> gmake[7]: *** [libs] Error 2
> 
> Also my Makefile.in under
> /usr/ports/www/firefox3/work/mozilla/xpcom/reflect/xptcall/src/md/unix
> 
> still requires these 2 files.

I tried to copy these 2 files from firefox to firefox3. One file compiles,
the other does not:

gmake[8]: Entering directory `/usr/ports/www/firefox3/work/mozilla/xpcom/reflect
/xptcall/src/md/unix'
xptcinvoke_freebsd_alpha.cpp
c++ -o xptcinvoke_freebsd_alpha.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6
\" -DOSARCH=FreeBSD -DEXPORT_XPTC_API -D_IMPL_NS_COM -I./../.. -I./../../../../x
ptinfo/src  -I. -I. -I../../../../../../dist/include/string -I../../../../../../
dist/include   -I../../../../../../dist/include/xpcom -I/usr/local/include/nspr
  -I/usr/include  -I/usr/local/include   -fPIC  -I/usr/local/include  -I/usr/loc
al/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverlo
aded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -
Wno-long-long -O -pipe -mcpu=ev6 -mieee -O2 -fno-strict-aliasing -fno-strict-ali
asing -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O  -I/usr/local/include  -I/usr/l
ocal/include -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h xptcin
voke_freebsd_alpha.cpp
xptcstubs_freebsd_alpha.cpp
c++ -o xptcstubs_freebsd_alpha.o -c  -DMOZILLA_INTERNAL_API -DOSTYPE=\"FreeBSD6\
" -DOSARCH=FreeBSD -DEXPORT_XPTC_API -D_IMPL_NS_COM -I./../.. -I./../../../../xp
tinfo/src  -I. -I. -I../../../../../../dist/include/string -I../../../../../../d
ist/include   -I../../../../../../dist/include/xpcom -I/usr/local/include/nspr
 -I/usr/include  -I/usr/local/include   -fPIC  -I/usr/local/include  -I/usr/loca
l/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Woverloa
ded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wcast-align -W
no-long-long -O -pipe -mcpu=ev6 -mieee -O2 -fno-strict-aliasing -fno-strict-alia
sing -fshort-wchar -pipe  -DNDEBUG -DTRIMMED -O  -I/usr/local/include  -I/usr/lo
cal/include -DMOZILLA_CLIENT -include ../../../../../../mozilla-config.h xptcstu
bs_freebsd_alpha.cpp
xptcstubs_freebsd_alpha.cpp: In function `nsresult PrepareAndDispatch(nsXPTCStub
Base*, uint32, PRUint64*)':
xptcstubs_freebsd_alpha.cpp:59: error: `nsIInterfaceInfo' was not declared in th
is scope
xptcstubs_freebsd_alpha.cpp:59: error: `iface_info' was not declared in this sco
pe
xptcstubs_freebsd_alpha.cpp:67: error: 'class nsXPTCStubBase' has no member name
d 'GetInterfaceInfo'
xptcstubs_freebsd_alpha.cpp:131: error: 'class nsXPTCStubBase' has no member nam
ed 'CallMethod'
xptcstubs_freebsd_alpha.cpp:59: warning: unused variable 'nsIInterfaceInfo'
gmake[8]: *** [xptcstubs_freebsd_alpha.o] Error 1
gmake[8]: Leaving directory `/usr/ports/www/firefox3/work/mozilla/xpcom/reflect/
xptcall/src/md/unix'
gmake[7]: *** [libs] Error 2

-- 
Anton Shterenlikht
Room 2.6, Queen's Building
Mech Eng Dept
Bristol University
University Walk, Bristol BS8 1TR, UK
Tel: +44 (0)117 928 8233 
Fax: +44 (0)117 929 4423


More information about the freebsd-alpha mailing list