Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 533622 - net-libs/webkit-gtk-2.6.4 gtkdoc-scan: Traceback (most recent call last): File "/home/gentoo/build/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Tools/gtk/generate-gtkdoc", line 201, OSError: [Errno 2] No such file or directory
Summary: net-libs/webkit-gtk-2.6.4 gtkdoc-scan: Traceback (most recent call last): Fil...
Status: IN_PROGRESS
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gnome-3.14
  Show dependency tree
 
Reported: 2014-12-26 19:10 UTC by Freddie Witherden
Modified: 2017-01-21 12:12 UTC (History)
5 users (show)

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


Attachments
emerge --pqv output (emerge-pqv.txt,169 bytes, text/plain)
2014-12-26 23:41 UTC, John Bowler
Details
build.log.xz (build.log.xz,193.84 KB, application/x-xz)
2014-12-26 23:51 UTC, John Bowler
Details
Emerge build environment (temp/environment) (environment,174.38 KB, text/plain)
2014-12-26 23:52 UTC, John Bowler
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Freddie Witherden 2014-12-26 19:10:42 UTC
While attempting to emerge net-libs/webkit-gtk-2.6.4 I get the following error:

Scanning dependencies of target gtkdoc
make[2]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkit-gtk-2.6.4_build'
make -f Source/CMakeFiles/gtkdoc.dir/build.make Source/CMakeFiles/gtkdoc.dir/build
make[2]: Entering directory '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkit-gtk-2.6.4_build'
/usr/bin/cmake -E cmake_progress_report /var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkit-gtk-2.6.4_build/CMakeFiles 
[ 97%] Generating ../docs-build.stamp
CC=/usr/bin/x86_64-pc-linux-gnu-gcc CFLAGS=-O2\ -pipe\ -march=native\ -Wno-error\  /var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Tools/gtk/generate-gtkdoc

Generating webkitdomgtk documentation...
Copying template files to output directory...
Copying HTML files to output directory...
Running gtkdoc-scan
Traceback (most recent call last):
  File "/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Tools/gtk/generate-gtkdoc", line 201, in <module>
    generate_documentation_for_config(common.build_path('gtkdoc-webkitdom.cfg'))
  File "/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Tools/gtk/generate-gtkdoc", line 152, in generate_documentation_for_config
    return generate_doc(generator, arguments.skip_html)
  File "/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Tools/gtk/generate-gtkdoc", line 133, in generate_doc
    generator.generate(not skip_html)
  File "/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Tools/gtk/gtkdoc.py", line 142, in generate
    self._run_gtkdoc_scan()
  File "/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Tools/gtk/gtkdoc.py", line 310, in _run_gtkdoc_scan
    self._run_command(args)
  File "/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkitgtk-2.6.4/Tools/gtk/gtkdoc.py", line 193, in _run_command
    stderr=subprocess.PIPE)
  File "/usr/lib64/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib64/python2.7/subprocess.py", line 1335, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory
Source/CMakeFiles/gtkdoc.dir/build.make:54: recipe for target 'docs-build.stamp' failed
make[2]: *** [docs-build.stamp] Error 1
make[2]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkit-gtk-2.6.4_build'
CMakeFiles/Makefile2:227: recipe for target 'Source/CMakeFiles/gtkdoc.dir/all' failed
make[1]: *** [Source/CMakeFiles/gtkdoc.dir/all] Error 2
make[1]: Leaving directory '/var/tmp/portage/net-libs/webkit-gtk-2.6.4/work/webkit-gtk-2.6.4_build'
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2

# emerge --info '=net-libs/webkit-gtk-2.6.4::gentoo'
Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.20, 3.17.1-gentoo-r1 x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.17.1-gentoo-r1-x86_64-Intel-R-_Core-TM-_i7-2600K_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16424520 total,   9048736 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 26 Dec 2014 14:30:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.11.6, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.7.4, 4.8.3, 4.9.0
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo science
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -Wno-error"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe -march=native -Wno-error"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/science"
USE="X a52 aac acl alsa amd64 bash-completion berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cryptsetup cuda cups cxx dbus declarative dri dts dvd dvdr emboss enchant encode exif fam firefox flac fortran gdbm gif git glamor gpm graphite gtk iconv icu ipv6 jpeg kde kipi lapack latex lcms libnotify llvm-shared-libs luatex mad metis mmx mng modules mp3 mp4 mpeg mpi multilib ncurses networkmanager nls nptl ogg opencl opengl openmp opus pam pango pcre pdf phonon plasma png policykit ppds pulseaudio python qt qt3support qt4 readline resolvconf sdl semantic-desktop session spell sqlite sse sse2 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vdpau vorbis wxwidgets x264 xcb xcomposite xetex xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
USE_PYTHON="2.7 3.3"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC

Reproducible: Always
Comment 1 Jeroen Roovers gentoo-dev 2014-12-26 20:25:17 UTC
Please attach the entire build log to this bug report.
Comment 2 Freddie Witherden 2014-12-26 21:44:53 UTC
The build log is some 61MB and I am somewhat bandwidth constrained, unfortunately.
Comment 3 John Bowler 2014-12-26 23:40:35 UTC
I see the same failure, I'm attached the emerge output (--info, --pqv), build.log and environment.

emerge --info below, rest as attachments:

Portage 2.2.15 (python 2.7.9-final-0, default/linux/amd64/13.0/desktop/kde, gcc-4.8.3, glibc-2.20, 3.18.1-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.1-gentoo-x86_64-Intel-R-_Core-TM-_i7-3770_CPU_@_3.40GHz-with-gentoo-2.2
KiB Mem:    16382580 total,   3664920 free
KiB Swap:   16777212 total,  16318272 free
Timestamp of tree: Fri, 26 Dec 2014 11:00:01 +0000
sh bash 4.3_p30-r1
ld GNU ld (GNU Binutils) 2.24
distcc 3.2rc1 x86_64-pc-linux-gnu [disabled]
app-shells/bash:          4.3_p30-r1
dev-java/java-config:     2.2.0
dev-lang/perl:            5.20.1-r4
dev-lang/python:          2.7.9-r1, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.6
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6-r1, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.4
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17-r1 (virtual/os-headers)
sys-libs/glibc:           2.20
Repositories: gentoo hippopopus-jbowler-com
ACCEPT_KEYWORDS="amd64 ~amd64 ~x86"
ACCEPT_LICENSE="* -@EULA @BINARY-REDISTRIBUTABLE"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-Os -g -march=native -pipe -fexceptions"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-Os -g -march=native -pipe"
DISTDIR="/home/gentoo/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs compressdebug config-protect-if-modified distlocks ebuild-locks fixlafiles installsources merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://lug.mtu.edu/gentoo/ ftp://lug.mtu.edu/gentoo/ ftp://gentoo.llarian.net/pub/gentoo http://gentoo.llarian.net/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="--jobs=8 --load-average=5.5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/home/gentoo/build"
PORTDIR="/home/gentoo/portage"
PORTDIR_OVERLAY="/home/gentoo/overlay"
USE="X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif glamor gpm gtk iconv ipv6 jpeg kde kipi lcms ldap libnotify mad mmx mng modules mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds qt3support qt4 readline sdl session spell sse sse2 sse3 ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xcomposite xinerama xml xscreensaver xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON
Comment 4 John Bowler 2014-12-26 23:41:12 UTC
Created attachment 392468 [details]
emerge --pqv output
Comment 5 John Bowler 2014-12-26 23:51:52 UTC
Created attachment 392470 [details]
build.log.xz

The only salient lines in here have already been quoted by the OP, at least so far as I can see.  The file is XZ compressed.
Comment 6 John Bowler 2014-12-26 23:52:19 UTC
Created attachment 392472 [details]
Emerge build environment (temp/environment)
Comment 7 John Bowler 2014-12-27 00:01:42 UTC
I note that it is "running gtkdoc-scan" and that I have no such program on my system.  I don't have gtk-doc installed either.  I emerge --oneshot'ed gtk-doc and I now have a 'gtkdoc-scan' in /usr/bin (it belongs to gtk-doc-1.2.1).  I'm guessing webkit-gtk will now build, after a while, but "emerge --depclean --pretend" reveals that there are not dependencies in my system to pull in gtk-doc.
Comment 8 John Bowler 2014-12-27 00:10:29 UTC
With gtk-doc emerge'ed an ebuild compile step completes.  I haven't run the emerge from scratch because it takes so long; I just did an "ebuild qmerge" and that seems to have worked fine.
Comment 9 Philip Munksgaard 2014-12-27 21:09:45 UTC
(In reply to John Bowler from comment #8)
> With gtk-doc emerge'ed an ebuild compile step completes.  I haven't run the
> emerge from scratch because it takes so long; I just did an "ebuild qmerge"
> and that seems to have worked fine.

I had the same issue. Installing gtk-doc worked for me (I did a full `emerge --update --deep --with-bdeps=y @world` after installing gtk-doc). Maybe we should consider adding it to the dependencies?
Comment 10 Gilles Dartiguelongue gentoo-dev 2014-12-28 11:13:28 UTC
So it appears this is my fault for passwing -DENABLE_GTKDOC=ON always.
I have to recheck whether it installs gtk-doc if this switch is set to off or not and I'll update the ebuild accordingly.
Comment 11 Gilles Dartiguelongue gentoo-dev 2014-12-31 00:39:23 UTC
+  31 Dec 2014; Gilles Dartiguelongue <eva@gentoo.org> webkit-gtk-2.6.4.ebuild:
+  Drop gles2 & wayland support following up current upstream status, bug
+  #533704. X useflag is now not an option anymore due to wayland being removed.
+  Make gtk-doc optional in contradiction with teams policy because upstream did
+  some hackery that does not use gtkdoc to manipulate gtk-doc (yay :/), bug
+  #533622.

This is now a USE flag, until we figure out how to make upstream do their hacks better.

I am leaving this open so we report that bug upstream. I saw one like this iirc but can't find it right now.
Comment 12 Pacho Ramos gentoo-dev 2015-07-13 10:21:34 UTC
(In reply to Gilles Dartiguelongue from comment #11)
[...] 
> This is now a USE flag, until we figure out how to make upstream do their
> hacks better.
> 
> I am leaving this open so we report that bug upstream. I saw one like this
> iirc but can't find it right now.

did you finally report the bug? Thanks for the info :)
Comment 13 Pacho Ramos gentoo-dev 2017-01-21 12:12:59 UTC
Gilles, was this the bug report you were looking for?
https://bugs.webkit.org/show_bug.cgi?id=145683