Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 729066

Summary: www-client/netsurf-3.10 with dev-libs/libutf8proc-2.2.0_p1-r1 - utils/idna.c:170:10: fatal error: utf8proc.h: No such file or directory
Product: Gentoo Linux Reporter: David Duchesne <aether>
Component: Current packagesAssignee: Philipp Ammann <philipp.ammann>
Status: RESOLVED FIXED    
Severity: normal CC: gentoo.2019, proxy-maint
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Duchesne 2020-06-21 21:34:14 UTC
www-client/netsurf-3.10 fails to build with =dev-libs/libutf8proc-2.2.0_p1-r1

x86_64-pc-linux-gnu-gcc -W -Wall -Wundef -Wpointer-arith -Wcast-align -Wwrite-strings -Wmissing-declarations -Wuninitialized -Wno-unused-parameter -Wno-unused-but-set-variable -Wimplicit-fallthrough=3 -Wredundant-decls -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -I. -Iinclude -Ibuild/Linux-framebuffer -Ifrontends -Icontent/handlers  -O2 -DWITH_JPEG -UWITH_PDF_EXPORT -DLIBICONV_PLUG   -I/usr/include/libxml2    -DWITH_CURL  -DWITH_OPENSSL -DUTF8PROC_EXPORTS  -DWITH_UTF8PROC  -DWITH_WEBP -I/usr/include/libpng16  -DWITH_PNG -I/usr/include/  -DWITH_BMP  -DWITH_GIF -I/usr/include/libxml2  -DWITH_NS_SVG  -DWITH_NSSPRITE  -DWITH_NSPSL -DNETSURF_UA_FORMAT_STRING=\""NetSurf/%d.%d (%s)"\" -DNETSURF_HOMEPAGE=\""about:welcome"\" -DNETSURF_LOG_LEVEL=VERBOSE  -DNETSURF_BUILTIN_LOG_FILTER=\""(level:WARNING || cat:jserrors)"\" -DNETSURF_BUILTIN_VERBOSE_FILTER=\""(level:VERBOSE || cat:jserrors)"\" -DSTMTEXPR=1 -std=c99 -g -Dnsframebuffer -Dsmall '-DNETSURF_FB_RESPATH="${HOME}/.netsurf/:${NETSURFRES}:/usr/share/netsurf:./frontends/framebuffer/res"' '-DNETSURF_FB_FONTPATH="/usr/share/fonts/dejavu"' '-DNETSURF_FB_FONT_SANS_SERIF="DejaVuSans.ttf"' '-DNETSURF_FB_FONT_SANS_SERIF_BOLD="DejaVuSans-Bold.ttf"' '-DNETSURF_FB_FONT_SANS_SERIF_ITALIC="DejaVuSans-Oblique.ttf"' '-DNETSURF_FB_FONT_SANS_SERIF_ITALIC_BOLD="DejaVuSans-BoldOblique.ttf"' '-DNETSURF_FB_FONT_SERIF="DejaVuSerif.ttf"' '-DNETSURF_FB_FONT_SERIF_BOLD="DejaVuSerif-Bold.ttf"' '-DNETSURF_FB_FONT_MONOSPACE="DejaVuSansMono.ttf"' '-DNETSURF_FB_FONT_MONOSPACE_BOLD="DejaVuSansMono-Bold.ttf"' '-DNETSURF_FB_FONT_CURSIVE="Comic_Sans_MS.ttf"' '-DNETSURF_FB_FONT_FANTASY="Impact.ttf"' -I/usr/include/freetype2  -DFB_USE_FREETYPE -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -D_POSIX_C_SOURCE=200809L -D_XOPEN_SOURCE=700 -D_BSD_SOURCE -D_DEFAULT_SOURCE -D_NETBSD_SOURCE -DDUK_OPT_HAVE_CUSTOM_H -march=bdver2 -O2 -pipe -MMD -MT 'build/Linux-framebuffer/deps/utils_libdom.d build/Linux-framebuffer/utils_libdom.o' -MF build/Linux-framebuffer/deps/utils_libdom.d -o build/Linux-framebuffer/utils_libdom.o -c utils/libdom.c
utils/idna.c:170:10: fatal error: utf8proc.h: No such file or directory
  170 | #include <utf8proc.h>
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:864: build/Linux-framebuffer/utils_idna.o] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: www-client/netsurf-3.10::gentoo failed (compile phase):
 *   emake failed


Compiling with :
dev-libs/libutf8proc-2.4.0
or
dev-libs/libutf8proc-2.5.0

works just fine, so netsurf ebuild needs to use :

>=dev-libs/libutf8proc-2.4

or maybe dev-libs/libutf8proc-2.4.0 (or 2.5.0) could be stabilized instead ? Let me know.

Reproducible: Always
Comment 1 CaptainBlood 2020-06-29 04:46:38 UTC
same here, =dev-libs/libutf8proc-2.4.0 fixes.
Thks 4 ur attention.
Comment 2 Michael Orlitzky gentoo-dev 2020-07-15 13:44:56 UTC
Thanks! This was already fixed in commit f4b54e2b6fa.