thasmin / Podax

Podcast client for Android
Other
165 stars 34 forks source link

FTBFS ... various versions of android-support-v4.jar #174

Closed mcepl closed 11 years ago

mcepl commented 11 years ago
-build-setup:
     [echo] Resolving Build Target for Podax...
[gettarget] Project Target:   Google APIs
[gettarget] Vendor:           Google Inc.
[gettarget] Platform Version: 4.2
[gettarget] API level:        17
     [echo] ----------
     [echo] Creating output directories if needed...
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/Podax/bin
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/Podax/bin/res
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/Podax/gen
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/Podax/bin/classes
    [mkdir] Created dir: /home/matej/archiv/knihovna/repos/Podax/bin/dexedLibs
     [echo] ----------
     [echo] Resolving Dependencies for Podax...
[dependency] Ordered libraries:
[dependency] /home/matej/archiv/knihovna/repos/Podax/ActionBarSherlock/library
[dependency] /home/matej/archiv/knihovna/repos/Podax/ViewPagerIndicator/library
[dependency] /home/matej/archiv/knihovna/repos/Podax/drag-sort-listview
[dependency] /home/matej/archiv/knihovna/repos/Podax/Riasel/library
[dependency] Found 3 versions of android-support-v4.jar in the dependency list,
[dependency] but not all the versions are identical (check is based on SHA-1 only at this time).
[dependency] All versions of the libraries must be the same at this time.
[dependency] Versions found are:
[dependency] Path: /home/matej/archiv/knihovna/repos/Podax/ActionBarSherlock/library/libs/android-support-v4.jar
[dependency]    Length: 271754
[dependency]    SHA-1: 53307dc2bd2b69fd5533458ee11885f55807de4b
[dependency] Path: /home/matej/archiv/knihovna/repos/Podax/ViewPagerIndicator/library/libs/android-support-v4.jar
[dependency]    Length: 271754
[dependency]    SHA-1: 53307dc2bd2b69fd5533458ee11885f55807de4b
[dependency] Path: /home/matej/archiv/knihovna/repos/Podax/libs/android-support-v4.jar
[dependency]    Length: 385685
[dependency]    SHA-1: 48c94ae70fa65718b382098237806a5909bb096e

BUILD FAILED
/home/matej/repos/android-sdk-linux_x86/tools/ant/build.xml:571: Jar mismatch! Fix your dependencies

Total time: 1 second
matej@wycliff: Podax (master *)$ git submodule 
 90939dc3925ffaaa0de269bbbe1b35e274968ea1 ActionBarSherlock (4.2.0)
 f103b02e72097ebc7a2134e19771a7382d8e67eb Riasel (remotes/origin/HEAD)
 8cd549f23f3d20ff920e19a2345c54983f65e26b ViewPagerIndicator (2.4.1)
 eb956cd7265165faa4a46822491a86c67bdce974 drag-sort-listview (remotes/origin/slide_shuffle-11-geb956cd)
matej@wycliff: Podax (master *)$ 
thasmin commented 11 years ago

I don't know what FTBFS means. ActionBarSherlock and ViewPagerIndicator haven't updated to the latest support library. Podax uses it for new notifications. From your Podax directory: cp libs/android-support* ActionBarSherlock/library/libs cp libs/android-support* ViewPagerIndicator/library/libs

mcepl commented 11 years ago

Sorry, FTBFS = Failure To Build From Source. And yes, manual copying of android-support-v4.jar seem to help. Thank you (and Happy New Year!)