Summary: | www-client/netsurf-3.10-r2 fails to build against <net-libs/libdom-0.4.1 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Chí-Thanh Christopher Nguyễn <chithanh> |
Component: | Current packages | Assignee: | Philipp Ammann <philipp.ammann> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | fellows, luc_pierard_de_maujouy, proxy-maint, sam, toralf |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
build.log against libdom-0.4.0
Patch to the netsurf-3.10-r4 ebuild |
Created attachment 680125 [details, diff]
Patch to the netsurf-3.10-r4 ebuild
This patch worked for me. Actually, in my case libdom was not installed at all before attempting the emerge. Without the patch it is not built.
*** Bug 729014 has been marked as a duplicate of this bug. *** *** Bug 834606 has been marked as a duplicate of this bug. *** The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd26cff49f5f22d45512ef759025f5de665effdc commit dd26cff49f5f22d45512ef759025f5de665effdc Author: Sam James <sam@gentoo.org> AuthorDate: 2022-03-16 00:03:36 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2022-03-16 01:01:09 +0000 www-client/netsurf: increase libdom lower bound; set DEPEND Closes: https://bugs.gentoo.org/734092 Signed-off-by: Sam James <sam@gentoo.org> www-client/netsurf/netsurf-3.10-r4.ebuild | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) |
Created attachment 650980 [details] build.log against libdom-0.4.0 Building www-client/netsurf-3.10-r2 against net-libs/libdom-0.3.3-r1 or 0.4.0 fails with the following error messages: content/handlers/html/dom_event.c: In function ‘dom_SCRIPT_showed_up’: content/handlers/html/dom_event.c:260:2: error: unknown type name ‘dom_html_scri pt_element_flags’; did you mean ‘dom_html_script_element_h_’? 260 | dom_html_script_element_flags flags; | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | dom_html_script_element_h_ content/handlers/html/html.c: In function ‘fire_dom_keyboard_event’: content/handlers/html/html.c:187:8: warning: implicit declaration of function ‘d om_keyboard_event_create’; did you mean ‘dom_keyboard_event_init’? [-Wimplicit-f unction-declaration] 187 | exc = dom_keyboard_event_create(&evt); | ^~~~~~~~~~~~~~~~~~~~~~~~~ | dom_keyboard_event_init content/handlers/html/html.c:187:8: warning: nested extern declaration of ‘dom_k eyboard_event_create’ [-Wnested-externs] content/handlers/html/html.c:195:37: error: macro "dom_keyboard_event_init" passed 14 arguments, but takes just 8 195 | false, false, false, false, false); | ^