Date: Fri, 17 Nov 2023 08:16:47 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275141] [NEW PORT] x11/wlopm Message-ID: <bug-275141-7788-lXEbx5zqEs@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-275141-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-275141-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275141 --- Comment #4 from Tino Engel <tino.engel@mail.de> --- Below the error without USE_GCC but with -Wno-strict-prototypes: =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D lgrande@elfreebsdo1:~/git/PERSONAL/freebsd-ports/x11/wlopm % cat Makefile PORTNAME=3D wlopm PORTVERSION=3D 0.1.0 DISTVERSIONPREFIX=3D v CATEGORIES=3D x11 wayland MASTER_SITES=3D https://git.sr.ht/~leon_plickat/${PORTNAME}/archive/ DISTFILES=3D ${DISTVERSIONFULL}${EXTRACT_SUFX} DIST_SUBDIR=3D wlopm MAINTAINER=3D tino.engel@mail.de COMMENT=3D Wayland output power management WWW=3D https://git.sr.ht/~leon_plickat/wlopm LICENSE=3D GPLv3 LICENSE_FILE=3D ${WRKSRC}/LICENSE BUILD_DEPENDS=3D wayland-scanner:graphics/wayland LIB_DEPENDS=3D libwayland-client.so:graphics/wayland USES=3D gmake #USE_GCC=3D yes ALL_TARGET=3D wlopm CFLAGS+=3D -Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter \ -Wconversion -Wformat-security -Wformat -Wsign-conversion \ -Wfloat-conversion -Wunused-result -I${LOCALBASE}/include \ -Wno-strict-prototypes LDFLAGS+=3D -L${LOCALBASE}/lib LIBS=3D -lwayland-client PLIST_FILES=3D bin/wlopm \ share/man/man1/wlopm.1.gz do-install: ${INSTALL} ${WRKSRC}/wlopm ${STAGEDIR}${PREFIX}/bin/wlopm ${INSTALL_DATA} ${WRKSRC}/wlopm.1 ${STAGEDIR}${PREFIX}/share/man/man1/wlopm.1 .include <bsd.port.mk> elgrande@elfreebsdo1:~/git/PERSONAL/freebsd-ports/x11/wlopm % make =3D=3D=3D> License GPLv3 accepted by the user =3D=3D=3D> wlopm-0.1.0 depends on file: /usr/local/sbin/pkg - found =3D=3D=3D> Fetching all distfiles required by wlopm-0.1.0 for building =3D=3D=3D> Extracting for wlopm-0.1.0 =3D> SHA256 Checksum OK for wlopm/v0.1.0.tar.gz. =3D=3D=3D> Patching for wlopm-0.1.0 =3D=3D=3D> wlopm-0.1.0 depends on executable: wayland-scanner - found =3D=3D=3D> wlopm-0.1.0 depends on package: gmake>=3D4.3 - found =3D=3D=3D> wlopm-0.1.0 depends on shared library: libwayland-client.so - = found (/usr/local/lib/libwayland-client.so) =3D=3D=3D> Configuring for wlopm-0.1.0 =3D=3D=3D> Building for wlopm-0.1.0 gmake[1]: Entering directory '/usr/home/elgrande/git/PERSONAL/freebsd-ports/x11/wlopm/work/wlopm-v0.1.0' wayland-scanner private-code < wlr-output-power-management-unstable-v1.xml > wlr-output-power-management-unstable-v1.c wayland-scanner client-header < wlr-output-power-management-unstable-v1.xml= > wlr-output-power-management-unstable-v1.h cc -O2 -pipe -Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result -I/usr/local/include -Wno-strict-prototypes -fstack-protector-strong -fno-strict-aliasing -Wall -Werror -Wextra -Wpeda= ntic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conver= sion -Wfloat-conversion -Wunused-result -c -o wlopm.o wlopm.c cc -O2 -pipe -Wall -Werror -Wextra -Wpedantic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conversion -Wfloat-conversion -Wunused-result -I/usr/local/include -Wno-strict-prototypes -fstack-protector-strong -fno-strict-aliasing -Wall -Werror -Wextra -Wpeda= ntic -Wno-unused-parameter -Wconversion -Wformat-security -Wformat -Wsign-conver= sion -Wfloat-conversion -Wunused-result -c -o wlr-output-power-management-unstable-v1.o wlr-output-power-management-unstable-v1.c wlopm.c:96:18: error: a function declaration without a prototype is depreca= ted in all versions of C [-Werror,-Wstrict-prototypes] static void noop () {} ^ void 1 error generated. gmake[1]: *** [<builtin>: wlopm.o] Error 1 gmake[1]: Leaving directory '/usr/home/elgrande/git/PERSONAL/freebsd-ports/x11/wlopm/work/wlopm-v0.1.0' =3D=3D=3D> Compilation failed unexpectedly. Try to set MAKE_JOBS_UNSAFE=3Dyes and rebuild before reporting the failure = to the maintainer. *** Error code 1 Stop. make: stopped in /usr/home/elgrande/git/PERSONAL/freebsd-ports/x11/wlopm elgrande@elfreebsdo1:~/git/PERSONAL/freebsd-ports/x11/wlopm % --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275141-7788-lXEbx5zqEs>