Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 919483 - sys-fs/hfsplusutils-1.0.4-r3 - copyout.c: error: passing argument 2 of cs_latin1 from incompatible pointer type [-Wincompatible-pointer-types]
Summary: sys-fs/hfsplusutils-1.0.4-r3 - copyout.c: error: passing argument 2 of cs_lat...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: David Seifert
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: c99-porting
  Show dependency tree
 
Reported: 2023-12-08 19:49 UTC by Toralf Förster
Modified: 2024-01-22 16:42 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,21.72 KB, text/plain)
2023-12-08 19:49 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,110.29 KB, application/x-xz)
2023-12-08 19:49 UTC, Toralf Förster
Details
environment (environment,94.64 KB, text/plain)
2023-12-08 19:49 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.14 KB, application/x-xz)
2023-12-08 19:49 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,32.75 KB, application/x-xz)
2023-12-08 19:49 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,7.08 KB, application/x-xz)
2023-12-08 19:49 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,115.53 KB, application/x-xz)
2023-12-08 19:49 UTC, Toralf Förster
Details
sys-fs:hfsplusutils-1.0.4-r3:20231208-190839.log (sys-fs:hfsplusutils-1.0.4-r3:20231208-190839.log,21.67 KB, text/plain)
2023-12-08 19:49 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,27.66 KB, application/x-xz)
2023-12-08 19:49 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-12-08 19:49:12 UTC
too long lines were shrinked:

x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src    -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -c -o darray.o darray.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src    -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -c -o hpcd.o hpcd.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src    -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -c -o hpcopy.o hpcopy.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src    -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -c -o charset.o charset.c
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. -I../libhfsp/src    -O3 -pipe -march=native -fno-diagnostics-color -fno-strict-aliasing -c -o copyout.o copyout.c
copyout.c: In function do_text:
copyout.c:377:39: error: passing argument 2 of cs_latin1 from incompatible pointer type [-Wincompatible-pointer-types]
  377 |         latin1 = ptr = cs_latin1(buf, &size);
      |                                       ^~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-20231123-170505

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-14 *
clang/llvm (if any):
clang version 17.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/17/bin
Configuration file: /etc/clang/x86_64-pc-linux-gnu-clang.cfg
/usr/lib/llvm/17
17.0.6
Python 3.11.7
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.74.1
  [2]   rust-1.74.1 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.20.1_p1 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.8.1_p1 [openjdk-bin-17]
*)	Eclipse Temurin JDK 21.0.1_p12 [openjdk-bin-21]
4)	Eclipse Temurin JDK 8.382_p05 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 
  [4]   openjdk-bin-21  system-vm

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

  HEAD of ::gentoo
commit 2b027fdcb55a261bf80cec06a97401ef00ec3a49
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 8 18:02:05 2023 +0000

    2023-12-08 18:02:05 UTC

emerge -qpvO sys-fs/hfsplusutils
[ebuild  N    ] sys-fs/hfsplusutils-1.0.4-r3
Comment 1 Toralf Förster gentoo-dev 2023-12-08 19:49:13 UTC
Created attachment 878417 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-08 19:49:15 UTC
Created attachment 878418 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-12-08 19:49:16 UTC
Created attachment 878419 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-08 19:49:17 UTC
Created attachment 878420 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-08 19:49:18 UTC
Created attachment 878421 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-08 19:49:19 UTC
Created attachment 878422 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-08 19:49:20 UTC
Created attachment 878423 [details]
qlist-info.txt.xz
Comment 8 Toralf Förster gentoo-dev 2023-12-08 19:49:21 UTC
Created attachment 878424 [details]
sys-fs:hfsplusutils-1.0.4-r3:20231208-190839.log
Comment 9 Toralf Förster gentoo-dev 2023-12-08 19:49:22 UTC
Created attachment 878425 [details]
temp.tar.xz
Comment 10 Larry the Git Cow gentoo-dev 2024-01-22 16:42:03 UTC
The bug has been closed via the following commit(s):

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

commit 1f1a6e3f717b0518889a6f508455389b19860e48
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2024-01-22 16:41:56 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2024-01-22 16:41:56 +0000

    sys-fs/hfsplusutils: Fix `-Wincompatible-pointer-types`
    
    Closes: https://bugs.gentoo.org/919483
    Signed-off-by: David Seifert <soap@gentoo.org>

 ...usutils-1.0.4-Wincompatible-pointer-types.patch | 32 ++++++++++++++++++++++
 sys-fs/hfsplusutils/hfsplusutils-1.0.4-r3.ebuild   |  3 +-
 2 files changed, 34 insertions(+), 1 deletion(-)