subgraph / citadel

Subgraph Citadel image builder
17 stars 14 forks source link

`make citadel-image` fails due to missing directory #7

Closed oholiab closed 6 years ago

oholiab commented 6 years ago
> make citadel-image
docker run -it --mount type=bind,source=/Users/user/citadel,target=/home/builder/citadel citadel-builder   bash -c "source setup-build-env && bitbake citadel-image"
Error: TEMPLATECONF value points to nonexistent directory '../meta-citadel-distro/conf'
make: *** [citadel-image] Error 1
>

I dropped into a shell and it is indeed missing and doesn't appear to exist anywhere within the container.

brl commented 6 years ago

This is due to recent reorganization of repository, let me track it down and commit a fix.

brl commented 6 years ago

I think this fixes it 1cf6125

Can you try again? remove the whole build directory first (the subdirectory called '/build')

oholiab commented 6 years ago

I did actually try this fix myself to no avail:

> make citadel-image
docker run -it --mount type=bind,source=/Users/user/citadel,target=/home/builder/citadel citadel-builder   bash -c "source setup-build-env && bitbake citadel-image"
You had no conf/local.conf file. This configuration file has therefore been
created for you with some default values. You may wish to edit it to, for
example, select a different MACHINE (target hardware). See conf/local.conf
for more information as common configuration options are commented.

You had no conf/bblayers.conf file. This configuration file has therefore been
created for you with some default values. To add additional metadata layers
into your configuration please add entries to conf/bblayers.conf.

The Yocto Project has extensive documentation about OE including a reference
manual which can be found at:
    http://yoctoproject.org/documentation

For more information about OpenEmbedded see their website:
    http://www.openembedded.org/

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
    Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
    Following is the list of potential problems / advisories:

    The TMPDIR (/home/builder/citadel/build/tmp-glibc) can't be on a case-insensitive file system.

Summary: There was 1 ERROR message shown, returning a non-zero exit code.
make: *** [citadel-image] Error 1
>
brl commented 6 years ago

case-insensitive filesystem? That's interesting, I guess the build will not work on some filesystems. Is this a FAT fs?

oholiab commented 6 years ago

Ah, that error sounds like it's because I'm building on a mac :(

Probably count the actual issue as fixed and close it out?

brl commented 6 years ago

Agreed, I think there's nothing we can do about this except to document that building on some filesystems will not work

frakman1 commented 6 months ago

@oholiab Did you ever figure out how to workaround case insensitive error? I'm also building on a Mac and wanted to know what a good workaround would be, if possible.

austinhallett commented 4 months ago

I am also curious if this issue was ever resolved, or if there is a workaround available for those hoping to build on mac