Bug 204532 - net-im/tox: missing dependency on security/libsodium
Summary: net-im/tox: missing dependency on security/libsodium
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Many People
Assignee: Thierry Thomas
URL:
Keywords: easy, needs-patch, needs-qa
Depends on:
Blocks:
 
Reported: 2015-11-13 21:39 UTC by Ivan Rozhuk
Modified: 2015-11-15 18:54 UTC (History)
2 users (show)

See Also:
koobs: maintainer-feedback? (thierry)
koobs: merge-quarterly?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Rozhuk 2015-11-13 21:39:02 UTC
...
--- ../toxav/libtoxav_la-toxav.lo ---
  CC       ../toxav/libtoxav_la-toxav.lo
In file included from ../toxav/toxav.c:27:
../toxav/rtp.h:78:14: warning: redefinition of typedef '__fail_if_misaligned' is a C11 feature [-Wtypedef-redefinition]
typedef char __fail_if_misaligned [ sizeof(struct RTPMessage) == 82 ? 1 : -1 ];
             ^
../toxav/rtp.h:68:14: note: previous definition is here
typedef char __fail_if_misaligned [ sizeof(struct RTPHeader) == 80 ? 1 : -1 ];
             ^
--- ../toxav/libtoxav_la-toxav_old.lo ---
  CC       ../toxav/libtoxav_la-toxav_old.lo
In file included from ../toxav/toxav_old.c:26:
In file included from ../toxav/group.h:24:
In file included from ../toxav/../toxcore/group.h:28:
In file included from ../toxcore/Messenger.h:29:
In file included from ../toxcore/friend_requests.h:27:
In file included from ../toxcore/friend_connection.h:28:
In file included from ../toxcore/net_crypto.h:27:
In file included from ../toxcore/DHT.h:27:
../toxcore/crypto_core.h:30:10: fatal error: 'sodium.h' file not found
#include <sodium.h>
         ^
1 error generated.
*** [../toxav/libtoxav_la-toxav_old.lo] Error code 1



Fix: install security/libsodium
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2015-11-15 10:06:58 UTC
The dependency is there, but there is a problem with the base Gcc
-> fixed with clang.
Comment 2 commit-hook freebsd_committer freebsd_triage 2015-11-15 18:54:20 UTC
A commit references this bug:

Author: thierry
Date: Sun Nov 15 18:54:09 UTC 2015
New revision: 401722
URL: https://svnweb.freebsd.org/changeset/ports/401722

Log:
  Fix build on FreeBSD 9-x with clang.

  PR:		ports/204532
  Reported by:	rozhuk.im (at) gmail.com

Changes:
  head/net-im/tox/Makefile