Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 421267 - dev-libs/glib-2.30.3 fails to build if dev-util/gtk-doc is installed
Summary: dev-libs/glib-2.30.3 fails to build if dev-util/gtk-doc is installed
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-15 19:33 UTC by Nikoli
Modified: 2012-06-16 07:43 UTC (History)
0 users

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


Attachments
equery f gtk-doc (gtk-doc,1.05 KB, text/plain)
2012-06-15 20:11 UTC, Nikoli
Details
build.log (gtk-doc-1.18-r1_build.log_1,62.50 KB, text/plain)
2012-06-16 06:44 UTC, Nikoli
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikoli 2012-06-15 19:33:07 UTC
When gtk-doc is not installed src_prepare works fine.

>>> Preparing source in /var/tmp/portage/dev-libs/glib-2.30.3/work/glib-2.30.3 ...
`/var/tmp/portage/dev-libs/glib-2.30.3/work/pkg-config-0.26/pkg.m4' -> `/var/tmp/portage/dev-libs/glib-2.30.3/work/pkg.m4'
 * Applying glib-2.30.2-missing-decls.patch ...                                                                                                                                             [ ok ]
 * Applying glib-2.12.12-fbsd.patch ...                                                                                                                                                     [ ok ]
 * Applying glib-2.30.3-assert-test-failure.patch ...                                                                                                                                       [ ok ]
 * Applying glib-2.30.1-external-gdbus-codegen.patch ...                                                                                                                                    [ ok ]
 * Applying glib-2.30.1-homedir-env.patch ...                                                                                                                                               [ ok ]
 * Applying glib-2.30.2-machine-id.patch ...                                                                                                                                                [ ok ]
 * Applying glib-2.30.3-closure-64bit-be.patch ...                                                                                                                                          [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-libs/glib-2.30.3/work/glib-2.30.3' ...
 * Running gtkdocize --copy ...                                                                                                                                                             [ !! ]

 * Failed Running gtkdocize !
 * 
 * Include in your bugreport the contents of:
 * 
 *   /var/tmp/portage/dev-libs/glib-2.30.3/temp/gtkdocize.out

 * ERROR: dev-libs/glib-2.30.3 failed (prepare phase):
 *   Failed Running gtkdocize !
 * 
 * Call stack:
 *     ebuild.sh, line   85:  Called src_prepare
 *   environment, line 6222:  Called eautoreconf
 *   environment, line 1590:  Called autotools_run_tool '--at-missing' 'gtkdocize' '--copy'
 *   environment, line 1363:  Called die
 * The specific snippet of code:
 *           die "Failed Running $1 !";


 cat /var/tmp/portage/dev-libs/glib-2.30.3/temp/gtkdocize.out
***** gtkdocize *****
***** PWD: /var/tmp/portage/dev-libs/glib-2.30.3/work/glib-2.30.3
***** gtkdocize --copy

cp: cannot stat `/usr/share/gtk-doc/data/gtk-doc.make': No such file or directory
Comment 1 Rafał Mużyło 2012-06-15 20:05:59 UTC
If gtk-doc is installed, /usr/share/gtk-doc/data/gtk-doc.make should be present.
Comment 2 Nikoli 2012-06-15 20:11:11 UTC
Created attachment 315443 [details]
equery f gtk-doc

But it's not.
Comment 3 Rafał Mużyło 2012-06-15 21:36:17 UTC
(In reply to comment #2)
> Created attachment 315443 [details]
> equery f gtk-doc
> 
> But it's not.

Well, then it looks like there's something wrong about your gtk-doc.
Reemerge, if there's no change, attach its build log.
Comment 4 Pacho Ramos gentoo-dev 2012-06-16 06:10:08 UTC
Also resync as I need this was caused by some breakage of eclasses some days ago that should be already fixed
Comment 5 Nikoli 2012-06-16 06:44:15 UTC
Created attachment 315471 [details]
build.log

No, i synced before reporting - the problem was not fixed. And it is not fixed now. Synced and reemerged gtk-doc, but /usr/share/gtk-doc/data/gtk-doc.make does not exist. A lot (glib, pango, cairo, gtk+, libglade, librsvg, libgsf, gegl, etc) packages fail to build during 'emerge -e world', this breakage is really nasty and disturbing, please fix.

[ebuild   R    ] dev-util/gtk-doc-1.18-r1  USE="test -debug -doc -emacs -highlight -vim" 0 kB

Portage 2.1.10.49 (hardened/linux/amd64/no-multilib, gcc-4.6.3, glibc-2.14.1-r3, 3.4.2-hardened x86_64)
=================================================================
Timestamp of tree: Sat, 16 Jun 2012 05:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo nikoli
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=atom -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa /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"
CXXFLAGS="-march=atom -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS=""
LANG="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/atom-hardened"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/nikoli"
USE="X a52 aac acl acpi alsa amd64 amr audiofile bash-completion bzip2 cairo caps cdda cdr celt cli consolekit cracklib crypt css cxx dbus djvu dri dts dv dvd dvdr egl exif fat ffmpeg flac fluidsynth fontconfig fortran gd geoip gif gmp gnutls gphoto2 gpm graphviz gsm hardened iconv icu id3tag idn ilbc imap imlib ipv6 jbig jpeg jpeg2k justify kde lcms libnotify libproxy libsamplerate lm_sensors lzma lzo mac mad matroska mikmod mmx mmxext mng modplug modules mp3 mp4 mpeg mtp mudflap musepack musicbrainz ncurses nls nptl nptlonly ntfs ogg openexr opengl openmp pam pango pax_kernel pcre pdf pg-intdatetime pm-utils png policykit pppd qt3support qt4 quicktime raw readline reiserfs replaygain sasl schroedinger session sid smp sndfile socks5 speex sqlite sse sse2 sse3 ssl ssse3 startup-notification svg symlink sysfs taglib theora threads thumbnail tiff truetype tta udev unicode upnp usb vaapi vcd vdpau vorbis wavpack webkit webp wma wmf xattr xcb xcomposite xface xinerama xml xmp xorg xpm xscreensaver xv xvid xz zip zlib" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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" CAMERAS="*" 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 ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru en" NGINX_MODULES_HTTP="access auth_basic autoindex fastcgi gzip rewrite" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nouveau" 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"
Comment 6 Pacho Ramos gentoo-dev 2012-06-16 07:11:32 UTC
Do you have gtk-doc-am installed?
Comment 7 Nikoli 2012-06-16 07:16:48 UTC
Yes, 1.18
Comment 8 Nikoli 2012-06-16 07:43:34 UTC
I have /usr/share/gtk-doc in INSTALL_MASK as workaround for bug 239524, it worked fine for years and i forgot about it. Sorry. Custom INSTALL_MASK in /etc/portage/env/dev-util/gtk-doc solved my problem.