[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure
- Reply: bugzilla-noreply_a_freebsd.org: "maintainer-feedback requested: [Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 278560] www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile failure"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 24 Apr 2024 00:24:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278560
Bug ID: 278560
Summary: www/chromium 124.0.6367.60 on 13.2-RELEASE-p10 compile
failure
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: Individual Port(s)
Assignee: chromium@FreeBSD.org
Reporter: george@m5p.com
Flags: maintainer-feedback?(chromium@FreeBSD.org)
Assignee: chromium@FreeBSD.org
../../third_party/ffmpeg/libavutil/thread.h:228:19: error: call to undeclared
function 'pthread_setname_np'; ISO C99 and later do not support implicit
function declarations [-Wimplicit-function-declaration]
228 | ret = AVERROR(pthread_setname_np(pthread_self(), name));
| ^
m../../third_party/ffmpeg/libavutil/thread.h:228:19: note: did you mean
'pthread_set_name_np'?
/usr/include/pthread_np.h:67:6: note: 'pthread_set_name_np' declared here
67 | void pthread_set_name_np(pthread_t, const char *);
| ^
1 error generated.
In short, the problem seems to be that HAVE_PTHREAD_SETNAME_NP was set during
the configuration phase of things instead HAVE_PTHREAD_SET_NAME_NP. In order
to be able to compile, I changed lines 225 and following of
third_party/ffmpeg/libavutil/thread.h to:
static inline int ff_thread_setname(const char *name)
{
int ret = 0;
pthread_set_name_np(pthread_self(), name);
return ret;
}
Clearly not the right fix! But I'm testing right now (i.e. for at least the
next couple of hours) to see if it lets me finish the compile. Perhaps an
expert on the configuration phase can point me in the right direction.
--
You are receiving this mail because:
You are the assignee for the bug.