Summary: | dev-dotnet/glib-sharp-2.12.10 fail to compile with this error: #error "Only <glib.h> can be included directly." | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alain Toussaint <securivm> |
Component: | [OLD] Library | Assignee: | dotnet project <dotnet> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | rsa4046, securivm |
Priority: | Normal | Keywords: | NeedPatch |
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 406437 | ||
Attachments: |
glib-sharp build log
emended ebuild to include patch; patch to follow patch mentioned previously |
Description
Alain Toussaint
2011-11-09 02:28:40 UTC
Please attach the entire build log. Created attachment 292127 [details]
glib-sharp build log
How come the bug is still unconfirmed? Alain It builds fine for me This is due latest glib development versions Created attachment 301993 [details]
emended ebuild to include patch; patch to follow
I have same result as original poster, the ebuild + patch fix the offending include statements and appear to build OK
Created attachment 301995 [details, diff] patch mentioned previously see above. emerge --info follows below Portage 2.3.2-r2 (default/linux/amd64/2008.0, gcc-4.6.2, glibc-2.13-r4, 3.2.5-gentoo x86_64) ================================================================= System uname: Linux-3.2.5-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_E5620_@_2.40GHz-with-gentoo-2.1.8 Timestamp of tree: Sat, 11 Feb 2012 18:30:01 +0000 app-shells/bash: 4.2_p20 dev-java/java-config: 2.1.11-r3 dev-lang/python: 2.7.1-r3, 3.2.2 dev-util/cmake: 2.8.7-r3 dev-util/pkgconfig: 0.26 sys-apps/baselayout: 2.1.8-r3 sys-apps/openrc: 0.8.3-r5 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.13, 2.68 sys-devel/automake: 1.10.3, 1.11.3 sys-devel/binutils: 2.21.1-r1 sys-devel/gcc: 4.6.2 sys-devel/gcc-config: 1.5 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r3 sys-kernel/linux-headers: 2.6.39 (virtual/os-headers) sys-libs/glibc: 2.13-r4 Repositories: gentoo science gnome local Installed sets: ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA dlj-1.1 skype-eula sun-prerelease-jdk7 AdobeFlash-10.1 AdobeFlash-9.0.31.0 Oracle-BCLA-JavaSE Intel-SDP Mendeley-EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-mtune=generic -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /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 /etc/udev/rules.d" CXXFLAGS="-mtune=generic -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--quiet-build=n" FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles mini-manifest news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="en" MAKEOPTS="-j17" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/science /var/lib/layman/gnome /usr/local/portage" SYNC="git://github.com/funtoo/portage-mini-2011.git" SYNC_USER="root" USE="R X acl alac alsa amd64 berkdb bzip2 cdr cli cracklib crypt cups cxx dbus dri dvd dvdr dvdread encode flac fortran gdbm gif gpm iconv imap introspection ipv6 java jpeg lame latex libnotify mad maildir mmx modules mp3 mpeg mudflap multilib ncurses networkmanager nls nptl nptlonly ogg opengl openmp pam pcre perl png policykit pppd pulseaudio python readline session sse sse2 ssl sysfs tcpd tiff tk truetype udev unicode vorbis wavpack xml xorg 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="*" 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 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" LINGUAS="en" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau vesa fbdev" 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, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, SYNC_UMASK + 16 Feb 2012; Pacho Ramos <pacho@gentoo.org> + +files/glib-sharp-2.12.10-glib-header.patch, glib-sharp-2.12.10.ebuild: + Fix compilation against latest glib, bug #389919 by Alain Toussaint, Rolf S. + Arvidson. + |