Issue 48810 - mozilla cannot be build : .mozconfig needed, .mozconfig.mk build
Summary: mozilla cannot be build : .mozconfig needed, .mozconfig.mk build
Status: CLOSED FIXED
Alias: None
Product: porting
Classification: Code
Component: MacOSX (show other issues)
Version: current
Hardware: Mac Mac OS X, all
: P3 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: eric.bachard
QA Contact: issues@porting
URL:
Keywords:
: 49646 (view as issue list)
Depends on:
Blocks:
 
Reported: 2005-05-06 08:27 UTC by eric.bachard
Modified: 2005-10-25 07:38 UTC (History)
4 users (show)

See Also:
Issue Type: PATCH
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
new patch for correct build of mozilla stuff in Mac OSX with SRC680 (218.36 KB, patch)
2005-05-06 08:29 UTC, eric.bachard
no flags Details | Diff
new patch, lighter for mozilla environment build on Mac OSX (188.21 KB, patch)
2005-05-23 23:16 UTC, eric.bachard
no flags Details | Diff
what happens without my changes Mac OSX / 10.4 / m107 (clean sources) (3.73 KB, text/plain)
2005-06-04 09:07 UTC, eric.bachard
no flags Details
correct fix for mozilla 1.7.5 build on Mac OSX (188.50 KB, patch)
2005-06-04 14:22 UTC, eric.bachard
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this issue.
Description eric.bachard 2005-05-06 08:27:22 UTC
Concerns build OOo 1.9.101 no more in the list   :-)

Mac OSX 10.4  / gcc-3.3

mozilla cannot be build, because config file needed named .mozconfig is not found 
but .mozconfig.mk was build

Log and patch are attached.
Comment 1 eric.bachard 2005-05-06 08:29:14 UTC
Created attachment 25852 [details]
new patch for correct build of mozilla stuff in Mac OSX with SRC680
Comment 2 eric.bachard 2005-05-06 08:30:54 UTC
This patch simply adds a new case with the mozconfig file, strangely called
.mozconfig.mk (in place of .mozconfig ?) in Mac OSX.  Probably a default suffix
somewhere ?
Comment 3 eric.bachard 2005-05-06 08:33:57 UTC
ericb -> mh

Other archs are concerned,because moz stuff is build everywhere, and it would be
nice to include this change into macosx07.

Can someone verify that this patch doesn't break anything in both Linux and
Windows ?
Comment 4 eric.bachard 2005-05-06 10:03:38 UTC
This patch works fine on Mac OSX 10.4 : moz is succesfully build

Comment 5 eric.bachard 2005-05-22 12:48:04 UTC
*** Issue 49646 has been marked as a duplicate of this issue. ***
Comment 6 eric.bachard 2005-05-23 21:33:26 UTC
Set Target
Comment 7 eric.bachard 2005-05-23 21:38:18 UTC
fixed in macosx08

*must be verified carefully* mozilla build concerns all platforms, and this
patch, even made with dmake create_patch is strange, because it's size changed a
lot, just for one line ?


Comment 8 eric.bachard 2005-05-23 23:16:20 UTC
Created attachment 26483 [details]
new patch, lighter for mozilla environment build on Mac OSX
Comment 9 eric.bachard 2005-05-23 23:18:33 UTC
New patch, lighter (now 192730 bytes, before 223604 bytes)

Mozilla-1.7.5 builds fine for me with this new patch on Mac OSX 10.4 / gcc-3.3

Comment 10 eric.bachard 2005-05-23 23:26:19 UTC
fixed on macosx08

Comment 11 eric.bachard 2005-05-24 18:43:04 UTC
Patch applies perfectly on Linux PPC (with m105 / gcc-3.3 ), without any problem.

Verified on Linux PPC
Comment 12 pavel 2005-05-31 07:25:58 UTC
ericb: can you please attach the original log? I'd like to know/see the original
report and the reason why only you need that file ;-)
Comment 13 maho.nakata 2005-05-31 22:21:46 UTC
ericb:
could you please show us how it breaks?
I build moz project without your patch (Mac OS X 10.4.1+gcc-3.3+m105)
my configure line for mozila is
--enable-mozilla --enable-build-mozilla --with-mozilla-toolkit=xlib
and build fine with it.
Comment 14 eric.bachard 2005-06-04 09:07:45 UTC
Created attachment 26872 [details]
what happens without my changes Mac OSX / 10.4 / m107 (clean sources)
Comment 15 pavel 2005-06-04 11:27:57 UTC
vq: do you have an idea why .mozconfig is needed only on ericb's MacOS X 10.4?
My build is OK on 10.3...
Comment 16 eric.bachard 2005-06-04 14:21:22 UTC
We found it (thank you Pavel ! ) 

I just build firefox and Mozilla for Mac OSX from time to time. So I have a
.mozconfig in my $HOME dir.  This file was the cause of the break.

just rename it, and no more break occurs. To solve this, I just have removed the
line containing $HOME in 
unxmacxp.pro/misc/build/mozilla/build/autoconf/mozconfig-find script.

Now it works really, with a correct solution. 

Patch arrives
Comment 17 eric.bachard 2005-06-04 14:22:33 UTC
Created attachment 26877 [details]
correct fix for mozilla 1.7.5 build on Mac OSX
Comment 18 eric.bachard 2005-06-04 14:31:53 UTC
fixed in macosx08
Comment 19 maho.nakata 2005-06-07 02:38:11 UTC
strange.
I don't have ~/.mozconfig file and builds fine.
Comment 20 eric.bachard 2005-06-07 13:56:52 UTC
ericb -> maho

Please Maho, read again : there's not question to have a ~/.mozconfig at all,
the fix is just here when there's an existing ~/.mozconfig. Without the fix,
have an existing ~/.mozconfig breaks the build.

What is expected  with this change :  build must be fine with or without
~/.mozconfig , on every arch/OS.




Comment 21 Martin Hollmichel 2005-10-25 07:38:14 UTC
close issue