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

Bug 744949

Summary: gui-apps/grim-1.3.1 : ../.../cairo_jpg.c: error: JCS_EXT_BGRA undeclared (first use in this function)
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Aaron Bauman (RETIRED) <bman>
Status: RESOLVED OBSOLETE    
Severity: normal CC: sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
gui-apps:grim-1.3.1:20200927-144248.log
logs.tbz2
temp.tbz2

Description Toralf Förster gentoo-dev 2020-09-27 14:45:33 UTC
x86_64-pc-linux-gnu-gcc -Igrim.p -I. -I../grim-1.3.1 -I../grim-1.3.1/include -I/usr/include/cairo -I/usr/lib64/libffi/include -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=c11 -Wno-unused-parameter -DHAVE_JPEG -O2 -march=native -fno-diagnostics-color -falign-functions=32:25:16 -Wformat -Werror=format-security -MD -MQ grim.p/cairo_jpg.c.o -MF grim.p/cairo_jpg.c.o.d -o grim.p/cairo_jpg.c.o -c ../grim-1.3.1/cairo_jpg.c
../grim-1.3.1/cairo_jpg.c: In function ‘cairo_surface_write_to_jpeg_mem’:
../grim-1.3.1/cairo_jpg.c:56:26: error: ‘JCS_EXT_BGRA’ undeclared (first use in this function)
   56 |   cinfo.in_color_space = JCS_EXT_BGRA;
      |                          ^~~~~~~~~~~~
../grim-1.3.1/cairo_jpg.c:56:26: 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.1_desktop_gnome-libressl-20200917-221845

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.46.0
  [2]   rust-1.46.0 *
The following VMs are available for generation-2:
1)	JamVM JDK 2.0.0 [jamvm]
2)	OpenJDK 8.265_p01 [openjdk-8]
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   jamvm 
  [2]   openjdk-8 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Sun Sep 27 02:05:36 PM UTC 2020
/var/db/repos/libressl	Mon Sep 21 04:07:08 PM UTC 2020

emerge -qpvO gui-apps/grim
[ebuild  N    ] gui-apps/grim-1.3.1  USE="jpeg man"
Comment 1 Toralf Förster gentoo-dev 2020-09-27 14:45:34 UTC
Created attachment 662650 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-09-27 14:45:37 UTC
Created attachment 662653 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-09-27 14:45:39 UTC
Created attachment 662656 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-09-27 14:45:40 UTC
Created attachment 662659 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-09-27 14:45:42 UTC
Created attachment 662662 [details]
gui-apps:grim-1.3.1:20200927-144248.log
Comment 6 Toralf Förster gentoo-dev 2020-09-27 14:45:43 UTC
Created attachment 662665 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-09-27 14:45:44 UTC
Created attachment 662668 [details]
temp.tbz2
Comment 8 Aaron Bauman (RETIRED) gentoo-dev 2021-02-07 02:39:14 UTC
This was caused by one of the JPEG libraries and not grim itself. media-libs/jpeg-9d is now gone as well.