Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 610570 - net-im/toxic-0.7.2 : /.../toxic.h:119:52: error: unknown type name ‘TOX_CONFERENCE_TYPE’
Summary: net-im/toxic-0.7.2 : /.../toxic.h:119:52: error: unknown type name ‘TOX_CONFE...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: zlg (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-22 15:26 UTC by Toralf Förster
Modified: 2017-02-24 01:08 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,5.95 KB, text/plain)
2017-02-22 15:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,353.28 KB, text/plain)
2017-02-22 15:26 UTC, Toralf Förster
Details
environment (environment,16.91 KB, text/plain)
2017-02-22 15:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,13.18 KB, application/x-bzip)
2017-02-22 15:26 UTC, Toralf Förster
Details
net-im:toxic-0.7.2:20170222-150749.log (net-im:toxic-0.7.2:20170222-150749.log,2.62 KB, text/plain)
2017-02-22 15:26 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-02-22 15:26:21 UTC
In file included from /var/tmp/portage/net-im/toxic-0.7.2/work/toxic-0.7.2/src/windows.h:37:0,
                 from /var/tmp/portage/net-im/toxic-0.7.2/work/toxic-0.7.2/src/autocomplete.c:34:
/var/tmp/portage/net-im/toxic-0.7.2/work/toxic-0.7.2/src/toxic.h:119:52: error: unknown type name ‘TOX_CONFERENCE_TYPE’
 void on_groupinvite(Tox *m, uint32_t friendnumber, TOX_CONFERENCE_TYPE type, co
                                                    ^

  -----------------------------------------------------------------

  This is an unstable amd64 chroot image (named plasma-systemd_20170215-191016) at a hardened host acting as a tinderbox.

  -----------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-5.4.0 *
llvm-config:
3.9.1
Available Python interpreters, in order of preference:
  [1]   python2.7
  [2]   python3.5 (fallback)
  [3]   python3.4 (fallback)
Available Ruby profiles:
  [1]   ruby21 (with Rubygems) *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 7.2.6.8 [icedtea-bin-7]
2)	IcedTea JDK 3.3.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-7  system-vm
  [2]   icedtea-bin-8
Comment 1 Toralf Förster gentoo-dev 2017-02-22 15:26:24 UTC
Created attachment 464712 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-02-22 15:26:27 UTC
Created attachment 464714 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2017-02-22 15:26:30 UTC
Created attachment 464716 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2017-02-22 15:26:33 UTC
Created attachment 464718 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2017-02-22 15:26:36 UTC
Created attachment 464720 [details]
net-im:toxic-0.7.2:20170222-150749.log
Comment 6 zlg (RETIRED) gentoo-dev 2017-02-23 12:33:57 UTC
It appears upstream switched to TokTok/toxcore. I didn't run into this when I first wrote this, so a rebuild of net-libs/tox can fix it.

Does DEPEND="net-libs/tox:0=[av?]" correct this? It appears to work fine on my system.
Comment 7 Toralf Förster gentoo-dev 2017-02-23 12:54:53 UTC
(In reply to Daniel Campbell from comment #6)
not here, used this diff :

tinderbox@mr-fox ~/tb/data/portage/net-im/toxic $ diff /usr/portage/net-im/toxic/toxic-0.7.2.ebuild toxic-0.7.2.ebuild 
17d16
<       net-libs/tox:0/0.0[av?]
25c24,25
< DEPEND="${RDEPEND}"
---
> DEPEND="net-libs/tox:0=[av?]
>   ${RDEPEND}"
Comment 8 zlg (RETIRED) gentoo-dev 2017-02-23 13:04:20 UTC
The tinderbox pulled in the 0/0.0 slot, which is what the ebuild is at now. Maybe switching to the 0/0.1 subslot will get things to cooperate. Try this out:

--- a/toxic-0.7.2.ebuild	2017-02-23 05:00:37.749931270 -0800
+++ b/toxic-0.7.2.ebuild	2017-02-23 05:00:47.968812991 -0800
@@ -14,7 +14,7 @@
 IUSE="+X +av notifications"
 
 RDEPEND="
-	net-libs/tox:0/0.0[av?]
+	net-libs/tox:0/0.1[av?]
 	dev-libs/libconfig
 	media-gfx/qrencode
 	net-misc/curl

That should require net-libs/tox to be at 0.1.6 (currently), and get this corrected.
Comment 9 Toralf Förster gentoo-dev 2017-02-23 13:18:59 UTC
(In reply to Daniel Campbell from comment #8)
indeed, this made it here :

tinderbox@mr-fox ~/tb/data/portage/net-im/toxic $ diff /usr/portage/net-im/toxic/toxic-0.7.2.ebuild toxic-0.7.2.ebuild 
17c17
<       net-libs/tox:0/0.0[av?]
---
>       net-libs/tox:0/0.1[av?]
Comment 10 zlg (RETIRED) gentoo-dev 2017-02-24 01:08:43 UTC
(In reply to Toralf Förster from comment #9)
> indeed, this made it here :

Great!

commit fb2addc500dcfa1c7f7125aaaf63145a47a69a19
Author: Daniel Campbell <zlg@gentoo.org>
Date:   Thu Feb 23 17:05:58 2017 -0800

    net-im/toxic: correct dependency wrt bug 610570

    Gentoo-Bug: 610570
    Gentoo-Bug-URL: https://bugs.gentoo.org/610570

    Package-Manager: Portage-2.3.3, Repoman-2.3.1