buzztrax icon indicating copy to clipboard operation
buzztrax copied to clipboard

Missing AUTHORS file

Open Baggypants opened this issue 9 years ago • 15 comments

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.

Baggypants avatar Oct 14 '16 10:10 Baggypants

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.

ensonic avatar Oct 15 '16 21:10 ensonic

Ping?

ensonic avatar Oct 20 '16 13:10 ensonic

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

Baggypants avatar Oct 23 '16 10:10 Baggypants

Not sure why I said I was using 10.1 in the first post :(

Baggypants avatar Oct 23 '16 10:10 Baggypants

Build log as requested https://paste.fedoraproject.org/458510/47722028

Baggypants avatar Oct 23 '16 10:10 Baggypants

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.

Baggypants avatar Oct 23 '16 11:10 Baggypants

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

ensonic avatar Oct 23 '16 11:10 ensonic

That's now on my TODO :) thanks.

Baggypants avatar Oct 23 '16 15:10 Baggypants

Any update. If you need help we also have a chat: https://gitter.im/Buzztrax/buzztrax

ensonic avatar Aug 15 '19 11:08 ensonic

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

dchmelik avatar Jul 24 '22 03:07 dchmelik

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?

ensonic avatar Jul 24 '22 13:07 ensonic

Nothing; make error log gist.

dchmelik avatar Jul 25 '22 01:07 dchmelik

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?

ensonic avatar Jul 25 '22 06:07 ensonic

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.

dchmelik avatar Jul 25 '22 06:07 dchmelik

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' > $@

ensonic avatar Jul 25 '22 09:07 ensonic