Thread View: muc.lists.freebsd.multimedia
2 messages
2 total messages
Started by bugzilla-noreply
Thu, 19 Nov 2026 12:41
[Bug 300906] multimedia/libv4l: Fails to build with WITH_FORTIFY=yes
Author: 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
maintainer-feedback requested: [Bug 300906] multimedia/libv4l: Fails to build with WITH_FORTIFY=yes
Author: bugzilla-noreply
Date: Thu, 19 Nov 2026 12:41
Date: Thu, 19 Nov 2026 12:41
47 lines
3764 bytes
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
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads