* Package: net-print/c2esp-27:0 * Repository: gentoo * Maintainer: printing@gentoo.org * USE: abi_x86_64 amd64 elibc_glibc kernel_linux * FEATURES: network-sandbox preserve-libs sandbox userpriv usersandbox >>> Unpacking source... >>> Unpacking c2esp-27.tar.gz to /var/tmp/portage/net-print/c2esp-27/work >>> Source unpacked in /var/tmp/portage/net-print/c2esp-27/work >>> Preparing source in /var/tmp/portage/net-print/c2esp-27/work/c2esp-27 ... * Applying c2esp-27-missing-includes.patch ... [ ok ] * Applying c2esp-27-fno-common.patch ... [ ok ] >>> Source prepared. >>> Configuring source in /var/tmp/portage/net-print/c2esp-27/work/c2esp-27 ... ./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 --disable-dependency-tracking --disable-silent-rules --docdir=/usr/share/doc/c2esp-27 --htmldir=/usr/share/doc/c2esp-27/html --libdir=/usr/lib64 --with-cupsfilterdir=/usr/libexec/cups/filter --with-cupsdatadir=/usr/share/cups checking for a BSD-compatible install... /usr/lib/portage/python3.11/ebuild-helpers/xattr/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes 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 we are using the GNU C compiler... yes checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of x86_64-pc-linux-gnu-gcc... none checking for ppdc... 1 checking for cups-config... 1 checking for ppdOpenFile in -lcups... yes checking for library containing cupsDitherNew... no checking for library containing cupsRasterOpen... none required checking for library containing deflate... -lz checking for library containing jbg85_enc_init... -ljbig85 checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for unistd.h... (cached) yes checking cups/raster.h usability... yes checking cups/raster.h presence... yes checking for cups/raster.h... yes checking cups/sidechannel.h usability... yes checking cups/sidechannel.h presence... yes checking for cups/sidechannel.h... yes checking cups/image.h usability... no checking cups/image.h presence... no checking for cups/image.h... no checking cups/driver.h usability... no checking cups/driver.h presence... no checking for cups/driver.h... no checking cupsfilters/image.h usability... yes checking cupsfilters/image.h presence... yes checking for cupsfilters/image.h... yes checking cupsfilters/driver.h usability... yes checking cupsfilters/driver.h presence... yes checking for cupsfilters/driver.h... yes checking zlib.h usability... yes checking zlib.h presence... yes checking for zlib.h... yes checking jbig85.h usability... yes checking jbig85.h presence... yes checking for jbig85.h... yes checking jbig.h usability... yes checking jbig.h presence... yes checking for jbig.h... yes checking for size_t... yes checking for error_at_line... yes checking for stdlib.h... (cached) yes checking for GNU libc compatible malloc... yes checking for memset... yes checking for strerror... yes checking for strncasecmp... yes checking for strstr... yes configure: cupsversion is 2.4.7 default filter dir /usr/libexec/cups/filter is from cups-config configure: cupsfilterdir is /usr/libexec/cups/filter default data dir /usr/share/cups is from cups-config configure: cupsdatadir is /usr/share/cups configure: HAVE_PPDC = 1 configure: making ppd files with ppdc no ppds will be installed configure: * configure: *** Any missing dependencies are listed below *** configure: cups version is 1.6 or later - OK configure: WARNING: HAVE_LIBCUPSFILTERS = libcupsfilters was not found. Try installing a package like libcupsfilters-dev and run configure again. configure: * configure: LIBS=-ljbig85 -lz -lcups checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating doc/Makefile config.status: creating scripts/Makefile config.status: creating ppd/Makefile config.status: creating config.h config.status: executing depfiles commands >>> Source configured. >>> Compiling source in /var/tmp/portage/net-print/c2esp-27/work/c2esp-27 ... make -j4 make all-recursive make[1]: Entering directory '/var/tmp/portage/net-print/c2esp-27/work/c2esp-27' Making all in src make[2]: Entering directory '/var/tmp/portage/net-print/c2esp-27/work/c2esp-27/src' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. --pedantic -Wall -std=c99 -O2 -O3 -pipe -march=native -fno-diagnostics-color -c c2esp.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. --pedantic -Wall -std=c99 -O2 -O3 -pipe -march=native -fno-diagnostics-color -c c2espcommon.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. --pedantic -Wall -std=c99 -O2 -O3 -pipe -march=native -fno-diagnostics-color -c c2espC.c x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I.. --pedantic -Wall -std=c99 -O2 -O3 -pipe -march=native -fno-diagnostics-color -c command2esp.c c2esp.c: In function ‘output_jbig’: c2esp.c:405:9: warning: variable ‘rc’ set but not used [-Wunused-but-set-variable] 405 | int rc; | ^~ c2esp.c: At top level: c2esp.c:525:18: error: unknown type name ‘cups_lut_t’; did you mean ‘cups_cut_t’? 525 | void SetUpDither(cups_lut_t *Lut[], cups_dither_t *DitherState[], int LineWidth, int OutBits) | ^~~~~~~~~~ | cups_cut_t c2esp.c:525:37: error: unknown type name ‘cups_dither_t’; did you mean ‘cf_dither_t’? 525 | void SetUpDither(cups_lut_t *Lut[], cups_dither_t *DitherState[], int LineWidth, int OutBits) | ^~~~~~~~~~~~~ | cf_dither_t c2esp.c:675:37: error: unknown type name ‘cups_dither_t’; did you mean ‘cf_dither_t’? 675 | Terminate(cups_raster_t *ras,int fd,cups_dither_t **DitherState,cups_lut_t **Lut) | ^~~~~~~~~~~~~ | cf_dither_t c2esp.c:675:65: error: unknown type name ‘cups_lut_t’; did you mean ‘cups_cut_t’? 675 | inate(cups_raster_t *ras,int fd,cups_dither_t **DitherState,cups_lut_t **Lut) | ^~~~~~~~~~ | cups_cut_t c2esp.c:785:20: error: unknown type name ‘cups_lut_t’; did you mean ‘cups_cut_t’? 785 | void DitherProcess(cups_lut_t **Lut, cups_dither_t **DitherState, cups_page_header2_t *header, int Col, int *BlankColour) | ^~~~~~~~~~ | cups_cut_t c2esp.c:785:38: error: unknown type name ‘cups_dither_t’; did you mean ‘cf_dither_t’? 785 | void DitherProcess(cups_lut_t **Lut, cups_dither_t **DitherState, cups_page_header2_t *header, int Col, int *BlankColour) | ^~~~~~~~~~~~~ | cf_dither_t c2esp.c: In function ‘main’: c2esp.c:944:9: error: unknown type name ‘ppd_file_t’; did you mean ‘cups_file_t’? 944 | ppd_file_t *ppd; /* PPD file */ | ^~~~~~~~~~ | cups_file_t c2esp.c:947:9: error: unknown type name ‘cups_cmyk_t’; did you mean ‘cf_cmyk_t’? 947 | cups_cmyk_t *cmykTrans300; /* cmyk transform for cups 300dpi*/ | ^~~~~~~~~~~ | cf_cmyk_t c2esp.c:948:9: error: unknown type name ‘cups_cmyk_t’; did you mean ‘cf_cmyk_t’? 948 | cups_cmyk_t *cmykTrans600; /* cmyk transform for cups 600dpi*/ | ^~~~~~~~~~~ | cf_cmyk_t c2esp.c:956:9: error: unknown type name ‘cups_lut_t’; did you mean ‘cups_cut_t’? 956 | cups_lut_t *Lut[4]; /* Dither lookup tables */ | ^~~~~~~~~~ | cups_cut_t c2esp.c:957:9: error: unknown type name ‘cups_dither_t’; did you mean ‘cf_dither_t’? 957 | cups_dither_t *DitherState[4]; /* Dither states */ | ^~~~~~~~~~~~~ | cf_dither_t c2esp.c:1041:15: warning: implicit declaration of function ‘ppdOpenFile’ [-Wimplicit-function-declaration] 1041 | ppd = ppdOpenFile(getenv("PPD")); | ^~~~~~~~~~~ c2esp.c:1041:13: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1041 | ppd = ppdOpenFile(getenv("PPD")); | ^ c2esp.c:1045:32: warning: implicit declaration of function ‘cupsCMYKLoad’ [-Wimplicit-function-declaration] 1045 | cmykTrans300 = cupsCMYKLoad(ppd, "RGB", "", "300x1200dpi"); | ^~~~~~~~~~~~ c2esp.c:1045:30: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1045 | cmykTrans300 = cupsCMYKLoad(ppd, "RGB", "", "300x1200dpi"); | ^ c2esp.c:1046:30: warning: assignment to ‘int *’ from ‘int’ makes pointer from integer without a cast [-Wint-conversion] 1046 | cmykTrans600 = cupsCMYKLoad(ppd, "RGB", "", "600x1200dpi"); | ^ c2esp.c:1047:17: warning: implicit declaration of function ‘ppdClose’ [-Wimplicit-function-declaration] 1047 | ppdClose(ppd); | ^~~~~~~~ c2esp.c:1048:71: error: request for member ‘num_channels’ in something not a structure or union 1048 | DoLog("InkChannels 300dpi=%d 600dpi=%d\n",cmykTrans300->num_channels,cmykTrans600->num_channels); | ^~ c2esp.c:1048:98: error: request for member ‘num_channels’ in something not a structure or union 1048 | 0dpi=%d 600dpi=%d\n",cmykTrans300->num_channels,cmykTrans600->num_channels); | ^~ c2esp.c:1097:17: warning: implicit declaration of function ‘SetUpDither’ [-Wimplicit-function-declaration] 1097 | SetUpDither(Lut, DitherState, header.cupsWidth, OutBitsPerPixel); | ^~~~~~~~~~~ c2esp.c:1173:33: warning: implicit declaration of function ‘Terminate’ [-Wimplicit-function-declaration] 1173 | Terminate(ras,fd,DitherState,Lut); | ^~~~~~~~~ c2esp.c:1236:91: warning: implicit declaration of function ‘cupsCMYKDoRGB’; did you mean ‘cfCMYKDoRGB’? [-Wimplicit-function-declaration] 1236 | if(header.HWResolution[0] == 300) cupsCMYKDoRGB(cmykTrans300, CupsLineBuffer, TransformedBuffer, RemainingPixels); | ^~~~~~~~~~~~~ | cfCMYKDoRGB c2esp.c:1241:65: warning: implicit declaration of function ‘DitherProcess’ [-Wimplicit-function-declaration] 1241 | DitherProcess(Lut, DitherState, &header, Col, &BlankColour); | ^~~~~~~~~~~~~ make[2]: *** [Makefile:406: c2esp.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/var/tmp/portage/net-print/c2esp-27/work/c2esp-27/src' make[1]: *** [Makefile:347: all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/portage/net-print/c2esp-27/work/c2esp-27' make: *** [Makefile:287: all] Error 2 * ERROR: net-print/c2esp-27::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=net-print/c2esp-27::gentoo'`, * the complete build log and the output of `emerge -pqv '=net-print/c2esp-27::gentoo'`. * The complete build log is located at '/var/log/portage/net-print:c2esp-27:20231219-053250.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/net-print/c2esp-27/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/net-print/c2esp-27/temp/environment'. * Working directory: '/var/tmp/portage/net-print/c2esp-27/work/c2esp-27' * S: '/var/tmp/portage/net-print/c2esp-27/work/c2esp-27'