🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: muc.lists.freebsd.multimedia
Article #91

maintainer-feedback requested: [Bug 300906] multimedia/libv4l: Fails to build with WITH_FORTIFY=yes

#91
From: bugzilla-noreply
Date: Thu, 19 Nov 2026 12:41
47 lines
3764 bytes
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-multimedia
(Nobody) <multimedia@FreeBSD.org> for maintainer-feedback:
Bug 300906: multimedia/libv4l: Fails to build with WITH_FORTIFY=yes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300906



--- Description ---
Relevant part of the log:

v4l1compat.c:115:1: warning: attribute declaration must precede definition
[-Wignored-attributes]
  115 | LIBV4L_PUBLIC ssize_t read(int fd, void *buffer, size_t n)
      | ^
v4l1compat.c:42:39: note: expanded from macro 'LIBV4L_PUBLIC'
   42 | #define LIBV4L_PUBLIC __attribute__ ((visibility("default")))
      | 				      ^
/usr/include/ssp/unistd.h:67:25: note: previous definition is here
   67 | __ssp_redirect(ssize_t, _FORTIFY_SOURCE_read, (int __fd, void *__buf,
      | 			^
/usr/include/ssp/unistd.h:43:30: note: expanded from macro
'_FORTIFY_SOURCE_read'
   43 | #define _FORTIFY_SOURCE_read	read
      | 				^
v4l1compat.c:115:23: error: redefinition of 'read'
  115 | LIBV4L_PUBLIC ssize_t read(int fd, void *buffer, size_t n)
      | 		      ^
/usr/include/ssp/unistd.h:67:25: note: previous definition is here
   67 | __ssp_redirect(ssize_t, _FORTIFY_SOURCE_read, (int __fd, void *__buf,
      | 			^
/usr/include/ssp/unistd.h:43:30: note: expanded from macro
'_FORTIFY_SOURCE_read'
   43 | #define _FORTIFY_SOURCE_read	read
      | 				^
1 warning and 1 error generated.

I can provide a full build log if needed.

I didn't notice problems on 14.5 and that header seems to have been added in
15.x.


--
Posted automagically by a mail2news gateway at muc.de e.V.
Please direct questions, flames, donations, etc. to news-admin@muc.de
Technical Details
Message-ID: <bug-300906-12827-0Vg7jBe1GS@https.bugs.freebsd.org/bugzilla/>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
References: <bug-300906-12827@https.bugs.freebsd.org/bugzilla/>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!news.tcpreset.net!newsfeed.bofh.team!usenet.goja.nl.eu.org!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mail
From: bugzilla-noreply@freebsd.org
Newsgroups: muc.lists.freebsd.multimedia
Subject: maintainer-feedback requested: [Bug 300906] multimedia/libv4l: Fails
 to build with WITH_FORTIFY=yes
Date: Thu, 19 Nov 2026 12:41:39 +0000
Organization: Newsgate at muc.de e.V.
Approved: news-admin@muc.de
Distribution: world
Message-ID: <bug-300906-12827-0Vg7jBe1GS@https.bugs.freebsd.org/bugzilla/>
References: <bug-300906-12827@https.bugs.freebsd.org/bugzilla/>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Injection-Info: news.muc.de; posting-host="news.muc.de:193.149.48.2";
	logging-data="8917"; mail-complaints-to="news-admin@muc.de"
X-Original-To: multimedia@mlmmj.nyi.freebsd.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim;
	t=1795092099;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=ct0+w0JmmB6Zg+Va3lDOSPfJ0LYciFlFCxpB7G6Ema0=;
	b=pszh2xriL51Q574EwMyzO+DdUccI5aQReHVsmBfx6vZ2h/lbdt9u2KvAR47Ex1pRK5AN0s
	qdTBx+6birrIieh+ZvPqZ0n5idL9vgpQjimYz780Ts0hdEW6upIV2IvPUFRyEEX9CCcLzQ
	VlBY9xnoJaMvm41wgiT4Yn8ZIe54+D08sX6qec5dzl2sZI6Vyq5SqocU8J1pW1nwvd8J1G
	qbb0FxiHtMbhFGxbRubvnn5qs9cjzdw0O6YMA2tD8yzqm5lCBzyTGutGhdvCs/YM4utXeu
	rVGU6YUHdn7xq+KGHp7+DEKe4MWa1Cf+cvwXAvAsK6ahktWSHfpvviJ6n8PjqQ==
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
In-Reply-To: <bug-300906-12827@https.bugs.freebsd.org/bugzilla/>
Auto-Submitted: auto-generated
Precedence: list
X-Newsgate-Id: f02c70b8849f+
X-No-Archive: Yes