libtool: compile: x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -Wall -Wdeclaration-after-statement -Wvla -Wpointer-arith -g -Wno-error=deprecated-declarations -pthread -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gstreamer-1.0 -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -O2 -march=x86-64 -pipe -fomit-frame-pointer -g -ggdb -c fs-enumtypes.c -fPIC -DPIC -o .libs/libfarstream_0.2_la-fs-enumtypes.o fs-enumtypes.c:6:1: error: stray '\' in program 6 | \#include "fs-candidate.h" | ^ fs-enumtypes.c:6:2: error: stray '#' in program 6 | \#include "fs-candidate.h" | ^ fs-enumtypes.c:6:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before string constant 6 | \#include "fs-candidate.h" | ^~~~~~~~~~~~~~~~ fs-enumtypes.c:7:1: error: stray '\' in program 7 | \#include "fs-codec.h" | ^ fs-enumtypes.c:7:2: error: stray '#' in program 7 | \#include "fs-codec.h" | ^ fs-enumtypes.c:8:1: error: stray '\' in program 8 | \#include "fs-participant.h" | ^ fs-enumtypes.c:8:2: error: stray '#' in program 8 | \#include "fs-participant.h" | ^ fs-enumtypes.c:9:1: error: stray '\' in program 9 | \#include "fs-session.h" | ^ fs-enumtypes.c:9:2: error: stray '#' in program 9 | \#include "fs-session.h" | ^ fs-enumtypes.c:10:1: error: stray '\' in program 10 | \#include "fs-stream.h" | ^ fs-enumtypes.c:10:2: error: stray '#' in program 10 | \#include "fs-stream.h" | ^ fs-enumtypes.c:11:1: error: stray '\' in program 11 | \#include "fs-conference.h" | ^ fs-enumtypes.c:11:2: error: stray '#' in program 11 | \#include "fs-conference.h" | ^ fs-enumtypes.c:12:1: error: stray '\' in program 12 | \#include "fs-utils.h" | ^ fs-enumtypes.c:12:2: error: stray '#' in program 12 | \#include "fs-utils.h" | ^ fs-enumtypes.c: In function 'fs_network_protocol_get_type': fs-enumtypes.c:39:9: error: 'FS_NETWORK_PROTOCOL_UDP' undeclared (first use in this function) 39 | { FS_NETWORK_PROTOCOL_UDP, "FS_NETWORK_PROTOCOL_UDP", "udp" }, | ^~~~~~~~~~~~~~~~~~~~~~~ fs-enumtypes.c:39:9: note: each undeclared identifier is reported only once for each function it appears in fs-enumtypes.c:40:9: error: 'FS_NETWORK_PROTOCOL_TCP' undeclared (first use in this function) 40 | { FS_NETWORK_PROTOCOL_TCP, "FS_NETWORK_PROTOCOL_TCP", "tcp" }, | ^~~~~~~~~~~~~~~~~~~~~~~ fs-enumtypes.c:41:9: error: 'FS_NETWORK_PROTOCOL_TCP_PASSIVE' undeclared (first use in this function) 41 | { FS_NETWORK_PROTOCOL_TCP_PASSIVE, "FS_NETWORK_PROTOCOL_TCP_PASSIVE", "tcp-passive" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs-enumtypes.c:42:9: error: 'FS_NETWORK_PROTOCOL_TCP_ACTIVE' undeclared (first use in this function) 42 | { FS_NETWORK_PROTOCOL_TCP_ACTIVE, "FS_NETWORK_PROTOCOL_TCP_ACTIVE", "tcp-active" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ fs-enumtypes.c:43:9: error: 'FS_NETWORK_PROTOCOL_TCP_SO' undeclared (first use in this function) 43 | { FS_NETWORK_PROTOCOL_TCP_SO, "FS_NETWORK_PROTOCOL_TCP_SO", "tcp-so" }, | ^~~~~~~~~~~~~~~~~~~~~~~~~~ fs-enumtypes.c: In function 'fs_component_type_get_type': fs-enumtypes.c:57:9: error: 'FS_COMPONENT_NONE' undeclared (first use in this function) 57 | { FS_COMPONENT_NONE, "FS_COMPONENT_NONE", "none" }, | ^~~~~~~~~~~~~~~~~ Reproducible: Always
Again the same error with make-4.3
Created attachment 603944 [details] build.log
Created attachment 603946 [details, diff] farstream-make43.patch Possible fix. Please submit to upstream if possible.
(In reply to Lars Wendler (Polynomial-C) from comment #3) > Created attachment 603946 [details, diff] [details, diff] > farstream-make43.patch > > Possible fix. Please submit to upstream if possible. Thanks for the diff - however, it doesn't apply here, as farstream/Makefile.am doesn't contain the patched line (net-libs/farstream-0.2.8-r2). Also, when using only the patch to common-modified/gst-glib-gen.mak, the merge fails because aclocal should be run, and when I do run it (aclocal-1-16 here) I get : configure.ac:18: error: possibly undefined macro: AS_VERSION If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. configure.ac:21: error: possibly undefined macro: AS_NANO configure.ac:59: error: possibly undefined macro: AS_LIBTOOL configure.ac:75: error: possibly undefined macro: AS_AUTOTOOLS_ALTERNATE configure.ac:104: error: possibly undefined macro: AS_AC_EXPAND configure.ac:204: error: possibly undefined macro: AS_PATH_PYTHON
(In reply to Lars Wendler (Polynomial-C) from comment #3) > Created attachment 603946 [details, diff] [details, diff] > farstream-make43.patch > > Possible fix. Please submit to upstream if possible. done: https://gitlab.freedesktop.org/farstream/farstream/issues/17 Based on your patch I created one for 0.2.8-r2, which solves the issue for me: https://github.com/devurandom/gentoo-overlay/commit/b3e7763b81fb580d895ad721c7e8eee28e3b0697
(In reply to Dennis Schridde from comment #5) > (In reply to Lars Wendler (Polynomial-C) from comment #3) > > Created attachment 603946 [details, diff] [details, diff] [details, diff] > > farstream-make43.patch > > > > Possible fix. Please submit to upstream if possible. > > done: https://gitlab.freedesktop.org/farstream/farstream/issues/17 > > Based on your patch I created one for 0.2.8-r2, which solves the issue for > me: > https://github.com/devurandom/gentoo-overlay/commit/ > b3e7763b81fb580d895ad721c7e8eee28e3b0697 Works nicely here, thanks!
Created attachment 616408 [details, diff] net-libs/farstream-0.2.8-r2 with make-4.3 Patch
A patched farstream-0.2.8-r3 is available in my overlay: https://github.com/stefantalpalaru/gentoo-overlay
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e04eab18475790eb27332c2890798821134927fb commit e04eab18475790eb27332c2890798821134927fb Author: David Seifert <soap@gentoo.org> AuthorDate: 2020-03-18 11:56:10 +0000 Commit: David Seifert <soap@gentoo.org> CommitDate: 2020-03-18 11:56:10 +0000 net-libs/farstream: Fix for >=make-4.3 Closes: https://bugs.gentoo.org/706080 Package-Manager: Portage-2.3.94, Repoman-2.3.21 Signed-off-by: David Seifert <soap@gentoo.org> net-libs/farstream/farstream-0.2.8-r2.ebuild | 4 ++ .../farstream/files/farstream-0.2.8-make43.patch | 60 ++++++++++++++++++++++ 2 files changed, 64 insertions(+)