New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #14560 (closed defect: wontfix)

Opened 5 years ago

Last modified 4 years ago

Mozilla crashes on Leopard

Reported by: marco.falconi@… Owned by: macports-tickets@…
Priority: Low Milestone:
Component: ports Version: 1.6.0
Keywords: leopard Cc:
Port:

Description

when I try to build mozilla I get the following error message:

--->  Building mozilla with target all
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mozilla/work/mozilla" && make all " returned error 2
Command output: prlink.c:795: warning: 'ResolveAliasFile' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/Aliases.h:1035)
prlink.c:801: warning: 'GetDiskFragment' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h:345)
prlink.c:805: warning: 'p2cstrcpy' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:599)
prlink.c: In function 'pr_LoadViaDyld':
prlink.c:897: warning: 'NSAddImage' is deprecated (declared at /usr/include/mach-o/dyld.h:230)
prlink.c: In function 'PR_UnloadLibrary':
prlink.c:1360: warning: 'NSUnLinkModule' is deprecated (declared at /usr/include/mach-o/dyld.h:169)
prlink.c:1376: warning: 'CloseConnection' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h:382)
prlink.c: In function 'pr_FindSymbolInLib':
prlink.c:1498: warning: 'c2pstrcpy' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/TextUtils.h:578)
prlink.c:1501: warning: 'FindSymbol' is deprecated (declared at /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/CodeFragments.h:401)
prlink.c:1518: warning: 'NSLookupSymbolInImage' is deprecated (declared at /usr/include/mach-o/dyld.h:182)
prlink.c:1522: warning: 'NSAddressOfSymbol' is deprecated (declared at /usr/include/mach-o/dyld.h:188)
prlink.c:1547: warning: 'NSLookupSymbolInModule' is deprecated (declared at /usr/include/mach-o/dyld.h:181)
prlink.c:1549: warning: 'NSAddressOfSymbol' is deprecated (declared at /usr/include/mach-o/dyld.h:188)
prlink.c: In function 'PR_GetLibraryFilePathname':
prlink.c:1739: warning: assignment discards qualifiers from pointer target type
gmake[6]: *** [prlink.o] Error 1
gmake[6]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mozilla/work/mozilla/nsprpub/pr/src/linking'
gmake[5]: *** [export] Error 2
gmake[5]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mozilla/work/mozilla/nsprpub/pr/src'
gmake[4]: *** [export] Error 2
gmake[4]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mozilla/work/mozilla/nsprpub/pr'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mozilla/work/mozilla/nsprpub'
gmake[2]: *** [nspr] Error 2
gmake[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mozilla/work/mozilla'
gmake[1]: *** [export] Error 2
gmake[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_www_mozilla/work/mozilla'
make: *** [all] Error 2

Error: Status 1 encountered during processing.

I have an Intel Mac with Mac OS X 10.5.2. Is there anyone that can help me solve the problem? (and maybe explaining me what the problem actually is because I can't understand a thing in this error message...)

Thank you!

Change History

comment:1 Changed 5 years ago by jmr@…

Looks the same as with nspr in #12877.

comment:2 Changed 5 years ago by jmr@…

Well, I fixed that error in r34975, but it seems there's still work to be done. Now I get this:

/usr/bin/g++-4.0 -I/opt/local/include  -I/usr/X11/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -pipe -O2 -fpascal-strings -no-cpp-precomp -fno-common -fshort-wchar -pthread -pipe  -DNDEBUG -DTRIMMED -O -fPIC  -o libxpcom_compat_c.dylib  nsXPCOMObsolete.o nsRegistry.o    -L/opt/local/lib   -L../../../dist/bin -lxpcom -L../../../dist/bin -L/opt/local/var/macports/build/_Users_josh_Coding_dports-dev_svn_dports_www_mozilla/work/mozilla/dist/lib -lplds4 -lplc4 -lnspr4 -L/opt/local/lib -lpthread  -L../../../dist/lib -lxpcom_compat   -bundle -lm    
chmod +x libxpcom_compat_c.dylib
nmedit -s ../../../build/unix/gnu-ld-scripts/components-export-list libxpcom_compat_c.dylib
nmedit: can't make global coalesced symbols (like __ZTV10nsIFactory) into static symbols (use ld(1)'s -exported_symbols_list option) in a final linked image: /ork/mozilla/xpcom/obsolete/component/libxpcom_compat_c.dylib
__ZN20nsRegValueEnumeratorD0Ev
__ZN20nsRegValueEnumeratorD1Ev
__ZThn4_N10nsRegistry14QueryInterfaceERK4nsIDPPv
__ZThn4_N10nsRegistry22GetBytesUTF8IntoBufferEjPKcPhPj
__ZThn4_N10nsRegistry23GetStringUTF8IntoBufferEjPKcPcPj
__ZThn4_N10nsRegistry6AddRefEv
__ZThn4_N10nsRegistry7ReleaseEv
gmake[3]: *** [libxpcom_compat_c.dylib] Error 1
gmake[3]: *** Deleting file `libxpcom_compat_c.dylib'
gmake[3]: Leaving directory `/opt/local/var/macports/build/_Users_josh_Coding_dports-dev_svn_dports_www_mozilla/work/mozilla/xpcom/obsolete/component'

comment:3 Changed 5 years ago by marco.falconi@…

yes now i get this error too... i saw that someone installing firefox on fink got the same error and solved it modifying the .mozconfig file: well this file doesn't even exist in the ports installation (even if the client.mk file appearently defines the pattern where searches such file, but I'm a novice of unix so I can't understand so much...), I tried to create it as described for fink compilation and I put it in the mozilla folder of macports but nothing changes: maybe client.mk couldn't find it? I hope someone can help... Thanks.

comment:4 Changed 5 years ago by jmr@…

  • Priority changed from High to Normal

I found the thread you're referring to (though a link would have been handy!) We don't use a .mozconfig, all the options are specified in the configure.args in the Portfile. Looks like it should be an easy fix (knock on wood…)

comment:5 Changed 5 years ago by marco.falconi@…

Thank you very much for the help, I'll be waiting for the fixing to be done (in Italy we touch our family jewels instead of wood, but the meaning is quite the same...)

comment:6 Changed 5 years ago by jmr@…

The build succeeds as of r35022, but mozilla crashes at launch. I don't know if it's worth spending much more time on this.

comment:7 Changed 5 years ago by marco.falconi@…

I hoped galeon, that depends on mozilla, wouldn't crash, but it also does... when I try to launch it, it simply says "Segmentation fault"...

comment:8 Changed 5 years ago by jmr@…

Well, if it's Galeon you want, there are other avenues that could be pursued. It can be built against Firefox (a port which does work on Leopard) or Seamonkey, for example.

comment:9 Changed 5 years ago by marco.falconi@…

can you explain me exactly how? what does it mean "build it against firefox or seamonkey"? thanks...

comment:10 Changed 5 years ago by afb@…

  • Keywords leopard added
  • Summary changed from Mozilla won't build on Leopard to Mozilla crashes on Leopard

comment:11 Changed 5 years ago by jmr@…

  • Priority changed from Normal to Low

There's now a working port of seamonkey 1.1.9, and I'm working on getting galeon to build against it.

comment:12 Changed 5 years ago by marco.falconi@…

thank you, i'll be waiting for that....

comment:13 Changed 5 years ago by marco.falconi@…

I tried the new galeon port you have done, galeon builds but in configuring i get the following error:

checking which mozilla engine to use... firefox
checking for XPCOM_COMPONENT... configure: error: Package requirements (firefox-xpcom >= 1.0) were not met:

Package nspr was not found in the pkg-config search path.
Perhaps you should add the directory containing `nspr.pc'
to the PKG_CONFIG_PATH environment variable
Package 'nspr', required by 'XPCOM', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XPCOM_COMPONENT_CFLAGS
and XPCOM_COMPONENT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.


Error: Status 1 encountered during processing.

how can I solve it?

Thanks

comment:14 Changed 5 years ago by edwastrodowski@…

I just did a sudo port install mozilla on my iBook on 10.5.4 with only the error that it said I needed to do a force with a -f flag to activate it. and that worked. (I did this since I couldn't get seamonkey to compile on same).

entering mozilla -mail worked.. it forwarded the x11 to me 10 miles away {}.

So maybe the crashing is fixed on Leopard 10.5.4.

comment:15 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

comment:16 Changed 4 years ago by toby@…

  • Status changed from new to closed
  • Resolution set to wontfix

mozilla port was removed a while ago

Note: See TracTickets for help on using tickets.