Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 713220

Summary: media-gfx/dcraw-9.28.0-r2 : dcraw.c: error: LC_CTYPE undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo musl team <musl>
Status: RESOLVED FIXED    
Severity: normal CC: graphics+disabled
Priority: Normal Keywords: PullRequest
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://github.com/gentoo/gentoo/pull/32990
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
media-gfx:dcraw-9.28.0-r1:20200318-141024.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-03-18 15:01:09 UTC
10101 |   setlocale (LC_CTYPE, );
      |   ^~~~~~~~~
dcraw.c:10101:14: error: LC_CTYPE undeclared (first use in this function)
10101 |   setlocale (LC_CTYPE, );
      |              ^~~~~~~~
dcraw.c:10101:14: note: each undeclared identifier is reported only once for each function it appears in

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0_musl-20200316-165821

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

gcc-config -l:
 [1] x86_64-gentoo-linux-musl-9.3.0 *
clang version 10.0.0 
Target: x86_64-gentoo-linux-musl
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.0
Available Python interpreters, in order of preference:
  [1]   python3.8
  [2]   python3.7
  [3]   python3.6
  [4]   python2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.41.1 *

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Wed, 18 Mar 2020 13:38:27 +0000
emerge -qpvO media-gfx/dcraw
[ebuild  N    ] media-gfx/dcraw-9.28.0-r1  USE="nls -gimp -jpeg -lcms"
Comment 1 Toralf Förster gentoo-dev 2020-03-18 15:01:11 UTC
Created attachment 621710 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-03-18 15:01:14 UTC
Created attachment 621712 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-03-18 15:01:17 UTC
Created attachment 621714 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-03-18 15:01:20 UTC
Created attachment 621716 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-03-18 15:01:22 UTC
Created attachment 621718 [details]
media-gfx:dcraw-9.28.0-r1:20200318-141024.log
Comment 6 Toralf Förster gentoo-dev 2020-03-18 15:01:25 UTC
Created attachment 621720 [details]
temp.tbz2
Comment 7 Agostino Sarubbo gentoo-dev 2022-01-25 09:34:14 UTC
tinderbox_musl has reproduced this issue with version 9.28.0-r2 - Updating summary.
Comment 8 Larry the Git Cow gentoo-dev 2023-10-31 19:35:01 UTC
The bug has been closed via the following commit(s):

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

commit 6172f7056a106ec032d333e1c0b3eb64af5813a2
Author:     Pascal Jäger <pascal.jaeger@leimstift.de>
AuthorDate: 2023-09-22 11:26:39 +0000
Commit:     Andreas K. Hüttel <dilfridge@gentoo.org>
CommitDate: 2023-10-31 19:27:34 +0000

    media-gfx/dcraw: revbump, fix bugs
    
    Closes: https://bugs.gentoo.org/713220
    Closes: https://bugs.gentoo.org/896204
    Closes: https://bugs.gentoo.org/911753
    Signed-off-by: Pascal Jäger <pascal.jaeger@leimstift.de>
    Closes: https://github.com/gentoo/gentoo/pull/32990
    Signed-off-by: Andreas K. Hüttel <dilfridge@gentoo.org>

 media-gfx/dcraw/dcraw-9.28.0-r3.ebuild             | 130 +++++++++++++++++++++
 .../dcraw-9.28.0-fix-LC_CTYPE-undeclared.patch     |  17 +++
 ...dcraw-9.28.0-fix-memmem-wrong-return-type.patch |  17 +++
 3 files changed, 164 insertions(+)