Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 645168 - app-i18n/scim-bridge-0.4.16-r3 : scim-bridge-agent-signal-listener.cpp:67:57: error: invalid conversion from char to const void* [-fpermissive]
Summary: app-i18n/scim-bridge-0.4.16-r3 : scim-bridge-agent-signal-listener.cpp:67:57:...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: CJK Team
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2018-01-20 19:26 UTC by Toralf Förster
Modified: 2022-05-15 22:11 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,16.04 KB, text/plain)
2018-01-20 19:26 UTC, Toralf Förster
Details
app-i18n:scim-bridge-0.4.16-r3:20180120-163426.log (app-i18n:scim-bridge-0.4.16-r3:20180120-163426.log,40.02 KB, text/plain)
2018-01-20 19:26 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,98.59 KB, text/plain)
2018-01-20 19:26 UTC, Toralf Förster
Details
environment (environment,102.79 KB, text/plain)
2018-01-20 19:26 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,12.11 KB, application/x-bzip)
2018-01-20 19:26 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,14.55 KB, application/x-bzip)
2018-01-20 19:26 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,31.81 KB, application/x-bzip)
2018-01-20 19:26 UTC, Toralf Förster
Details
ebuild (scim-bridge-0.4.16-r3.ebuild,1.70 KB, text/plain)
2018-08-26 22:55 UTC, Samuel Bauer
Details
gcc 7 patch (scim-bridge-0.4.16+gcc-7.patch,313 bytes, patch)
2018-08-26 22:56 UTC, Samuel Bauer
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2018-01-20 19:26:19 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I.. -I.. -I../common -DSCIM_LOCALEDIR=\"@SCIM_LOCALEDIR@\" -DSCIM_ICONDIR=\"/usr/share/scim/icons\" -DSCIM_KEYBOARD_ICON_FILE=\"/usr/share/scim/icons/keyboard.png\" -DSCIM_LIBEXECDIR=\"/usr/lib64/scim-1.0\" -DSCIM_VERSION=\"1.4.6\" -DGETTEXT_PACKAGE=\"@GETTEXT_PACKAGE@\"   -I/usr/include/scim-1.0 -O2 -pipe -march=native -c -o scim_bridge-scim-bridge-agent-signal-listener.o `test -f 'scim-bridge-agent-signal-listener.cpp' || echo './'`scim-bridge-agent-signal-listener.cpp
scim-bridge-agent-signal-listener.cpp: In function ‘void sig_quit(int)’:
scim-bridge-agent-signal-listener.cpp:67:57: error: invalid conversion from ‘char’ to ‘const void*’ [-fpermissive]
         send (pipe_in, '\0', sizeof (char), MSG_NOSIGNAL);
                                                         ^
In file included from scim-bridge-agent-signal-listener.cpp:27:0:

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma-systemd_test_20180117-215521

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

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

Available Python interpreters, in order of preference:
  [1]   python3.5
  [2]   python2.7 (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.6.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-i18n/scim-bridge
Comment 1 Toralf Förster gentoo-dev 2018-01-20 19:26:22 UTC
Created attachment 515494 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2018-01-20 19:26:25 UTC
Created attachment 515496 [details]
app-i18n:scim-bridge-0.4.16-r3:20180120-163426.log
Comment 3 Toralf Förster gentoo-dev 2018-01-20 19:26:28 UTC
Created attachment 515498 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2018-01-20 19:26:31 UTC
Created attachment 515500 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2018-01-20 19:26:34 UTC
Created attachment 515502 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2018-01-20 19:26:37 UTC
Created attachment 515504 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2018-01-20 19:26:40 UTC
Created attachment 515506 [details]
temp.tbz2
Comment 8 Malcolm Lashley 2018-07-16 00:01:01 UTC
Fix is here - if someone would care to apply it :)
https://github.com/scim-im/scim-bridge/commit/a50943a2f9e1e10e8db168e083c3d64de2369c0c
Comment 9 Samuel Bauer 2018-08-26 22:55:23 UTC
Created attachment 545180 [details]
ebuild
Comment 10 Samuel Bauer 2018-08-26 22:56:48 UTC
Created attachment 545182 [details, diff]
gcc 7 patch

(In reply to Malcolm Lashley from comment #8)
> Fix is here - if someone would care to apply it :)
> https://github.com/scim-im/scim-bridge/commit/
> a50943a2f9e1e10e8db168e083c3d64de2369c0c

Thanks
Comment 11 orbea 2022-05-15 17:55:52 UTC
Fixed for gcc7 in Fedora 5 years ago.

https://src.fedoraproject.org/rpms/scim-bridge/c/0532ab48617e02f5bfb1edaba17b22e88d9beaf4
Comment 12 Larry the Git Cow gentoo-dev 2022-05-15 22:10:23 UTC
The bug has been referenced in the following commit(s):

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

commit c5188fb4153e8626cc2c0ba0a8aad7c5b4aa86c4
Author:     orbea <orbea@riseup.net>
AuthorDate: 2022-05-15 17:23:38 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2022-05-15 22:09:42 +0000

    app-i18n/scim-bridge: Fix build with gcc7
    
    Uses an old patch from Fedora.
    
    Bug: https://bugs.gentoo.org/645168
    Fedora Commit: https://src.fedoraproject.org/rpms/scim-bridge/c/0532ab48617e02f5bfb1edaba17b22e88d9beaf4
    Signed-off-by: orbea <orbea@riseup.net>
    Signed-off-by: Sam James <sam@gentoo.org>

 .../scim-bridge-0.4.16-fixes-send-function-call.patch     | 15 +++++++++++++++
 app-i18n/scim-bridge/scim-bridge-0.4.16-r3.ebuild         |  3 ++-
 2 files changed, 17 insertions(+), 1 deletion(-)