shiznix / unity-gentoo

A Gentoo overlay to install the Unity desktop
70 stars 13 forks source link

dev-libs/libappindicator-12.10.1_p0_p01_p20141110 build failure #131

Closed nr0cinu closed 8 years ago

nr0cinu commented 8 years ago

I wanted to rebuild libappindicator, but I’ve got this build error:

https://gist.githubusercontent.com/and3k/0dedd12c9633aa7aaca2/raw/d04cd5599b9ff2f5f4978f293b604948897be5c2/libappindicator-12.10.1_p0_p01_p20141110

Thanks! Bela

emerge --info:

Portage 2.2.26 (python 3.5.1-final-0, default/linux/amd64/13.0, gcc-5.3.0, glibc-2.22-r1, 3.18.2-gentoo-bela x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-3.18.2-gentoo-bela-x86_64-Intel-R-_Core-TM-_i7-4771_CPU_@_3.50GHz-with-gentoo-2.2
KiB Mem:    32624796 total,  27935380 free
KiB Swap:   35839996 total,  35839996 free
Timestamp of repository gentoo: Sat, 09 Jan 2016 21:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.22.1::gentoo
dev-lang/python:          2.7.11-r2::gentoo, 3.3.5-r7::gentoo, 3.4.3-r7::gentoo, 3.5.1-r2::gentoo
dev-util/cmake:           3.4.1::gentoo
dev-util/pkgconfig:       0.28-r3::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r1::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.12.6-r1::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15-r1::gentoo
sys-devel/binutils:       2.25.1-r1::gentoo
sys-devel/gcc:            5.3.0::gentoo
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6-r1::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r1::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000

haskell
    location: /var/lib/layman/haskell
    sync-type: laymansync
    sync-uri: git://github.com/gentoo-haskell/gentoo-haskell.git
    masters: gentoo
    priority: 50

jorgicio
    location: /var/lib/layman/jorgicio
    sync-type: laymansync
    sync-uri: https://github.com/jorgicio/jorgicio-gentoo.git
    masters: gentoo
    priority: 50

science
    location: /var/lib/layman/science
    sync-type: laymansync
    sync-uri: git://anongit.gentoo.org/proj/sci.git
    masters: gentoo
    priority: 50

unity-gentoo
    location: /var/lib/layman/unity-gentoo
    sync-type: laymansync
    sync-uri: git://github.com/shiznix/unity-gentoo.git
    masters: gentoo
    priority: 50

and3k-sunrise
    location: /var/lib/overlays/and3k-sunrise
    masters: gentoo
    priority: 9999

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt"
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="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--jobs --load-average 8 --autounmask n"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="en_GB.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j8 -l8"
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"
USE="X a52 aac acl acpi alsa amd64 autoipd avahi ayatana bash-completion berkdb bidi blas blast bluetooth bookmarks branding bzip2 cairo cdda cjk clang cli colord conductor contrib cracklib crypt cups cxx dbus declarative dri dts dvd dvdr ebook eds emboss encode equalizer evo exif expat fam ffmpeg firefox flac fortran frei0r gcj gdbm gif glamor gnome gnome-keyring gnome-online-accounts gpg gpm gstreamer gtk hdf5 iconv icu inotify introspection ipv6 java jpeg kdenlive lapack lcms ldap libnotify libsecret mad matplotlib mdnsresponder-compat melt mmx mmxext mng modules mp3 mp4 mpeg multilib nautilus nbconvert ncurses networkmanager nls notebook nptl ntfs ogg opengl openmp pam pango parcheck pcre pdf png policykit postproc ppds printsupport pulseaudio python qt3support qt4 qt5 readline sdl seccomp semantic-desktop session spell sse sse2 sse3 sse4_1 ssl ssse3 staging startup-notification svg sync-plugin-portage systemd tcpd test-programs theora tiff tinfo truetype tty-helpers udev udisks unicode upnp upower usb utils v4l vaapi video vorbis webkit widgets wifi wmf wxwidgets x264 xattr xcb xetex xkb xml xmp xv xvfb xvid zeitgeist zeroconf zlib" ABI_X86="64 32" 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" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="efi-64" 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" LINGUAS="en en_GB de de_AT" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4 python3_5" RUBY_TARGETS="ruby20 ruby21 ruby22 ruby23" USERLAND="GNU" VIDEO_CARDS="intel" 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:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

dev-libs/libappindicator-12.10.1_p0_p01_p20141110::unity-gentoo was built with the following:
USE="-test" ABI_X86="64" PYTHON_TARGETS="python2_7"
shiznix commented 8 years ago

Should be fixed in commit f74b68472ababb8e9a2d5dc62175f4c79c8a98d2

nr0cinu commented 8 years ago

I updated libcolumbus, but the error persists…

shiznix commented 8 years ago

sh: /usr/lib/gtk-sharp-2.0/gapi2xml.pl: /usr/bin/perl^M: bad interpreter: No such file or directory sh: /usr/lib/gtk-sharp-2.0/gapi_pp.pl: /usr/bin/perl^M: bad interpreter: No such file or directory

These lines from your build.log don't look good. Don't know what that special '^M' character is doing there.

You may need to verify that the '#!/usr/bin/perl' shebangs at the top of the files /usr/lib/gtk-sharp-2.0/gapi2xml.pl and /usr/lib/gtk-sharp-2.0/gapi_pp.pl aren't corrupt.

If they are corrupt then perhaps re-emerging 'dev-dotnet/gtk-sharp-gapi' will fix.

Try to get this issue sorted first before attempting to fix the unity-base/unity build failure as this package is a DEPEND for unity-base/unity.

nr0cinu commented 8 years ago

^M is \r, so that shouldn’t be a problem?

those two scripts belong to dev-dotnet/gtk-sharp, which is pulled in by libappindicator. remerging dev-dotnet/gtk-sharp does not help

nr0cinu commented 8 years ago

the versions of these two script from dev-dotnet/gtk-sharp-gapi look fine however, but than I can’t merge libappindicator

nr0cinu commented 8 years ago

I ran

sed -i 's/\r$//' /usr/lib/gtk-sharp-2.0/gapi_pp.pl 
sed -i 's/\r$//' /usr/lib/gtk-sharp-2.0/gapi2xml.pl

to fix the problem on the broken scripts, but that didn’t help:

 * Package:    dev-libs/libappindicator-12.10.1_p0_p01_p20141110
 * Repository: unity-gentoo
 * USE:        abi_x86_64 amd64 elibc_glibc kernel_linux python_targets_python2_7 userland_GNU
 * FEATURES:   preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking libappindicator_12.10.1+15.04.20141110.orig.tar.gz to /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work
>>> Unpacking libappindicator_12.10.1+15.04.20141110-0ubuntu1.diff.gz to /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work
>>> Source unpacked in /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work
>>> Preparing source in /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110 ...
 * Applying libappindicator_12.10.1+15.04.20141110-0ubuntu1.diff ...
 [ ok ]
 * Running eautoreconf in '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110' ...
 * Running gtkdocize --copy ...
 [ ok ]
 * Running libtoolize --install --copy --force --automake ...
 [ ok ]
 * Running aclocal -I m4 ...
 [ ok ]
 * Running autoconf --force ...
 [ ok ]
 * Running autoheader ...
 [ ok ]
 * Running automake --add-missing --copy --foreign --force-missing ...
 [ ok ]
 * Running elibtoolize in: libappindicator-12.10.1+15.04.20141110/
 *   Applying portage/1.2.0 patch ...
 *   Applying sed/1.5.6 patch ...
 *   Applying as-needed/2.4.3 patch ...
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110 ...
/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2 /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110
checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for LIBRARY... yes
checking for TESTDEPS... yes
checking for gobject-introspection... yes
checking for vapigen... /usr/bin/vapigen-0.22
checking for valac... /usr/bin/valac-0.22
checking whether /usr/bin/valac-0.22 is at least version 0.14.0... yes
checking for MONO_DEPENDENCY... yes
checking for al... /usr/bin/al
checking for mono... /usr/bin/mono
checking for gmcs... no
configure: No Mono compiler found.
checking for gacutil... /usr/bin/gacutil
checking for GTK_SHARP... yes
checking for GAPI... yes
checking for gapi2-parser... /usr/bin/gapi2-parser
checking for gapi2-codegen... /usr/bin/gapi2-codegen
checking for gapi2-fixup... /usr/bin/gapi2-fixup
checking whether python2.7 version >= 2.3.5... yes
checking for python2.7 version... 2.7
checking for python2.7 platform... linux2
checking for python2.7 script directory... ${prefix}/lib64/python2.7/site-packages
checking for python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for APPINDICATOR_PYTHON... yes
checking for pygtk defs... /usr/share/pygtk/2.0/defs
checking for pygtk codegen... python2.7 /usr/lib64/python2.7/site-packages/gtk-2.0/codegen/codegen.py
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/appindicator-0.1.pc
config.status: creating src/appindicator3-0.1.pc
config.status: creating bindings/Makefile
config.status: creating bindings/python/Makefile
config.status: creating bindings/python/appindicator.override
config.status: creating bindings/vala/Makefile
config.status: creating bindings/vala/examples/Makefile
config.status: creating tests/Makefile
config.status: creating example/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating docs/reference/libappindicator-docs.sgml
config.status: creating bindings/mono/Makefile
config.status: creating bindings/mono/appindicator-sharp.dll.config
config.status: creating bindings/mono/appindicator-sharp-0.1.pc
config.status: creating bindings/mono/app-indicator.sources.xml
config.status: creating bindings/mono/examples/Makefile
config.status: creating bindings/mono/examples/indicator-example
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:

Libappindicator Configuration:

    Prefix:        /usr
    GTK+ Version:  2
    Mono:          true
    Tests:         no
    Mono tests:    no
    gcov:          no

/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110
/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk3 /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110
checking for a BSD-compatible install... /usr/lib/portage/python3.5/ebuild-helpers/xattr/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking how to create a pax tar archive... gnutar
checking whether to enable maintainer-specific portions of Makefiles... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking how to convert x86_64-pc-linux-gnu file names to x86_64-pc-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/x86_64-pc-linux-gnu/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC -DPIC
checking if gcc PIC flag -fPIC -DPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for glib-mkenums... /usr/bin/glib-mkenums
checking for glib-genmarshal... /usr/bin/glib-genmarshal
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for gtk-doc... yes
checking for gtkdoc-check... gtkdoc-check.test
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for GTKDOC_DEPS... yes
checking for LIBRARY... yes
checking for TESTDEPS... yes
checking for gobject-introspection... yes
checking for vapigen... /usr/bin/vapigen-0.22
checking for valac... /usr/bin/valac-0.22
checking whether /usr/bin/valac-0.22 is at least version 0.14.0... yes
checking for MONO_DEPENDENCY... yes
checking for al... /usr/bin/al
checking for mono... /usr/bin/mono
checking for gmcs... no
configure: No Mono compiler found.
checking for gacutil... /usr/bin/gacutil
checking for GTK_SHARP... yes
checking for GAPI... yes
checking for gapi2-parser... /usr/bin/gapi2-parser
checking for gapi2-codegen... /usr/bin/gapi2-codegen
checking for gapi2-fixup... /usr/bin/gapi2-fixup
checking whether python2.7 version >= 2.3.5... yes
checking for python2.7 version... 2.7
checking for python2.7 platform... linux2
checking for python2.7 script directory... ${prefix}/lib64/python2.7/site-packages
checking for python2.7 extension module directory... ${exec_prefix}/lib64/python2.7/site-packages
checking for headers required to compile python extensions... found
checking for APPINDICATOR_PYTHON... yes
checking for pygtk defs... /usr/share/pygtk/2.0/defs
checking for pygtk codegen... python2.7 /usr/lib64/python2.7/site-packages/gtk-2.0/codegen/codegen.py
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/appindicator-0.1.pc
config.status: creating src/appindicator3-0.1.pc
config.status: creating bindings/Makefile
config.status: creating bindings/python/Makefile
config.status: creating bindings/python/appindicator.override
config.status: creating bindings/vala/Makefile
config.status: creating bindings/vala/examples/Makefile
config.status: creating tests/Makefile
config.status: creating example/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating docs/reference/version.xml
config.status: creating docs/reference/libappindicator-docs.sgml
config.status: creating bindings/mono/Makefile
config.status: creating bindings/mono/appindicator-sharp.dll.config
config.status: creating bindings/mono/appindicator-sharp-0.1.pc
config.status: creating bindings/mono/app-indicator.sources.xml
config.status: creating bindings/mono/examples/Makefile
config.status: creating bindings/mono/examples/indicator-example
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:

Libappindicator Configuration:

    Prefix:        /usr
    GTK+ Version:  3
    Mono:          true
    Tests:         no
    Mono tests:    no
    gcov:          no

/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110
>>> Source configured.
>>> Compiling source in /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110 ...
/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2 /var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110
make -j8 -l8 -j1 
make  all-recursive
make[1]: Entering directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2'
Making all in src
make[2]: Entering directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/src'
mkdir -p `dirname ./app-indicator-enum-types.h`
/usr/bin/glib-mkenums \
    --template ../../src/app-indicator-enum-types.h.in \
../../src/app-indicator.h > xgen-eh \
&& (cmp -s xgen-eh ./app-indicator-enum-types.h || cp -f xgen-eh ./app-indicator-enum-types.h) \
&& rm -f xgen-eh \
&& echo timestamp > stamp-enum-types
mkdir -p `dirname ./app-indicator-enum-types.c`
/usr/bin/glib-mkenums \
    --template ../../src/app-indicator-enum-types.c.in \
../../src/app-indicator.h > xgen-ec \
&& cp -f xgen-ec ./app-indicator-enum-types.c \
&& rm -f xgen-ec
/usr/bin/glib-genmarshal \
    --prefix=_application_service_marshal \
    --header \
../../src/application-service-marshal.list > xgen-mh \
&& (cmp -s xgen-mh application-service-marshal.h || cp -f xgen-mh application-service-marshal.h) \
&& rm -f xgen-mh \
&& echo timestamp > stamp-marshal
(echo "#include \"application-service-marshal.h\"" ; \
/usr/bin/glib-genmarshal \
    --prefix=_application_service_marshal \
    --body \
../../src/application-service-marshal.list) > xgen-mc \
&& cp xgen-mc application-service-marshal.c \
&& rm -f xgen-mc
Building gen-notification-item.xml.c from ../../src/notification-item.xml
Building gen-notification-item.xml.h from ../../src/notification-item.xml
Building gen-notification-watcher.xml.c from ../../src/notification-watcher.xml
Building gen-notification-watcher.xml.h from ../../src/notification-watcher.xml
  CC       libappindicator_la-app-indicator-enum-types.lo
  CC       libappindicator_la-app-indicator.lo
  CC       libappindicator_la-application-service-marshal.lo
  CC       libappindicator_la-generate-id.lo
  CC       libappindicator_la-gen-notification-item.xml.lo
  CC       libappindicator_la-gen-notification-watcher.xml.lo
  CCLD     libappindicator.la
  GISCAN   AppIndicator-0.1.gir
src/app-indicator.c:56: Warning: AppIndicator: "@id" parameter unexpected at this location:
 * @id: The ID of the indicator.  Maps to AppIndicator:id.
    ^
src/app-indicator.c:480: Error: AppIndicator: multiple "@arg1" parameters for identifier "AppIndicator::new-label":
     * @arg1: The string for the guide
     ^
src/app-indicator.h:243: Warning: AppIndicator: "@parent" parameter unexpected at this location:
 * @parent: Parent object.
    ^
src/app-indicator.c:476: Warning: AppIndicator: incorrect number of parameters in comment block, parameter annotations will be ignored.
src/app-indicator.c:508: Warning: AppIndicator: incorrect number of parameters in comment block, parameter annotations will be ignored.
cp -f ../../src/AppIndicator-0.1.metadata.in AppIndicator-0.1.metadata
make  all-am
make[3]: Entering directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/src'
  GICOMP   AppIndicator-0.1.gir
make[3]: Leaving directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/src'
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/src'
Making all in bindings
make[2]: Entering directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings'
Making all in python
make[3]: Entering directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings/python'
  CC       appindicatormodule.lo
../../../bindings/python/appindicatormodule.c: In function ‘init_appindicator’:
../../../bindings/python/appindicatormodule.c:45:3: warning: implicit declaration of function ‘_appindicator_add_constants’ [-Wimplicit-function-declaration]
   _appindicator_add_constants (m, "APP_INDICATOR_");
   ^
(python2.7 /usr/lib64/python2.7/site-packages/gtk-2.0/codegen/codegen.py \
    --register /usr/share/pygtk/2.0/defs/gtk-types.defs \
    --register /usr/share/pygtk/2.0/defs/gdk-types.defs \
    --load-types ../../../bindings/python/appindicator-arg-types.py \
    --override appindicator.override \
    --prefix pyappindicator ../../../bindings/python/appindicator.defs) > gen-appindicator.c \
 && cp gen-appindicator.c appindicator.c \
 && rm -f gen-appindicator.c
Warning: generating old-style constructor for:app_indicator_new_with_path
Warning: Constructor for AppIndicator needs to be updated to new API
         See http://live.gnome.org/PyGTK_2fWhatsNew28#update-constructors
***INFO*** The coverage of global functions is 100.00% (1/1)
***INFO*** The coverage of methods is 100.00% (20/20)
***INFO*** There are no declared virtual proxies.
***INFO*** There are no declared virtual accessors.
***INFO*** There are no declared interface proxies.
  CC       appindicator.lo
  CCLD     _appindicator.la
make[3]: Leaving directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings/python'
Making all in vala
make[3]: Entering directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings/vala'
echo gtk+-2.0 > appindicator-0.1.deps
/usr/bin/vapigen-0.22 --library=appindicator-0.1 --girdir=../../../bindings/vala/src \
../../src/AppIndicator-0.1.gir ../../../bindings/vala/appindicator-0.1-custom.vala
AppIndicator-0.1.metadata:2.16-3.16: warning: argument never used
AppIndicator-0.1.metadata:3.18-4.0: warning: argument never used
gtk+-2.0.vapi:5926.40-5926.42: warning: Gtk is deprecated. Use gtk+-3.0
Generation succeeded - 3 warning(s)
make[3]: Leaving directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings/vala'
Making all in mono
make[3]: Entering directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings/mono'
Making all in .
make[4]: Entering directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings/mono'
sed '/signals\[X_NEW_LABEL\] /,+6d' ../../../src/app-indicator.c > app-indicator.c
/usr/bin/gapi2-parser app-indicator.sources.xml
<file ../../bindings/mono/app-indicator.c> <file ../../src/app-indicator-enum-types.c> <file ../../src/app-indicator-enum-types.h> <file ../../../src/app-indicator.h> 
structs: 3  enums: 2  callbacks: 
funcs: 0 types: 0  classes: 1
props: 14 childprops:  signals: 7

cp libappindicator-api.raw libappindicator-api.middle
chmod u+w libappindicator-api.middle
/usr/bin/gapi2-fixup --api=libappindicator-api.middle --metadata=../../../bindings/mono/libappindicator-api.metadata
Warning: <remove-node path="/api/namespace/object[@cname='AppIndicator']/property[@cname='PROP_X_LABEL_S']"/> matched no nodes
Warning: <remove-node path="/api/namespace/object[@cname='AppIndicator']/property[@cname='PROP_X_LABEL_GUIDE_S']"/> matched no nodes
Warning: <remove-node path="/api/namespace/object[@cname='AppIndicator']/property[@cname='PROP_X_ORDERING_INDEX_S']"/> matched no nodes
Warning: <remove-node path="/api/namespace/object[@cname='AppIndicator']/property[@cname='PROP_X_ACCESSIBLE_DESC_S']"/> matched no nodes
Warning: <remove-node path="/api/namespace/object/method[@cname='app_indicator_get_accessible_desc']"/> matched no nodes
Warning: <remove-node path="/api/namespace/object/method[@cname='app_indicator_set_accessible_desc']"/> matched no nodes
Warning: <attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='new_accessible_desc']"/> matched no nodes
Warning: <attr path="/api/namespace/object[@cname='AppIndicator']/signal[@field_name='new_accessible_desc']"/> matched no nodes
Warning: <attr path="/api/namespace/object[@cname='AppIndicator']/property[@cname='PROP_MENU_S']"/> matched no nodes
Warning: <attr path="/api/namespace/object[@cname='AppIndicator']/property[@cname='PROP_MENU_S']"/> matched no nodes
Warning: <attr path="/api/namespace/object[@cname='AppIndicator']/property[@cname='PROP_ACCESSIBLE_DESC_S']"/> matched no nodes
sed -e "s|PROP_ID_S|id|" \
    -e "s|PROP_STATUS_S|Status|" \
    -e "s|PROP_STATUS_S|status|" \
    -e "s|PROP_CATEGORY_S|Category|" \
    -e "s|PROP_CATEGORY_S|category|" \
    -e "s|PROP_ICON_NAME_S|icon-name|" \
    -e "s|PROP_ICON_DESC_S|IconDesc|" \
    -e "s|PROP_ICON_DESC_S|icon-desc|" \
    -e "s|PROP_ATTENTION_ICON_NAME_S|AttentionIconName|" \
    -e "s|PROP_ATTENTION_ICON_NAME_S|attention-icon-name|" \
    -e "s|PROP_ATTENTION_ICON_DESC_S|AttentionIconDesc|" \
    -e "s|PROP_ATTENTION_ICON_DESC_S|attention-icon-desc|" \
    -e "s|PROP_ICON_THEME_PATH_S|icon-theme-path|" \
    -e "s|PROP_MENU_S|menu|" \
    -e "s|PROP_CONNECTED_S|connected|" \
    -e "s|PROP_LABEL_S|label|" \
    -e "s|PROP_LABEL_GUIDE_S|label-guide|" \
    -e "s|PROP_ORDERING_INDEX_S|ordering-index|" \
    -e "s|PROP_DBUS_MENU_SERVER_S|DbusMenuServer|" \
    -e "s|PROP_DBUS_MENU_SERVER_S|dbus-menu-server|" \
    -e "s|PROP_TITLE_S|Title|" \
    -e "s|PROP_TITLE_S|title|" \
    libappindicator-api.middle > libappindicator-api.xml
rm -f generated/* &&                    \
/usr/bin/gapi2-codegen --generate libappindicator-api.xml -I:/usr/lib64/pkgconfig/../../share/gapi-2.0/pango-api.xml -I:/usr/lib64/pkgconfig/../../share/gapi-2.0/atk-api.xml -I:/usr/lib64/pkgconfig/../../share/gapi-2.0/gdk-api.xml -I:/usr/lib64/pkgconfig/../../share/gapi-2.0/gtk-api.xml -I:/usr/lib64/pkgconfig/../../share/gapi-2.0/glib-api.xml   \
--customdir=../../../bindings/mono                  \
--outdir=generated --assembly-name=appindicator-sharp   \
&& touch generated-stamp
Property has unknown Type DbusmenuServer in type AppIndicator.ApplicationIndicator

Generation Summary:
  Enums: 2  Structs: 0  Boxed: 0  Opaques: 0  Interfaces: 0  Objects: 1  Callbacks: 0
  Properties: 11  Signals: 7  Methods: 6  Constructors: 2  Throttled: 1
Total Nodes: 30

no  -keyfile:../../../bindings/mono/appindicator-sharp.snk -nowarn:0169,0612,0618 -unsafe -out:appindicator-sharp.dll -target:library -r:/usr/lib64/pkgconfig/../../lib64/mono/gtk-sharp-2.0/pango-sharp.dll -r:/usr/lib64/pkgconfig/../../lib64/mono/gtk-sharp-2.0/atk-sharp.dll -r:/usr/lib64/pkgconfig/../../lib64/mono/gtk-sharp-2.0/gdk-sharp.dll -r:/usr/lib64/pkgconfig/../../lib64/mono/gtk-sharp-2.0/gtk-sharp.dll -r:/usr/lib64/pkgconfig/../../lib64/mono/gtk-sharp-2.0/glib-sharp.dll  ./generated/*.cs ../../../bindings/mono/AssemblyInfo.cs
/bin/sh: no: command not found
Makefile:869: recipe for target 'appindicator-sharp.dll' failed
make[4]: *** [appindicator-sharp.dll] Error 127
make[4]: Leaving directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings/mono'
Makefile:547: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings/mono'
Makefile:419: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2/bindings'
Makefile:482: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2'
Makefile:413: recipe for target 'all' failed
make: *** [all] Error 2
 * ERROR: dev-libs/libappindicator-12.10.1_p0_p01_p20141110::unity-gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=dev-libs/libappindicator-12.10.1_p0_p01_p20141110::unity-gentoo'`,
 * the complete build log and the output of `emerge -pqv '=dev-libs/libappindicator-12.10.1_p0_p01_p20141110::unity-gentoo'`.
 * The complete build log is located at '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/temp/environment'.
 * Working directory: '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110/build-gtk2'
 * S: '/var/tmp/portage/dev-libs/libappindicator-12.10.1_p0_p01_p20141110/work/libappindicator-12.10.1+15.04.20141110'
shiznix commented 8 years ago

We're getting closer, I too am now getting that very same error trying to build libappindicator now I've got everything compiled to use gcc:5 ;)

shiznix commented 8 years ago

Should be fixed in commit 496cdb50a31767bd2a0c9e3fd6c603d691d6a380

Thanks for your patience Bela :)

nr0cinu commented 8 years ago

That worked! :) Thanks a lot @shiznix !!

VsyachePuz commented 8 years ago

doens't work for me yet, here is full log - https://gist.githubusercontent.com/VsyachePuz/876d4059419e2b0bbba07251c8d65677/raw/8caaac955bc6464fbd912a188ee4fc026a860d63/gistfile1.txt

shiznix commented 8 years ago

@VsyachePuz are you using gcc:5 ?

VsyachePuz commented 8 years ago

yes

# gcc-config -l
11:06   [11] x86_64-pc-linux-gnu-5.3.0 *
# gcc --version
gcc (Gentoo 5.3.0 p1.1, pie-0.6.5) 5.3.0
shiznix commented 8 years ago

What version of dev-lang/mono do you have installed?

VsyachePuz commented 8 years ago
mono -V
Mono JIT compiler version 4.5.2 (tarball Tue Jun 21 23:17:06 MSK 2016)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
    TLS:           __thread
    SIGSEGV:       altstack
    Notifications: epoll
    Architecture:  amd64
    Disabled:      none
    Misc:          softdebug 
    LLVM:          supported, not enabled.
    GC:            sgen
VsyachePuz commented 8 years ago

shiznix: "looks like a bug in gtk-sharp requiring dos2unix to be run over the perl scripts to not use Windows line endings"

dos2unix /usr/lib/gtk-sharp-2.0/gapi_pp.pl
dos2unix /usr/lib/gtk-sharp-2.0/gapi2xml.pl
shiznix commented 8 years ago

@VsyachePuz awesome work ;) Please file a bug in bugs.gentoo.org so that Gentoo devs. can fix the line return part of this issue for dev-dotnet/gtk-sharp and refer back to this issue, cheers!

shiznix commented 5 years ago

https://bugs.gentoo.org/643048