Summary: | net-misc/apt-cacher-ng-3.7.4_p1-r2 : /.../meta.h: error: field tv has incomplete type acng::timeval | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Toralf Förster <toralf> |
Component: | Current packages | Assignee: | Gentoo musl team <musl> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | ago, ajak, deb-tools+disabled, jer |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 430702 | ||
Attachments: |
emerge-info.txt
emerge-history.txt environment etc.portage.tbz2 logs.tbz2 net-misc:apt-cacher-ng-3.3.1_p2:20200407-101948.log temp.tbz2 Fix for "error: operator '!' has no right operand" triggered by HAVE_STRLCPY macro |
Description
Toralf Förster
![]() Created attachment 631092 [details]
emerge-info.txt
Created attachment 631094 [details]
emerge-history.txt
Created attachment 631096 [details]
environment
Created attachment 631098 [details]
etc.portage.tbz2
Created attachment 631100 [details]
logs.tbz2
Created attachment 631102 [details]
net-misc:apt-cacher-ng-3.3.1_p2:20200407-101948.log
Created attachment 631104 [details]
temp.tbz2
tinderbox_musl has reproduced this issue with version 3.6.3_p1-r2 - Updating summary. *** Bug 872185 has been marked as a duplicate of this bug. *** Just a missing time include, I think. tinderbox_musl has reproduced this issue with version 3.7.4_p1-r2 - Updating summary. *** Bug 907882 has been marked as a duplicate of this bug. *** Created attachment 888412 [details, diff] Fix for "error: operator '!' has no right operand" triggered by HAVE_STRLCPY macro Glib 2.38 provides it's own copy of strlcpy, which breaks the cmake macro used in apt-cacher-ng. Here is a patch for that portion of this bug, as reported under Gentoo bug #907882 (marked as a dupe of this one). Patch shamelessly borrowed from Ubuntu bug #2036822. It worked on the one machine I have apt-cacher-ng on. (In reply to D. Wilson from comment #13) > Created attachment 888412 [details, diff] [details, diff] > Fix for "error: operator '!' has no right operand" triggered by HAVE_STRLCPY > macro > > Glib 2.38 provides it's own copy of strlcpy, which breaks the cmake macro > used in apt-cacher-ng. > > Here is a patch for that portion of this bug, as reported under Gentoo bug > #907882 (marked as a dupe of this one). > > Patch shamelessly borrowed from Ubuntu bug #2036822. It worked on the one > machine I have apt-cacher-ng on. I think your bug is bug 913133. The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=779308f3b6981624f39e260016565e8384ba61c9 commit 779308f3b6981624f39e260016565e8384ba61c9 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-24 14:20:05 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-24 14:27:42 +0000 net-misc/apt-cacher-ng: fix build w/ musl Closes: https://bugs.gentoo.org/716564 Signed-off-by: Sam James <sam@gentoo.org> net-misc/apt-cacher-ng/apt-cacher-ng-3.7.4_p1-r2.ebuild | 1 + net-misc/apt-cacher-ng/files/apt-cacher-ng-3.7.4-musl.patch | 11 +++++++++++ 2 files changed, 12 insertions(+) |