Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 937853 - x11-libs/agg-2.5-r3 - [icu-75.1] agg_font_freetype.cpp: error: invalid conversion from unsigned char to char [-fpermissive]
Summary: x11-libs/agg-2.5-r3 - [icu-75.1] agg_font_freetype.cpp: error: invalid conver...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Chí-Thanh Christopher Nguyễn
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-08-13 08:15 UTC by Toralf Förster
Modified: 2024-11-13 11:08 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,18.49 KB, text/plain)
2024-08-13 08:15 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,220.81 KB, text/plain)
2024-08-13 08:15 UTC, Toralf Förster
Details
environment (environment,78.20 KB, text/plain)
2024-08-13 08:15 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2024-08-13 08:15 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,42.17 KB, application/x-xz)
2024-08-13 08:15 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.95 KB, application/x-xz)
2024-08-13 08:15 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,57.10 KB, application/x-xz)
2024-08-13 08:15 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,21.11 KB, application/x-xz)
2024-08-13 08:15 UTC, Toralf Förster
Details
x11-libs:agg-2.5-r3:20240813-071946.log (x11-libs:agg-2.5-r3:20240813-071946.log,76.36 KB, text/plain)
2024-08-13 08: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 2024-08-13 08:15:21 UTC
  976 |                                                 m_flip_y,
      |                                                 ~~~~~~~~~
  977 |                                                 m_affine,
      |                                                 ~~~~~~~~~
  978 |                                                 m_path32))
      |                                                 ~~~~~~~~~
agg_font_freetype.cpp:189:35: error: invalid conversion from 'unsigned char*' to 'char*' [-fpermissive]
  189 |             tags  = outline.tags  + first;
      |                     ~~~~~~~~~~~~~~^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 23.0_no_multilib_hardened-20240810-085003

  UNMASKED:
    Requested by sam
  ~dev-libs/icu-75.1
  ~dev-libs/icu-layoutex-75.1

  The attached etc.portage.tar.xz has all details.
  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 18.1.8
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/18/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/18
18.1.8
Python 3.12.5
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.79.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 17.0.12_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.4_p7 [openjdk-bin-21]
3)	Eclipse Temurin JDK 8.422_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-17 
  [3]   openjdk-bin-21  system-vm

The Glorious Glasgow Haskell Compilation System, version 9.2.8
php cli (if any):
go version go1.22.6 linux/amd64

  HEAD of ::gentoo
commit 4b306d589ba6e2286f121f1d24234676eac3e8c9
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Tue Aug 13 06:04:36 2024 +0000

    2024-08-13 06:04:35 UTC

emerge -qpvO =x11-libs/agg-2.5-r3
[ebuild  N    ] x11-libs/agg-2.5-r3  USE="X gpc truetype -sdl -static-libs"
Comment 1 Toralf Förster gentoo-dev 2024-08-13 08:15:22 UTC
Created attachment 900029 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2024-08-13 08:15:24 UTC
Created attachment 900030 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2024-08-13 08:15:25 UTC
Created attachment 900031 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2024-08-13 08:15:26 UTC
Created attachment 900032 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2024-08-13 08:15:27 UTC
Created attachment 900033 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2024-08-13 08:15:28 UTC
Created attachment 900034 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2024-08-13 08:15:29 UTC
Created attachment 900035 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2024-08-13 08:15:29 UTC
Created attachment 900036 [details]
temp.tar.xz
Comment 9 Toralf Förster gentoo-dev 2024-08-13 08:15:31 UTC
Created attachment 900037 [details]
x11-libs:agg-2.5-r3:20240813-071946.log
Comment 10 Larry the Git Cow gentoo-dev 2024-11-13 11:08:00 UTC
The bug has been closed via the following commit(s):

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

commit ec1eebeb26c801965e3ca5d5d3b1b3757ed9b4be
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2024-11-13 11:07:42 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2024-11-13 11:07:42 +0000

    x11-libs/agg: fix ICU compilation bug
    
    Closes: https://bugs.gentoo.org/894708
    Closes: https://bugs.gentoo.org/937853
    Signed-off-by: David Seifert <soap@gentoo.org>

 x11-libs/agg/agg-2.5-r3.ebuild                    |  4 +-
 x11-libs/agg/files/agg-2.5-char-ptr-cast.patch    | 13 +++++
 x11-libs/agg/files/agg-2.5-register-keyword.patch | 70 +++++++++++++++++++++++
 3 files changed, 86 insertions(+), 1 deletion(-)