Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701016 - net-im/swift-4.0.2-r1 : Sluift/EditlineTerminal.cpp:72:36: error: invalid conversion from int
Summary: net-im/swift-4.0.2-r1 : Sluift/EditlineTerminal.cpp:72:36: error: invalid con...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-11-23 20:14 UTC by Toralf Förster
Modified: 2020-08-09 11:38 UTC (History)
3 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.45 KB, text/plain)
2019-11-23 20:14 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,88.94 KB, text/plain)
2019-11-23 20:14 UTC, Toralf Förster
Details
environment (environment,97.18 KB, text/plain)
2019-11-23 20:15 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.48 KB, application/x-bzip)
2019-11-23 20:15 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.57 KB, application/x-bzip)
2019-11-23 20:15 UTC, Toralf Förster
Details
net-im:swift-4.0.2-r1:20191123-005757.log (net-im:swift-4.0.2-r1:20191123-005757.log,413.82 KB, text/plain)
2019-11-23 20:15 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,36.56 KB, application/x-bzip)
2019-11-23 20:15 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 2019-11-23 20:14:52 UTC
x86_64-pc-linux-gnu-g++ -o Sluift/EditlineTerminal.o -c -O2 -pipe -march=native -std=c++11 -Wextra -Wall -Wnon-virtual-dtor -Wundef -Wold-style-cast -Wno-long-long -Woverloaded-virtual -Wfloat-equal -Wredundant-decls -Wno-unknown-pragmas -Wlogical-op -O2 -pipe -march=native -fPIC -DNDEBUG -DSWIFT_EXPERIMENTAL_FT -DNDEBUG -DSWIFT_EXPERIMENTAL_FT -DNDEBUG -DSWIFT_EXPERIMENTAL_FT -DLUA_COMPAT_ALL -DHAVE_EDITLINE -I. -I. -I. Sluift/EditlineTerminal.cpp
Sluift/EditlineTerminal.cpp: In constructor 'Swift::EditlineTerminal::EditlineTerminal()':
Sluift/EditlineTerminal.cpp:72:36: error: invalid conversion from 'int (*)(const char*, int)' to 'char* (*)(const char*, int)' [-fpermissive]
   72 |     rl_completion_entry_function = getEmptyCompletions; // Fallback. Do nothing.
      |                                    ^~~~~~~~~~~~~~~~~~~
      |                                    |

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_no-multilib-20191121-091537

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-9.2.0 *

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *



repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Sat, 23 Nov 2019 00:06:54 +0000

emerge -qpvO net-im/swift
[ebuild  N    ] net-im/swift-4.0.2-r1  USE="icu idn lua -client -expat -gconf -spell -test -zeroconf"
Comment 1 Toralf Förster gentoo-dev 2019-11-23 20:14:54 UTC
Created attachment 597222 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-11-23 20:14:57 UTC
Created attachment 597224 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-11-23 20:15:00 UTC
Created attachment 597226 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-11-23 20:15:03 UTC
Created attachment 597228 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-11-23 20:15:05 UTC
Created attachment 597230 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-11-23 20:15:08 UTC
Created attachment 597232 [details]
net-im:swift-4.0.2-r1:20191123-005757.log
Comment 7 Toralf Förster gentoo-dev 2019-11-23 20:15:11 UTC
Created attachment 597234 [details]
temp.tbz2
Comment 8 Conrad Kostecki gentoo-dev 2019-11-24 14:28:29 UTC
Hm, I am unable to reproduce. Since this happens in Sluift, it's related to USE="lua", which fits your attached use flags.

But I am able to compile here and latest lua release is also stable.
@andrey: Any ideas?
Comment 9 Larry the Git Cow gentoo-dev 2020-08-09 11:38:29 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82eafc8ea8cb637e5cf5e734c704aaaac995a967

commit 82eafc8ea8cb637e5cf5e734c704aaaac995a967
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2020-08-09 11:30:44 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2020-08-09 11:34:43 +0000

    net-im/swift: migrate to python3
    
    Also bumped to EAPI=7 and enabled client for default use flags.
    
    Closes: https://bugs.gentoo.org/735548
    Closes: https://bugs.gentoo.org/701016
    Package-Manager: Portage-3.0.1, Repoman-2.3.23
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 net-im/swift/Manifest              |   1 +
 net-im/swift/swift-4.0.2-r3.ebuild | 215 +++++++++++++++++++++++++++++++++++++
 2 files changed, 216 insertions(+)