Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 918954 - media-libs/vips-8.15.0[-jpeg] - ../.../vips2jpeg.c: error: conflicting types for vips_jpeg_region_write_target; have int(VipsRegion , VipsRect , VipsTarget ,
Summary: media-libs/vips-8.15.0[-jpeg] - ../.../vips2jpeg.c: error: conflicting types ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-01 14:27 UTC by Toralf Förster
Modified: 2023-12-01 16:48 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.11 KB, text/plain)
2023-12-01 14:27 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,254.63 KB, text/plain)
2023-12-01 14:27 UTC, Toralf Förster
Details
environment (environment,127.99 KB, text/plain)
2023-12-01 14:27 UTC, Toralf Förster
Details
etc.clang.tar.xz (etc.clang.tar.xz,1.13 KB, application/x-xz)
2023-12-01 14:27 UTC, Toralf Förster
Details
etc.portage.tar.xz (etc.portage.tar.xz,20.31 KB, application/x-xz)
2023-12-01 14:27 UTC, Toralf Förster
Details
logs.tar.xz (logs.tar.xz,10.31 KB, application/x-xz)
2023-12-01 14:27 UTC, Toralf Förster
Details
media-libs:vips-8.15.0:20231201-121748.log (media-libs:vips-8.15.0:20231201-121748.log,70.67 KB, text/plain)
2023-12-01 14:27 UTC, Toralf Förster
Details
qlist-info.txt.xz (qlist-info.txt.xz,64.92 KB, application/x-xz)
2023-12-01 14:27 UTC, Toralf Förster
Details
temp.tar.xz (temp.tar.xz,32.71 KB, application/x-xz)
2023-12-01 14:27 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-01 14:27:12 UTC
too long lines were shrinked:

[52/394] x86_64-pc-linux-gnu-gcc -Ilibvips/foreign/libforeign.a.p -Ilibvips/foreign -I../vips-8.15.0/libvips/foreign -I. -I../vips-8.15.0 -Ilibvips/include -I../vips-8.15.0/libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr
[53/394] x86_64-pc-linux-gnu-gcc -Ilibvips/foreign/libforeign.a.p -Ilibvips/foreign -I../vips-8.15.0/libvips/foreign -I. -I../vips-8.15.0 -Ilibvips/include -I../vips-8.15.0/libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr
[54/394] x86_64-pc-linux-gnu-gcc -Ilibvips/foreign/libforeign.a.p -Ilibvips/foreign -I../vips-8.15.0/libvips/foreign -I. -I../vips-8.15.0 -Ilibvips/include -I../vips-8.15.0/libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr
[55/394] x86_64-pc-linux-gnu-gcc -Ilibvips/foreign/libforeign.a.p -Ilibvips/foreign -I../vips-8.15.0/libvips/foreign -I. -I../vips-8.15.0 -Ilibvips/include -I../vips-8.15.0/libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr
FAILED: libvips/foreign/libforeign.a.p/vips2jpeg.c.o 
x86_64-pc-linux-gnu-gcc -Ilibvips/foreign/libforeign.a.p -Ilibvips/foreign -I../vips-8.15.0/libvips/foreign -I. -I../vips-8.15.0 -Ilibvips/include -I../vips-8.15.0/libvips/include -Ilibvips/include/vips -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/lib64/libffi/include -I/usr/include/
../vips-8.15.0/libvips/foreign/vips2jpeg.c:1034:1: error: conflicting types for vips__jpeg_region_write_target; have int(VipsRegion *, VipsRect *, VipsTarget *, int,  const char *, gboolean,  gboolean,  gboolean,  gboolean,  gboolean,  gboolean,  int,  VipsForeignSubsample,  int) {aka int(struct _Vi
 1034 | vips__jpeg_region_write_target(VipsRegion *region, VipsRect *rect,
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10
 [2] x86_64-pc-linux-gnu-13 *
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.6
Available Ruby profiles:
  [1]   ruby31 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.73.0 *
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):
  [1]   php8.1
  [2]   php8.2 *
go version go1.21.4 linux/amd64

  HEAD of ::gentoo
commit a77c7f39aeb34472c8ae41e6a58c048c35ed9b43
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Dec 1 12:01:59 2023 +0000

    2023-12-01 12:01:59 UTC

emerge -qpvO media-libs/vips
[ebuild  N    ] media-libs/vips-8.15.0  USE="exif fontconfig heif highway introspection jpegxl orc pango pdf png svg tiff webp -archive -deprecated -doc -fftw -fits -graphicsmagick -gtk-doc -imagemagick -imagequant -jpeg -jpeg2k -lcms -matio -openexr -python -test -vala" PYTHON_SINGLE_TARGET="python3_11 -python3_10 -python3_12"
Comment 1 Toralf Förster gentoo-dev 2023-12-01 14:27:13 UTC
Created attachment 876167 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2023-12-01 14:27:14 UTC
Created attachment 876168 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2023-12-01 14:27:16 UTC
Created attachment 876169 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2023-12-01 14:27:17 UTC
Created attachment 876170 [details]
etc.clang.tar.xz
Comment 5 Toralf Förster gentoo-dev 2023-12-01 14:27:17 UTC
Created attachment 876171 [details]
etc.portage.tar.xz
Comment 6 Toralf Förster gentoo-dev 2023-12-01 14:27:18 UTC
Created attachment 876172 [details]
logs.tar.xz
Comment 7 Toralf Förster gentoo-dev 2023-12-01 14:27:20 UTC
Created attachment 876173 [details]
media-libs:vips-8.15.0:20231201-121748.log
Comment 8 Toralf Förster gentoo-dev 2023-12-01 14:27:21 UTC
Created attachment 876174 [details]
qlist-info.txt.xz
Comment 9 Toralf Förster gentoo-dev 2023-12-01 14:27:22 UTC
Created attachment 876175 [details]
temp.tar.xz
Comment 10 Ionen Wolkens gentoo-dev 2023-12-01 16:22:05 UTC
Looks like a forgotten incorrect stub given nobody normally disables jpeg.
Comment 11 Larry the Git Cow gentoo-dev 2023-12-01 16:48:52 UTC
The bug has been closed via the following commit(s):

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

commit 99a1d81656e1272b443063867b09683b5d1162bd
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2023-12-01 16:47:31 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2023-12-01 16:47:43 +0000

    media-libs/vips: fix build with USE=-jpeg
    
    Closes: https://bugs.gentoo.org/918954
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-libs/vips/files/vips-8.15.0-disabled-jpeg.patch | 18 ++++++++++++++++++
 media-libs/vips/vips-8.15.0.ebuild                    |  4 ++++
 2 files changed, 22 insertions(+)