jagdpanther l33t
Joined: 22 Nov 2003 Posts: 759
|
Posted: Sat Nov 23, 2024 8:51 pm Post subject: xloadimage-4.1-r16 emerge fails - bad pointer type |
|
|
I was running ' emerge --update --deep --changed-use @world' and received errors in media-gfx/xloadimage: incompatible pointer type.
I ran emerge again adding '--exclude xloadimage'. After the other updates finished, I tried again and still receive the incompatible pointer type message.
Code: | x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" smooth.c
cmuwmraster.c: In function ‘cmuwmLoad’:
cmuwmraster.c:106:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
106 | (int) header.depth);
| ^
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" sunraster.c
pdsuncomp.c: In function ‘pdsRead’:
pdsuncomp.c:434:44: error: passing argument 3 of ‘decompress’ from incompatible pointer type [-Wincompatible-pointer-types]
434 | out_length= decompress(ibuf, obuf, &in_length, &out_length);
| ^~~~~~~~~~
| |
| int *
pdsuncomp.c:309:15: note: expected ‘long int *’ but argument is of type ‘int *’
309 | long int *nin, /* I Number of bytes on input buffer */
| ~~~~~~~~~~^~~
pdsuncomp.c:434:56: error: passing argument 4 of ‘decompress’ from incompatible pointer type [-Wincompatible-pointer-types]
434 | out_length= decompress(ibuf, obuf, &in_length, &out_length);
| ^~~~~~~~~~~
| |
| int *
pdsuncomp.c:310:15: note: expected ‘long int *’ but argument is of type ‘int *’
310 | long int *nout /* I Number of bytes in output buffer */
| ~~~~~~~~~~^~~~
make: *** [Makefile:33: pdsuncomp.o] Error 1
make: *** Waiting for unfinished jobs....
* ERROR: media-gfx/xloadimage-4.1-r16::gentoo failed (compile phase):
* emake failed |
Any ideas?
Code: | $ emerge --info '=media-gfx/xloadimage-4.1-r16::gentoo'
Portage 3.0.66.1 (python 3.12.7-final-0, default/linux/amd64/23.0/split-usr, gcc-14, glibc-2.40-r5, 6.11.10-gentoo-1 x86_64)
=================================================================
System Settings
=================================================================
System uname: Linux-6.11.10-gentoo-1-x86_64-13th_Gen_Intel-R-_Core-TM-_i9-13900K-with-glibc2.40
KiB Mem: 98671360 total, 87809740 free
KiB Swap: 262143996 total, 262143996 free
Timestamp of repository steam-overlay: Sun, 17 Nov 2024 05:33:32 +0000
Head commit of repository steam-overlay: 443e064b607a92dbad15243732698edc0b411b43
Timestamp of repository gentoo: Sat, 23 Nov 2024 18:00:00 +0000
Head commit of repository gentoo: 1246927a365ecd46481524fce699c44d93cd558b
sh bash 5.2_p37
ld GNU ld (Gentoo 2.42 p6) 2.42.0
app-misc/pax-utils: 1.3.7::gentoo
app-shells/bash: 5.2_p37::gentoo
dev-build/autoconf: 2.13-r8::gentoo, 2.72-r1::gentoo
dev-build/automake: 1.16.5-r2::gentoo
dev-build/cmake: 3.30.5::gentoo
dev-build/libtool: 2.4.7-r4::gentoo
dev-build/make: 4.4.1-r100::gentoo
dev-build/meson: 1.5.2::gentoo
dev-java/java-config: 2.3.4::gentoo
dev-lang/perl: 5.40.0::gentoo
dev-lang/python: 2.7.18_p16-r2::gentoo, 3.11.10_p1::gentoo, 3.12.7_p1::gentoo, 3.13.0::gentoo
dev-lang/rust: 1.81.0-r100::gentoo
sys-apps/baselayout: 2.17::gentoo
sys-apps/openrc: 0.54.2::gentoo
sys-apps/sandbox: 2.39::gentoo
sys-devel/binutils: 2.42-r2::gentoo
sys-devel/binutils-config: 5.5.2::gentoo
sys-devel/clang: 18.1.8::gentoo
sys-devel/gcc: 13.3.1_p20241115::gentoo, 14.2.1_p20241116::gentoo
sys-devel/gcc-config: 2.11::gentoo
sys-devel/llvm: 18.1.8-r1::gentoo
sys-kernel/linux-headers: 6.6-r1::gentoo (virtual/os-headers)
sys-libs/glibc: 2.40-r5::gentoo
Repositories:
steam-overlay
location: /var/db/repos/steam-overlay
sync-type: git
sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
masters: gentoo
volatile: False
gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: 9999
volatile: True
sync-rsync-verify-max-age: 24
sync-rsync-verify-jobs: 1
sync-rsync-extra-opts:
sync-rsync-verify-metamanifest: no
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=raptorlake -O2 -fomit-frame-pointer -pipe -W -Wall"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-march=raptorlake -O2 -fomit-frame-pointer -pipe -W -Wall"
DISTDIR="/usr/portage/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg-live config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pid-sandbox pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/ https://mirror.csclub.uwaterloo.ca/gentoo-distfiles/ https://mirror.servaxnet.com/gentoo/ https://mirror.clarkson.edu/gentoo/ https://gentoo.osuosl.org/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,pack-relative-relocs"
LEX="flex"
MAKEOPTS="-j32"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/tmp"
SHELL="/bin/bash"
USE="X Xaw3d a52 aac acl acpi alsa amd64 audiofile bash-completion bcmath bzip2 cairo caps cdparanoia cdr cet clamav crypt ctype cups dbus dga directfb dri dts dv dvd dvdr elogind encode esd ffmpeg fftw flac foomaticdb gcj gd gdbm gif glut gphoto2 gpm gstreamer gtk iconv icu imagemagick imap imlib ipv6 jpeg jumbo-build kf6compat libglvnd libtirpc lm_sensors lzma lzo mad mariadb mikmod mjpeg mng mp3 mpeg mplayer multilib musepack nas ncurses nls nptl nvidia offensive ogg openal openexr opengl openmp orc pam pcre pdf perl pipewire plasma plotutils png policykit portaudio posix postscript ppds pulseaudio qt6 quicktime readline sasl sdl seccomp semantic-desktop slp sndfile sockets sox speex spell split-usr ssl svg syslog test-rust theora threads tiff truetype unicode usb vdpau vhosts vorbis win32codecs wmf x264 xattr xml xmp xpm xulrunner xvid xvmc zlib zstd" ABI_X86="64" ADA_TARGET="gcc_12" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 ssse3 vpclmulqdq" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax navcom oceanserver oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 tsip tripmate tnt ublox" GRUB_PLATFORMS="pc" GUILE_SINGLE_TARGET="3-0" GUILE_TARGETS="3-0" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-2" POSTGRES_TARGETS="postgres16" PYTHON_SINGLE_TARGET="python3_12" PYTHON_TARGETS="python3_12" RUBY_TARGETS="ruby32" SANE_BACKENDS="genesys" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset: ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EMERGE_DEFAULT_OPTS, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, LINGUAS, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS |
Code: | cat build.log
* Package: media-gfx/xloadimage-4.1-r16:0
* Repository: gentoo
* USE: abi_x86_64 amd64 elibc_glibc jpeg kernel_linux png tiff
* FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox
>>> Unpacking source...
>>> Unpacking xloadimage.4.1.tar.gz to /tmp/portage/media-gfx/xloadimage-4.1-r16/work
>>> Unpacking xloadimage-4.1-gentoo-r1.diff.bz2 to /tmp/portage/media-gfx/xloadimage-4.1-r16/work
>>> Unpacking xloadimage-4.1-fix-build-for-clang16.patch.xz to /tmp/portage/media-gfx/xloadimage-4.1-r16/work
>>> Source unpacked in /tmp/portage/media-gfx/xloadimage-4.1-r16/work
>>> Preparing source in /tmp/portage/media-gfx/xloadimage-4.1-r16/work/xloadimage.4.1 ...
* Applying xloadimage-4.1-gentoo-r1.diff ... [ ok ]
* Applying xloadimage-4.1-zio-shell-meta-char.diff ... [ ok ]
* Applying xloadimage-4.1-endif.patch ... [ ok ]
* Applying xloadimage-4.1-include-errno_h.patch ... [ ok ]
* Applying xloadimage-gentoo.patch ... [ ok ]
* Applying xloadimage-4.1-unaligned-access.patch ... [ ok ]
* Applying xloadimage-4.1-ldflags_and_exit.patch ... [ ok ]
* Applying xloadimage-4.1-libpng15.patch ... [ ok ]
* Applying xloadimage-4.1-fix-build-for-clang16.patch ... [ ok ]
* Applying xloadimage-4.1-bracket.patch ... [ ok ]
* Applying xloadimage-4.1-fix-incomp-function-pointer-types.patch ... [ ok ]
* Running eautoreconf in '/tmp/portage/media-gfx/xloadimage-4.1-r16/work/xloadimage.4.1' ...
* Running 'aclocal --system-acdir=/tmp/portage/media-gfx/xloadimage-4.1 [ ok ]mp/aclocal' ...
* Moving configure.in to configure.ac (bug #426262)
* Running 'autoconf --force' ... [ ok ]
* Running 'autoheader --force' ... [ ok ]
* Running elibtoolize in: xloadimage.4.1/
>>> Source prepared.
>>> Configuring source in /tmp/portage/media-gfx/xloadimage-4.1-r16/work/xloadimage.4.1 ...
* Please use append-cppflags for preprocessor flags
* econf: updating xloadimage.4.1/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating xloadimage.4.1/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --build=x86_64-pc-linux-gnu --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --datarootdir=/usr/share --docdir=/usr/share/doc/xloadimage-4.1-r16 --htmldir=/usr/share/doc/xloadimage-4.1-r16/html --libdir=/usr/lib64 --with-jpeg --with-png --with-tiff
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to enable C11 features... none needed
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for malloc.h... yes
checking for strings.h... (cached) yes
checking for sys/time.h... yes
checking for unistd.h... (cached) yes
checking for main in -lm... yes
checking for main in -lz... yes
checking for main in -lpng... yes
checking for main in -ljpeg... yes
checking for main in -ltiff... yes
checking return type of signal handlers... void
checking for select... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating config.h
>>> Source configured.
>>> Compiling source in /tmp/portage/media-gfx/xloadimage-4.1-r16/work/xloadimage.4.1 ...
make -j32 SYSPATHFILE=/etc/X11/Xloadimage
Makefile:33: warning: ignoring prerequisites on suffix rule definition
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" bright.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" clip.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" cmuwmraster.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" compress.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" config.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" dither.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" faces.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" fbm.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" fill.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" gif.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" halftone.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" imagetypes.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" img.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" jpeg.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" mac.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" mc_tables.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" mcidas.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" merge.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" misc.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" new.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" niff.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" options.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" pbm.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" pcx.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" pdsuncomp.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" reduce.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" rle.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" rlelib.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" root.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" rotate.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" send.c
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" smooth.c
cmuwmraster.c: In function ‘cmuwmLoad’:
cmuwmraster.c:106:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
106 | (int) header.depth);
| ^
x86_64-pc-linux-gnu-gcc -march=raptorlake -O2 -fomit-frame-pointer -pipe -DTIFFHeader=TIFFHeaderCommon -c -DHAVE_CONFIG_H -DSYSPATHFILE=\"/etc/X11/Xloadimage\" sunraster.c
pdsuncomp.c: In function ‘pdsRead’:
pdsuncomp.c:434:44: error: passing argument 3 of ‘decompress’ from incompatible pointer type [-Wincompatible-pointer-types]
434 | out_length= decompress(ibuf, obuf, &in_length, &out_length);
| ^~~~~~~~~~
| |
| int *
pdsuncomp.c:309:15: note: expected ‘long int *’ but argument is of type ‘int *’
309 | long int *nin, /* I Number of bytes on input buffer */
| ~~~~~~~~~~^~~
pdsuncomp.c:434:56: error: passing argument 4 of ‘decompress’ from incompatible pointer type [-Wincompatible-pointer-types]
434 | out_length= decompress(ibuf, obuf, &in_length, &out_length);
| ^~~~~~~~~~~
| |
| int *
pdsuncomp.c:310:15: note: expected ‘long int *’ but argument is of type ‘int *’
310 | long int *nout /* I Number of bytes in output buffer */
| ~~~~~~~~~~^~~~
make: *** [Makefile:33: pdsuncomp.o] Error 1
make: *** Waiting for unfinished jobs....
* ERROR: media-gfx/xloadimage-4.1-r16::gentoo failed (compile phase):
* emake failed |
Code: | emerge -pqv '=media-gfx/xloadimage-4.1-r16::gentoo'
[ebuild U ] media-gfx/xloadimage-4.1-r16 [4.1-r15] USE="jpeg png tiff" |
|
|