Created attachment 170179 [details] uTox.diff
Does not build on amd64: In file included from src/main.c:3: In file included from src/main.h:253: In file included from src/stb_image.h:678: /usr/include/clang/3.4.1/emmintrin.h:1444:11: error: expected string literal in 'asm' __asm__ volatile ("pause"); ^ src/main.h:42:22: note: expanded from macro 'volatile' #define volatile(x) (*((volatile typeof(x)*)&x)) ^ 1 error generated. Makefile:171: recipe for target 'src/main.o' failed
(In reply to Dmitry Marakasov from comment #1) clang 3.4.1? grep "DISTVERSION=" /usr/ports/lang/clang34/Makefile DISTVERSION= 3.4.2 may want to update ports tree the system in which there is a compilation port?
Created attachment 170216 [details] uTox-0.8.2.20160511.log
However this is a newer version, but it is compiled the same way successful.
(In reply to Dmitry Marakasov from comment #1) perhaps meant that it 10.X
You'll need to backport some patches [1] from NetBSD [1] https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=tree;f=uTox-git/patches;h=e20e4c0359272cc15f3527827b4c14a2cf62ffd7;hb=HEAD
(In reply to Ivan Klymenko from comment #2) > (In reply to Dmitry Marakasov from comment #1) > clang 3.4.1? > > grep "DISTVERSION=" /usr/ports/lang/clang34/Makefile > DISTVERSION= 3.4.2 > > may want to update ports tree the system in which there is a compilation > port? This has nothing to do with ports' clang, it's built with system clang. And there's the same error on -current.
(In reply to Dmitry Marakasov from comment #7) Please uname-a from builder systems. https://bz-attachments.freebsd.org/attachment.cgi?id=170216 my current not found clang 3.4.1. uname -a FreeBSD nonamehost.local 11.0-CURRENT FreeBSD 11.0-CURRENT #1 r299523: Thu May 12 11:51:54 EEST 2016 ivan@nonamehost.local:/media/da0s1/obj/usr/src/sys/mk11 amd64 clang -v FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) Target: x86_64-unknown-freebsd11.0 Thread model: posix InstalledDir: /usr/bin
(In reply to Dmitry Marakasov from comment #7) Let me, please, full build logs.
https://people.freebsd.org/~amdmi3/utox/
Created attachment 170250 [details] uTox.diff
A commit references this bug: Author: amdmi3 Date: Mon May 16 16:01:30 UTC 2016 New revision: 415337 URL: https://svnweb.freebsd.org/changeset/ports/415337 Log: - Update to 0.8.2.20160511 PR: 209424 Submitted by: fidaj@ukr.net (maintainer) Changes: head/net-im/uTox/Makefile head/net-im/uTox/distinfo head/net-im/uTox/files/patch-Makefile head/net-im/uTox/files/patch-src_main.h head/net-im/uTox/files/patch-src_ui.c head/net-im/uTox/files/patch-src_xlib_main.c head/net-im/uTox/files/patch-src_xlib_video.c