Closed Bug 319997 Opened 19 years ago Closed 19 years ago

Convert parser tests to use the frozen symbol API

Categories

(Core :: DOM: HTML Parser, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.9alpha1

People

(Reporter: benjamin, Assigned: benjamin)

References

Details

Attachments

(1 file)

libxul is going to stop exporting the non-frozen XPCOM symbols, and it is therefore necessary for various tests/utils to use the frozen linkage APIs. This bug is for parser/htmlparser/tests
Attachment #205649 - Flags: review?(mrbkap)
Attachment #205649 - Flags: review?(mrbkap) → review+
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
This fix seems to have broken my Fedora Core 4 build and the luna tinderbox build.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Fixed
Status: REOPENED → RESOLVED
Closed: 19 years ago19 years ago
Resolution: --- → FIXED
This patch caused the bustage on Solaris
gmake[5]: Leaving directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/parser/htmlparser/src'
gmake[5]: Entering directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/parser/htmlparser/tests'
gmake[6]: Entering directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/parser/htmlparser/tests/grabpage'
grabpage.cpp
CC -o grabpage.o -c  -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DBUILD_ID=2005121305  -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/necko -I../../../../dist/include -I../../../../dist/include -I../../../../dist/include/nspr    -I../../../../dist/sdk/include -I/usr/openwin/include   -KPIC  -I/usr/openwin/include -xbuiltin=%all -features=tmplife -norunpath -mt  -DNDEBUG -DTRIMMED -xO4  -I/usr/openwin/include -DMOZILLA_CLIENT -D_MOZILLA_CONFIG_H_ -DMOZILLA_VERSION=\"1.9a1\" -DMOZILLA_VERSION_U=1.9a1 -DSOLARIS=1 -DNSCAP_DISABLE_DEBUG_PTR_TYPES=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CHANNEL=default -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=\"1.9a1\" -DMOZILLA_REGION_VERSION=\"1.9a1\" -DMOZILLA_SKIN_VERSION=\"1.8\"  grabpage.cpp
CC -o grabpage -I/usr/openwin/include -xbuiltin=%all -features=tmplife -norunpath -mt  -DNDEBUG -DTRIMMED -xO4  grabpage.o   -xildoff -zlazyload -zcombreloc  -R '$ORIGIN:$ORIGIN/..'   -L../../../../dist/bin -L../../../../dist/lib ../../../../dist/lib/libxpcomglue_s.a -L../../../../dist/bin -lxpcom -lxpcom_core  -L../../../../dist/lib -lplds4 -lplc4 -lnspr4 -lpthread -ldl -lposix4  -lsocket -ldl -lm      
/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/config/nsinstall -R -m 755 grabpage ../../../../dist/bin
gmake[6]: Leaving directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/parser/htmlparser/tests/grabpage'
gmake[6]: Entering directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/parser/htmlparser/tests/html'
TestParser.cpp
CC -o TestParser.o -c  -DOSTYPE=\"SunOS5\" -DOSARCH=\"SunOS\" -DBUILD_ID=2005121305 -I./../../public -I../../../../dist/include/xpcom -I../../../../dist/include/string -I../../../../dist/include/necko -I../../../../dist/include/content -I../../../../dist/include -I../../../../dist/include -I../../../../dist/include/nspr    -I../../../../dist/sdk/include -I/usr/openwin/include   -KPIC  -I/usr/openwin/include -xbuiltin=%all -features=tmplife -norunpath -mt  -DNDEBUG -DTRIMMED -xO4  -I/usr/openwin/include -DMOZILLA_CLIENT -D_MOZILLA_CONFIG_H_ -DMOZIL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LOADER=1 -DNS_PRINTING=1 -DNS_PRINT_PREVIEW=1 -DMOZ_XTF=1 -DMOZ_MATHML=1 -DMOZ_UPDATE_CHANNEL=default -DMOZ_LOGGING=1 -DMOZ_USER_DIR=\".mozilla\" -DMOZ_XUL=1 -DMOZ_PROFILELOCKING=1 -DMOZ_DLL_SUFFIX=\".so\" -DXP_UNIX=1 -DUNIX_ASYNC_DNS=1 -DJS_THREADSAFE=1 -DMOZ_ACCESSIBILITY_ATK=1 -DMOZILLA_LOCALE_VERSION=\"1.9a1\" -DMOZILLA_REGION_VERSION=\"1.9a1\" -DMOZILLA_SKIN_VERSION=\"1.8\"  TestParser.cpp
"../../../../dist/include/string/nsTAString.h", line 41: Error: #error Cannot use internal string classes without MOZILLA_INTERNAL_API defined. Use the frozen header nsStringAPI.h instead..
gmake[6]: *** [TestParser.o] Error 1
gmake[6]: Leaving directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/parser/htmlparser/tests/html'
gmake[5]: *** [libs] Error 2
gmake[5]: Leaving directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/parser/htmlparser/tests'
gmake[4]: *** [libs] Error 2
gmake[4]: Leaving directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla/parser/htmlparser'
gmake[3]: *** [libs_tier_9] Error 2
gmake[3]: Leaving directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla'
gmake[2]: *** [tier_9] Error 2
gmake[2]: Leaving directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla'
gmake[1]: *** [alldep] Error 2
gmake[1]: Leaving directory `/export/home/tinderbox/builds/seamonkey-ports/SunOS_5.10_Clobber/mozilla'
gmake: *** [alldep] Error 2

Please see this tinderbox page for more information:
http://tinderbox.mozilla.org/SeaMonkey-Ports/
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: