buzztrax
buzztrax copied to clipboard
Missing AUTHORS file
Hi, I'm building on Fedora 24 using the git tagged RELEASE_0_10_1. The makefile is looking for an AUTHORS file which it does not find and the build fails. Creating an empty file is sufficient to get past this error.
The AUTHORS file is generated from git. Can you upload your build output on a gist? I double checked and e.g. the tarballs include the file.
Ping?
Hello, I'm trying to build an rpm using a spec I wrote here https://gitlab.com/spec-files-for-various-rpms/spec-files-for-various-rpms/blob/master/buzztrax/buzztrax.spec. I generate the archive from this git url https://github.com/Buzztrax/buzztrax/archive/RELEASE_0_10_2.tar.gz
Not sure why I said I was using 10.1 in the first post :(
Build log as requested https://paste.fedoraproject.org/458510/47722028
instead of dragging out my own tar files I've switched to the release ones you provide. Now I feel very silly as it works much nicer.
The AUTHORS file related build rules look good in the build log. FYI: from the end of the configure phase. You probably want to add more dependencies to your spec file to get a more featurefull build:
# libasound-dev
Alsa seq. for interaction ctrl. : no
# libgudev-dev
GUdev for interaction ctrl. : no
# libfluidsynth-dev
FluidSynth support : no
# libgoffice-dev
Zipped Song file support (bzt) : no
That's now on my TODO :) thanks.
Any update. If you need help we also have a chat: https://gitter.im/Buzztrax/buzztrax
Same problem (Buzztrax 20220126_833287c6).
./autogen.sh && ./configure && MAKEFLAGS=-j1 make
GEN AUTHORS
GEN src/ui/edit/authors.h
sed: can't read AUTHORS: No such file or directory
make: *** [Makefile:9265: src/ui/edit/authors.h] Error 2
Works flawlessly here: Also
grep -A3 "AUTHORS" Makefile.am
AUTHORS: $(wildcard $(top_srcdir)/.git/index)
$(AM_V_GEN)if test -d "$(top_srcdir)/.git"; \
then \
( cd "$(top_srcdir)" && \
what happens if you run "make AUTHORS" and since I see "GEN AUTHORS" in the output above, what does it contain?
Can you also try make V=1 so that we get more details?
Nothing; make error log gist.
The AUTHORS file exists, but is empty? And it has an active time and date? Or it is not generated? You are building from git, right?
Your sed command output itself says: AUTHORS: No such file or directory. Clearly (and according to (in your source code's directory/folder) 'find . -iname AUTHORS') AUTHORS is nonexistent: I don't understand your Makefile* but why did I need to explain? I tried git but guess I'll try previous stable version.
The latest stable version is really old.
I have no idea why in your case the AUTHORS file is not generated. You could add echo statements to the Makefile.am, but in a nutshell, this is checking if this is a build from git and if so it generates the AUTHORS via git log.
If you don't wan't to figure whats wrong, maybe just replace the AUTHORS rule by something simple like:
AUTHORS:
$(AM_V_GEN)echo 'foo' > $@