Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 454550 - dev-libs/libmirage-2.0.0:0/7 - src_configure: -- CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:284 (message): A required package was not found
Summary: dev-libs/libmirage-2.0.0:0/7 - src_configure: -- CMake Error at /usr/share/cm...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Alexandre Rostovtsev (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-01-29 15:59 UTC by Cesko Voeten
Modified: 2013-01-30 05:18 UTC (History)
0 users

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


Attachments
build log with USE="doc introspection" (with-all-flags.log,4.98 KB, text/plain)
2013-01-29 16:00 UTC, Cesko Voeten
Details
build log with USE="-doc -introspection" (with-no-flags.log,4.51 KB, text/plain)
2013-01-29 16:01 UTC, Cesko Voeten
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cesko Voeten 2013-01-29 15:59:32 UTC
Snippet from build.log:

-- Detecting C compiler ABI info - done
CMake Error at /usr/share/cmake/Modules/FindPkgConfig.cmake:284 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:338 (_pkg_check_modules_internal)
  cmake/GtkDoc.cmake:14 (pkg_check_modules)
  CMakeLists.txt:31 (include)


-- Found PkgConfig: /usr/bin/pkg-config (found suitable version "0.28", minimum required is "0.16") 


USE=doc changes the call stack to:

  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake/Modules/FindPkgConfig.cmake:338 (_pkg_check_modules_internal)
  CMakeLists.txt:57 (pkg_check_modules)

but it still fails.

Reproducible: Always




Portage 2.1.11.50 (default/linux/amd64/10.0/desktop, gcc-4.6.3, glibc-2.16.0, 3.7.4-gentoo x86_64)
=================================================================
System uname: Linux-3.7.4-gentoo-x86_64-Intel-R-_Core-TM-_i5_CPU_650_@_3.20GHz-with-gentoo-2.2
KiB Mem:     3844044 total,    264048 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Tue, 29 Jan 2013 15:15:01 +0000
ld GNU ld (GNU Binutils) 2.23.1
ccache version 3.1.9 [enabled]
app-shells/bash:          4.2_p42
dev-java/java-config:     2.1.12-r1
dev-lang/python:          2.7.3-r3, 3.2.3-r2
dev-util/ccache:          3.1.9
dev-util/cmake:           2.8.10.2-r1
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.11.8
sys-apps/sandbox:         2.6
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.11.6, 1.13.1
sys-devel/binutils:       2.23.1
sys-devel/gcc:            4.6.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.7 (virtual/os-headers)
sys-libs/glibc:           2.16.0
Repositories: gentoo x-portage vmware xmw
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe -ggdb -floop-interchange -floop-strip-mine -floop-block"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/polkit-1/actions"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /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 -march=native -pipe -ggdb -floop-interchange -floop-strip-mine -floop-block"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going --deep --with-bdeps=y --autounmask-write"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs ccache clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.leaseweb.com/gentoo/"
INSTALL_MASK="      .keep*      .directory      winemenubuilder.exe      winemenubuilder.exe.so      /usr/lib32/systemd      /usr/lib64/systemd      /lib32/systemd      /lib64/systemd      /usr/lib/tmpfiles.d      /etc/apparmor.d      "
LANG="nl_NL.UTF8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /var/lib/layman/vmware /var/lib/layman/xmw"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac aacs acl acpi aio alsa amd64 amr ao apng archive atm audio avcodec avformat blksha1 bluray boost branding bzip2 cairo caps cblas-external ccache cdda cdemu-daemon cdio cdr center-tilde classic cli client consolekit corefonts css curl dbus dep dirac discouraged djvu dri dvbpsi dvd dvdr dvi egl emboss encode exceptions expat extensions faac fat fbosd ffmpeg filecaps firefox flac fluidsynth fontconfig g3dvl gallium gbm gcrypt gdu gecko gif glamor glib glut gmp gnutls gpc gpl gpm graphics graphite gsm gstreamer gtk3 gtkstyle gudev hardcoded-tables highlight hpn humanities hunspell hwdb iconv icu imlib infinality inkjar inotify int-quality interlaced ipc ithreads ivorbis jemalloc jit jpeg justify keymap kmod kpathsea lame lcms lensfun libcanberra libkms libnotify librsync-bundled libxml2 lightning llvm lm_sensors lzma lzo mad magic matroska midi mikmod minimal minizip mmap mmx mmxext mng mod modplug modules modutils monolithic-build mp3 mp4 mpeg mta multilib music natspec nautilus ncurses new-login nls nonblocking nptl nsplugin ntfs ntfsprogs ocamlopt odf offensive ogg openal opencl opengl openmedia openmp openrc openvg optimization orc ovftool pam pcf pcre pdf physfs plugins png policykit postproc postscript prelink psf python2 q64 qt3support r600-llvm-compiler rar readline regex reiserfs rtf samba savedconfig schroedinger sdl security sensord session sha512 shared-glapi smbclient smbsharemodes smp sna sndfile sound sqlite sse sse2 sse3 sse4_1 ssl ssse3 startup-notification strong-optimization suid svg swscale symlink syslog tdb theora threads threadsafe thunar tiff timidity toolbar track-src-odirect truetype twolame udev udisks unicode unlock-notify upnp upower uuid vaapi vapigen vcd vcdx vdpau video vix vmware-tools vmware_guest_freebsd vmware_guest_linux vmware_guest_netware vmware_guest_solaris vmware_guest_winPre2k vmware_guest_windows vorbis vpx wav webdav-serf webgl webkit win32 win64 winbind wma-fixed wmf x264 xattr xcb xcomposite xml xnest xorg xpm xps xv xvfb xvid xvmc zip zlib" ALSA_CARDS="hda-intel" 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="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" 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 ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="pdfimport" LINGUAS="nl en" PHP_TARGETS="php5-3" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby19" USERLAND="GNU" VIDEO_CARDS="intel radeon" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Cesko Voeten 2013-01-29 16:00:31 UTC
Created attachment 337242 [details]
build log with USE="doc introspection"
Comment 2 Cesko Voeten 2013-01-29 16:01:16 UTC
Created attachment 337244 [details]
build log with USE="-doc -introspection"
Comment 3 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-01-29 17:03:00 UTC
Do you have dev-util/gtk-doc or dev-util/gtk-doc-am installed? If yes, what versions of them?
Comment 4 Cesko Voeten 2013-01-29 17:21:07 UTC
I did not have dev-util/gtk-doc but I did have =dev-util/gtk-doc-am-1.18.
The problem is resolved when installing dev-util/gtk-doc too.
Comment 5 Alexandre Rostovtsev (RETIRED) gentoo-dev 2013-01-30 05:18:51 UTC
Fixed in cvs without a revision bump; patch submitted upstream at https://sourceforge.net/p/cdemu/patches/16/

You should now be able to emerge libmirage-2.0.0 with USE=-doc without needing to have gtk-doc installed.

+  30 Jan 2013; Alexandre Rostovtsev <tetromino@gentoo.org>
+  libmirage-2.0.0.ebuild, +files/libmirage-2.0.0-gtk-doc.patch:
+  Ensure gtk-doc and gobject-introspection really are optional at build time
+  (bug #454550, thanks to Cesko Voeten).