Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53508 - Mozilla won't compile with Heimdal installed
Summary: Mozilla won't compile with Heimdal installed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
: 58417 59690 60059 (view as bug list)
Depends on:
Reported: 2004-06-10 04:39 UTC by Mårten Svantesson
Modified: 2006-07-22 14:43 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Mårten Svantesson 2004-06-10 04:39:43 UTC
A flaw in mozilla makes the compilation of Mozilla fail in the negotiateauth extension if Heimdal is installed.

Reproducible: Always
Steps to Reproduce:
1. Have heimdal installed.
2. emerge mozilla

Actual Results:  
The compilation ended in:
g++ -o nsHttpGssapiAuth.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\" -DHAVE_DEP
ENDENT_LIBS -I/usr/include/heimdal -I/usr/athena/include -I../../dist/include/xp
com -I../../dist/include/string -I../../dist/include/necko -I../../dist/include/
pref -I../../dist/include/negotiateauth -I../../dist/include -I/var/tmp/portage/
mozilla-1.7_rc1-r1/work/mozilla/dist/include/nspr     -I. -I/usr/X11R6/include 
-fPIC  -I/usr/X11R6/include -fno-rtti -fno-exceptions -Wall -Wconversion -Wpoin
ter-arith -Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy -Wno-
non-virtual-dtor -Wno-long-long -fforce-addr -Wno-deprecated -fshort-wchar -pthr
ead -pipe  -DNDEBUG -DTRIMMED -ffunction-sections -O2  -I/usr/X11R6/include -DMO
ZILLA_CLIENT -include ../../mozilla-config.h -Wp,-MD,.deps/nsHttpGssapiAuth.pp n
nsHttpGssapiAuth.cpp:104: error: `OM_uint32' was not declared in this scope
nsHttpGssapiAuth.cpp:104: error: parsningsfel before `,' token
nsHttpGssapiAuth.cpp: In function `void LogGssError(...)':
nsHttpGssapiAuth.cpp:106: error: `OM_uint32' undeclared (first use this
nsHttpGssapiAuth.cpp:106: error: (Each undeclared identifier is reported only
   once for each function it appears in.)


(The errors go on.)

Expected Results:  
Emerged mozilla!

The software versions was heimdal 0.62 and mozilla 1.7-rc1_r1. But any heimdal
together with any mozilla 1.7 should be affected.

I have entered a bug in mozillas bugzilla together with further details and a patch:
Comment 1 Andreas Turriff 2004-06-20 17:26:22 UTC
The patch posted in Mozilla's bugzilla works for Firefox 0.9 and Mozilla 1.7.
Comment 2 Aron Griffis (RETIRED) gentoo-dev 2004-08-11 12:06:36 UTC
*** Bug 60059 has been marked as a duplicate of this bug. ***
Comment 3 Dirk-Lüder Kreie 2004-08-16 10:37:57 UTC
*** Bug 59690 has been marked as a duplicate of this bug. ***
Comment 4 Sebastian Celis 2004-09-21 07:21:05 UTC
*** Bug 58417 has been marked as a duplicate of this bug. ***
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2005-12-23 06:13:51 UTC
Fixed in 1.8+ ( by switching to an internal version of the gssapi.h; basically means this will only be solved in SeaMonkey. If we want to fix this in Mozilla, we are on our own to grab a patch.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-07-22 14:43:41 UTC
Mozilla will be removed from portage.