Bug 209424 - [maintainer] [patch] net-im/uTox update to 20160511 v0.8.2
Summary: [maintainer] [patch] net-im/uTox update to 20160511 v0.8.2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Dmitry Marakasov
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-05-10 12:54 UTC by Ivan Klymenko
Modified: 2016-05-16 16:02 UTC (History)
1 user (show)

See Also:


Attachments
uTox.diff (2.30 KB, text/plain)
2016-05-10 12:54 UTC, Ivan Klymenko
no flags Details
uTox-0.8.2.20160511.log (58.55 KB, text/plain)
2016-05-11 16:41 UTC, Ivan Klymenko
no flags Details
uTox.diff (4.54 KB, text/plain)
2016-05-13 15:51 UTC, Ivan Klymenko
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Klymenko 2016-05-10 12:54:54 UTC
Created attachment 170179 [details]
uTox.diff
Comment 1 Dmitry Marakasov freebsd_committer freebsd_triage 2016-05-11 15:22:55 UTC
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
Comment 2 Ivan Klymenko 2016-05-11 16:27:56 UTC
(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?
Comment 3 Ivan Klymenko 2016-05-11 16:41:58 UTC
Created attachment 170216 [details]
uTox-0.8.2.20160511.log
Comment 4 Ivan Klymenko 2016-05-11 16:44:54 UTC
However this is a newer version, but it is compiled the same way successful.
Comment 5 Ivan Klymenko 2016-05-11 16:54:59 UTC
(In reply to Dmitry Marakasov from comment #1)

perhaps meant that it 10.X
Comment 6 Carlos J. Puga Medina freebsd_committer freebsd_triage 2016-05-12 01:48:08 UTC
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
Comment 7 Dmitry Marakasov freebsd_committer freebsd_triage 2016-05-12 13:50:15 UTC
(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.
Comment 8 Ivan Klymenko 2016-05-12 14:04:15 UTC
(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
Comment 9 Ivan Klymenko 2016-05-12 14:10:43 UTC
(In reply to Dmitry Marakasov from comment #7)
Let me, please, full build logs.
Comment 10 Dmitry Marakasov freebsd_committer freebsd_triage 2016-05-12 18:24:16 UTC
https://people.freebsd.org/~amdmi3/utox/
Comment 11 Ivan Klymenko 2016-05-13 15:51:35 UTC
Created attachment 170250 [details]
uTox.diff
Comment 12 commit-hook freebsd_committer freebsd_triage 2016-05-16 16:02:24 UTC
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