Closed Bug 311311 Opened 19 years ago Closed 17 years ago

Build issues on case sensitive file system

Categories

(Camino Graveyard :: General, defect)

PowerPC
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Future

People

(Reporter: stefan, Assigned: froodian)

Details

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050917 Camino/1.0a1+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.8b4) Gecko/20050917 Camino/1.0a1+ Trying to build Camino on 10.4 with case sensitive files system, I found somme miss spellings in the source code: It should be AppKit/AppKit.h not Appkit/Appkit.h It should be Quickdraw.h not QuickDraw.h It should be nsGfxUtils.h not nsGFXUtils.h powerbook:~/src/camino swanner$ grep -r "QuickDraw.h\|nsGFXUtils.h\|Appkit.h" * mozilla/camino/src/bookmarks/BookmarkButton.h:#import <Appkit/Appkit.h> mozilla/camino/src/bookmarks/BookmarkItem.h:#import <Appkit/Appkit.h> mozilla/camino/src/bookmarks/BookmarkManager.h:#import <Appkit/Appkit.h> mozilla/camino/src/bookmarks/BookmarkMenu.h:#import <Appkit/Appkit.h> mozilla/camino/src/browser/GoMenu.h:#import <Appkit/Appkit.h> mozilla/camino/src/download/SaveHeaderSniffer.h:#import <Appkit/Appkit.h> mozilla/camino/src/download/nsDownloadListener.h:#import <Appkit/Appkit.h> mozilla/camino/src/extensions/ExtendedTableView.h:#import <Appkit/Appkit.h> mozilla/config/system-headers:QuickDraw.h mozilla/embedding/browser/cocoa/src/SaveHeaderSniffer.h:#import <Appkit/Appkit.h> mozilla/embedding/browser/cocoa/src/nsDownloadListener.h:#import <Appkit/Appkit.h> mozilla/widget/src/cocoa/nsChildView.h:#include <QuickDraw.h> mozilla/widget/src/cocoa/nsCocoaWindow.mm:#include "nsGFXUtils.h" mozilla/xpinstall/wizard/mac/src/sdinst.h:#include <QuickDraw.h> powerbook:~/src/camino swanner$ Reproducible: Always Steps to Reproduce: 1. Install Mac OS X on a case sensitive file system. 2. Download the latest Camino sorurces from CVS. 3. Try to build camino. Actual Results: You will get several compiler errors, due to missspelling (wrong case). See "Details" for affected files. Expected Results: No compiler errors.
Yeah, yeah... See also bug 116709.
Assignee: mikepinkerton → mark
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → Future
Not sure if the filename is intentionally written this way, for some subtle reason. This one breaks the build on my system (sources on NetAtalk).
Attachment #205712 - Flags: review?
Comment on attachment 205712 [details] [diff] [review] Patch for Case sensitive include in nsCocoaWindow.mm (checked in) More changes along these lines are needed.
Attachment #205712 - Flags: review? → review+
Comment on attachment 205712 [details] [diff] [review] Patch for Case sensitive include in nsCocoaWindow.mm (checked in) rs=pink
Attachment #205712 - Flags: superreview+
Attachment #205712 - Attachment description: Patch for Case sensitive include in nsCocoaWindow.mm → Patch for Case sensitive include in nsCocoaWindow.mm (checked in)
Attached patch Patch (obsolete) — Splinter Review
Assignee: mark → stridey
Status: NEW → ASSIGNED
Attachment #223531 - Flags: review?(mark)
Comment on attachment 223531 [details] [diff] [review] Patch You should also include mozilla/camino/src/extensions/ExtendedTableView.h
Attachment #223531 - Flags: review?(mark) → review+
Oops, sorry about that. Since mento r+ed it anyway (and the only difference this patch contains is including extensions/ExtendedTableView.h), going straight for sr.
Attachment #223531 - Attachment is obsolete: true
Attachment #223556 - Flags: superreview?(mikepinkerton)
Comment on attachment 223556 [details] [diff] [review] Same as r+ed patch with ExtendedTableView.h (checked in) Don't need separate sr for this.
Attachment #223556 - Flags: superreview?(mikepinkerton) → superreview+
Comment on attachment 223556 [details] [diff] [review] Same as r+ed patch with ExtendedTableView.h (checked in) Checked in on trunk and MOZILLA_1_8_BRANCH. Thanks for the patch!
Attachment #223556 - Attachment description: Same as r+ed patch with ExtendedTableView.h → Same as r+ed patch with ExtendedTableView.h (checked in)
Attachment #223556 - Flags: approval-branch-1.8.1+
Comment on attachment 205712 [details] [diff] [review] Patch for Case sensitive include in nsCocoaWindow.mm (checked in) Checked in on MOZILLA_1_8_BRANCH (was on trunk since 0220).
Attachment #205712 - Flags: approval-branch-1.8.1+
See also bug 339682 (nsChildView.h); since hwaara is reviving CH/NSBrowserView, maybe we should fix the ones in embedding while we're at it, too.
Oops, I meant to add a comment about the entry in system-headers. The correct capitalization is also present in that file, and since that file is used to do something funky with the headers for the compiler, I would not remove the incorrect capitalization until the entire tree has that header corrected. http://landfill.mozilla.org/mxr-test/mozilla/search?string=QuickDraw.h&regexp=on&case=on&find=&filter=
What's left to do here?
Since no-one seems to know, closing FIXED. If there are any new issues with case-sensitive HFS, please file new bugs.
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: