Article View: muc.lists.freebsd.multimedia
Article #92[Bug 300906] multimedia/libv4l: Fails to build with WITH_FORTIFY=yes
From: bugzilla-noreply
Date: Thu, 19 Nov 2026 12:41
Date: Thu, 19 Nov 2026 12:41
66 lines
4242 bytes
4242 bytes
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=300906
Bug ID: 300906
Summary: multimedia/libv4l: Fails to build with
WITH_FORTIFY=yes
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: multimedia@FreeBSD.org
Reporter: nimaje+fbz@bureaucracy.de
Flags: maintainer-feedback?(multimedia@FreeBSD.org)
Assignee: multimedia@FreeBSD.org
Created attachment 277456
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=277456&action=edit
multimedia/libv4l: mark FORTIFY_UNSAFE
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.
--
You are receiving this mail because:
You are the assignee for the bug.
--
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@https.bugs.freebsd.org/bugzilla/>Path:
mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!2.eu.feeder.erje.net!feeder.erje.net!news2.arglkargh.de!news.karotte.org!news.muc.de!.POSTED.news.muc.de!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.samoylyk.net!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: [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@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="8969"; 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; bh=DHz2BYCGU3ET26aNY2DxJHtS/kgO2tZxLDrDKjR2KXU=; b=r46R7uItSsMSnFKkx2Wv9gTjKZJ50MgwalpezpCb9ejuwTx84jLh/nirZfgct7odNC0lWk xyayTzxmHOT2vJKfi87de6taNTxhDXbbJy1xN4OjVVK0lvnaPetUeVFeFVAorhXj30liZ9 g4mh9RzkLK6kMKhIaEJKiaH6AMQO0gXDhoSiVgqZ1gg1gSfDxhpGaqU/FBlORd1oKJb/6y x3M4qrC2VoYpDlmVJWKG1aZNBornCDJyVUMJKZxy+nDxc/A8vLvxApH1nGu55ZHORWnOFW zWqoiIUpw3p8gtqXMtJNksR4SATTO+cQMe5zqsPMNyZ3r6gZt88n2Xxpt2QGpQ== X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Auto-Submitted: auto-generated Precedence: list X-Newsgate-Id: f02c70b8849f+ X-No-Archive: Yes