[PATCH] Fix "make distcheck"

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Andreas Rottmann mail at rotty.xx.vu
Sun May 17 18:18:03 UTC 2015


Holger Freyther <holger at freyther.de> writes:

>> On 17 May 2015, at 19:29, Andreas Rottmann <mail at rotty.xx.vu> wrote:
>> 
>> Holger Freyther <holger at freyther.de> writes:
>
>
>> 
>> make[1]: Entering directory '/home/.big/rotty/src/_readonly/libosmo-abis/_build/libosmo-abis-0.3.1.2-3a58/_build'
>> echo 0.3.1.2-3a58 > ../.version-t && mv ../.version-t ../.version
>> /bin/bash: ../.version-t: Permission denied
>> Makefile:879: recipe for target '../.version’ failed
>
> BUILT_SOURCES = $(top_srcdir)/.version
> $(top_srcdir)/.version:
>         echo $(VERSION) > $@-t && mv $@-t $@
>
> I assume the dir name implies that it is really ro, So what would it take to
> to not generate this in the “srcdir” at all?
>
No, this is misleading; I use the _readonly directory for stuff I don't
intend to touch (much). However, automake makes the unpacked tarball
(containing $(top_srcdir), obviously) readonly during "make distcheck".

Regarding generating ".version" into the build dir: the way I fixed
things is the way is consistent with the recipe in git-version-gen
(implied in the text of the git-version-gen revision in libosmo-abis,
explicit in newer versions).

Regards, Rotty
-- 
Andreas Rottmann -- <http://rotty.xx.vu/>



More information about the OpenBSC mailing list