Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 352417 - cannot compile dev-ml/lablgtk-2.12.0
Summary: cannot compile dev-ml/lablgtk-2.12.0
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Team for the ML programming language family
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-01-22 14:59 UTC by Lubos Katrinec
Modified: 2011-01-23 19:19 UTC (History)
0 users

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


Attachments
build.log (build.log,8.73 KB, text/plain)
2011-01-22 15:00 UTC, Lubos Katrinec
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lubos Katrinec 2011-01-22 14:59:26 UTC
Trying to compile:

emerge -pqv =dev-ml/lablgtk-2.12.0
[ebuild  N    ] dev-ml/lablgtk-2.12.0  USE="ocamlopt opengl spell svg -debug -examples -glade -gnome -gnomecanvas -sourceview" 

but compiling fails:

+ x86_64-pc-linux-gnu-gcc -march=athlon64 -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow  -D_FILE_OFFSET_BITS=64 -D_REENTRANT -fPIC -c -g -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng14 -I/usr/include/gtkgl-2.0 -I/usr/include/librsvg-2 -I/usr/include/gtkspell-2.0   -imacros ml_domain.h  -I'/usr/lib64/ocaml' 'ml_gobject.c'
ml_gobject.c:278: error: conflicting types for ‘g_value_get_variant’
/usr/include/glib-2.0/gobject/gvaluetypes.h:230: note: previous declaration of ‘g_value_get_variant’ was here
ml_gobject.c:366: error: conflicting types for ‘g_value_set_variant’
/usr/include/glib-2.0/gobject/gvaluetypes.h:226: note: previous declaration of ‘g_value_set_variant’ was here
make[1]: *** [ml_gobject.o] Error 2
make[1]: Leaving directory `/var/tmp/portage/dev-ml/lablgtk-2.12.0/work/lablgtk-2.12.0/src'
make: *** [all] Error 2
emake failed


There are other versions which are masked with comment "Compiling failed":
 dev-ml/lablgtk-2.14.1 
 dev-ml/lablgtk-2.14.2 

ebuild dev-ml/lablgtk-2.12.0 is the only one not masked but it fails either.


emerge --info

=================================================================
                        System Settings
=================================================================
System uname: Linux-2.6.35-gentoo-r15-x86_64-AMD_Athlon-tm-_64_Processor_3200+-with-gentoo-1.12.14
Timestamp of tree: Sat, 22 Jan 2011 12:45:04 +0000
distcc 3.1 x86_64-pc-linux-gnu [disabled]
ccache version 2.4 [enabled]
app-shells/bash:     4.1_p7
dev-lang/python:     2.5.4-r4, 2.6.6-r1, 3.1.2-r4
dev-util/ccache:     2.4-r9
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox:    2.4
sys-devel/autoconf:  2.13, 2.65-r1
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       3.4.6-r2, 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.10
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/openvpn/easy-rsa"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe -msse -msse2 -msse3 -mmmx -m3dnow -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs ccache distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.ynet.sk/pub "
LANG="sk_SK.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/kde-sunset /var/lib/layman/sunrise /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 berkdb bluetooth branding bzip2 cairo cdr cli consolekit cracklib crypt cxx dbus dri dts dvd dvdr emboss encode exif fam fbcondecor firefox flac fortran gdbm gdu gif gpm gtk hal iconv ipv6 jpeg lcms ldap libnotify lirc lm_sensors mad mikmod mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf perl pkcs11 png policykit ppds pppd python qt3support raw readline sdl session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xml xorg xulrunner xv xvid 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" 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="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" 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, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lubos Katrinec 2011-01-22 15:00:03 UTC
Created attachment 260500 [details]
build.log
Comment 2 Rafał Mużyło 2011-01-22 16:09:27 UTC
As that seems to be your mask, you need to take  dev-ml/lablgtk-2.14.2 out of it, cause in this version, this particular problem was fixed.

Though, perhaps it's time to remove those older versions from portage for this particular reason ?
Comment 3 Lubos Katrinec 2011-01-23 17:13:55 UTC
(In reply to comment #2)
> As that seems to be your mask, you need to take  dev-ml/lablgtk-2.14.2 out of
> it, cause in this version, this particular problem was fixed.
> 
> Though, perhaps it's time to remove those older versions from portage for this
> particular reason ?
> 

Yes, this version is ok, I unmasked it via package.unmask and emerge was successful.
You should probably remove it from package.mask.

Thanks and regards
Comment 4 Rafał Mużyło 2011-01-23 18:35:46 UTC
I'd say your problem is INVALID - lablgtk-2.14.2 is not masked and it's even stable on all common arches - check your own package.mask.
Comment 5 Lubos Katrinec 2011-01-23 19:19:31 UTC
(In reply to comment #4)
> I'd say your problem is INVALID - lablgtk-2.14.2 is not masked and it's even
> stable on all common arches - check your own package.mask.
> 

You're right, I'm sorry