Build failed on mac :: You are building on a case-insensitive filesystem. ::

1,941 views
Skip to first unread message

Vicky Singh

unread,
Sep 13, 2011, 12:28:42 AM9/13/11
to android-...@googlegroups.com
Hello,
 While compiling android on mac I got this error "You are building on a case-insensitive filesystem."

I did all the steps as mentioned on web page.  http://source.android.com/source/initializing.html

Only thing i did not understand is this

Once mounted, you'll do all your work in the "android" volume. You can eject it (unmount it) just like you would with an external drive.

Do I need to install Xcode, Macport and other software  inside this mount. I already have Xcode etc on my mac. Also this mount is readonly.

Vicky Singh


Jean-Baptiste Queru

unread,
Sep 13, 2011, 11:31:23 AM9/13/11
to android-...@googlegroups.com
You only need the Android source tree itself to be on a case-sensitive
filesystem. Xcode, MacPorts and other such dependencies can be
installed wherever you prefer, and the default location is probably
best.

JBQ

> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-...@googlegroups.com
> To unsubscribe from this group, send email to
> android-buildi...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>

--
Jean-Baptiste M. "JBQ" Queru
Software Engineer, Android Open-Source Project, Google.

Questions sent directly to me that have no reason for being private
will likely get ignored or forwarded to a public forum with no further
warning.

Vicky Singh

unread,
Sep 14, 2011, 9:57:50 AM9/14/11
to android-...@googlegroups.com, j...@android.com
What is the best way to have a case sensitive file system. There are instructions to create case sensitive drive on the website but this volume is rad only volume so I can not copy the source inside this volume. Any help would be highly appreciated 


"# hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 40g ~/android.dmg

This will create a .dmg file which, once mounted, acts as a drive with the required formatting for Android development. For a disk image named "android.dmg" stored in your home directory, you can add the following to your ~/.bash_profile to mount the image when you execute "mountAndroid":

# mount the android file image
function mountAndroid { hdiutil attach ~/android.dmg -mountpoint /Volumes/android; }

Jeff

unread,
Nov 1, 2011, 4:04:23 PM11/1/11
to Android Building
You can manually create the file system using disk utility app. There
are drop downs that allow you to choose this option. Open Disk
Utility and select new image.

I have a follow up question to this though. For clarification, if we
are using a mac, after the build environment has been created and
moving on to the downloading source, the source should be synced into
the case sensitive image we just created? So instead of the actual
home directory '~',we should using /volumes/android. Is this correct?

http://source.android.com/source/downloading.html

On Sep 14, 9:57 am, Vicky Singh <vicky.si...@gmail.com> wrote:
> What is the best way to have a case sensitive file system. There are
> instructions to create case sensitive drive on the website but this volume
> is rad only volume so I can not copy the source inside this volume. Any help
> would be highly appreciated
>
> "# hdiutil create -type SPARSE -fs 'Case-sensitive Journaled HFS+' -size 40g
> ~/android.dmg
>
> This will create a .dmg file which, once mounted, acts as a drive with the
> required formatting for Android development. For a disk image named
> "android.dmg" stored in your home directory, you can add the following to
> your ~/.bash_profile to mount the image when you execute "mountAndroid":
>
> # mount the android file image
> function mountAndroid { hdiutil attach ~/android.dmg -mountpoint
> /Volumes/android; }
>
> On Tue, Sep 13, 2011 at 11:31 AM, Jean-Baptiste Queru <j...@android.com>wrote:
>
>
>
>
>
>
>
> > You only need the Android source tree itself to be on a case-sensitive
> > filesystem. Xcode, MacPorts and other such dependencies can be
> > installed wherever you prefer, and the default location is probably
> > best.
>
> > JBQ
>
> > On Mon, Sep 12, 2011 at 9:28 PM, Vicky Singh <vicky.si...@gmail.com>

Jean-Baptiste Queru

unread,
Nov 1, 2011, 4:14:06 PM11/1/11
to android-...@googlegroups.com
Yes, that's correct, you need to store the source tree on the
case-sensitive filesystem. I'll clarify the documentation.

JBQ

Reply all
Reply to author
Forward
0 new messages