unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
blob d959bb73a5db1a37352336c9186a434acbff4036 735 bytes (raw)
name: gnu/packages/patches/flite-build-with-make-4.4.patch 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
 
Building flite with GNU Make 4.4 or newer fails with log messages like

  making in main ...
  gcc -g -O2 -Wall      -I../include  -c -o flitevox_info_main.o flitevox_info_main.c
  making ../build/aarch64-linux-gnu/lib/libflite.so
  make[1]: *** No rule to make target 'flite_voice_list.c', needed by 'all'.  Stop.

This is due to a change in how the .NOTPARALLEL special make target is
interpreted.  This patch causes the package to build as it did with earlier
versions of Make.

diff --git a/main/Makefile b/main/Makefile
index 8166182..e5ba866 100644
--- a/main/Makefile
+++ b/main/Makefile
@@ -104,7 +104,7 @@ else
 shared_libs: nothing
 endif
 
-.NOTPARALLEL: $(ALL)
+.NOTPARALLEL:
 
 flite_lang_list: 
 	rm -f flite_lang_list.c

debug log:

solving d959bb73a5 ...
found d959bb73a5 in https://yhetil.org/guix-bugs/01a83cb58c5a3e705670ad71887811b1115f19a1.1705157474.git.simon@simonsouth.net/

applying [1/1] https://yhetil.org/guix-bugs/01a83cb58c5a3e705670ad71887811b1115f19a1.1705157474.git.simon@simonsouth.net/
diff --git a/gnu/packages/patches/flite-build-with-make-4.4.patch b/gnu/packages/patches/flite-build-with-make-4.4.patch
new file mode 100644
index 0000000000..d959bb73a5

1:25: trailing whitespace.
 
1:28: trailing whitespace.
 
1:29: trailing whitespace.
 flite_lang_list: 
1:30: space before tab in indent.
 	rm -f flite_lang_list.c
Checking patch gnu/packages/patches/flite-build-with-make-4.4.patch...
Applied patch gnu/packages/patches/flite-build-with-make-4.4.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 d959bb73a5db1a37352336c9186a434acbff4036	gnu/packages/patches/flite-build-with-make-4.4.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).