Hi, I started getting build warning message about repository not found, as you can see below. This occurred shortly after I did a make prepare for libc and libm from libports on my 16.05 build. I'm building from the BUILD_DIR directory. An suggestion why this is occurring?
bob@...297...:/Work/Genode/Builds/16.05/437x$ make run/libc_ffat_fs including /Work/Genode/genode-16.05/tool/run/boot_dir/hw including /Work/Genode/genode-16.05/tool/run/image/uboot including /Work/Genode/genode-16.05/repos/libports/run/libc_ffat_fs.run building targets: core init drivers/timer server/ffat_fs test/libc_vfs drivers/sd_card/spec/437x spawn make core init drivers/timer server/ffat_fs test/libc_vfs drivers/sd_card/spec/437x make[1]: Entering directory `/Work/Genode/Builds/16.05/437x' checking library dependencies... _/fatal: Not a git repository (or any parent up to mount point /Work)/__/ /__/Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)./_ Library platform Library cxx Library base-common Library syscall Library startup Library base Program drivers/sd_card/spec/437x/sd_card_drv Library alarm Library timer Program drivers/timer/timer Library config Program init/init Library ffat_block Program server/ffat_fs/ffat_fs Library libc-string Library libc-locale Library libc-stdlib Library libc-stdio Library libc-gen Library libc-gdtoa Library libc-inet Library libc-stdtime Library libc-regex Library libc-compat Library libc-setjmp Library timed_semaphore Library component_entry_point Library ldso-startup Library ld Library vfs /_fatal: Not a git repository (or any parent up to mount point /Work)_//_ _//_Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set)._/ Library libc Program test/libc_vfs/test-libc_vfs Library core-perf_counter Library core COMPILE version.o MERGE core.lib.a Program core/core LINK core make[1]: Leaving directory `/Work/Genode/Builds/16.05/437x' genode build completed spawn make core
Thanks, Bob Stewart
Hello,
It looks to me like this is caused by core and libc trying to get some version information from git, but it is failing because the current working directory (BUILD_DIR) is not inside a git repository. In the case of core it is only a cosmetic issue, and version information was removed from libc not long after it was introduced, so as you move further down the master branch that warning will disapear regardless.
Emery
On Wed, Jul 13, 2016 at 05:24:42PM -0400, Bob Stewart wrote:
Hi, I started getting build warning message about repository not found, as you can see below. This occurred shortly after I did a make prepare for libc and libm from libports on my 16.05 build. I'm building from the BUILD_DIR directory. An suggestion why this is occurring?
Thanks for the reply Emery.
I've been building Genode the same way for several years and never seen these messages, and BUILD_DIR has never been inside a git repository. I suspect it is related to building libc in 16.05.
Bob
Sent from my android device.
-----Original Message----- From: Emery Hemingway <emery@...261...> To: Genode OS Framework Mailing List genode-main@lists.sourceforge.net Sent: Wed, 13 Jul 2016 8:24 PM Subject: Re: Build issue..."Not a git repository"
Hello,
It looks to me like this is caused by core and libc trying to get some version information from git, but it is failing because the current working directory (BUILD_DIR) is not inside a git repository. In the case of core it is only a cosmetic issue, and version information was removed from libc not long after it was introduced, so as you move further down the master branch that warning will disapear regardless.
Emery
On Wed, Jul 13, 2016 at 05:24:42PM -0400, Bob Stewart wrote:
Hi, I started getting build warning message about repository not found, as you can see below. This occurred shortly after I did a make prepare for libc and libm from libports on my 16.05 build. I'm building from the BUILD_DIR directory. An suggestion why this is occurring?
Hello Bob,
On Thu, Jul 14, 2016 at 07:14:16AM -0400, robjsstewart@...196... wrote:
I've been building Genode the same way for several years and never seen these messages, and BUILD_DIR has never been inside a git repository. I suspect it is related to building libc in 16.05.
You're right and as Emery wrote: The second warning will disappear with the next release (or with the current master branch). Nevertheless, I'm curious why you see the first warning as git is used like follows in repos/base/src/core/version.inc.
git -C $(GENODE_ROOT_DIR) describe --dirty=" <local changes>" 2> /dev/null
On my machine, this line effectivle prevents warnings from git for any GENODE_ROOT_DIR, for example
GENODE_ROOT_DIR=/tmp
Greets
Hi Christian,
The file repos/base/src/core/version.inc in my release directory has the same content as the current master. In that file, line 4 sets:
GENODE_ROOT_DIR = $(BASE_DIR)/../..
If I change that to set it to /tmp I still get the two git repository warnings.
Bob
Sent from my android device.
-----Original Message----- From: Christian Helmuth <christian.helmuth@...1...> To: genode-main@lists.sourceforge.net Sent: Mon, 18 Jul 2016 12:47 PM Subject: Re: Build issue..."Not a git repository"
Hello Bob,
On Thu, Jul 14, 2016 at 07:14:16AM -0400, robjsstewart@...196... wrote:
I've been building Genode the same way for several years and never seen these messages, and BUILD_DIR has never been inside a git repository. I suspect it is related to building libc in 16.05.
You're right and as Emery wrote: The second warning will disappear with the next release (or with the current master branch). Nevertheless, I'm curious why you see the first warning as git is used like follows in repos/base/src/core/version.inc.
git -C $(GENODE_ROOT_DIR) describe --dirty=" <local changes>" 2> /dev/null
On my machine, this line effectivle prevents warnings from git for any GENODE_ROOT_DIR, for example
GENODE_ROOT_DIR=/tmp
Greets