All users were logged out of Bugzilla on October 13th, 2018

Building .07 with --enable-toolkit=xlib fails...

VERIFIED FIXED in mozilla0.8

Status

()

--
critical
VERIFIED FIXED
18 years ago
18 years ago

People

(Reporter: roland.mainz, Assigned: quy)

Tracking

Trunk
mozilla0.8
All
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

18 years ago
An attempt to build the 2000-12-06-08-Mtrunk Zilla with 
% ../configure --enable-toolkit=xlib --with-xprint --enable-mathml --enable-svg
--enable-xsl --with-extensions
% make

fails with the following error:
-- snip --
c++ -o nsUserInfoUnix.o -c -DOSTYPE=\"SunOS5\" -DOJI   -I../../../dist/include
-I../../../dist/include     -I/usr/openwin/include   -fPIC  -fno-rtti
-fno-exceptions -pedantic -Wno-long-long
-Wa,-xarch=v8plus,-DULTRA_SPARC,-P,-L,-D_ASM,-D__STDC__=0,-K,PIC -pthreads 
-DDEBUG -DDEBUG_gisburn -DTRACING -g -DMOZILLA_CLIENT -include
../../../config-defs.h -Wp,-MD,.deps/nsUserInfoUnix.pp
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp: In method `nsresult
nsUserInfo::GetFullname(PRUnichar **)':
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp:84: warning: choosing
`nsCString::operator char *()' over `nsCString::operator const char *() const'
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp:84: warning:   for conversion
from `nsCAutoString' to `const char *'
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp:84: warning:   because
conversion sequence for the argument is better
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp: In method `nsresult
nsUserInfo::GetEmailAddress(char **)':
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp:180: warning: choosing
`nsCString::operator char *()' over `nsCString::operator const char *() const'
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp:180: warning:   for conversion
from `nsCAutoString' to `const char *'
../../../../xpfe/appshell/src/nsUserInfoUnix.cpp:180: warning:   because
conversion sequence for the argument is better
rm -f libnsappshell.so
c++ -fno-rtti -fno-exceptions -pedantic -Wno-long-long
-Wa,-xarch=v8plus,-DULTRA_SPARC,-P,-L,-D_ASM,-D__STDC__=0,-K,PIC -pthreads 
-DDEBUG -DDEBUG_gisburn -DTRACING -g -G -h libnsappshell.so -o
libnsappshell.so     nsChromeTreeOwner.o nsContentTreeOwner.o nsXULWindow.o
nsAppShellService.o nsWebShellWindow.o nsCommandLineService.o
nsXPConnectFactory.o nsJSXPConnectFactory.o nsAppShellNameSet.o
nsFileLocations.o nsNetSupportDialog.o nsWindowMediator.o nsDialogParamBlock.o
nsCommonDialogs.o nsAbout.o nsAppShellFactory.o  nsUserInfoUnix.o    
-L../../../dist/bin -ljsdom   -L../../../dist/bin -lplds4 -lplc4 -lnspr4
-lpthread -L../../../dist/bin -lxpcom -lmozjs   -lw -lposix4 -lintl -lelf -lnsl
-lsocket -lresolv -ldl -lm    
chmod +x libnsappshell.so
true libnsappshell.so
../../../config/nsinstall -R -m 555 libnsappshell.so
../../../dist/lib/components
: ../../../dist/lib/components/libnsappshell.so
../../../config/nsinstall -R -m 555 libnsappshell.so
../../../dist/bin/components
: ../../../dist/bin/components/libnsappshell.so
make[3]: Leaving directory
`/bigtmp/gisburn/mozilla/objdir_gcc/xpfe/appshell/src'
make[2]: Leaving directory `/bigtmp/gisburn/mozilla/objdir_gcc/xpfe/appshell'
make[2]: Entering directory `/bigtmp/gisburn/mozilla/objdir_gcc/xpfe/bootstrap'
nsAppRunner.cpp
c++ -o nsAppRunner.o -c -DOSTYPE=\"SunOS5\" -DOJI   -I../../dist/include
-I../../dist/include     -I/usr/openwin/include   -fPIC  -fno-rtti
-fno-exceptions -pedantic -Wno-long-long
-Wa,-xarch=v8plus,-DULTRA_SPARC,-P,-L,-D_ASM,-D__STDC__=0,-K,PIC -pthreads 
-DDEBUG -DDEBUG_gisburn -DTRACING -g -DWIDGET_DLL=\"libwidget_xlib.so\"
-DGFXWIN_DLL=\"libgfx_xlib.so\" -I/usr/openwin/include -DMOZILLA_CLIENT -include
../../config-defs.h -Wp,-MD,.deps/nsAppRunner.pp
../../../xpfe/bootstrap/nsAppRunner.cpp
../../../xpfe/bootstrap/nsAppRunner.cpp:70: nsXRemoteClientCID.h: No such file
or directory
make[2]: *** [nsAppRunner.o] Error 1
make[2]: Leaving directory `/bigtmp/gisburn/mozilla/objdir_gcc/xpfe/bootstrap'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/bigtmp/gisburn/mozilla/objdir_gcc/xpfe'
make: *** [install] Error 2
-- snip --

This happens on Linux (SuSE 6.4 x86) and Solaris 7 SPARC...
(Reporter)

Comment 1

18 years ago
Adding blizzard (our the Xlib guru... :-))

Comment 2

18 years ago
->pavlov
Assignee: trudelle → pavlov

Comment 3

18 years ago
reassigning to the xlib folks
Assignee: pavlov → quy
(Reporter)

Comment 4

18 years ago
Exactly the same for Mozilla .07.

Is it possible to get this fixed for Mozilla .08, please ?
Severity: major → critical
Summary: Building 2000-12-06-08-Mtrunk with --enable-toolkit=xlib fails... → Building .07 with --enable-toolkit=xlib fails...
Target Milestone: --- → mozilla0.8
(Reporter)

Comment 6

18 years ago
Wow... fix is... short (I was looking somewhere else... far far away... ;-( )...
:-))

Currently testing (three builds with different options; two pending, one
failed)...
At least XMLterm does not work with Xlib - looks like GTK+ hell:
-- snip --
c++ -o mozLineTerm.o -c -I/usr/openwin/include -DOSTYPE=\"SunOS5\" -DOJI
-DSOLARIS -DUSE_NSPR_BASE -DNO_CALLBACK   -I../../../dist/include
-I../../../dist/include     -I/usr/openwin/include   -fPIC  -fno-rtti
-fno-exceptions -pedantic -Wno-long-long -pthreads -O  -DDEBUG -DDEBUG_gisburn
-DTRACING -g -DMOZILLA_CLIENT -include ../../../config-defs.h
-Wp,-MD,.deps/mozLineTerm.pp ../../../../extensions/xmlterm/base/mozLineTerm.cpp
In file included from ../../../../extensions/xmlterm/base/mozLineTerm.cpp:43:
../../../../extensions/xmlterm/base/mozLineTerm.h:103: `gpointer' was not
declared in this scope
../../../../extensions/xmlterm/base/mozLineTerm.h:103: parse error before `,'
../../../../extensions/xmlterm/base/mozLineTerm.cpp:431: `gpointer' was not
declared in this scope
../../../../extensions/xmlterm/base/mozLineTerm.cpp:431: parse error before `,'
../../../../extensions/xmlterm/base/mozLineTerm.cpp: In function `static void
mozLineTerm::Callback(...)':
../../../../extensions/xmlterm/base/mozLineTerm.cpp:435: `data' undeclared
(first use this function)
../../../../extensions/xmlterm/base/mozLineTerm.cpp:435: (Each undeclared
identifier is reported only once
../../../../extensions/xmlterm/base/mozLineTerm.cpp:435: for each function it
appears in.)
make[3]: *** [mozLineTerm.o] Error 1
make[3]: Leaving directory
`/bigtmp/gisburn/mozilla/objdir_gcc_xlib/extensions/xmlterm/base'
make[2]: *** [install] Error 2
make[2]: Leaving directory
`/bigtmp/gisburn/mozilla/objdir_gcc_xlib/extensions/xmlterm'
make[1]: *** [install] Error 2
make[1]: Leaving directory `/bigtmp/gisburn/mozilla/objdir_gcc_xlib/extensions'
make: *** [install] Error 2
-- snip --

Should I file a seperate bug for this ?
(Reporter)

Comment 7

18 years ago
Other builds finished successfully == fix OK.
Should I verify ?

----

Question to Xlib folks:
Before I start to produce tons of duplicate bugs for Xlib toolkit - which of the
following issues are already tracked by BugZilla:
- Mozilla windows do not have icon images when iconified 
- Is it possible that Xlib Mozilla does not set any window manager hints ?
- initial start of Mozilla hangs after closing the profile manager (fix: Start
./mozilla-viewer.sh first)
- "selection" and clipboard do not work (e.g. select text in Mozilla and try to
put it via middle-mouse into an other application (dtterm, dtpad, nedit etc.))
- Using popups is difficult, some items are unreachable. 
  Example: Try to select text and "copy" it via popup-menu. It seems that popups
are implemented as seperate windows. If the mouse gets over the popup window the
parent window looses focus and the menu item "Copy" gets disabled. Nice... ;-(
- building Mozilla with --with-extensions fails in XMLterm code (see older
comments in this bug)
- Xlib build is a little bit sluggish
(Reporter)

Comment 8

18 years ago
Marking as VERIFIED, filed bug 67250 to track "--enable-toolkit=xlib breaks
XMLterm"...

Thanks !!
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.