Closed nr0cinu closed 8 years ago
Should be fixed in commit f74b68472ababb8e9a2d5dc62175f4c79c8a98d2
I updated libcolumbus, but the error persists…
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.
^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
the versions of these two script from dev-dotnet/gtk-sharp-gapi look fine however, but than I can’t merge libappindicator
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
[01m[K../../../bindings/python/appindicatormodule.c:[m[K In function ‘[01m[Kinit_appindicator[m[K’:
[01m[K../../../bindings/python/appindicatormodule.c:45:3:[m[K [01;35m[Kwarning: [m[Kimplicit declaration of function ‘[01m[K_appindicator_add_constants[m[K’ [-Wimplicit-function-declaration]
_appindicator_add_constants (m, "APP_INDICATOR_");
[01;32m[K ^[m[K
(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'
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 ;)
Should be fixed in commit 496cdb50a31767bd2a0c9e3fd6c603d691d6a380
Thanks for your patience Bela :)
That worked! :) Thanks a lot @shiznix !!
doens't work for me yet, here is full log - https://gist.githubusercontent.com/VsyachePuz/876d4059419e2b0bbba07251c8d65677/raw/8caaac955bc6464fbd912a188ee4fc026a860d63/gistfile1.txt
@VsyachePuz are you using gcc:5 ?
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
What version of dev-lang/mono do you have installed?
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
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
@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!
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: