Build of android-tools with vanilla toolchain

The build took 00h 00m 44s and was NOT successful.

The program in this build is written in the following languages, according to sloccount:

SLOCLanguage
81,973 cpp
67,939 ansic
3,547 python
3,452 asm
2,243 sh
1,068 java
131 ada
160,353 total

The process tree of the build process is here.

Log

To avoid scrolling, you may jump to the last line of the invocation of makepkg that was used to build this package.

Removed vanilla repositories from pacman.conf and added:
# [tuscan]
# Server = file:///var/cache/pacman/pkg/

CMD: pacman -Syy --noconfirm
# :: Synchronizing package databases...
# downloading tuscan.db...

CMD: sudo -u tuscan red makepkg --noextract --syncdeps --skipinteg --skippgpcheck --skipchecksums --noconfirm --nocolor --log --noprogressbar --nocheck
# ==> Making package: android-tools 6.0.1_r46-1 (Wed Aug 24 13:19:04 UTC 2016)
# ==> Checking runtime dependencies...
# ==> Checking buildtime dependencies...
# ==> WARNING: Using existing $srcdir/ tree
# ==> Starting build()...
# In file included from core/adb/adb.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# core/adb/adb.cpp: In function 'int handle_forward_request(const char*, transport_type, char*, int)':
# core/adb/adb.cpp:729:38: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# local = strchr(service, ':') + 1;
# ~~~~~~~~~~~~~~~~~~~~~^~~
# In file included from core/adb/adb_auth.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/adb_io.cpp:27:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/adb_listeners.cpp:24:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/adb_utils.cpp:31:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/sockets.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/transport.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/transport_local.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/transport_usb.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/fdevent.cpp:20:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/usb_linux.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/adb_auth_host.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/adb_main.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/console.cpp:1:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/commandline.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# core/adb/commandline.cpp: In function 'int adb_download_buffer(const char*, const char*, const void*, unsigned int, bool)':
# core/adb/commandline.cpp:466:26: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# char *x = strrchr(service, ':');
# ~~~~~~~^~~~~~~~~~~~~~
# core/adb/commandline.cpp: In function 'int install_app(transport_type, const char*, int, const char**)':
# core/adb/commandline.cpp:1557:28: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# char* dot = strrchr(file, '.');
# ~~~~~~~^~~~~~~~~~~
# core/adb/commandline.cpp: In function 'int install_multiple_app(transport_type, const char*, int, const char**)':
# core/adb/commandline.cpp:1603:28: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# char* dot = strrchr(file, '.');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/adb_client.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/services.cpp:19:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/adb/file_sync_client.cpp:29:0:
# core/adb/sysdeps.h: In function 'char* adb_dirstart(const char*)':
# core/adb/sysdeps.h:505:18: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strchr(path, '/');
# ~~~~~~^~~~~~~~~~~
# core/adb/sysdeps.h: In function 'char* adb_dirstop(const char*)':
# core/adb/sysdeps.h:510:19: warning: invalid conversion from 'const char*' to 'char*' [-fpermissive]
# return strrchr(path, '/');
# ~~~~~~~^~~~~~~~~~~
# In file included from core/include/cutils/log.h:1:0,
# from core/base/file.cpp:28:
# core/base/file.cpp: In function 'bool android::base::WriteStringToFile(const string&, const string&, mode_t, uid_t, gid_t)':
# core/base/file.cpp:87:71: error: 'strerror' was not declared in this scope
# ALOGE("android::WriteStringToFile open failed: %s", strerror(errno));
# ^
# core/include/log/log.h:534:36: note: in definition of macro 'android_printLog'
# __android_log_print(prio, tag, fmt)
# ^~~
# core/include/log/log.h:453:5: note: in expansion of macro 'LOG_PRI'
# LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
# ^~~~~~~
# core/include/log/log.h:156:27: note: in expansion of macro 'ALOG'
# #define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
# ^~~~
# core/base/file.cpp:87:5: note: in expansion of macro 'ALOGE'
# ALOGE("android::WriteStringToFile open failed: %s", strerror(errno));
# ^~~~~
# core/base/file.cpp:94:73: error: 'strerror' was not declared in this scope
# ALOGE("android::WriteStringToFile fchmod failed: %s", strerror(errno));
# ^
# core/include/log/log.h:534:36: note: in definition of macro 'android_printLog'
# __android_log_print(prio, tag, fmt)
# ^~~
# core/include/log/log.h:453:5: note: in expansion of macro 'LOG_PRI'
# LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
# ^~~~~~~
# core/include/log/log.h:156:27: note: in expansion of macro 'ALOG'
# #define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
# ^~~~
# core/base/file.cpp:94:5: note: in expansion of macro 'ALOGE'
# ALOGE("android::WriteStringToFile fchmod failed: %s", strerror(errno));
# ^~~~~
# core/base/file.cpp:98:73: error: 'strerror' was not declared in this scope
# ALOGE("android::WriteStringToFile fchown failed: %s", strerror(errno));
# ^
# core/include/log/log.h:534:36: note: in definition of macro 'android_printLog'
# __android_log_print(prio, tag, fmt)
# ^~~
# core/include/log/log.h:453:5: note: in expansion of macro 'LOG_PRI'
# LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
# ^~~~~~~
# core/include/log/log.h:156:27: note: in expansion of macro 'ALOG'
# #define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
# ^~~~
# core/base/file.cpp:98:5: note: in expansion of macro 'ALOGE'
# ALOGE("android::WriteStringToFile fchown failed: %s", strerror(errno));
# ^~~~~
# core/base/file.cpp:102:72: error: 'strerror' was not declared in this scope
# ALOGE("android::WriteStringToFile write failed: %s", strerror(errno));
# ^
# core/include/log/log.h:534:36: note: in definition of macro 'android_printLog'
# __android_log_print(prio, tag, fmt)
# ^~~
# core/include/log/log.h:453:5: note: in expansion of macro 'LOG_PRI'
# LOG_PRI(ANDROID_##priority, tag, __VA_ARGS__)
# ^~~~~~~
# core/include/log/log.h:156:27: note: in expansion of macro 'ALOG'
# #define ALOGE(...) ((void)ALOG(LOG_ERROR, LOG_TAG, __VA_ARGS__))
# ^~~~
# core/base/file.cpp:102:5: note: in expansion of macro 'ALOGE'
# ALOGE("android::WriteStringToFile write failed: %s", strerror(errno));
# ^~~~~
# g++: error: core/base/file.cpp.o: No such file or directory
# g++: error: core/base/file.cpp.o: No such file or directory
# ==> ERROR: A failure occurred in build().
# Aborting...