Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Has anyone build Thunderbird with Xcode 4

11 views
Skip to first unread message

Nomis101

unread,
Mar 11, 2011, 1:18:33 PM3/11/11
to
Yesterday I've installed the new Xcode 4. But since than my
Thunderbird Trunk builds now fail because of:


Touch build/Release/Thunderbird.mdimporter
cd /Developer/temp/src/obj-x86_64-apple-darwin10.7.0/mail/
components/search/mdimporter
/usr/bin/touch -c /Developer/temp/src/obj-x86_64-apple-
darwin10.7.0/mail/components/search/mdimporter/build/Release/
Thunderbird.mdimporter


** BUILD SUCCEEDED **

mkdir -p ../../../../mozilla/dist/package
/Developer/temp/src/obj-x86_64-apple-darwin10.7.0/mozilla/config/
nsinstall -L /Developer/temp/src/obj-x86_64-apple-darwin10.7.0/mail/
components/search/mdimporter "build/
Thunderbird.mdimporter" ../../../../mozilla/dist/package
/Developer/temp/src/obj-x86_64-apple-darwin10.7.0/mozilla/config/
nsinstall: cannot access build/Thunderbird.mdimporter: No such file or
directory
make[7]: *** [libs] Error 1
make[6]: *** [libs] Error 2
make[5]: *** [libs] Error 2
make[4]: *** [libs_tier_platform] Error 2
make[3]: *** [tier_platform] Error 2
make[2]: *** [default] Error 2
make[1]: *** [default] Error 2
make: *** [build] Error 2


There is no file build/Thunderbird.mdimporter, because its now build/
Release/Thunderbird.mdimporter. Is this because Xcode 4 makes
something new or is there now something weird with my build system.
Has anyone already build TB trunk with Xcode 4?

Blake Winton

unread,
Mar 11, 2011, 2:50:06 PM3/11/11
to
On 11-03-11 13:18 , Nomis101 wrote:
> Yesterday I've installed the new Xcode 4. But since than my
> Thunderbird Trunk builds now fail because of:
[snip…]

> nsinstall -L /Developer/temp/src/obj-x86_64-apple-darwin10.7.0/mail/
> components/search/mdimporter "build/
> Thunderbird.mdimporter" ../../../../mozilla/dist/package
> /Developer/temp/src/obj-x86_64-apple-darwin10.7.0/mozilla/config/
> nsinstall: cannot access build/Thunderbird.mdimporter: No such file or
> directory
>
> There is no file build/Thunderbird.mdimporter, because its now build/
> Release/Thunderbird.mdimporter.

Grepping through the source code shows me:
mail/app/Makefile.in line 367:
rsync -a --copy-unsafe-links $(DIST)/package/Thunderbird.mdimporter
$(DIST)/$(APP_NAME).app/Contents/Library/Spotlight
as a likely candidate that needs changing.

> Is this because Xcode 4 makes
> something new or is there now something weird with my build system.
> Has anyone already build TB trunk with Xcode 4?

I've been explicitly holding off on installing XCode 4, cause I believe
they switched a bunch of things around, and don't really have time to
fix them all right now. ;)

The full list of occurrences of "mdimporter" is at
http://pastebin.mozilla.org/1148792 if you wanted to go through and try
and get Thunderbird compiling and running, I would sure appreciate it. :)

Later,
Blake.

Nomis101

unread,
Mar 12, 2011, 7:38:28 AM3/12/11
to
I have looked into an older buildlog. Before I've installed Xcode 4 it
was:

/Developer/temp/src/obj-x86_64-apple-darwin10.6.0/mozilla/config/
nsinstall -L /Developer/temp/src/obj-x86_64-apple-darwin10.6.0/mail/
components/search/mdimporter "build/Release/
Thunderbird.mdimporter" ../../../../mozilla/dist/package
set -e; \


And since Xcode 4 it is:

/Developer/temp/src/obj-x86_64-apple-darwin10.6.0/mozilla/config/
nsinstall -L /Developer/temp/src/obj-x86_64-apple-darwin10.6.0/mail/
components/search/mdimporter "build/
Thunderbird.mdimporter" ../../../../mozilla/dist/package


So I assume there is now something different with the
XCODE_PRODUCT_DIR?
http://mxr.mozilla.org/comm-central/source/mail/components/search/mdimporter/Makefile.in#76
I will see if I can fix this.

Message has been deleted

Nomis101

unread,
Mar 12, 2011, 2:31:05 PM3/12/11
to
0 new messages