Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 721318 - www-client/netsurf-3.9 : utils/idna.c: fatal error: libutf8proc/utf8proc.h: No such file or directory
Summary: www-client/netsurf-3.9 : utils/idna.c: fatal error: libutf8proc/utf8proc.h: N...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Philipp Ammann
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-06 19:12 UTC by Toralf Förster
Modified: 2020-06-21 12:18 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.12 KB, text/plain)
2020-05-06 19:12 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,31.14 KB, text/plain)
2020-05-06 19:12 UTC, Toralf Förster
Details
environment (environment,63.86 KB, text/plain)
2020-05-06 19:12 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,10.94 KB, application/x-bzip)
2020-05-06 19:13 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,29.42 KB, application/x-bzip)
2020-05-06 19:13 UTC, Toralf Förster
Details
www-client:netsurf-3.9:20200506-190754.log (www-client:netsurf-3.9:20200506-190754.log,832.71 KB, text/plain)
2020-05-06 19:13 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-05-06 19:12:47 UTC
utils/idna.c:30:10: fatal error: libutf8proc/utf8proc.h: No such file or directory
   30 | #include <libutf8proc/utf8proc.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-abi32+64-20200505-162645

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.3.0 *
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.7 (uninstalled)
  [2]   python3.6
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
The following VMs are available for generation-2:
*)	IcedTea JDK 3.15.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.0.2

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Wed 06 May 2020 06:05:19 PM UTC

emerge -qpvO www-client/netsurf
[ebuild  N    ] www-client/netsurf-3.9  USE="bmp duktape gif gtk javascript jpeg mng png psl rosprite svg svgtiny truetype webp -fbcon -gtk2 -pdf-writer"
Comment 1 Toralf Förster gentoo-dev 2020-05-06 19:12:51 UTC
Created attachment 636556 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-05-06 19:12:54 UTC
Created attachment 636558 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-05-06 19:12:57 UTC
Created attachment 636560 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-05-06 19:13:00 UTC
Created attachment 636562 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-05-06 19:13:03 UTC
Created attachment 636564 [details]
temp.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-05-06 19:13:07 UTC
Created attachment 636566 [details]
www-client:netsurf-3.9:20200506-190754.log
Comment 7 Aidan Marks 2020-05-07 01:37:46 UTC
Also getting this build error when rebuilding subversion:

subversion/libsvn_subr/utf8proc.c:40:10: fatal error: libutf8proc/utf8proc.h: No such file or directory
   40 | #include <libutf8proc/utf8proc.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:802: subversion/libsvn_subr/utf8proc.lo] Error 1
make: *** Waiting for unfinished jobs....
 * ERROR: dev-vcs/subversion-1.13.0-r1::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-vcs/subversion-1.13.0-r1::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-vcs/subversion-1.13.0-r1::gentoo'`.
 * The complete build log is located at '/nas/tmp/portage/dev-vcs/subversion-1.13.0-r1/temp/build.log'.
 * The ebuild environment file is located at '/nas/tmp/portage/dev-vcs/subversion-1.13.0-r1/temp/environment'.
 * Working directory: '/nas/tmp/portage/dev-vcs/subversion-1.13.0-r1/work/subversion-1.13.0'
 * S: '/nas/tmp/portage/dev-vcs/subversion-1.13.0-r1/work/subversion-1.13.0'
!!! When you file a bug report, please include the following information:
GENTOO_VM=  CLASSPATH="" JAVA_HOME=""
JAVACFLAGS="" COMPILER=""
and of course, the output of emerge --info =subversion-1.13.0

>>> Failed to emerge dev-vcs/subversion-1.13.0-r1, Log file:

>>>  '/nas/tmp/portage/dev-vcs/subversion-1.13.0-r1/temp/build.log'
Comment 8 Aidan Marks 2020-05-07 02:04:09 UTC
Downgrade from dev-libs/libutf8proc-2.5.0 to dev-libs/libutf8proc-2.4.0 resolves the build failure for subversion.  Try that for your package.
Comment 9 Michael Schmid 2020-05-26 06:11:11 UTC
Same error and a downgrade to libutf8proc-2.4.0 resolved it.

The cause seems as simple as /usr/include/libutf8proc/utf8proc.h (in libutf8proc-2.4.0) becoming /usr/include/utf8proc.h (in libutf8proc-2.5.0).
Comment 10 Larry the Git Cow gentoo-dev 2020-06-21 12:18:01 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ca7819ae8a75cab9e401e3106415a6528cdd1f52

commit ca7819ae8a75cab9e401e3106415a6528cdd1f52
Author:     Michael Orlitzky <mjo@gentoo.org>
AuthorDate: 2020-06-21 01:43:05 +0000
Commit:     Michael Orlitzky <mjo@gentoo.org>
CommitDate: 2020-06-21 12:17:03 +0000

    www-client/netsurf: new version 3.10.
    
    This new version (bug 727882) combined with the removal of the old
    versions fixes some outstanding issues:
    
      * Fixes the mixup between ED/D (and EROOT, variously) throughout
        the build system (bug 489542).
    
      * Adds a dependency on dev-lang/duktape, but as a result, has to
        drop keywords for arm, ppc, and ppc64 (bugs 698650, 728592).
    
      * Adds a patch to fix the location of utf8proc.h (bug 721318)
    
      * Adds a patch to disable failing tests (bug 687378).
    
      * Drops the broken USE=pdf-writer flag (bug 625770).
    
      * Apparently fixes the test failure with USE="-gtk2", since the
        test suite now passes (bug 672812).
    
      * Eliminates another test failure in v3.8 (bug 701322).
    
    Bug: https://bugs.gentoo.org/489542
    Closes: https://bugs.gentoo.org/625770
    Closes: https://bugs.gentoo.org/672812
    Closes: https://bugs.gentoo.org/687378
    Closes: https://bugs.gentoo.org/698650
    Closes: https://bugs.gentoo.org/701322
    Closes: https://bugs.gentoo.org/721318
    Closes: https://bugs.gentoo.org/727882
    Bug: https://bugs.gentoo.org/728592
    Package-Manager: Portage-2.3.99, Repoman-2.3.22
    Signed-off-by: Michael Orlitzky <mjo@gentoo.org>

 www-client/netsurf/Manifest                        |   1 +
 .../files/netsurf-3.10-disable-failing-tests.patch |  42 +++++++
 ...rf-3.10-julia-libutf8proc-header-location.patch |  34 ++++++
 www-client/netsurf/netsurf-3.10.ebuild             | 131 +++++++++++++++++++++
 4 files changed, 208 insertions(+)