Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 955090 - media-gfx/fbida-2.14-r6 [gcc-15] - In function 'compress_thumbnail': genthumbnail.c:128:19: error: too many arguments to function 'jpeg_std_error'; expected 0, have 1
Summary: media-gfx/fbida-2.14-r6 [gcc-15] - In function 'compress_thumbnail': genthumb...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Proxy Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gcc-15
  Show dependency tree
 
Reported: 2025-04-29 20:01 UTC by ernsteiswuerfel
Modified: 2025-04-29 20:02 UTC (History)
1 user (show)

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


Attachments
build.log (fbida-2.14-r6:20250429-194650.log,7.59 KB, text/plain)
2025-04-29 20:01 UTC, ernsteiswuerfel
Details
emerge --info (file_955090.txt,6.58 KB, text/plain)
2025-04-29 20:02 UTC, ernsteiswuerfel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ernsteiswuerfel archtester 2025-04-29 20:01:50 UTC
Created attachment 927098 [details]
build.log

[...]
powerpc64-unknown-linux-gnu-gcc -Os -mcpu=power9 -mtune=power9 -pipe -Wall -Wmissing-prototypes -Wstrict-prototypes -Wpointer-arith -Wunused -DVERSION="2.14" -I. -Wno-pointer-sign -Ijpeg/62 -DHAVE_LIBGIF -I/usr/include/pixman-1 -Wp,-MD,m
k/genthumbnail.tmp -c -o genthumbnail.o genthumbnail.c
genthumbnail.c: In function 'compress_thumbnail':
genthumbnail.c:128:19: error: too many arguments to function 'jpeg_std_error'; expected 0, have 1
  128 |     thc.dst.err = jpeg_std_error(&thc.err);
      |                   ^~~~~~~~~~~~~~ ~~~~~~~~
In file included from genthumbnail.c:8:
jpeg/62/jpeglib.h:884:33: note: declared here
  884 | EXTERN(struct jpeg_error_mgr *) jpeg_std_error
      |                                 ^~~~~~~~~~~~~~
jpeg/62/jpeglib.h:895:5: error: too many arguments to function 'jpeg_CreateCompress'; expected 0, have 3
  895 |     jpeg_CreateCompress((cinfo), JPEG_LIB_VERSION, \
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~
genthumbnail.c:129:5: note: in expansion of macro 'jpeg_create_compress'
  129 |     jpeg_create_compress(&thc.dst);
      |     ^~~~~~~~~~~~~~~~~~~~
jpeg/62/jpeglib.h:900:14: note: declared here
  900 | EXTERN(void) jpeg_CreateCompress JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
genthumbnail.c:138:5: error: too many arguments to function 'jpeg_set_defaults'; expected 0, have 1
  138 |     jpeg_set_defaults(&thc.dst);
      |     ^~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/62/jpeglib.h:914:14: note: declared here
  914 | EXTERN(void) jpeg_set_defaults JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~
genthumbnail.c:139:5: error: too many arguments to function 'jpeg_start_compress'; expected 0, have 2
  139 |     jpeg_start_compress(&thc.dst, TRUE);
      |     ^~~~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/62/jpeglib.h:936:14: note: declared here
  936 | EXTERN(void) jpeg_start_compress JPP((j_compress_ptr cinfo,
      |              ^~~~~~~~~~~~~~~~~~~
genthumbnail.c:142:9: error: too many arguments to function 'jpeg_write_scanlines'; expected 0, have 3
  142 |         jpeg_write_scanlines(&thc.dst, (void*)ida_image_scanline(img, i), 1);
      |         ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~
jpeg/62/jpeglib.h:938:20: note: declared here
  938 | EXTERN(JDIMENSION) jpeg_write_scanlines JPP((j_compress_ptr cinfo,
      |                    ^~~~~~~~~~~~~~~~~~~~
genthumbnail.c:144:5: error: too many arguments to function 'jpeg_finish_compress'; expected 0, have 1
  144 |     jpeg_finish_compress(&(thc.dst));
      |     ^~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
jpeg/62/jpeglib.h:941:14: note: declared here
  941 | EXTERN(void) jpeg_finish_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~
genthumbnail.c:145:5: error: too many arguments to function 'jpeg_destroy_compress'; expected 0, have 1
  145 |     jpeg_destroy_compress(&(thc.dst));
      |     ^~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~
jpeg/62/jpeglib.h:905:14: note: declared here
  905 | EXTERN(void) jpeg_destroy_compress JPP((j_compress_ptr cinfo));
      |              ^~~~~~~~~~~~~~~~~~~~~
make: *** [mk/Compile.mk:60: genthumbnail.o] Error 1
 * ERROR: media-gfx/fbida-2.14-r6::gentoo failed (compile phase):
 *   emake failed


Builds fine with gcc-14.
Comment 1 ernsteiswuerfel archtester 2025-04-29 20:02:30 UTC
Created attachment 927099 [details]
emerge --info