pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/46915: chat/libotr 4.0.0 may break net/kdenetwork4 4.8.4 build on DragonFly



>Number:         46915
>Category:       pkg
>Synopsis:       chat/libotr 4.0.0 may break net/kdenetwork4 4.8.4 build on 
>DragonFly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu Sep 06 14:30:00 +0000 2012
>Originator:     David Shao
>Release:        DragonFly  3.1-DEVELOPMENT x86_64
>Organization:
>Environment:
DragonFly  3.1-DEVELOPMENT x86_64
>Description:
Update current pkgsrc on DragonFly 3.1-DEVELOPMENT x86_64
cc -v
Using built-in specs.
Target: x86_64-pc-dragonflybsd
Configured with: DragonFly/x86_64 system compiler
Thread model: posix
gcc version 4.4.7 2012.03.13 (DragonFly) 
to
commit 92bd25915950e0c71e0fc20881cd7eaec7e71c24
Author: pkgsrc fixup <pkgsrc%dragonflybsd.org@localhost>
Date:   Wed Sep 5 18:47:29 2012 -0700
which includes update to chat/libotr 4.0.0.

Rebuilding net/kdenetwork4 4.8.4 results in:

[ 87%] Building CXX object 
kopete/plugins/otr/CMakeFiles/kopete_otr_shared.dir/otrlchatinterface.o
In file included from 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context_priv.h:25,
                 from 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h:25,
                 from 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/proto.h:25,
                 from 
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/authenticationwizard.h:30,
                 from 
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.h:37,
                 from 
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:26:
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1336: warning: 
'gcry_ac_io_mode_t' is deprecated (declared at 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1324)
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1337: warning: 
'gcry_ac_io_type_t' is deprecated (declared at 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1331)
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1344: warning: 
'gcry_ac_data_read_cb_t' is deprecated (declared at 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1312)
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1358: warning: 
'gcry_ac_data_write_cb_t' is deprecated (declared at 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1317)
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1393: warning: 
'gcry_md_algo_t' is deprecated (declared at 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1387)
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1401: warning: 
'gcry_md_algo_t' is deprecated (declared at 
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/gcrypt.h:1387)
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'void (*)(void*, OtrlNotifyLevel, const char*, 
const char*, const char*, const char*, const char*, const char*)' to 'void 
(*)(void*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'int (*)(void*, const char*, const char*, const 
char*, const char*)' to 'void (*)(void*, s_OtrlUserState*, const char*, const 
char*, const char*, unsigned char*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'const char* (*)(void*, const char*)' to 'void 
(*)(void*, ConnContext*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'void (*)(void*, const char*)' to 'void 
(*)(void*, ConnContext*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'void (*)(void*, s_OtrlUserState*, const char*, 
const char*, const char*, unsigned char*)' to 'void (*)(void*, ConnContext*, 
int)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'void (*)(void*)' to 'int (*)(void*, 
ConnContext*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'void (*)(void*, ConnContext*)' to 'const char* 
(*)(void*, const char*, const char*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'void (*)(void*, ConnContext*)' to 'void 
(*)(void*, const char*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'void (*)(void*, ConnContext*, int)' to 'void 
(*)(void*, ConnContext*, unsigned int, const unsigned char*, size_t, const 
unsigned char*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'void (*)(void*, const char*)' to 'const char* 
(*)(void*, ConnContext*, OtrlErrorCode)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:334:
 error: invalid conversion from 'int (*)(void*, ConnContext*)' to 'void 
(*)(void*, const char*)'
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/message.h: In member 
function 'int OtrlChatInterface::decryptMessage(QString*, const QString&, const 
QString&, const QString&, Kopete::ChatSession*)':
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/message.h:374: 
error: too few arguments to function 'int 
otrl_message_receiving(s_OtrlUserState*, const OtrlMessageAppOps*, void*, const 
char*, const char*, const char*, const char*, char**, OtrlTLV**, ConnContext**, 
void (*)(void*, ConnContext*), void*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:388:
 error: at this point in file
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h:139: 
error: too few arguments to function 'ConnContext* 
otrl_context_find(s_OtrlUserState*, const char*, const char*, const char*, 
otrl_instag_t, int, int*, void (*)(void*, ConnContext*), void*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:399:
 error: at this point in file
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/qt4/include/QtCore/qbytearray.h: In 
member function 'int OtrlChatInterface::encryptMessage(QString*, const 
QString&, const QString&, const QString&, Kopete::ChatSession*)':
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/qt4/include/QtCore/qbytearray.h:383:
 error: 'QByteArray::operator QNoImplicitBoolCast() const' is private
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:547:
 error: within this context
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:547:
 error: cannot convert 'char**' to 'OtrlTLV*' for argument '9' to 'gcry_error_t 
otrl_message_sending(s_OtrlUserState*, const OtrlMessageAppOps*, void*, const 
char*, const char*, const char*, otrl_instag_t, const char*, OtrlTLV*, char**, 
OtrlFragmentPolicy, ConnContext**, void (*)(void*, ConnContext*), void*)'
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h:139: 
error: too few arguments to function 'ConnContext* 
otrl_context_find(s_OtrlUserState*, const char*, const char*, const char*, 
otrl_instag_t, int, int*, void (*)(void*, ConnContext*), void*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:555:
 error: at this point in file
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:560:
 error: 'otrl_message_fragment_and_send' was not declared in this scope
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/message.h: In member 
function 'void OtrlChatInterface::disconnectSession(Kopete::ChatSession*)':
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/message.h:384: 
error: too few arguments to function 'void 
otrl_message_disconnect(s_OtrlUserState*, const OtrlMessageAppOps*, void*, 
const char*, const char*, const char*, otrl_instag_t)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:591:
 error: at this point in file
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h: In member 
function 'int OtrlChatInterface::privState(Kopete::ChatSession*)':
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h:139: 
error: too few arguments to function 'ConnContext* 
otrl_context_find(s_OtrlUserState*, const char*, const char*, const char*, 
otrl_instag_t, int, int*, void (*)(void*, ConnContext*), void*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:627:
 error: at this point in file
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h: In member 
function 'void OtrlChatInterface::verifyFingerprint(Kopete::ChatSession*)':
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h:139: 
error: too few arguments to function 'ConnContext* 
otrl_context_find(s_OtrlUserState*, const char*, const char*, const char*, 
otrl_instag_t, int, int*, void (*)(void*, ConnContext*), void*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:660:
 error: at this point in file
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h: In member 
function 'void OtrlChatInterface::initSMP(ConnContext*, Kopete::ChatSession*, 
const QString&)':
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h:139: 
error: too few arguments to function 'ConnContext* 
otrl_context_find(s_OtrlUserState*, const char*, const char*, const char*, 
otrl_instag_t, int, int*, void (*)(void*, ConnContext*), void*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:756:
 error: at this point in file
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h: In member 
function 'void OtrlChatInterface::initSMPQ(ConnContext*, Kopete::ChatSession*, 
const QString&, const QString&)':
/usr/pkgsrc/net/kdenetwork4/work/.buildlink/include/libotr/context.h:139: 
error: too few arguments to function 'ConnContext* 
otrl_context_find(s_OtrlUserState*, const char*, const char*, const char*, 
otrl_instag_t, int, int*, void (*)(void*, ConnContext*), void*)'
/usr/pkgsrc/net/kdenetwork4/work/kdenetwork-4.8.4/kopete/plugins/otr/otrlchatinterface.cpp:768:
 error: at this point in file
*** Error code 1

>How-To-Repeat:
Update current pkgsrc on DragonFly 3.1-DEVELOPMENT x86_64
to
commit 92bd25915950e0c71e0fc20881cd7eaec7e71c24
Author: pkgsrc fixup <pkgsrc%dragonflybsd.org@localhost>
Date:   Wed Sep 5 18:47:29 2012 -0700
which includes update to chat/libotr 4.0.0

and rebuild net/kdenetwork4, using for example
pkg_rolling-replace -u
>Fix:



Home | Main Index | Thread Index | Old Index