Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 909834 - media-gfx/graphicsmagick-1.3.40 - coders/jpeg.c: error: struct jpeg_decompress_struct has no member named process
Summary: media-gfx/graphicsmagick-1.3.40 - coders/jpeg.c: error: struct jpeg_decompres...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sam James
URL:
Whiteboard:
Keywords: PATCH
: 911283 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-07-07 14:58 UTC by Toralf Förster
Modified: 2023-07-28 13:42 UTC (History)
4 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,19.09 KB, text/plain)
2023-07-07 14:58 UTC, Toralf Förster
Details
emerge-history.txt.xz (emerge-history.txt.xz,60.75 KB, application/x-xz)
2023-07-07 14:58 UTC, Toralf Förster
Details
environment (environment,85.15 KB, text/plain)
2023-07-07 14:58 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,788 bytes, application/x-xz)
2023-07-07 14:59 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,26.17 KB, application/x-xz)
2023-07-07 14:59 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,22.04 KB, application/x-xz)
2023-07-07 14:59 UTC, Toralf Förster
Details
media-gfx:graphicsmagick-1.3.40:20230707-144533.log (media-gfx:graphicsmagick-1.3.40:20230707-144533.log,105.89 KB, text/plain)
2023-07-07 14:59 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,31.65 KB, application/x-xz)
2023-07-07 14:59 UTC, Toralf Förster
Details
Patch to fix the issue (jpeg.patch,2.70 KB, patch)
2023-07-12 17:43 UTC, Jerzy Kołosowski
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2023-07-07 14:58:56 UTC
too long lines were shrinked:

libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include/freetype2 -I/usr/include/libxml2 -fopenmp -O2 -pipe -march=native -fno-diagnostics-color -Wall -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -c coders/jpeg.c  -fPIC -DPIC -o coders/.lib
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H   -I. -I.  -I/usr/include/freetype2 -I/usr/include/libxml2  -fopenmp -O2 -pipe -march=native -fno-diagnostics-color -Wall -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -c -o coders/m
/bin/sh ./libtool  --tag=CC   --mode=compile x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H   -I. -I.  -I/usr/include/freetype2 -I/usr/include/libxml2  -fopenmp -O2 -pipe -march=native -fno-diagnostics-color -Wall -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -c -o coders/m
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include/freetype2 -I/usr/include/libxml2 -fopenmp -O2 -pipe -march=native -fno-diagnostics-color -Wall -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -c coders/label.c  -fPIC -DPIC -o coders/.li
libtool: compile:  x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I/usr/include/freetype2 -I/usr/include/libxml2 -fopenmp -O2 -pipe -march=native -fno-diagnostics-color -Wall -fno-builtin-malloc -fno-builtin-calloc -fno-builtin-realloc -fno-builtin-free -c coders/locale.c  -fPIC -DPIC -o coders/.l
coders/jpeg.c: In function 'ReadJPEGImage':
coders/jpeg.c:1466:15: error: 'struct jpeg_decompress_struct' has no member named 'process'; did you mean 'progress'?
 1466 |     jpeg_info.process == JPROC_PROGRESSIVE ? LineInterlace : NoInterlace;
      |               ^~~~~~~

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop-20230703-155654

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
clang/llvm (if any):
clang version 16.0.6
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/16/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/16
16.0.6
Python 3.11.4
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.69.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.19_p7 [openjdk-bin-11]
2)	Eclipse Temurin JDK 17.0.7_p7 [openjdk-bin-17]
*)	Eclipse Temurin JDK 8.372_p07 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8  system-vm
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17 

php cli (if any):
go version go1.20.5 linux/amd64

  HEAD of ::gentoo
commit 7e80c2e4ee8432606ac8d0aa0abe8f25a3972064
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Jul 7 13:31:52 2023 +0000

    2023-07-07 13:31:52 UTC

emerge -qpvO media-gfx/graphicsmagick
[ebuild  N    ] media-gfx/graphicsmagick-1.3.40  USE="X bzip2 cxx imagemagick jpeg openmp perl png svg tcmalloc tiff truetype wmf zlib -debug -dynamic-loading -fpx -heif -jbig -jpegxl -lcms -lzma -postscript -q16 -q32 -static-libs -verify-sig -webp -zstd"
Comment 1 Toralf Förster gentoo-dev 2023-07-07 14:58:57 UTC
Created attachment 865237 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-07-07 14:58:58 UTC
Created attachment 865238 [details]
emerge-history.txt.xz
Comment 3 Toralf Förster gentoo-dev 2023-07-07 14:58:59 UTC
Created attachment 865239 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-07-07 14:59:00 UTC
Created attachment 865240 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-07-07 14:59:01 UTC
Created attachment 865241 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-07-07 14:59:02 UTC
Created attachment 865242 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-07-07 14:59:03 UTC
Created attachment 865243 [details]
media-gfx:graphicsmagick-1.3.40:20230707-144533.log
Comment 8 Toralf Förster gentoo-dev 2023-07-07 14:59:04 UTC
Created attachment 865244 [details]
temp.tar.xz
Comment 9 Jerzy Kołosowski 2023-07-12 17:43:57 UTC
Created attachment 865437 [details, diff]
Patch to fix the issue

I have extracted the changes from the default branch that fix the issue
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-27 07:22:28 UTC
*** Bug 911283 has been marked as a duplicate of this bug. ***
Comment 11 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-27 07:22:44 UTC
(In reply to Jerzy Kołosowski from comment #9)
> Created attachment 865437 [details, diff] [details, diff]
> Patch to fix the issue
> 
> I have extracted the changes from the default branch that fix the issue

Thanks. Could you link to the upstream commit?
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-07-27 07:24:49 UTC
(In reply to Sam James from comment #11)
> (In reply to Jerzy Kołosowski from comment #9)
> > Created attachment 865437 [details, diff] [details, diff] [details, diff]
> > Patch to fix the issue
> > 
> > I have extracted the changes from the default branch that fix the issue
> 
> Thanks. Could you link to the upstream commit?

Ah, I imagine it's:
* https://hg.osdn.net/view/graphicsmagick/GM/rev/f07f6a9c3a58
* https://hg.osdn.net/view/graphicsmagick/GM/rev/166bc6d3500d
* https://hg.osdn.net/view/graphicsmagick/GM/rev/03561d79e918
Comment 13 Larry the Git Cow gentoo-dev 2023-07-28 13:42:25 UTC
The bug has been closed via the following commit(s):

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

commit e902da31307d79b5eb107b36c5192472af74cf92
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2023-07-28 13:30:48 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-07-28 13:30:59 +0000

    media-gfx/graphicsmagick: fix build w/ libjpeg-turbo-3
    
    Closes: https://bugs.gentoo.org/909834
    Signed-off-by: Sam James <sam@gentoo.org>

 ...graphicsmagick-1.3.40-libjpeg-turbo-3-001.patch |  69 +++++++++
 ...graphicsmagick-1.3.40-libjpeg-turbo-3-002.patch |  48 ++++++
 ...graphicsmagick-1.3.40-libjpeg-turbo-3-003.patch |  31 ++++
 .../graphicsmagick/graphicsmagick-1.3.40-r1.ebuild | 163 +++++++++++++++++++++
 4 files changed, 311 insertions(+)