Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 430306 - app-text/apvlv-0.1.4: fatal error: goo/gtypes.h: No such file or directory
Summary: app-text/apvlv-0.1.4: fatal error: goo/gtypes.h: No such file or directory
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Tim Harder
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-07 09:32 UTC by Walter Dnes
Modified: 2012-08-08 16:58 UTC (History)
2 users (show)

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


Attachments
build logs and "emerge --info" output (debug.zip,6.21 KB, text/plain)
2012-08-07 09:32 UTC, Walter Dnes
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Walter Dnes 2012-08-07 09:32:00 UTC
Created attachment 320606 [details]
build logs and "emerge --info" output

When I attempt to build apvlv on x86, the build dies with the following message

In file included from /var/tmp/portage/app-text/apvlv-0.1.2-r1/work/apvlv-0.1.2-
Source/src/ApvlvFile.cpp:33:0:
/var/tmp/portage/app-text/apvlv-0.1.2-r1/work/apvlv-0.1.2-Source/src/poppler-gdk
.h:1:24: fatal error: goo/gtypes.h: No such file or directory
compilation terminated.

I try to keep my system as lean as possible. In make.conf, USE starts with "-*", and I add flags as required. If there are any unspecified dependancies in the ebuild, I'm the most likely user to trip over them. The following files are attached inside debug.zip...

apvlv121.txt (0.1.2-r1 build log)
apvlv140.txt (0.1.4 build log)
emrginfo.txt (output of "emerge --info")
Comment 1 Walter Dnes 2012-08-07 09:37:51 UTC
emerge --info
=============
Portage 2.1.10.65 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo i686)
=================================================================
System uname: Linux-3.2.12-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_E4600_@_2.40GHz-with-gentoo-2.1
Timestamp of tree: Tue, 07 Aug 2012 06:15:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.7.3
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 x-portage
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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="-O2 -march=native -mmmx -msse -msse2 -msse3 -mssse3 -mfpmath=sse -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="ftp://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ http://gentoo.netnitco.net"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j1"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X a52 aac bzip2 cxx dga dri exif ffmpeg flac fortran gallium gif intel jpeg mmx mng mp3 mpeg nptl nptlonly nsplugin offensive ogg opengl png posix sse sse2 sse3 ssse3 theora threads tiff truetype vdpau vim-syntax vorbis webm win32codecs x86 xcomposite xpm xv xvid zlib" ALSA_PCM_PLUGINS="adpcm alaw copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol asym" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 2 Samuli Suominen (RETIRED) gentoo-dev 2012-08-07 09:44:23 UTC
Comment on attachment 320606 [details]
build logs and "emerge --info" output

This is only getting displayed in browser as character mess and gzip doesn't recognize it...
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2012-08-07 09:46:25 UTC
goo/gtypes.h is part of app-text/poppler:

app-text/poppler-0.20.2-r1 (/usr/include/poppler/goo/gtypes.h)

you don't have this file?
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2012-08-07 09:49:43 UTC
What version of dev-util/cmake?  Make sure to upgrade to latest since there was a problem with pkg-config handling not long ago.

What does `pkg-config --cflags poppler-glib` from commandline print? Does it include -I/usr/include/poppler?
Comment 5 Samuli Suominen (RETIRED) gentoo-dev 2012-08-08 03:29:14 UTC
Closing -> Reopen with the requested data
Comment 6 Walter Dnes 2012-08-08 14:48:32 UTC
> goo/gtypes.h is part of app-text/poppler:
> app-text/poppler-0.20.2-r1 (/usr/include/poppler/goo/gtypes.h)
> you don't have this file?

After some experimentation, I discovered that you *MUST* enable the
"xpdf-headers" USE flag for app-text/poppler in order to generate goo/gtypes.h Once I did that, apvlv-0.1.2-r1 builds properly. The apvlv ebuild needs to make app-text/poppler[xpdf-headers] a mandatory dependancy.


Whilst looking at cmake, I ran into a separate issue. A standard update world does nothing...

=================================================================
[d531][root][~] emerge -pv --deep --update world

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

!!! The following installed packages are masked:
- app-text/epdfview-0.1.8::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas K. Huettel <dilfridge@gentoo.org> (7 Aug 2012)
# Many display bugs and compatibility problems, does not build with cups-1.6.
# Upstream is dead. There's no real way to support this anymore. Masked for
# removal in 30 days. Unfortunately the best lightweight replacement I can
# recommend is app-text/apvlv, otherwise you can go for app-text/acroread
# (huge, closed source), kde-base/okular (KDE), or app-text/evince (Gnome).
# Bugs: 232351, 356263, 387125, 413589, 428498.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
=================================================================

*** BUT BUT BUT *** emerging cmake directly does show an upgrade.
What gives?!?!

=================================================================
[d531][root][~] emerge -pv1 cmake

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild     U  ] dev-util/cmake-2.8.7-r5 [2.8.6-r4] USE="vim-syntax -emacs -ncurses -qt4 -test" 1,079 kB

Total: 1 package (1 upgrade), Size of downloads: 1,079 kB

!!! The following installed packages are masked:
- app-text/epdfview-0.1.8::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Andreas K. Huettel <dilfridge@gentoo.org> (7 Aug 2012)
# Many display bugs and compatibility problems, does not build with cups-1.6.
# Upstream is dead. There's no real way to support this anymore. Masked for
# removal in 30 days. Unfortunately the best lightweight replacement I can
# recommend is app-text/apvlv, otherwise you can go for app-text/acroread
# (huge, closed source), kde-base/okular (KDE), or app-text/evince (Gnome).
# Bugs: 232351, 356263, 387125, 413589, 428498.

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.
=================================================================

I don't understand what happened. I updated cmake manually just to make sure.
Comment 7 Andreas K. Hüttel archtester gentoo-dev 2012-08-08 16:58:13 UTC
No idea about the cmake stuff. The rest is fixed.