You are not logged in.

#1 2015-01-29 16:35:37

ctown.myth
Member
Registered: 2010-02-10
Posts: 169

venom-git failing to build

Hi everyone,

So I've been trying to build venom-git, but it has been failing for the current and previous iteration of tox-git. The problem seems to stem from the git repo itself, but maybe it's just me? Here's the output through packer:

packer -S venom-git

Aur Targets    (1): venom-git

Proceed with installation? [Y/n] 

Edit venom-git PKGBUILD with $EDITOR? [Y/n] n
Edit venom.install with $EDITOR? [Y/n] n
==> Making package: venom-git 619.86f56e4-1 (Thu Jan 29 09:25:37 MST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning venom-git git repo...
Cloning into bare repository '/tmp/packerbuild-1000/venom-git/venom-git/venom-git'...
remote: Counting objects: 5636, done.
remote: Compressing objects: 100% (158/158), done.
remote: Total 5636 (delta 106), reused 109 (delta 45)
Receiving objects: 100% (5636/5636), 8.76 MiB | 130.00 KiB/s, done.
Resolving deltas: 100% (3826/3826), done.
Checking connectivity... done.
==> Validating source files with md5sums...
    venom-git ... Skipped
==> Extracting sources...
  -> Creating working copy of Venom git repo...
Cloning into 'venom-git'...
done.
==> Starting pkgver()...
==> Updated version: venom-git 622.a9bff73-1
==> Starting build()...
-- The C compiler identification is GNU 4.9.2
-- 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
Venom version 0.2.0
64 bit architecture detected.
-- Found Vala: /usr/bin/valac (found version "0.26.2") 
-- Found Vala: /usr/bin/valac (found suitable version "0.26.2", minimum required is "0.18.1") 
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28") 
-- checking for module 'gtk+-3.0>=3.4'
--   found gtk+-3.0, version 3.14.7
-- checking for module 'gio-2.0>=2.32'
--   found gio-2.0, version 2.42.1
-- checking for module 'glib-2.0>=2.32'
--   found glib-2.0, version 2.42.1
-- checking for module 'sqlite3>=3.7'
--   found sqlite3, version 3.8.8.1
-- checking for module 'json-glib-1.0>=0.14'
--   found json-glib-1.0, version 1.0.2
-- checking for module 'libtoxcore>=0.0'
--   found libtoxcore, version 0.0.0
-- checking for module 'libqrencode>=3.1.1'
--   found libqrencode, version 3.4.4
-- checking for module 'libnotify>=0.7.3'
--   found libnotify, version 0.7.6
Optional features / dependencies:
   [ ] ENABLE_DJBDNS - resolve tox dns ids using djbdns (required for glib <= 2.32)
   [X] ENABLE_QR_ENCODE - show QR codes (requires libqrencode)
   [X] ENABLE_LIBNOTIFY - libnotify notification support
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build
[  1%] Generating pixmaps/venom_pixmaps.gresource.c
[  3%] Generating Main.c, core/Contact.c, core/ContactStorage.c, core/DhtNode.c, core/DhtNodeStorage.c, core/FileTransfer.c, core/GroupChat.c, core/GroupChatContact.c, core/Logger.c, core/MessageLog.c, core/Message.c, core/Notification.c, core/ResourceFactory.c, core/Settings.c, core/SqliteTools.c, core/Tools.c, core/ToxDns.c, core/ToxSession.c, core/User.c, ui/AboutDialog.c, ui/AddContactDialog.c, ui/ChatMessage.c, ui/Client.c, ui/ContactFilter.c, ui/ContactListCellRenderer.c, ui/ContactListTreeView.c, ui/ContactListWindow.c, ui/ConversationTextView.c, ui/ConversationView.c, ui/ConversationWidget.c, ui/EditableLabel.c, ui/FileTransferChatEntry.c, ui/GroupConversationSidebar.c, ui/GroupConversationWidget.c, ui/MessageTextView.c, ui/PinDialog.c, ui/SearchEntry.c, ui/UserInfoWindow.c, ui/UITools.c, ui/SettingsWindow.c
[  5%] Generating ui/venom.gresource.c
Scanning dependencies of target venom
[  7%] Building C object src/CMakeFiles/venom.dir/Main.c.o
[  9%] Building C object src/CMakeFiles/venom.dir/core/Contact.c.o
[ 11%] Building C object src/CMakeFiles/venom.dir/core/ContactStorage.c.o
[ 13%] Building C object src/CMakeFiles/venom.dir/core/DhtNode.c.o
[ 15%] Building C object src/CMakeFiles/venom.dir/core/DhtNodeStorage.c.o
[ 17%] Building C object src/CMakeFiles/venom.dir/core/FileTransfer.c.o
[ 19%] Building C object src/CMakeFiles/venom.dir/core/GroupChat.c.o
[ 21%] Building C object src/CMakeFiles/venom.dir/core/GroupChatContact.c.o
[ 23%] Building C object src/CMakeFiles/venom.dir/core/Logger.c.o
[ 25%] Building C object src/CMakeFiles/venom.dir/core/MessageLog.c.o
[ 27%] Building C object src/CMakeFiles/venom.dir/core/Message.c.o
[ 29%] Building C object src/CMakeFiles/venom.dir/core/Notification.c.o
[ 31%] Building C object src/CMakeFiles/venom.dir/core/ResourceFactory.c.o
[ 33%] Building C object src/CMakeFiles/venom.dir/core/Settings.c.o
[ 35%] Building C object src/CMakeFiles/venom.dir/core/SqliteTools.c.o
[ 37%] Building C object src/CMakeFiles/venom.dir/core/Tools.c.o
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/Tools.c: In function ‘venom_tools_find_data_dir’:
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/Tools.c:117:18: warning: assignment from incompatible pointer type
  _tmp1_ = _tmp0_ = g_get_system_data_dirs ();
                  ^
[ 39%] Building C object src/CMakeFiles/venom.dir/core/ToxDns.c.o
[ 41%] Building C object src/CMakeFiles/venom.dir/core/ToxSession.c.o
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c: In function ‘venom_tox_session_construct’:
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1007:14: error: ‘Tox_Options’ has no member named ‘proxy_enabled’
       options.proxy_enabled = (guint8) 1;
              ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c: In function ‘venom_tox_session_init_callbacks’:
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1298:39: warning: passing argument 2 of ‘tox_callback_friend_request’ from incompatible pointer type
  tox_callback_friend_request (_tmp0_, _venom_tox_session_on_friend_request_callback_tox_friendrequestcallback, self);
                                       ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:297:6: note: expected ‘void (*)(struct Tox *, const uint8_t *, const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, guint8 *, guint8 *, guint16,  void *)’
 void tox_callback_friend_request(Tox *tox, void (*function)(Tox *tox, const uint8_t *, const uint8_t *, uint16_t,
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1300:39: warning: passing argument 2 of ‘tox_callback_friend_message’ from incompatible pointer type
  tox_callback_friend_message (_tmp1_, _venom_tox_session_on_friend_message_callback_tox_friendmessagecallback, self);
                                       ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:303:6: note: expected ‘void (*)(struct Tox *, int32_t,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint,  guint8 *, guint16,  void *)’
 void tox_callback_friend_message(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *),
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1302:38: warning: passing argument 2 of ‘tox_callback_friend_action’ from incompatible pointer type
  tox_callback_friend_action (_tmp2_, _venom_tox_session_on_friend_action_callback_tox_friendactioncallback, self);
                                      ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:309:6: note: expected ‘void (*)(struct Tox *, int32_t,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint32,  guint8 *, guint16,  void *)’
 void tox_callback_friend_action(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *),
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1304:36: warning: passing argument 2 of ‘tox_callback_name_change’ from incompatible pointer type
  tox_callback_name_change (_tmp3_, _venom_tox_session_on_name_change_callback_tox_namechangecallback, self);
                                    ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:316:6: note: expected ‘void (*)(struct Tox *, int32_t,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint32,  guint8 *, guint16,  void *)’
 void tox_callback_name_change(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *),
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1306:39: warning: passing argument 2 of ‘tox_callback_status_message’ from incompatible pointer type
  tox_callback_status_message (_tmp4_, _venom_tox_session_on_status_message_callback_tox_statusmessagecallback, self);
                                       ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:323:6: note: expected ‘void (*)(struct Tox *, int32_t,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint32,  guint8 *, guint16,  void *)’
 void tox_callback_status_message(Tox *tox, void (*function)(Tox *tox, int32_t, const uint8_t *, uint16_t, void *),
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1316:37: warning: passing argument 2 of ‘tox_callback_group_invite’ from incompatible pointer type
  tox_callback_group_invite (_tmp9_, _venom_tox_session_on_group_invite_callback_tox_groupinvitecallback, self);
                                     ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:442:6: note: expected ‘void (*)(struct Tox *, int32_t,  uint8_t,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint32,  guint8 *, guint16,  void *)’
 void tox_callback_group_invite(Tox *tox, void (*function)(Tox *tox, int32_t, uint8_t, const uint8_t *, uint16_t,
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1318:39: warning: passing argument 2 of ‘tox_callback_group_message’ from incompatible pointer type
  tox_callback_group_message (_tmp10_, _venom_tox_session_on_group_message_callback_tox_groupmessagecallback, self);
                                       ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:449:6: note: expected ‘void (*)(struct Tox *, int,  int,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint,  gint,  guint8 *, guint16,  void *)’
 void tox_callback_group_message(Tox *tox, void (*function)(Tox *tox, int, int, const uint8_t *, uint16_t, void *),
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1320:38: warning: passing argument 2 of ‘tox_callback_group_action’ from incompatible pointer type
  tox_callback_group_action (_tmp11_, _venom_tox_session_on_group_action_callback_tox_groupactioncallback, self);
                                      ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:456:6: note: expected ‘void (*)(struct Tox *, int,  int,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint,  gint,  guint8 *, guint16,  void *)’
 void tox_callback_group_action(Tox *tox, void (*function)(Tox *tox, int, int, const uint8_t *, uint16_t, void *),
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1324:43: warning: passing argument 2 of ‘tox_callback_file_send_request’ from incompatible pointer type
  tox_callback_file_send_request (_tmp13_, _venom_tox_session_on_file_sendrequest_callback_tox_filesendrequestcallback, self);
                                           ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:782:6: note: expected ‘void (*)(struct Tox *, int32_t,  uint8_t,  uint64_t,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint32,  guint8,  guint64,  guint8 *, guint16,  void *)’
 void tox_callback_file_send_request(Tox *tox, void (*function)(Tox *m, int32_t, uint8_t, uint64_t, const uint8_t *,
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1326:38: warning: passing argument 2 of ‘tox_callback_file_control’ from incompatible pointer type
  tox_callback_file_control (_tmp14_, _venom_tox_session_on_file_control_callback_tox_filecontrolcallback, self);
                                      ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:793:6: note: expected ‘void (*)(struct Tox *, int32_t,  uint8_t,  uint8_t,  uint8_t,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint32,  guint8,  guint8,  guint8,  guint8 *, guint16,  void *)’
 void tox_callback_file_control(Tox *tox, void (*function)(Tox *m, int32_t, uint8_t, uint8_t, uint8_t, const uint8_t *,
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:1328:35: warning: passing argument 2 of ‘tox_callback_file_data’ from incompatible pointer type
  tox_callback_file_data (_tmp15_, _venom_tox_session_on_file_data_callback_tox_filedatacallback, self);
                                   ^
In file included from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:30:0:
/usr/include/tox/tox.h:801:6: note: expected ‘void (*)(struct Tox *, int32_t,  uint8_t,  const uint8_t *, uint16_t,  void *)’ but argument is of type ‘void (*)(struct Tox *, gint32,  guint8,  guint8 *, guint16,  void *)’
 void tox_callback_file_data(Tox *tox, void (*function)(Tox *m, int32_t, uint8_t, const uint8_t *, uint16_t length,
      ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c: In function ‘__lambda11_’:
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:2205:34: warning: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type
   g_hash_table_foreach (_tmp11_, ____lambda12__gh_func, self);
                                  ^
In file included from /usr/include/glib-2.0/glib.h:50:0,
                 from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:25:
/usr/include/glib-2.0/glib/ghash.h:99:13: note: expected ‘GHFunc’ but argument is of type ‘void (*)(const void *, const void *, void *)’
 void        g_hash_table_foreach           (GHashTable     *hash_table,
             ^
/tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:2211:34: warning: passing argument 2 of ‘g_hash_table_foreach’ from incompatible pointer type
   g_hash_table_foreach (_tmp13_, ____lambda13__gh_func, _data8_);
                                  ^
In file included from /usr/include/glib-2.0/glib.h:50:0,
                 from /tmp/packerbuild-1000/venom-git/venom-git/src/venom-git/build/src/core/ToxSession.c:25:
/usr/include/glib-2.0/glib/ghash.h:99:13: note: expected ‘GHFunc’ but argument is of type ‘void (*)(const void *, const void *, void *)’
 void        g_hash_table_foreach           (GHashTable     *hash_table,
             ^
src/CMakeFiles/venom.dir/build.make:607: recipe for target 'src/CMakeFiles/venom.dir/core/ToxSession.c.o' failed
make[2]: *** [src/CMakeFiles/venom.dir/core/ToxSession.c.o] Error 1
CMakeFiles/Makefile2:154: recipe for target 'src/CMakeFiles/venom.dir/all' failed
make[1]: *** [src/CMakeFiles/venom.dir/all] Error 2
Makefile:137: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...
The build failed.

There are a numer of compile errors, and a CMake file not found error at the end as well. Has venom-git been abandoned?

Thanks for your help!


AKA MyCookie!

Offline

Board footer

Powered by FluxBB