A question about building firefox 3.5.x

20 views
Skip to first unread message

Weidong Li

unread,
Jan 10, 2010, 3:21:20 PM1/10/10
to pdx-fir...@googlegroups.com
Hi,

I recently tried to build firefox 3.5.7.   My mozconfig specifies to build for both theem. browser and xulrunner.  The build was fine without any problem.  But "make package" in the resulting "browser" directory failed with lots of suspicious messages, such as the following:

Warning: package error or possible missing or unnecessary file: bin/defaults/existing-profile-defaults.js (packages-static, 18).
Warning: package error or possible missing or unnecessary file: bin/old-homepage-default.properties (packages-static, 21).
Warning: package error or possible missing or unnecessary file: bin/update.locale (packages-static, 28).
Warning: package error or possible missing or unnecessary file: bin/updater.ini (packages-static, 29).
Warning: package error or possible missing or unnecessary file: bin/libmozjs.so (packages-static, 33).
Warning: package error or possible missing or unnecessary file: bin/libplc4.so (packages-static, 34).
Warning: package error or possible missing or unnecessary file: bin/libplds4.so (packages-static, 35).
Warning: package error or possible missing or unnecessary file: bin/libxpcom.so (packages-static, 36).
Warning: package error or possible missing or unnecessary file: bin/libnspr4.so (packages-static, 37).
Warning: package error or possible missing or unnecessary file: bin/libxul.so (packages-static, 38).
Warning: package error or possible missing or unnecessary file: bin/firefox-bin (packages-static, 42).
Warning: package error or possible missing or unnecessary file: bin/platform.ini (packages-static, 45).
... ...
run-mozilla.sh: Cannot execute ../../dist/bin/shlibsign.
... ...
make[3]: Entering directory `/home/wli/mozilla/ff-3.5.7/rslt/opt_ffxul.1/browser/browser/locales'
/home/wli/mozilla/ff-3.5.7/rslt/opt_ffxul.1/browser/config/nsinstall -D ../../dist/install
make: Entering an unknown directory
make: *** ../../toolkit/locales: No such file or directory.  Stop.
make: Leaving an unknown directory
make[3]: *** [libs-en-US] Error 2
... ...

I also tried with the firefox 3.5.3 source, which has almost exactly the same problem at the "make package" stage.  In the past I tried with firefox 3.0.x, and I did not have such problems.

Does anyone know what might have gone wrong?  Thanks in advance!

Regards,
Weidong



Dietrich Ayala

unread,
Jan 10, 2010, 5:25:02 PM1/10/10
to pdx-fir...@googlegroups.com
Can you post your mozconfig file?

> --
> You received this message because you are subscribed to the Google Groups
> "Portland Firefox Development" group.
> To post to this group, send email to pdx-fir...@googlegroups.com.
> To unsubscribe from this group, send email to
> pdx-firefox-d...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/pdx-firefox-dev?hl=en.
>
>

Weidong Li

unread,
Jan 10, 2010, 6:54:57 PM1/10/10
to pdx-fir...@googlegroups.com
Hi, Dietrich,

Thanks a lot for your prompt response!   The build was done on Ubuntu 9 running on AMD athlon II.  Inspite of the errors, the tar.gz file is still created in dist dir.   The source files are downloaded from this link: http://releases.mozilla.org/pub/mozilla.org/firefox/releases/latest-3.5/source/

The mozconfig I used is pasted as follows:

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../opt_ffxul.2
mk_add_options MOZ_BUILD_PROJECTS="xulrunner browser"
mk_add_options MOZ_CO_PROJECT="xulrunner browser"

ac_add_app_options xulrunner --enable-application=xulrunner
ac_add_app_options xulrunner --disable-javaxpcom
ac_add_app_options xulrunner --with-arm-kuser
ac_add_app_options browser --enable-application=browser
ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --enable-optimize --disable-debug
ac_add_app_options browser --with-libxul-sdk=../xulrunner/dist

export LDFLAGS="-Wl,-rpath-link,$PWD/dist/bin/:/usr/lib:/lib"

Any clue on what might have caused the problems is greatly appreciated.

Regards,
Weidong
Reply all
Reply to author
Forward
0 new messages