Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898032 - x11-misc/synergy-1.14.1.32 - /.../Log.cpp: error: SIZE_MAX was not declared in this scope
Summary: x11-misc/synergy-1.14.1.32 - /.../Log.cpp: error: SIZE_MAX was not declared i...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-27 07:42 UTC by Toralf Förster
Modified: 2023-04-18 07:02 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,18.29 KB, text/plain)
2023-02-27 07:42 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,125.00 KB, text/plain)
2023-02-27 07:42 UTC, Toralf Förster
Details
environment (environment,110.86 KB, text/plain)
2023-02-27 07:42 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,706 bytes, application/x-bzip)
2023-02-27 07:42 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,14.80 KB, application/x-bzip)
2023-02-27 07:42 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,6.81 KB, application/x-bzip)
2023-02-27 07:42 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.34 KB, application/x-bzip)
2023-02-27 07:42 UTC, Toralf Förster
Details
x11-misc:synergy-1.14.1.32:20230227-024129.log (x11-misc:synergy-1.14.1.32:20230227-024129.log,36.03 KB, text/plain)
2023-02-27 07:42 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 2023-02-27 07:42:47 UTC
too long lines were shrinked:

[18/251] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DNDEBUG -DSYNERGY_BUILD_DATE=\"20230227\" -DSYNERGY_REVISION=\"0badc0de\" -DSYNERGY_VERSION=\"1.14.1\" -DSYNERGY_VERSION_BUILD=1 -DSYNERGY_VERSION_STRING=\"1.14.1-stable.b1-0badc0de\" -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -I/var/tmp/portage/x1
[19/251] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DNDEBUG -DSYNERGY_BUILD_DATE=\"20230227\" -DSYNERGY_REVISION=\"0badc0de\" -DSYNERGY_VERSION=\"1.14.1\" -DSYNERGY_VERSION_BUILD=1 -DSYNERGY_VERSION_STRING=\"1.14.1-stable.b1-0badc0de\" -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -I/var/tmp/portage/x1
[20/251] /usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DNDEBUG -DSYNERGY_BUILD_DATE=\"20230227\" -DSYNERGY_REVISION=\"0badc0de\" -DSYNERGY_VERSION=\"1.14.1\" -DSYNERGY_VERSION_BUILD=1 -DSYNERGY_VERSION_STRING=\"1.14.1-stable.b1-0badc0de\" -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -I/var/tmp/portage/x1
FAILED: src/lib/base/CMakeFiles/base.dir/Log.cpp.o 
/usr/bin/x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -DNDEBUG -DSYNERGY_BUILD_DATE=\"20230227\" -DSYNERGY_REVISION=\"0badc0de\" -DSYNERGY_VERSION=\"1.14.1\" -DSYNERGY_VERSION_BUILD=1 -DSYNERGY_VERSION_STRING=\"1.14.1-stable.b1-0badc0de\" -DSYSAPI_UNIX=1 -DWINAPI_XWINDOWS=1 -I/var/tmp/portage/x11-misc/sy
/var/tmp/portage/x11-misc/synergy-1.14.1.32/work/synergy-core-1.14.1.32-stable/src/lib/base/Log.cpp: In member function void Log::print(const char*, int, const char*, ...):
/var/tmp/portage/x11-misc/synergy-1.14.1.32/work/synergy-core-1.14.1.32-stable/src/lib/base/Log.cpp:128:23: error: SIZE_MAX was not declared in this scope
  128 |     if ((strnlen(fmt, SIZE_MAX) > 2) && (fmt[0] == '%' && fmt[1] == 'z')) {
      |                       ^~~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd_merged_usr-j5-20230225-213810

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 15.0.7
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.7
Python 3.10.10
Available Ruby profiles:
  [1]   ruby27 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.67.1
  [2]   rust-1.67.1 *
The following VMs are available for generation-2:
*)	Eclipse Temurin JDK 17.0.6_p10 [openjdk-bin-17]
2)	Eclipse Temurin JDK 8.362_p09 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.0.2
php cli (if any):

  HEAD of ::gentoo
commit 82d2234cf102735d40d89536a04838792f380780
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Mon Feb 27 01:02:05 2023 +0000

    2023-02-27 01:02:04 UTC

emerge -qpvO x11-misc/synergy
[ebuild  N    ] x11-misc/synergy-1.14.1.32  USE="gui -test"
Comment 1 Toralf Förster gentoo-dev 2023-02-27 07:42:48 UTC
Created attachment 854882 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-02-27 07:42:49 UTC
Created attachment 854884 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-02-27 07:42:51 UTC
Created attachment 854886 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-02-27 07:42:52 UTC
Created attachment 854888 [details]
etc.clang.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2023-02-27 07:42:53 UTC
Created attachment 854890 [details]
etc.portage.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2023-02-27 07:42:54 UTC
Created attachment 854892 [details]
logs.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2023-02-27 07:42:55 UTC
Created attachment 854894 [details]
temp.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2023-02-27 07:42:57 UTC
Created attachment 854896 [details]
x11-misc:synergy-1.14.1.32:20230227-024129.log
Comment 9 Larry the Git Cow gentoo-dev 2023-04-18 07:02:42 UTC
The bug has been closed via the following commit(s):

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

commit 69de49ef72759bc2f6d87474bf41437b8ec5e5cd
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-04-18 06:57:18 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-04-18 06:57:18 +0000

    x11-misc/synergy: fix build w/ gcc 13
    
    Closes: https://bugs.gentoo.org/898032
    Signed-off-by: Sam James <sam@gentoo.org>

 .../synergy/files/synergy-1.14.1.32-gcc13.patch    | 57 ++++++++++++++++++++++
 x11-misc/synergy/synergy-1.14.1.32.ebuild          |  6 ++-
 2 files changed, 62 insertions(+), 1 deletion(-)