KoKuToru / gTox

[abandoned] GTK3 Tox-Client
GNU General Public License v3.0
45 stars 7 forks source link

Build failing on Arch Linux #224

Open lovesegfault opened 7 years ago

lovesegfault commented 7 years ago

Trying to build on a fully updated Arch install is failing over here

$ sudo aura -Akx gtox-git --noconfirm         
aura >>= `gtox-git` PKGBUILD is up to date.
aura >>= Determining dependencies...
aura >>= AUR Packages:
gtox-git

aura >>= Building `gtox-git`...
==> Making package: gtox-git alpha.r301.g3ae68fb-1 (Sun  8 Jan 15:50:55 WET 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
 -> Cloning gtox git repo...
Cloning into bare repository '/var/cache/pacman/pkg/gtox-git7086/gtox-git/gtox'...
remote: Counting objects: 7680, done.
remote: Total 7680 (delta 0), reused 0 (delta 0), pack-reused 7680
Receiving objects: 100% (7680/7680), 2.46 MiB | 552.00 KiB/s, done.
Resolving deltas: 100% (5789/5789), done.
 -> Cloning audio-git git repo...
Cloning into bare repository '/var/cache/pacman/pkg/gtox-git7086/gtox-git/audio-git'...
remote: Counting objects: 200, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 200 (delta 0), reused 0 (delta 0), pack-reused 198
Receiving objects: 100% (200/200), 19.35 MiB | 3.72 MiB/s, done.
Resolving deltas: 100% (26/26), done.
==> Validating source files with md5sums...
   gtox ... Skipped
   audio-git ... Skipped
==> Extracting sources...
 -> Creating working copy of gTox git repo...
Cloning into 'gtox'...
done.
Switched to a new branch 'makepkg'
 -> Creating working copy of Sounds git repo...
Cloning into 'audio-git'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
Submodule 'src/audio' (https://github.com/Tox/Sounds) registered for path 'src/audio'
Cloning into '/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/audio'...
done.
Submodule path 'src/audio': checked out '1a21216e29b5c85fb1dc2c9672f9c16a09a9a0e2'
==> Starting pkgver()...
==> Starting build()...
-- The C compiler identification is GNU 6.2.1
-- The CXX compiler identification is GNU 6.2.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Performing Test COMPILER_SUPPORTS_CXX14
-- Performing Test COMPILER_SUPPORTS_CXX14 - Success
-- Performing Test COMPILER_SUPPORTS_CXX1Y
-- Performing Test COMPILER_SUPPORTS_CXX1Y - Success
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1") 
-- Checking for module 'gtkmm-3.0>=3.16'
--   Found gtkmm-3.0, version 3.22.0
-- Checking for module 'gstreamermm-1.0'
--   Found gstreamermm-1.0, version 1.4.3
-- Found Tox: /usr/include  
-- Found Flatbuffers: /usr/include (Required is at least version "1.2.0") 
-- Checking for module 'glibmm-2.4'
--   Found glibmm-2.4, version 2.50.0
-- Could NOT find CxxTest (missing:  CXXTEST_INCLUDE_DIR CXXTEST_PYTHON_TESTGEN_EXECUTABLE) 
-- Configuring done
-- Generating done
-- Build files have been written to: /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/build
Scanning dependencies of target gtox-flatbuffers-Log
Scanning dependencies of target gtox-flatbuffers-ConfigGlobal
Scanning dependencies of target toxmm-flatbuffers-File
Scanning dependencies of target toxmm-flatbuffers-Config
Scanning dependencies of target gtox-locale
Scanning dependencies of target gtox-flatbuffers-Config
Scanning dependencies of target gtox-ui-resource
[  2%] Generating ../../../resources/flatbuffers/generated/ConfigGlobal_generated.h, ../../../resources/flatbuffers/generated/ConfigGlobal.bfbs
[  2%] Generating ../../../resources/flatbuffers/generated/Log_generated.h, ../../../resources/flatbuffers/generated/Log.bfbs
[  3%] Generating ../../../tox/flatbuffers/generated/Config_generated.h
[  4%] Generating ../../../tox/flatbuffers/generated/File_generated.h
Scanning dependencies of target gtox-style-resource
[  6%] Generate Locale 'de'
[  7%] Generating gtox-style.gresource.xml, gtox-style.gresource.c, gtox-style.gresource.h
[  8%] Generating gtox-ui.gresource.xml, gtox-ui.gresource.c, gtox-ui.gresource.h
[  9%] Generating ../../../resources/flatbuffers/generated/Config_generated.h, ../../../resources/flatbuffers/generated/Config.bfbs
[  9%] Built target toxmm-flatbuffers-Config
[  9%] Built target toxmm-flatbuffers-File
Scanning dependencies of target gtox-icon-resource
[  9%] Built target gtox-flatbuffers-ConfigGlobal
[  9%] Built target gtox-flatbuffers-Log
Scanning dependencies of target gtox-icon
[  9%] Built target gtox-flatbuffers-Config
[ 10%] Generating gtox-icon.gresource.xml, gtox-icon.gresource.c, gtox-icon.gresource.h
Scanning dependencies of target toxmm-flatbuffers
[ 12%] Generate Locale 'en'
[ 13%] Generate Locale 'es'
[ 14%] Generate Icon '14x14'
Scanning dependencies of target gtox-flatbuffers-resource
[ 14%] Built target toxmm-flatbuffers
[ 14%] Built target gtox-style-resource
[ 15%] Generate Icon '16x16'
[ 18%] Generating gtox-flatbuffers.gresource.xml, gtox-flatbuffers.gresource.c, gtox-flatbuffers.gresource.h
[ 18%] Generate Icon '22x22'
[ 19%] Generate Locale 'fr'
[ 20%] Generate Locale 'it'
[ 21%] Generate Locale 'ru'
[ 22%] Generate Icon '24x24'
[ 24%] Generate Icon '32x32'
Scanning dependencies of target toxmm
[ 25%] Generate Icon '36x36'
[ 25%] Built target gtox-ui-resource
[ 25%] Built target gtox-locale
[ 26%] Generate Icon '48x48'
[ 30%] Built target gtox-flatbuffers-resource
[ 31%] Generate Icon '64x64'
[ 32%] Generate Icon '72x72'
[ 33%] Generate Icon '128x128'
[ 34%] Generate Icon '96x96'
[ 36%] Generate Icon '192x192'
[ 37%] Generate Icon '256x256'
[ 38%] Generate Icon 'scalable'
[ 39%] Generate Icon '512x512'
[ 39%] Built target gtox-icon
[ 44%] Building CXX object tox/CMakeFiles/toxmm.dir/exception.cpp.o
[ 44%] Building CXX object tox/CMakeFiles/toxmm.dir/core.cpp.o
[ 44%] Building CXX object tox/CMakeFiles/toxmm.dir/profile.cpp.o
[ 44%] Building CXX object tox/CMakeFiles/toxmm.dir/types.cpp.o
[ 45%] Building CXX object tox/CMakeFiles/toxmm.dir/storage.cpp.o
[ 46%] Building CXX object tox/CMakeFiles/toxmm.dir/config.cpp.o
[ 48%] Building CXX object tox/CMakeFiles/toxmm.dir/contact/manager.cpp.o
[ 48%] Built target gtox-icon-resource
[ 49%] Building CXX object tox/CMakeFiles/toxmm.dir/contact/contact.cpp.o
[ 50%] Building CXX object tox/CMakeFiles/toxmm.dir/contact/receipt.cpp.o
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp: In member function ‘void toxmm::core::init()’:
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:243:12: error: too many arguments to function ‘void tox_callback_friend_request(Tox*, void (*)(Tox*, const uint8_t*, const uint8_t*, size_t, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1742:6: note: declared here
void tox_callback_friend_request(Tox *tox, tox_friend_request_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:250:12: error: too many arguments to function ‘void tox_callback_friend_message(Tox*, void (*)(Tox*, uint32_t, TOX_MESSAGE_TYPE, const uint8_t*, size_t, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1758:6: note: declared here
void tox_callback_friend_message(Tox *tox, tox_friend_message_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:254:12: error: too many arguments to function ‘void tox_callback_friend_name(Tox*, void (*)(Tox*, uint32_t, const uint8_t*, size_t, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1473:6: note: declared here
void tox_callback_friend_name(Tox *tox, tox_friend_name_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:258:12: error: too many arguments to function ‘void tox_callback_friend_status_message(Tox*, void (*)(Tox*, uint32_t, const uint8_t*, size_t, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1513:6: note: declared here
void tox_callback_friend_status_message(Tox *tox, tox_friend_status_message_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:261:12: error: too many arguments to function ‘void tox_callback_friend_status(Tox*, void (*)(Tox*, uint32_t, TOX_USER_STATUS, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1537:6: note: declared here
void tox_callback_friend_status(Tox *tox, tox_friend_status_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:264:12: error: too many arguments to function ‘void tox_callback_friend_typing(Tox*, void (*)(Tox*, uint32_t, bool, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1599:6: note: declared here
void tox_callback_friend_typing(Tox *tox, tox_friend_typing_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:267:12: error: too many arguments to function ‘void tox_callback_friend_read_receipt(Tox*, void (*)(Tox*, uint32_t, uint32_t, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1717:6: note: declared here
void tox_callback_friend_read_receipt(Tox *tox, tox_friend_read_receipt_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:270:12: error: too many arguments to function ‘void tox_callback_friend_connection_status(Tox*, void (*)(Tox*, uint32_t, TOX_CONNECTION, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1572:6: note: declared here
void tox_callback_friend_connection_status(Tox *tox, tox_friend_connection_status_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:273:12: error: too many arguments to function ‘void tox_callback_self_connection_status(Tox*, void (*)(Tox*, TOX_CONNECTION, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:972:6: note: declared here
void tox_callback_self_connection_status(Tox *tox, tox_self_connection_status_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:276:12: error: too many arguments to function ‘void tox_callback_file_chunk_request(Tox*, void (*)(Tox*, uint32_t, uint32_t, uint64_t, size_t, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:2230:6: note: declared here
void tox_callback_file_chunk_request(Tox *tox, tox_file_chunk_request_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:279:12: error: too many arguments to function ‘void tox_callback_file_recv(Tox*, void (*)(Tox*, uint32_t, uint32_t, uint32_t, uint64_t, const uint8_t*, size_t, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:2268:6: note: declared here
void tox_callback_file_recv(Tox *tox, tox_file_recv_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:282:12: error: too many arguments to function ‘void tox_callback_file_recv_chunk(Tox*, void (*)(Tox*, uint32_t, uint32_t, uint64_t, const uint8_t*, size_t, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:2296:6: note: declared here
void tox_callback_file_recv_chunk(Tox *tox, tox_file_recv_chunk_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:285:12: error: too many arguments to function ‘void tox_callback_file_recv_control(Tox*, void (*)(Tox*, uint32_t, uint32_t, TOX_FILE_CONTROL, void*))’
    }, this);
           ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:1926:6: note: declared here
void tox_callback_file_recv_control(Tox *tox, tox_file_recv_control_cb *callback);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp: In member function ‘bool toxmm::core::update()’:
/var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:377:26: error: too few arguments to function ‘void tox_iterate(Tox*, void*)’
    tox_iterate(toxcore());
                         ^
In file included from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.h:21:0,
                from /var/cache/pacman/pkg/gtox-git7086/gtox-git/src/gtox/src/tox/core.cpp:19:
/usr/include/tox/tox.h:984:6: note: declared here
void tox_iterate(Tox *tox, void *user_data);
     ^~~~~~~~~~~
[ 51%] Building CXX object tox/CMakeFiles/toxmm.dir/contact/file/manager.cpp.o
make[2]: *** [tox/CMakeFiles/toxmm.dir/build.make:87: tox/CMakeFiles/toxmm.dir/core.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [CMakeFiles/Makefile2:131: tox/CMakeFiles/toxmm.dir/all] Error 2
make: *** [Makefile:128: all] Error 2
==> ERROR: A failure occurred in build().
   Aborting...
aura >>= Well, building `gtox-git` failed.