[Android-tools-devel] Bug#835695: Bug#835695: android-platform-development: FTBFS: ld: cannot find -lETC1

Chirayu Desai chirayudesai1 at gmail.com
Sun Aug 28 17:14:34 UTC 2016


Hi,

This should be fixed in newer versions, we did a multilib move around
6.0.1+r16-1 which had broke some packages.
A newer version, 6.0.1+r55 has been uploaded, is available in testing as
of today.
See https://tracker.debian.org/news/793698

On 08/28/2016 02:40 PM, Lucas Nussbaum wrote:
> Source: android-platform-development
> Version: 6.0.1+r16-1
> Severity: serious
> Tags: stretch sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20160828 qa-ftbfs
> Justification: FTBFS on amd64
>
> Hi,
>
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
>
> Relevant part (hopefully):
>> g++ tools/etc1tool/etc1tool.cpp -o etc1tool -g -O2 -fdebug-prefix-map=/<<BUILDDIR>>/android-platform-development-6.0.1+r16=. -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -Iinclude -I/usr/include/android -include android/arch/AndroidConfig.h -Wl,-z,relro -Wl,-rpath=/usr/lib/android -lpng -L/usr/lib/android -lETC1
>> tools/etc1tool/etc1tool.cpp: In function 'void multipleEncodeDecodeCheck(bool*)':
>> tools/etc1tool/etc1tool.cpp:477:94: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>          usage("At most one occurrence of --encode --encodeNoHeader or --decode is allowed.\n");
>>                                                                                               ^
>> tools/etc1tool/etc1tool.cpp: In function 'int main(int, char**)':
>> tools/etc1tool/etc1tool.cpp:502:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>                      usage("Only one -o flag allowed.");
>>                                                       ^
>> tools/etc1tool/etc1tool.cpp:505:54: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>                      usage("Expected outfile after -o");
>>                                                       ^
>> tools/etc1tool/etc1tool.cpp:523:76: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>                          usage("Only one --showDifference option allowed.\n");
>>                                                                             ^
>> tools/etc1tool/etc1tool.cpp:527:73: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>                          usage("Expected difffile after --showDifference");
>>                                                                          ^
>> tools/etc1tool/etc1tool.cpp:533:50: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>                      usage("Unknown flag %s", pArg);
>>                                                   ^
>> tools/etc1tool/etc1tool.cpp:538:46: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>                  usage("Unknown flag %s", pArg);
>>                                               ^
>> tools/etc1tool/etc1tool.cpp:545:37: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>                          pInput, pArg);
>>                                      ^
>> tools/etc1tool/etc1tool.cpp:556:62: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>          usage("--showDifference is only valid when encoding.");
>>                                                               ^
>> tools/etc1tool/etc1tool.cpp:560:40: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>          usage("Expected an input file.");
>>                                         ^
>> tools/etc1tool/etc1tool.cpp:569:80: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings]
>>              usage("Could not change extension of input file name: %s\n", pInput);
>>                                                                                 ^
>> /usr/bin/ld: cannot find -lETC1
>> collect2: error: ld returned 1 exit status
> The full build log is available from:
>    http://people.debian.org/~lucas/logs/2016/08/28/android-platform-development_6.0.1+r16-1_unstable.log
>
> A list of current common problems and possible solutions is available at
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
>
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
>
> _______________________________________________
> Android-tools-devel mailing list
> Android-tools-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/android-tools-devel



More information about the Android-tools-devel mailing list