Closed Bug 80613 Opened 23 years ago Closed 15 years ago

META Mozilla should have proper versioning for all binaries on all platforms

Categories

(SeaMonkey :: Build Config, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: gregs, Assigned: netdragon)

References

Details

(Keywords: meta, Whiteboard: [META])

I just installed mozilla 0.9 using the mozilla-installer (I had previously been
using the mozilla 0.8.1 that came with Ximian Gnome). The installer actually
starts Mozilla up just fine and I was merrily installing themes. However, after
exiting the instance of mozilla that was brought by the installer, and
attempting to start it from the command line I get:

(command prompt) > mozilla
Registering plugin 0 for: "*","All types",".*"
Registering plugin 0 for: "*","All types",".*"
**************************************************
nsNativeComponentLoader:
GetFactory(/usr/lib/mozilla-0.8.1/components/libmsgnews.so) Load FAILED with
error: /usr/lib/libnspr4.so: undefined symbol: NSGetFactory
**************************************************
XML Error in file
'file:///home/gregs/.mozilla/gregs-1/ydn3jhzy.slt/localstore.rdf', Line Number:
74, Col Number: 3, Description: unclosed token
Source Line:   <RDF:Descriptio
Segmentation fault

I tried installing again using mozilla-installer. It installed and started up
the program just fine. But again, trying to restart mozilla from the command
line created the same problem listed above.

BTW, I uninstalled all of my 0.8.1 mozilla rpms, except mozilla.0.8.1-ximian.13
which was required by nautilus.
what are the dates for mozilla-bin, libmsgnews.so and libnspr4.so? And where 
did you install mozilla?  My guess is that you managed to mix the old mozilla 
NSPR w/ the new mozilla build. editing your path or something would probably 
fix it...

This is quite possibly not our bug, but sending to build config because they 
understand the issues..
Assignee: asa → cls
Component: Browser-General → Build Config
QA Contact: doronr → granrose
Ximian?  Bouncing to Myth.
Assignee: cls → frb
This seems to be a clear case on why the versioning scheme on the libraries
provided by mozilla/netscape is insufficient.

I separated out libnspr since it is required by libnss, and anything that wants
to use it. 

I'm not sure if it has been fixed yet, but last I looked, nspr had a different
symbol table entirely if you --enable-debug.

I guess blizzard should obsolete libnspr in his package, or split it out as well
until we can get a better solution.

(adding blizzard to cc:)
I don't think this is a libnspr problem, necessarily; the error reporting there
can be decieving, and we certainly don't expect to find NSGetFactory in libnspr.
 (libnspr hasn't changed in a while, I don't think.)

Looks like you're trying to load the 0.8.1 library into your 0.9 build.  Maybe
you have an out-of-date component.reg?
Ahh, so maybe its due to the lack of versioning on the mozilla libs themselves?

/usr/lib/libcmt.so
/usr/lib/libgkgfx.so
/usr/lib/libgtkembedmoz.so
/usr/lib/libgtksuperwin.so
/usr/lib/libgtkxtbin.so
/usr/lib/libjsdom.so
/usr/lib/libjsj.so
/usr/lib/libmozjs.so
/usr/lib/libmsgbaseutil.so
/usr/lib/libprotocol.so
/usr/lib/libxpcom.so
/usr/lib/libxpistub.so

Are all versionless, but still need to be linked against for embedding.
Since none are pure components afaik, they do belong in a standard lib location
instead of a private one. On my machine, Nightles from tarballs still work fine
due to LD_LIBRARY_CONFIG

Confirming and modifying Summary
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Load FAILED with error: /usr/lib/libnspr4.so: undefined symbol: NSGetFactory → Mozilla requires versioned Libraries
Please take a look at bug 23560. It is about versioning on Win32.
Keywords: mozilla1.0+
bug 53727 discusses so versioning mozilla libs.
Changing summary, removing obsolete keyword: "mozilla1.0+". Making it a meta bug
for versioning bugs that need fixing prior to, hopefully, Mozilla 2.0.

Bug 23560 introduces files called "module.ver". Information could be added in
this for every platform. For instance, one used on windows is:
WIN32_MODULE_COMMENT.

You can preface Linux-specific versioning as
LINUX_SO_COMMENT (I don't know how Linux versioning works) if its possible to
build the versioning information at the same time as the libraries. I don't know
the specifics of that, but anyway, bug 53727 is about .so versioning on Unix.

What about Macs?

WIN32: http://bugzilla.mozilla.org/show_bug.cgi?id=50627
Linux: http://bugzilla.mozilla.org/show_bug.cgi?id=53727
Mozilla-win32-installer.exe: http://bugzilla.mozilla.org/show_bug.cgi?id=136684
GRE: http://bugzilla.mozilla.org/show_bug.cgi?id=180383
More to come...
Depends on: 23560, 50627, 53727, 136684, 180383
Keywords: mozilla1.0+meta
OS: Linux → All
Hardware: PC → All
Summary: Mozilla requires versioned Libraries → [meta] Mozilla requires versioned binaries on all platforms
Contain BUILD ID in MacOS: http://bugzilla.mozilla.org/show_bug.cgi?id=147456
Unhardcode versions: http://bugzilla.mozilla.org/show_bug.cgi?id=169074
NSS: http://bugzilla.mozilla.org/show_bug.cgi?id=84390

Not only is not versioning hard for packaging, but its unprofessional. That is a
list of the bugs that need to be fixed. Feel free to add any.
Depends on: 84390, 147456, 169074
Keywords: helpwanted
Summary: [meta] Mozilla requires versioned binaries on all platforms → META Mozilla should have proper versioning for all binaries on all platforms
Whiteboard: [META]
Since this is a meta bug, it is no longer a purely ximian problem, reassigning
to default owner/qa.
Assignee: frb → seawood
You morph the bug, you own it.
Assignee: seawood → netdemonz
Definitely not a blocker.
Severity: blocker → normal
Product: Browser → Seamonkey
No longer depends on: 136684
Depends on: 50522
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
Status: NEW → UNCONFIRMED
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
This bug report is registered in the SeaMonkey product, but has been without a comment since the inception of the SeaMonkey project. This means that it was logged against the old Mozilla suite and we cannot determine that it's still valid for the current SeaMonkey suite. Because of this, we are setting it to an UNCONFIRMED state.

If you can confirm that this report still applies to current SeaMonkey 2.x nightly builds, please set it back to the NEW state along with a comment on how you reproduced it on what Build ID, or if it's an enhancement request, why it's still worth implementing and in what way.
If you can confirm that the report doesn't apply to current SeaMonkey 2.x nightly builds, please set it to the appropriate RESOLVED state (WORKSFORME, INVALID, WONTFIX, or similar).
If no action happens within the next few months, we move this bug report to an EXPIRED state.

Query tag for this change: mass-UNCONFIRM-20090614
There are no plans for working on this for SeaMonkey specifically, and additionally, it's also unclear what this is about. Please file a new bug in the appropriate component if you still have and issue.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.