[Pkg-xmpp-devel] Bug#928149: profanity: FTBFS on 32-bit arches: error: cast to pointer from integer of different size

Andreas Beckmann anbe at debian.org
Sun Apr 28 22:45:15 BST 2019


Source: profanity
Version: 0.6.0+git20190424.9dd441a-1
Severity: serious
Tags: ftbfs
Justification: fails to build from source (but built successfully in the past)

Hi,

profanity/experimental FTBFS on 32-bit architectures:

https://buildd.debian.org/status/package.php?p=profanity&suite=experimental

tests/unittests/config/stub_accounts.c: In function 'accounts_get_list':
tests/unittests/config/stub_accounts.c:39:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     return (gchar **)mock();
            ^
tests/unittests/config/stub_accounts.c: In function 'accounts_get_account':
tests/unittests/config/stub_accounts.c:45:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     return (ProfAccount*)mock();
            ^
tests/unittests/ui/stub_ui.c: In function 'win_create_console':
tests/unittests/ui/stub_ui.c:486:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     return (ProfWin*)mock();
            ^
tests/unittests/ui/stub_ui.c: In function 'win_create_chat':
tests/unittests/ui/stub_ui.c:494:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     return (ProfWin*)mock();
            ^
tests/unittests/xmpp/stub_xmpp.c: In function 'connection_get_fulljid':
tests/unittests/xmpp/stub_xmpp.c:34:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     return (char *)mock();
            ^
tests/unittests/xmpp/stub_xmpp.c: In function 'connection_get_presence_msg':
tests/unittests/xmpp/stub_xmpp.c:68:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     return (char*)mock();
            ^
tests/unittests/xmpp/stub_xmpp.c: In function 'session_get_account_name':
tests/unittests/xmpp/stub_xmpp.c:73:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     return (char*)mock();
            ^
tests/unittests/xmpp/stub_xmpp.c: In function 'bookmark_get_list':
tests/unittests/xmpp/stub_xmpp.c:257:12: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
     return (GList *)mock();
            ^

Andreas



More information about the Pkg-xmpp-devel mailing list