Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 508722 - =dev-qt/qtcore-4.8.5-r1 - In file included from glib.cpp:44: /usr/include/glib-2.0/glib/gfileutils.h:102:1: error: ‘GLIB_CVAILABLE_IN_2_30’ does not name a type
Summary: =dev-qt/qtcore-4.8.5-r1 - In file included from glib.cpp:44: /usr/include/gli...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-25 20:22 UTC by wsuhanic
Modified: 2014-04-29 08:17 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description wsuhanic 2014-04-25 20:22:53 UTC
I am trying to install KDE. I issued:

1)emerge xorg-server

This failed on emerge =dev-qt/qtcore-4.8.5-r1 .
To double check I issued:

2)emerge =dev-qt/qtcore-4.8.5-r1

It does indeed fail. It is not a memory issue as the machine has 4 Gigs of physical RAM and 1 Gig of swap.

Here is relevant information:

1)The output of emerge --info =dev-qt/qtcore-4.8.5-r1::gentoo

Portage 2.2.8-r1 (default/linux/amd64/13.0/desktop/kde, gcc-4.7.3, glibc-2.17, 3.12.13-gentoo x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.12.13-gentoo-x86_64-Intel-R-_Core-TM-_i3-2100T_CPU_@_2.50GHz-with-gentoo-2.2
KiB Mem:     3968968 total,   3005448 free
KiB Swap:    1048572 total,   1048572 free
Timestamp of tree: Thu, 24 Apr 2014 00:45:01 +0000
ld GNU ld (GNU Binutils) 2.23.2
app-shells/bash:          4.2_p45
dev-lang/python:          2.7.5-r3, 3.3.3
dev-util/pkgconfig:       0.28
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.12.4
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.12.6, 1.13.4
sys-devel/binutils:       2.23.2
sys-devel/gcc:            4.7.3-r1
sys-devel/gcc-config:     1.7.3
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r4
sys-kernel/linux-headers: 3.9 (virtual/os-headers)
sys-libs/glibc:           2.17
Repositories: gentoo
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news nodoc noinfo noman parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="X a52 aac acl acpi alsa amd64 berkdb bindist bluetooth branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cxx dbus declarative dri dts dvd dvdr emboss encode exif fam firefox flac fortran gdbm gif 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 semantic-desktop session spell sse sse2 ssl startup-notification svg tcpd 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" 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="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" 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, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON


2)the output of emerge -pqv =dev-qt/qtcore-4.8.5-r1::gentoo
[ebuild  N    ] dev-qt/qtcore-4.8.5-r1  USE="exceptions glib iconv qt3support ssl (-aqua) -debug -icu -pch"
[ebuild  N    ] dev-qt/qtscript-4.8.5  USE="exceptions iconv jit (-aqua) -debug -pch"
[ebuild  N    ] media-libs/fontconfig-2.10.92  USE="-doc -static-libs" ABI_X86="(64) (-32) (-x32)"
[ebuild  N    ] app-admin/eselect-fontconfig-1.1
[ebuild  N    ] dev-qt/qtgui-4.8.5-r1  USE="accessibility exceptions glib mng qt3support tiff xinerama xv (-aqua) -cups -debug -egl -gtkstyle -nas -nis -pch -trace"
[ebuild  N    ] dev-util/cmake-2.8.12.2  USE="ncurses qt4 -emacs (-qt5) {-test}"
[ebuild  N    ] dev-db/mysql-5.1.70  USE="community perl ssl -big-tables -cluster -debug -embedded -extraengine -latin1 -max-idx-128 -minimal -pbxt -profiling (-selinux) -static {-test} -xtradb"
[ebuild  N    ] virtual/mysql-5.1  USE="-embedded -minimal -static"
[ebuild  N    ] dev-perl/DBD-mysql-4.20.0  USE="-embedded"
[ebuild  N    ] dev-qt/qtsql-4.8.5  USE="exceptions mysql qt3support sqlite (-aqua) -debug -firebird -freetds -oci8 -odbc -pch -postgres"
[ebuild  N    ] dev-qt/qt3support-4.8.5  USE="accessibility exceptions (-aqua) -debug -pch"

 * IMPORTANT: 6 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


3)The build log 
^[[32;01m * ^[[39;49;00mPackage:    dev-qt/qtcore-4.8.5-r1
^[[32;01m * ^[[39;49;00mRepository: gentoo
^[[32;01m * ^[[39;49;00mMaintainer: qt@gentoo.org
^[[32;01m * ^[[39;49;00mUpstream:   https://bugreports.qt-project.org/
^[[32;01m * ^[[39;49;00mUSE:        amd64 elibc_glibc exceptions glib iconv kernel_linux qt3support ssl userland_GNU
^[[32;01m * ^[[39;49;00mFEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
 ^[[32;01m*^[[0m Unpacking parts of qt-everywhere-opensource-src-4.8.5.tar.gz: configure LICENSE.GPL3 LICENSE.LGPL projects.pro src/qbase.pri src/qt_targets.pri src/qt_install.pri bin config.tests mkspecs qmake src/tools/bootstrap src/tools/moc src/tools/rcc src/tools/uic src/corelib src/xml src/network src/plugins/codecs tools/linguist/lconvert tools/linguist/lrelease tools/linguist/lupdate include src/plugins/plugins.pro src/plugins/qpluginbase.pri src/src.pro src/3rdparty/des src/3rdparty/harfbuzz src/3rdparty/md4 src/3rdparty/md5 src/3rdparty/sha1 src/3rdparty/easing src/3rdparty/zlib_dependency.pri src/declarative src/gui src/script tools/shared tools/linguist/shared translations ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source unpacked in /var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work
>>> Preparing source in /var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5 ...
 ^[[32;01m*^[[0m Applying moc-boost-lexical-cast.patch ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying CVE-2013-4549-01-disallow-deep-or-widely-nested-entity-refs.patch ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
 ^[[32;01m*^[[0m Applying CVE-2013-4549-02-fully-expand-entities.patch ...
^[[A^[[72C ^[[34;01m[ ^[[32;01mok^[[34;01m ]^[[0m
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5 ...
./configure -prefix /usr -bindir /usr/bin -libdir /usr/lib64/qt4 -docdir /usr/share/doc/qt-4.8.5 -headerdir /usr/include/qt4 -plugindir /usr/lib64/qt4/plugins -importdir /usr/lib64/qt4/imports -datadir /usr/share/qt4 -translationdir /usr/share/qt4/translations -sysconfdir /etc/qt4 -examplesdir /usr/share/qt4/examples -demosdir /usr/share/qt4/demos -opensource -confirm-license -shared -fast -largefile -stl -verbose -nomake examples -nomake demos -arch x86_64 -platform linux-g++ -L/usr/lib64 -release -no-separate-debug-info -exceptions -no-rpath -no-pch -reduce-relocations -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -lgthread-2.0 -lglib-2.0 -I/usr/include/freetype2 -no-accessibility -no-xmlpatterns -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-svg -no-webkit -no-script -no-scripttools -no-declarative -system-zlib -no-gif -no-libtiff -no-libpng -no-libmng -no-libjpeg -no-cups -no-dbus -no-gtkstyle -no-nas-sound -no-opengl -no-openvg -no-sm -no-xshape -no-xvideo -no-xsync -no-xinerama -no-xcursor -no-xfixes -no-xrandr -no-xrender -no-mitshm -no-fontconfig -no-freetype -no-xinput -no-xkb -glib -iconv -no-icu -openssl-linked -qt3support
Determining system architecture... (Linux:3.12.13-gentoo:x86_64)
    64-bit AMD 80x86 (x86_64)
    'x86_64' is supported
System architecture: 'x86_64'
Symbol visibility control enabled.
Symbolic function binding enabled.

This is the  Open Source Edition.

You are licensed to use this software under the terms of
the Lesser GNU General Public License (LGPL) versions 2.1.
You are also licensed to use this software under the terms of
the GNU General Public License (GPL) versions 3.

You have already accepted the terms of the  license.

...skipping...

x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-O1 -o nis nis.o     -L/usr/lib64 -lgthread-2.0 -lglib-2.0 -lnsl
NIS enabled.
POSIX iconv auto-detection... ()
x86_64-pc-linux-gnu-g++ -c -pipe -O2 -pipe -O2 -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -o iconv.o iconv.cpp
x86_64-pc-linux-gnu-g++ -Wl,-O1 -Wl,--as-needed -Wl,-O1 -o iconv iconv.o     -L/usr/lib64 -lgthread-2.0 -lglib-2.0
POSIX iconv enabled.
Glib auto-detection... ()
x86_64-pc-linux-gnu-g++ -c -pipe -O2 -pipe -O2 -Wall -W  -I../../../mkspecs/linux-g++ -I. -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2 -o glib.o glib.cpp
In file included from /usr/include/glib-2.0/glib.h:50:0,
                 from glib.cpp:44:
/usr/include/glib-2.0/glib/gfileutils.h:102:1: error: ‘GLIB_CVAILABLE_IN_2_30’ does not name a type
glib.cpp: In function ‘int main(int, char**)’:
glib.cpp:52:9: warning: ‘void g_thread_init(gpointer)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:260) [-Wdeprecated-declarations]
glib.cpp:52:27: warning: ‘void g_thread_init(gpointer)’ is deprecated (declared at /usr/include/glib-2.0/glib/deprecated/gthread.h:260) [-Wdeprecated-declarations]
gmake: *** [glib.o] Error 1
Glib disabled.
Glib support cannot be enabled due to functionality tests!
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
 ^[[31;01m*^[[0m ERROR: dev-qt/qtcore-4.8.5-r1::gentoo failed (configure phase):
 ^[[31;01m*^[[0m   ./configure failed
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m Call stack:
 ^[[31;01m*^[[0m     ebuild.sh, line   93:  Called src_configure
 ^[[31;01m*^[[0m   environment, line 2894:  Called qt4-build_src_configure
 ^[[31;01m*^[[0m   environment, line 2543:  Called die
 ^[[31;01m*^[[0m The specific snippet of code:
 ^[[31;01m*^[[0m       ./configure ${conf} || die "./configure failed";
 ^[[31;01m*^[[0m
 ^[[31;01m*^[[0m If you need support, post the output of `emerge --info '=dev-qt/qtcore-4.8.5-r1::gentoo'`,
 ^[[31;01m*^[[0m the complete build log and the output of `emerge -pqv '=dev-qt/qtcore-4.8.5-r1::gentoo'`.
 ^[[31;01m*^[[0m The complete build log is located at '/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/temp/build.log'.
 ^[[31;01m*^[[0m The ebuild environment file is located at '/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/temp/environment'.
 ^[[31;01m*^[[0m Working directory: '/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5'
 ^[[31;01m*^[[0m S: '/var/tmp/portage/dev-qt/qtcore-4.8.5-r1/work/qt-everywhere-opensource-src-4.8.5'
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2014-04-25 20:26:25 UTC
Please do not assign bugs by yourself.
Comment 2 Michael Palimaka (kensington) gentoo-dev 2014-04-26 15:06:00 UTC
Which version of dev-libs/glib do you have and which USE flag was it merged with?
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-04-26 15:52:07 UTC
(In reply to Johannes Huber from comment #1)
> Please do not assign bugs by yourself.

It's an automatic thing.
Comment 4 wsuhanic 2014-04-26 20:28:01 UTC
(In reply to Michael Palimaka (kensington) from comment #2)
> Which version of dev-libs/glib do you have and which USE flag was it merged
> with?

Here is the contents of my make.conf file:

# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.
CFLAGS="-march=core2 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
MAKEOPTS="-j5"
# WARNING: Changing your CHOST is not something that should be done lightly.
# Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing.
CHOST="x86_64-pc-linux-gnu"
# These are the USE flags that were used in addition to what is provided by the
# profile used for building.
USE="bindist mmx sse sse2 -gnome -cups -doc -man -info udev X dbus"
FEATURES="nodoc noman noinfo"
PORTDIR="/usr/portage"
DISTDIR="${PORTDIR}/distfiles"
PKGDIR="${PORTDIR}/packages"
VIDEO_CARD="intel"
GENTOO_MIRRORS="http://mirror.csclub.uwaterloo.ca/gentoo-distfiles/"


Here is the output of eix dev-libs/glib:

[I] dev-libs/glib
     Available versions:
     (1)    1.2.10-r5
     (2)    2.32.4-r1 ~2.34.3-r1 2.36.4-r1 2.38.2-r1
       {debug fam hardened selinux static-libs systemtap test utils xattr ABI_MIPS="n32 n64 o32" ABI_X86="32 64 x32" KERNEL="linux" PYTHON_TARGETS="python2_6 python2_7"}
     Installed versions:  2.38.2-r1(2)(12:21:45 AM 04/03/2014)(-debug -fam -selinux -static-libs -systemtap -test -utils -xattr ABI_MIPS="-n32 -n64 -o32" ABI_X86="64 -32 -x32" KERNEL="linux" PYTHON_TARGETS="python2_7 -python2_6")
     Homepage:            http://www.gtk.org/
     Description:         The GLib library of C routines

Here is the output of equery list dev-libs/glib:

[IP-] [  ] dev-libs/glib-2.38.2-r1:2
Comment 5 Davide Pesavento (RETIRED) gentoo-dev 2014-04-27 11:17:45 UTC
(In reply to wsuhanic from comment #0)
> In file included from /usr/include/glib-2.0/glib.h:50:0,
>                  from glib.cpp:44:
> /usr/include/glib-2.0/glib/gfileutils.h:102:1: error:
> ‘GLIB_CVAILABLE_IN_2_30’ does not name a type

This is so weird... but it really looks like a typo... I only see "GLIB_AVAILABLE_IN_2_30" in gfileutils.h

Can you try to re-emerge your glib please?
Comment 6 wsuhanic 2014-04-29 00:37:45 UTC
(In reply to Davide Pesavento from comment #5)
> (In reply to wsuhanic from comment #0)
> > In file included from /usr/include/glib-2.0/glib.h:50:0,
> >                  from glib.cpp:44:
> > /usr/include/glib-2.0/glib/gfileutils.h:102:1: error:
> > ‘GLIB_CVAILABLE_IN_2_30’ does not name a type
> 
> This is so weird... but it really looks like a typo... I only see
> "GLIB_AVAILABLE_IN_2_30" in gfileutils.h
> 
> Can you try to re-emerge your glib please?

Hello:

I issued the following emerge command:

emerge  =dev-libs/glib-2.38.2-r1

That was successful. I also checked to make sure the CVAILABLE was gone
and it was.

I then successfully performed the following emerge:

emerge  =dev-qt/qtcore-4.8.5-r1

So this issue is, I believe resolved.

regards,

west suhanic