After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 725895 - gstreamer-sharp build failure
gstreamer-sharp build failure
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-sharp
unspecified
Other Linux
: Normal major
: 1.0.0
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2014-03-07 13:30 UTC by jrmarsha
Modified: 2014-11-08 14:05 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description jrmarsha 2014-03-07 13:30:32 UTC
./autogen fails to build and no information useful to the user is provided.

libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./ltmain.sh'
libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and
libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree.
libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am.
configure.ac:7: installing './compile'
configure.ac:3: installing './config.guess'
configure.ac:3: installing './config.sub'
configure.ac:4: installing './install-sh'
configure.ac:4: installing './missing'
Makefile.am: installing './INSTALL'
sources/glue/Makefile.am: installing './depcomp'
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether to enable maintainer-specific portions of Makefiles... yes
checking how to print strings... printf
checking for style of include used by make... GNU
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 dependency style of gcc... gcc3
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/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 whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert x86_64-unknown-linux-gnu file names to x86_64-unknown-linux-gnu format... func_convert_file_noop
checking how to convert x86_64-unknown-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /usr/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 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/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... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for MONO_DEPENDENCY... yes
checking for mono... /usr/bin/mono
checking for gmcs... /usr/bin/gmcs
checking for gacutil... /usr/bin/gacutil
checking for GLIB_SHARP... yes
checking for GAPI... yes
checking for gapi3-parser... /usr/bin/gapi3-parser
checking for gapi3-fixup... /usr/bin/gapi3-fixup
checking for gapi3-codegen... /usr/bin/gapi3-codegen
checking for mdassembler... /usr/bin/mdassembler
checking for monodocer... /usr/bin/monodocer
checking for GST... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sources/Makefile
config.status: creating sources/glue/Makefile
config.status: creating sources/AssemblyInfo.cs
config.status: creating gstreamer-sharp-1.0.pc
config.status: creating doc/Makefile
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default commands

Configuration summary
---------------------

   * Installation prefix: /usr
   * compiler: /usr/bin/gmcs
   * Documentation:  ()

Making all in sources
make[1]: Entering directory '/home/anadon/repo/gstreamer-sharp/gstreamer-sharp/src/sources'
cp ./gstreamer-sharp-api.raw gstreamer-sharp-api.xml
chmod u+w gstreamer-sharp-api.xml
/usr/bin/gapi3-fixup --api=./gstreamer-sharp-api.xml --metadata=./gstreamer-sharp.metadata
Warning: <attr path="/api/namespace/struct[@cname='GstRTCPPacket']/method[@cname='gst_rtcp_packet_sdes_extension_data']"/> matched no nodes
/usr/bin/gapi3-codegen --generate ./gstreamer-sharp-api.xml -I:/usr/lib/pkgconfig/../../share/gapi-3.0/glib-api.xml  \
	--outdir=generated \
	--glue-filename=./glue/generated.c --gluelib-name=libgstreamersharpglue-1.0.0.dll \
	--glue-includes=gst/gst.h,`cd /usr/include/gstreamer-1.0;find gst -type f | tr "\n" ","` \
 	--assembly-name=gstreamer-sharp && touch generated-stamp
Unexpected node union in GstVideoCodecFrame
Unexpected node union in GstControlPoint
Unexpected node union in GstRTSPMessage
Gst.IURIHandler.GetProtocols - Unknown return type: const gchar* const*
Gst.IURIHandler.GetProtocols - Unknown return type: const gchar* const*
Gst.ElementFactory.GetStaticPadTemplates - Unknown return type: const GList*
Gst.Iterator.Filter - Unknown type GCompareFunc on parameter func
Gst.Iterator.FindCustom - Unknown type GCompareFunc on parameter func
Gst.TypeFind.Peek - Returns an array with undeterminable length. Add null_term_array or array_length_param attribute with gapi-fixup.
Gst.Global.ParamSpecFraction - Unknown type GParamFlags on parameter flags
Gst.Constants - CLOCK_TIME_NONE type is missing or wrong
Gst.Application.InitGetOptionGroup - Unknown return type: GOptionGroup*
Gst.Util.UtilArrayBinarySearch - Unknown type GCompareDataFunc on parameter search_func
Gst.Base.Adapter.Map - Returns an array with undeterminable length. Add null_term_array or array_length_param attribute with gapi-fixup.
Gst.Base.Adapter.Take - Returns an array with undeterminable length. Add null_term_array or array_length_param attribute with gapi-fixup.
Gst.Base.ByteWriter.ResetAndGetData - Returns an array with undeterminable length. Add null_term_array or array_length_param attribute with gapi-fixup.
Gst.Tags.GlobalTag.TagXmpListSchemas - Unknown return type: const gchar**
Gst.PbUtils.EncodingContainerProfile.GetProfiles - Unknown return type: const GList*
Gst.PbUtils.EncodingTarget.GetProfiles - Unknown return type: const GList*
Gst.PbUtils.EncodingTarget - Unknown type const GList* on parameter profiles
Gst.Controller.TimedValueControlSource.Values - field has unknown type: GSequence*
Gst.Net.NetAddressMeta.Addr - field has unknown type: GSocketAddress*
Gst.Net.NetAddressMeta.Addr - field has unknown type: GSocketAddress*
Gst.Net.NetTimePacket.Send - Unknown type GSocket* on parameter socket
Gst.Net.NetTimePacket.Receive - Unknown type GSocket* on parameter socket
Gst.Net.GlobalNet.BufferAddNetAddressMeta - Unknown type GSocketAddress* on parameter addr
Gst.Net.GlobalNet.NetTimePacketReceive - Unknown type GSocket* on parameter socket
Gst.Riff.GlobalRiff.RiffCreateAudioCaps - Unknown type gst_riff_strh* on parameter strh
Gst.Riff.GlobalRiff.RiffCreateIavsCaps - Unknown type gst_riff_strh* on parameter strh
Gst.Riff.GlobalRiff.RiffCreateVideoCaps - Unknown type gst_riff_strh* on parameter strh
Gst.Riff.GlobalRiff.RiffParseStrfAuds - Unknown type gst_riff_strf_auds** on parameter strf
Gst.Riff.GlobalRiff.RiffParseStrfIavs - Unknown type gst_riff_strf_iavs** on parameter strf
Gst.Riff.GlobalRiff.RiffParseStrfVids - Unknown type gst_riff_strf_vids** on parameter strf
Gst.Riff.GlobalRiff.RiffParseStrh - Unknown type gst_riff_strh** on parameter strh
Gst.Rtp.RTPBuffer.GetPayload - Returns an array with undeterminable length. Add null_term_array or array_length_param attribute with gapi-fixup.
Gst.Rtsp.RTSPConnection.Accept - Unknown type GSocket* on parameter socket
Gst.Rtsp.RTSPConnection.CreateFromSocket - Unknown type GSocket* on parameter socket
Gst.Rtsp.GlobalRtsp.RtspConnectionAccept - Unknown type GSocket* on parameter socket
Gst.Rtsp.GlobalRtsp.RtspConnectionCreateFromSocket - Unknown type GSocket* on parameter socket
Gst.Task.gst_task_new - defaulting TaskFunction param to 'call' scope. Specify callback scope (call|async|notified) attribute with fixup.
Gst.Tag.TagRegister - defaulting TagMergeFunc param to 'call' scope. Specify callback scope (call|async|notified) attribute with fixup.
Gst.Tag.TagRegisterStatic - defaulting TagMergeFunc param to 'call' scope. Specify callback scope (call|async|notified) attribute with fixup.
Gst.Audio.AudioClock.gst_audio_clock_new - defaulting AudioClockGetTimeFunc param to 'call' scope. Specify callback scope (call|async|notified) attribute with fixup.

Generation Summary:
  Enums: 137  Structs: 60  Boxed: 12  Opaques: 16  Interfaces: 12  Objects: 100  Callbacks: 75
  Properties: 105  Signals: 31  Methods: 2004  Constructors: 132  Throttled: 23
Total Nodes: 2707

/usr/bin/gmcs -nowarn:169 -unsafe -target:library -r:/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll  \
	AssemblyInfo.cs custom/*.cs  generated/*.cs -out:../out/gstreamer-sharp.dll
AssemblyInfo.cs(25,12): warning CS1699: Use compiler option `keyfile' or appropriate project settings instead of `AssemblyKeyFile' attribute
custom/Caps.cs(31,10): error CS0246: The type or namespace name `Structure' could not be found. Are you missing an assembly reference?
custom/FFTF32.cs(33,139): error CS0246: The type or namespace name `FFTF32Complex' could not be found. Are you missing an assembly reference?
custom/FFTF32.cs(35,45): error CS0234: The type or namespace name `FFTF32Complex' does not exist in the namespace `Gst.FFT'. Are you missing an assembly reference?
custom/FFTF32.cs(42,48): error CS0234: The type or namespace name `FFTWindow' does not exist in the namespace `Gst.FFT'. Are you missing an assembly reference?
custom/Iterator.cs(40,14): error CS0234: The type or namespace name `IteratorResult' does not exist in the namespace `Gst'. Are you missing an assembly reference?
custom/NavigationQuery.cs(23,41): error CS0234: The type or namespace name `Query' does not exist in the namespace `Gst'. Are you missing an assembly reference?
custom/NavigationQuery.cs(23,58): error CS0246: The type or namespace name `NavigationCommand' could not be found. Are you missing an assembly reference?
custom/TagList.cs(55,24): error CS0234: The type or namespace name `TagMergeMode' does not exist in the namespace `Gst'. Are you missing an assembly reference?
custom/Value.cs(456,10): error CS0104: `DateTime' is an ambiguous reference between `System.DateTime' and `GLib.DateTime'
/usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous error)
/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll (Location of the symbol related to previous error)
custom/Value.cs(476,16): error CS0104: `DateTime' is an ambiguous reference between `System.DateTime' and `GLib.DateTime'
/usr/lib/mono/2.0/mscorlib.dll (Location of the symbol related to previous error)
/usr/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll (Location of the symbol related to previous error)
Compilation failed: 10 error(s), 1 warnings
Makefile:497: recipe for target '../out/gstreamer-sharp.dll' failed
make[1]: *** [../out/gstreamer-sharp.dll] Error 1
make[1]: Leaving directory '/home/anadon/repo/gstreamer-sharp/gstreamer-sharp/src/sources'
Makefile:460: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
Comment 1 Stephan Sundermann 2014-08-07 00:18:37 UTC
Can you try with the 1.4 branch and gtk-sharp master. Please post your mono and gtk-sharp version.
Comment 2 Martin Lukeš 2014-08-10 10:55:54 UTC
I can confirm that version 1.4 of gstreamer-sharp is building fine.
Comment 3 Stephan Sundermann 2014-09-13 12:44:28 UTC
Closing this bug because the creator did not respond and other users have confirmed that 1.4 is building fine.