GNOME Bugzilla – Bug 796236
unable to build glib
Last modified: 2018-05-22 01:35:05 UTC
Glib build was broken by below commit, and I'm not sure the reason. I uses ubuntu 16.04. https://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=1a456a9f9c11d613aefcaeafb374bcac685536b1
Created attachment 372185 [details] configure log
Something's not quite right.. > checking size of char... 0 > checking size of short... 0 > checking size of long... 0 > checking size of int... 0 > checking size of void *... 0 > checking size of long long... 0 > checking size of __int64... 0
Created attachment 372273 [details] [review] proxy-libintl: disable by default By 1a456a9f, proxy-libintl is installed only if the target platform is Android or iOS. For the other platforms, proxy-libintl should be disabled.
Thanks, let's try this! (Though not sure where those weird size checks come from they seem unrelated) commit 4cb40b2833ea28f7951e6e023a42990e7c4d7f5a Author: Justin Kim <justin.kim@collabora.com> Date: Mon May 21 11:58:03 2018 +0900 proxy-libintl: disable by default By 1a456a9f, proxy-libintl is installed only if the target platform is Android or iOS. For the other platforms, proxy-libintl should be disabled. https://bugzilla.gnome.org/show_bug.cgi?id=796236
Thanks Justin Kim! New commit fixed my issue :)
There seems to be some libnice-related link failure still which looks like it might be related? https://ci.gstreamer.net/job/cerbero-android/lastFailedBuild/console libtool: link: arm-linux-androideabi-gcc -std=gnu99 -DGLIB_VERSION_MIN_REQUIRED=GLIB_VERSION_2_44 -DGLIB_VERSION_MAX_ALLOWED=GLIB_VERSION_2_44 -fno-strict-aliasing -Wall -Wextra -Wundef -Wnested-externs -Wwrite-strings -Wpointer-arith -Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wno-unused-parameter -Wno-missing-field-initializers -Wdeclaration-after-statement -Wformat=2 -Wcast-align -Wformat-nonliteral -Wformat-security -Wsign-compare -Wstrict-aliasing -Wshadow -Winline -Wpacked -Wmissing-format-attribute -Winit-self -Wredundant-decls -Wmissing-include-dirs -Wunused-but-set-variable -Warray-bounds -Wswitch-enum -Wswitch-default -Waggregate-return -Wall -g -Os -isysroot /var/lib/jenkins/workspace/cerbero-android/workdir/android-ndk-16/sysroot -isystem /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/include -isystem /var/lib/jenkins/workspace/cerbero-android/workdir/android-ndk-16/sysroot/usr/include -isystem /var/lib/jenkins/workspace/cerbero-android/workdir/android-ndk-16/sysroot/usr/include/arm-linux-androideabi -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fPIC -mthumb -march=armv5te -mtune=xscale -msoft-float -DANDROID -DPIC -D__ANDROID_API__=14 -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__ -Wa,--noexecstack --sysroot /var/lib/jenkins/workspace/cerbero-android/workdir/android-ndk-16/platforms/android-14/arch-arm -fPIC -no-canonical-prefixes -Wl,-no-undefined -Wl,-z -Wl,noexecstack -Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--gc-sections -Wl,-dynamic-linker -Wl,/system/bin/linker -Wl,-z -Wl,nocopyreloc -fuse-ld=gold -o stunbdc stunbdc.o -L/var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib -L/var/lib/jenkins/workspace/cerbero-android/workdir/android-ndk-16/platforms/android-14/arch-arm/usr/lib ../../stun/.libs/libstun.a /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libgnutls.so /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libz.so /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libtasn1.so /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libhogweed.so /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libnettle.so /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libgmp.so /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libintl.so /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libiconv.so -lc -L/var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib -L/var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libgnutls.so: error: undefined reference to 'libintl_dgettext' /var/lib/jenkins/workspace/cerbero-android/workdir/dist/android_arm/lib/libgnutls.so: error: undefined reference to 'libintl_bindtextdomain' collect2: error: ld returned 1 exit status Makefile:465: recipe for target 'stund' failed
Seems to be fixed with: https://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=762146a03503269bf665b9f54289ec68f3006255 https://cgit.freedesktop.org/gstreamer/cerbero/commit/?id=bb13990ea51a55d65caa335cb1614e955f769127