build error: cerbero -c config/cross-android.cbc buildone taglib

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

build error: cerbero -c config/cross-android.cbc buildone taglib

daviswalker
I am unable to build gst-plugins-good for android because of an issue with taglib. Has anyone seen this?

vagrant@local:/Code/gstreamer/cerbero$ cerbero -c config/cross-android.cbc buildone taglib
WARNING: /sdks/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin
WARNING: /sdks/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin
WARNING: /sdks/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin
WARNING: /sdks/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin
Building the following recipes: taglib
[(1/1) taglib -> fetch ]
Running command 'git remote add -f origin git://anongit.freedesktop.org/gstreamer-sdk/taglib.git'
fatal: remote origin already exists.
Running command 'git fetch --all'
Fetching origin
Running command 'git reset --hard origin/sdk-1.7.2'
HEAD is now at a092425 Fix pkg-config file
[(1/1) taglib -> extract ]
[(1/1) taglib -> configure ]
Running command 'cmake -DCMAKE_INSTALL_PREFIX=/home/vagrant/cerbero/dist/android_arm -DCMAKE_LIBRARY_OUTPUT_PATH=/home/vagrant/cerbero/dist/android_arm/lib -DWITH_MP4=ON -DWITH_ASF=ON -DENABLE_STATIC=1 -DANDROID_NDK=1  -DZLIB_ROOT=/home/vagrant/cerbero/dist/android_arm  -DCMAKE_C_COMPILER=arm-linux-androideabi-gcc -fuse-ld=gold  -DCMAKE_CXX_COMPILER=arm-linux-androideabi-g++ -fuse-ld=gold  -DCMAKE_C_FLAGS="-Wall -g -Os --sysroot=/sdks/android-ndk-r9c/platforms/android-9/arch-arm -I/sdks/android-ndk-r9c/platforms/android-9/arch-arm/usr/include -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fPIC -mthumb -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64  -march=armv5te -mtune=xscale -msoft-float -DANDROID -DPIC -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__  -Wa,--noexecstack" -DCMAKE_CXX_FLAGS="-Wall -g -Os --sysroot=/sdks/android-ndk-r9c/platforms/android-9/arch-arm -I/sdks/android-ndk-r9c/platforms/android-9/arch-arm/usr/include -ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes -fPIC -mthumb -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64  -march=armv5te -mtune=xscale -msoft-float -DANDROID -DPIC -D__ARM_ARCH_5__ -D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__  -Wa,--noexecstack" -DLIB_SUFFIX=  -DCMAKE_BUILD_TYPE=Release -DCMAKE_FIND_ROOT_PATH=$CERBERO_PREFIX '
CMake Error: The source directory "/home/vagrant/cerbero/sources/android_arm/taglib-1.7.2/-fuse-ld=gold" does not exist.
Specify --help for usage, or press the help button on the CMake GUI.
***** Error running 'buildone' command:
Recipe 'taglib' failed at the build step 'configure'
Reply | Threaded
Open this post in threaded view
|

Re: build error: cerbero -c config/cross-android.cbc buildone taglib

Andoni Morales



2014-03-02 7:41 GMT+01:00 daviswalker <[hidden email]>:
I am unable to build gst-plugins-good for android because of an issue with
taglib. Has anyone seen this?

This was fixed some time ago in:

commit 253cc720f2caabda07a8e816008a7c6a24af335b
Author: Andoni Morales Alastruey <[hidden email]>
Date:   Thu Feb 6 13:07:17 2014 +0100

    cmake: only set the compiler tool name, whithout flags
    
    This fixes the android case where CC is set to
    arm-linux-androideabi-gcc -fuse-ld=gold 


vagrant@local:/Code/gstreamer/cerbero$ cerbero -c config/cross-android.cbc
buildone taglib
WARNING:
/sdks/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin
WARNING:
/sdks/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin
WARNING:
/sdks/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86/bin
WARNING:
/sdks/android-ndk-r9c/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin
Building the following recipes: taglib
[(1/1) taglib -> fetch ]
Running command 'git remote add -f origin
git://anongit.freedesktop.org/gstreamer-sdk/taglib.git'
fatal: remote origin already exists.
Running command 'git fetch --all'
Fetching origin
Running command 'git reset --hard origin/sdk-1.7.2'
HEAD is now at a092425 Fix pkg-config file
[(1/1) taglib -> extract ]
[(1/1) taglib -> configure ]
Running command 'cmake
-DCMAKE_INSTALL_PREFIX=/home/vagrant/cerbero/dist/android_arm
-DCMAKE_LIBRARY_OUTPUT_PATH=/home/vagrant/cerbero/dist/android_arm/lib
-DWITH_MP4=ON -DWITH_ASF=ON -DENABLE_STATIC=1 -DANDROID_NDK=1
-DZLIB_ROOT=/home/vagrant/cerbero/dist/android_arm
-DCMAKE_C_COMPILER=arm-linux-androideabi-gcc -fuse-ld=gold
-DCMAKE_CXX_COMPILER=arm-linux-androideabi-g++ -fuse-ld=gold
-DCMAKE_C_FLAGS="-Wall -g -Os
--sysroot=/sdks/android-ndk-r9c/platforms/android-9/arch-arm
-I/sdks/android-ndk-r9c/platforms/android-9/arch-arm/usr/include
-ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes
-fPIC -mthumb -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64
-march=armv5te -mtune=xscale -msoft-float -DANDROID -DPIC -D__ARM_ARCH_5__
-D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__  -Wa,--noexecstack"
-DCMAKE_CXX_FLAGS="-Wall -g -Os
--sysroot=/sdks/android-ndk-r9c/platforms/android-9/arch-arm
-I/sdks/android-ndk-r9c/platforms/android-9/arch-arm/usr/include
-ffunction-sections -funwind-tables -fstack-protector -no-canonical-prefixes
-fPIC -mthumb -fomit-frame-pointer -fno-strict-aliasing -finline-limit=64
-march=armv5te -mtune=xscale -msoft-float -DANDROID -DPIC -D__ARM_ARCH_5__
-D__ARM_ARCH_5T__ -D__ARM_ARCH_5E__ -D__ARM_ARCH_5TE__  -Wa,--noexecstack"
-DLIB_SUFFIX=  -DCMAKE_BUILD_TYPE=Release
-DCMAKE_FIND_ROOT_PATH=$CERBERO_PREFIX '
CMake Error: The source directory
"/home/vagrant/cerbero/sources/android_arm/taglib-1.7.2/-fuse-ld=gold" does
not exist.
Specify --help for usage, or press the help button on the CMake GUI.
***** Error running 'buildone' command:
Recipe 'taglib' failed at the build step 'configure'



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/build-error-cerbero-c-config-cross-android-cbc-buildone-taglib-tp4665638.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



--
Andoni Morales Alastruey

LongoMatch:The Digital Coach
http://www.longomatch.ylatuya.es

_______________________________________________
gstreamer-devel mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: build error: cerbero -c config/cross-android.cbc buildone taglib

daviswalker
Thanks Andoni!

I was using the gstreamer-sdk/cerbero repo but found the commit and am off and running. Much appreciated.

Dave
Reply | Threaded
Open this post in threaded view
|

Re: build error: cerbero -c config/cross-android.cbc buildone taglib

rachelgomez161999
In reply to this post by daviswalker
It looks like there might be an issue with the path to the source directory for taglib. Specifically, the error message shows that CMake is looking for the source directory in "/home/vagrant/cerbero/sources/android_arm/taglib-1.7.2/-fuse-ld=gold", which doesn't exist.

You may want to check the configuration options passed to CMake, specifically the one that sets the path to the source directory. It's possible that there's a typo or an incorrect path specified in the configuration.

You could also try deleting the source directory for taglib and running the build command again to see if that resolves the issue. To do this, navigate to the "/home/vagrant/cerbero/sources/android_arm" directory and delete the "taglib-1.7.2" directory. Then try running the build command again.
Regards,
Rachel Gomez