Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 881018 Details for
Bug 921087
net-print/c2esp-27 - [clang] : error: call to undeclared function cupsLutNew; ISO C99 and
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
net-print:c2esp-27:20231230-140224.log
net-print:c2esp-27:20231230-140224.log (text/plain), 17.43 KB, created by
Toralf Förster
on 2023-12-30 14:07:17 UTC
(
hide
)
Description:
net-print:c2esp-27:20231230-140224.log
Filename:
MIME Type:
Creator:
Toralf Förster
Created:
2023-12-30 14:07:17 UTC
Size:
17.43 KB
patch
obsolete
> * 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. > * Modern C testing: this build is using a /etc/portage/bashrc hook (2023-11-30T22:24)! > * Modern C testing: see https://wiki.gentoo.org/wiki/Modern_C_porting for more info. >>>> 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 >configure: loading site script /usr/share/config.site >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... clang >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 clang accepts -g... yes >checking for clang option to accept ISO C89... none needed >checking for style of include used by make... GNU >checking dependency style of clang... 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... clang -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. >'/var/tmp/portage/net-print/c2esp-27/temp/clang16-errors.log' -> '/var/tmp/clang/net-print/c2esp-27/clang16-errors.log' >'/var/tmp/portage/net-print/c2esp-27/temp/clang16-safe.log' -> '/var/tmp/clang/net-print/c2esp-27/clang16-safe.log' >>>> 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' >clang -DHAVE_CONFIG_H -I. -I.. --pedantic -Wall -std=c99 -O2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c c2esp.c >clang -DHAVE_CONFIG_H -I. -I.. --pedantic -Wall -std=c99 -O2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c c2espcommon.c >clang -DHAVE_CONFIG_H -I. -I.. --pedantic -Wall -std=c99 -O2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c c2espC.c >clang -DHAVE_CONFIG_H -I. -I.. --pedantic -Wall -std=c99 -O2 -O2 -pipe -march=native -fno-diagnostics-color -Werror=implicit-function-declaration -Werror=implicit-int -c command2esp.c >In file included from c2espC.c:49: >./c2espcommon.h:46:18: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 46 | void CloseLogging(); > | ^ > | void >./c2espcommon.h:70:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 70 | void MarkerSetup(); > | ^ > | void >c2espC.c:184:12: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 184 | FreeBuffers() > | ^ > | void >In file included from c2esp.c:51: >./c2espcommon.h:46:18: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 46 | void CloseLogging(); > | ^ > | void >./c2espcommon.h:70:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 70 | void MarkerSetup(); > | ^ > | void >In file included from command2esp.c:59: >./c2espcommon.h:46:18: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 46 | void CloseLogging(); > | ^ > | void >./c2espcommon.h:70:17: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 70 | void MarkerSetup(); > | ^ > | void >c2esp.c:405:5: warning: variable 'rc' set but not used > [-Wunused-but-set-variable] > 405 | int rc; > | ^ >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 Li... > | ^~~~~~~~~~ > | cups_cut_t >/usr/include/cups/raster.h:187:3: note: 'cups_cut_t' declared here > 187 | } 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 Li... > | ^~~~~~~~~~~~~ > | cf_dither_t >/usr/include/cupsfilters/driver.h:76:3: note: 'cf_dither_t' declared here > 76 | } cf_dither_t; > | ^ >In file included from c2espcommon.c:34: >./c2espcommon.h:46:18: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 46 | void CloseLogging(); > | ^ > | c2esp.c void >:533:33: error: call to undeclared function 'cupsLutNew'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 533 | if(OutBits == 2) Lut[Col] = cupsLutNew(3, default_lut3); > | ^ >c2esp.c:533:33: note: did you mean 'cfLutNew'? >/usr/include/cupsfilters/driver.h:147:19: note: 'cfLutNew' declared here > 147 | extern cf_lut_t *cfLutNew(int num_vals, const ./c2espcommon.hf:l70o:a17t: *warning: vaa lfunctions ,declaration > without| ^a > prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 70 | void MarkerSetup(); > | ^ > | void >c2esp.c:533:31: error: incompatible integer to pointer conversion assigning to > 'cups_cut_t *' (aka 'enum cups_cut_e *') from 'int' [-Wint-conversion] > 533 | if(OutBits == 2) Lut[Col] = cupsLutNew(3, default_lut3); > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >c2esp.c:534:17: error: incompatible integer to pointer conversion assigning to > 'cups_cut_t *' (aka 'enum cups_cut_e *') from 'int' [-Wint-conversion] > 534 | else Lut[Col] = cupsLutNew(2, default_lut2); > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >c2esp.c:535:24: error: call to undeclared function 'cupsDitherNew'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 535 | DitherState[Col] = cupsDitherNew(LineWidth); > | ^ >c2esp.c:535:24: note: did you mean 'cfDitherNew'? >/usr/include/cupsfilters/driver.h:140:21: note: 'cfDitherNew' declared here > 140 | extern cf_dither_t *cfDitherNew(int width); > | ^ >c2esp.c:535:22: error: incompatible integer to pointer conversion assigning to > 'cf_dither_t *' (aka 'struct cf_dither_s *') from 'int' [-Wint-conversion] > 535 | DitherState[Col] = cupsDitherNew(LineWidth); > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >c2esp.c:538:31: error: call to undeclared function 'cupsLutNew'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 538 | if(OutBits == 2) Lut[3] = cupsLutNew(5, default_luc2espcommon.ct:582):;18 >: | warning: ^a > function declaration without a prototype is > deprecated inc2esp.c :all538 :versions29 :of error: Cincompatible [-Wstrict-prototypes]integer > to pointer conversion assigning to >82 | 'cups_cut_t *'v o(aka 'enum cups_cut_e *')i d ClosefromL o'int'g g[-Wint-conversion]i >ng() >538 | | ^ > | i voidf >(OutBits == 2) Lut[3] = cupsLutNew(5, default_lut5); > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >c2esp.c:539:15: error: incompatible integer to pointer conversion assigning to > 'cups_cut_t *' (aka 'enum cups_cut_e *') from 'int' [-Wint-conversion] > 539 | else Lut[3] = cupsLutNew(3, default_lut3); > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~ >c2esp.c:540:22: error: call to undeclared function 'cupsDitherNew'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 540 | DitherState[3] = cupsDitherNew(LineWidth); > | ^ >c2esp.c:540:20: error: incompatible integer to pointer conversion assigning to > 'cf_dither_t *' (aka 'struct cf_dither_s *') from 'int' [-Wint-conversion] > 540 | DitherState[3] = cupsDitherNew(LineWidth); > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~ >c2espcommon.c:297:12: warning: a function declaration without a prototype is > deprecated in all versions of C [-Wstrict-prototypes] > 297 | MarkerSetup() > | ^ > | void >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... > | ^~~~~~~~~~~~~ > | cf_dither_t >/usr/include/cupsfilters/driver.h:76:3: note: 'cf_dither_t' declared here > 76 | } cf_dither_t; > | ^ >c2esp.c:675:65: error: unknown type name 'cups_lut_t'; did you mean > 'cups_cut_t'? > 675 | ...*ras,int fd,cups_dither_t **DitherState,cups_lut_t **Lut) > | ^~~~~~~~~~ > | cups_cut_t >/usr/include/cups/raster.h:187:3: note: 'cups_cut_t' declared here > 187 | } cups_cut_t; > | ^ >c2esp.c:694:3: error: call to undeclared function 'cupsDitherDelete'; ISO C99 > and later do not support implicit function declarations > [-Wimplicit-function-declaration] > 694 | cupsDitherDelete(DitherState[Col]); > | ^ >c2esp.c:694:3: note: did you mean 'cfDitherDelete'? >/usr/include/cupsfilters/driver.h:141:14: note: 'cfDitherDelete' declared here > 141 | extern void cfDitherDelete(cf_dither_t *); > | ^ >c2esp.c:695:5: error: call to undeclared function 'cupsLutDelete'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 695 | cupsLutDelete(Lut[Col]); > | ^ >c2esp.c:695:5: note: did you mean 'cfLutDelete'? >/usr/include/cupsfilters/driver.h:149:14: note: 'cfLutDelete' declared here > 149 | extern void cfLutDelete(cf_lut_t *lut); > | ^ >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_p... > | ^~~~~~~~~~ > | cups_cut_t >/usr/include/cups/raster.h:187:3: note: 'cups_cut_t' declared here > 187 | } 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_p... > | ^~~~~~~~~~~~~ > | cf_dither_t >/usr/include/cupsfilters/driver.h:76:3: note: 'cf_dither_t' declared here > 76 | } cf_dither_t; > | ^ >c2esp.c:836:3: error: call to undeclared function 'cupsDitherLine'; ISO C99 and > later do not support implicit function declarations > [-Wimplicit-function-declaration] > 836 | cupsDitherLine(DitherState[Col], Lut[Col], DitherInputBu... > | ^ >c2esp.c:836:3: note: did you mean 'cfDitherLine'? >/usr/include/cupsfilters/driver.h:137:14: note: 'cfDitherLine' declared here > 137 | extern void cfDitherLine(cf_dither_t *d, const cf_lut_t *lut, > | ^ >2 warnings generated. >fatal error: too many errors emitted, stopping now [-ferror-limit=] >3 warnings and 20 errors generated. >make[2]: *** [Makefile:406: c2esp.o] Error 1 >make[2]: *** Waiting for unfinished jobs.... >4 warnings generated. >3 warnings generated. >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:20231230-140224.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' >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 921087
:
881012
|
881013
|
881014
|
881015
|
881016
|
881017
| 881018 |
881019
|
881020
|
881021