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 796236 - unable to build glib
unable to build glib
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: cerbero
git master
Other Linux
: Normal blocker
: 1.15.1
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-05-18 13:40 UTC by Seungha Yang
Modified: 2018-05-22 01:35 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
configure log (23.24 KB, text/x-log)
2018-05-18 13:40 UTC, Seungha Yang
  Details
proxy-libintl: disable by default (1.19 KB, patch)
2018-05-21 03:07 UTC, Justin Kim
committed Details | Review

Description Seungha Yang 2018-05-18 13:40:01 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
Comment 1 Seungha Yang 2018-05-18 13:40:35 UTC
Created attachment 372185 [details]
configure log
Comment 2 Tim-Philipp Müller 2018-05-18 13:56:19 UTC
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
Comment 3 Justin Kim 2018-05-21 03:07:17 UTC
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.
Comment 4 Tim-Philipp Müller 2018-05-21 09:26:05 UTC
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
Comment 5 Seungha Yang 2018-05-21 10:01:41 UTC
Thanks Justin Kim!
New commit fixed my issue :)
Comment 6 Tim-Philipp Müller 2018-05-21 10:18:20 UTC
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