Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Mar 2014 08:16:21 GMT
From:      Arrigo Marchiori <ardovm@yahoo.it>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/188115: print/cups-filters build failure
Message-ID:  <201403310816.s2V8GLR3010751@cgiserv.freebsd.org>
Resent-Message-ID: <201403310820.s2V8K0JH003030@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         188115
>Category:       ports
>Synopsis:       print/cups-filters build failure
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 31 08:20:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Arrigo Marchiori
>Release:        9-STABLE
>Organization:
>Environment:
# uname -a
FreeBSD myhost 9.2-STABLE FreeBSD 9.2-STABLE #68 r263963: Mon Mar 31 07:58:17 CEST 2014     root@myhost:/usr/obj/usr/src/sys/GENERIC  i386

# svn info /usr/ports | grep Revision
Revision: 349709

# cat /var/db/ports/print_cups-filters/options
# This file is auto-generated by 'make config'.
# Options for cups-filters-1.0.42
_OPTIONS_READ=cups-filters-1.0.42
_FILE_COMPLETE_OPTIONS_LIST=AVAHI
OPTIONS_FILE_SET+=AVAHI

>Description:
The port print/cups-filters, required by print/cups, does not build.

Here is the build log:

# cd /usr/ports/print/cups && make MAKE_JOBS_UNSAFE=yes

/!\ WARNING /!\
pkg_install EOL is scheduled for 2014-09-01. Please consider migrating to pkgng
http://blogs.freebsdish.org/portmgr/2014/02/03/time-to-bid-farewell-to-the-old-pkg_-tools/
If you do not want to see this message again set NO_WARNING_PKG_INSTALL_EOL=yes in your make.conf

===> Fetching all distfiles required by cups-1.7.1 for building
===>  Extracting for cups-1.7.1
===>  Patching for cups-1.7.1
===>   cups-1.7.1 depends on executable: espgs - found
===>   cups-1.7.1 depends on executable: lpr-cups - found
===>   cups-1.7.1 depends on executable: ttfread - not found
===>    Verifying install for ttfread in /usr/ports/print/cups-filters
/!\ WARNING /!\
pkg_install EOL is scheduled for 2014-09-01. Please consider migrating to pkgng
http://blogs.freebsdish.org/portmgr/2014/02/03/time-to-bid-farewell-to-the-old-pkg_-tools/
If you do not want to see this message again set NO_WARNING_PKG_INSTALL_EOL=yes in your make.conf

===>  Found saved configuration for cups-filters-1.0.42
===> Fetching all distfiles required by cups-filters-1.0.42 for building
===>  Extracting for cups-filters-1.0.42
=> SHA256 Checksum OK for cups-filters-1.0.42.tar.xz.
===>  Patching for cups-filters-1.0.42
===>  Applying FreeBSD patches for cups-filters-1.0.42
===>   cups-filters-1.0.42 depends on executable: pkgconf - found
===>   cups-filters-1.0.42 depends on executable: gcc47 - found
===>   cups-filters-1.0.42 depends on file: /usr/local/bin/as - found
===>   cups-filters-1.0.42 depends on executable: gs - found
===>   cups-filters-1.0.42 depends on shared library: libjpeg.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libtiff.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libpng15.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libijs.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: liblcms2.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libqpdf.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libdbus-1.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libcups.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libfreetype.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libfontconfig.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libpoppler.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libavahi-client.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libglib-2.0.so - found
 - found
===>   cups-filters-1.0.42 depends on shared library: libpcre.so - found
 - found
===>  Configuring for cups-filters-1.0.42
configure: loading site script /usr/ports/Templates/config.site
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) /usr/bin/awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc47
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 gcc47 accepts -g... yes
checking for gcc47 option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of gcc47... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether g++47 accepts -g... yes
checking dependency style of g++47... gcc3
checking whether gcc47 and cc understand -c and -o together... yes
checking how to run the C preprocessor... cpp47
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking build system type... i386-portbld-freebsd9.2
checking host system type... i386-portbld-freebsd9.2
checking how to print strings... printf
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/egrep
checking for fgrep... (cached) /usr/bin/fgrep
checking for ld used by gcc47... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/local/bin/nm
checking the name lister (/usr/local/bin/nm) interface... BSD nm
checking the maximum length of command line arguments... (cached) 262144
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking how to convert i386-portbld-freebsd9.2 file names to i386-portbld-freebsd9.2 format... func_convert_file_noop
checking how to convert i386-portbld-freebsd9.2 file names to toolchain format... func_convert_file_noop
checking for /usr/local/bin/ld option to reload object files... -r
checking for objdump... /usr/local/bin/objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for archiver @FILE support... @
checking for strip... strip
checking for ranlib... /usr/local/bin/ranlib
checking command to parse /usr/local/bin/nm output from gcc47 object... ok
checking for sysroot... no
checking for mt... mt
checking if mt is a manifest tool... no
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking for objdir... .libs
checking if gcc47 supports -fno-rtti -fno-exceptions... no
checking for gcc47 option to produce PIC... -fPIC -DPIC
checking if gcc47 PIC flag -fPIC -DPIC works... yes
checking if gcc47 static flag -static works... yes
checking if gcc47 supports -c -o file.o... yes
checking if gcc47 supports -c -o file.o... (cached) yes
checking whether the gcc47 linker (/usr/local/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... g++47 -E
checking for ld used by g++47... /usr/local/bin/ld
checking if the linker (/usr/local/bin/ld) is GNU ld... yes
checking whether the g++47 linker (/usr/local/bin/ld) supports shared libraries... yes
checking for g++47 option to produce PIC... -fPIC -DPIC
checking if g++47 PIC flag -fPIC -DPIC works... yes
checking if g++47 static flag -static works... yes
checking if g++47 supports -c -o file.o... yes
checking if g++47 supports -c -o file.o... (cached) yes
checking whether the g++47 linker (/usr/local/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... freebsd9.2 ld.so
checking how to hardcode library paths into programs... immediate
checking pkg-config is at least version 0.20... yes
checking for cups-config... /usr/local/bin/cups-config
checking for library containing dlopen... none required
checking for sigaction... (cached) yes
checking for waitpid... (cached) yes
checking for wait3... yes
checking for strtoll... (cached) yes
checking for open_memstream... yes
checking for getline... (cached) yes
checking for strcasestr... yes
checking for library containing pow... none required
checking for stdlib.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for zlib.h... (cached) yes
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking for dirent.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
checking for library containing jpeg_destroy_decompress... -ljpeg
checking for LIBPNG... yes
checking tiff.h usability... yes
checking tiff.h presence... yes
checking for tiff.h... yes
checking for library containing TIFFReadScanline... -ltiff
checking for pkg-config... /usr/local/bin/pkg-config
checking for Avahi... yes
checking for GLIB... yes
checking for AVAHI_GLIB... yes
checking for LCMS... yes
checking for FREETYPE... yes
checking for FONTCONFIG... yes
checking for IJS... yes
checking for POPPLER... yes
checking for ZLIB... yes
checking for LIBQPDF... yes
checking poppler/cpp/poppler-version.h usability... yes
checking poppler/cpp/poppler-version.h presence... yes
checking for poppler/cpp/poppler-version.h... yes
checking for DBUS... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for long long... (cached) yes
checking for gs... /usr/local/bin/gs
checking whether gs supports the ps2write device... yes
checking for pdftops... ./configure: pdftops: not found
no
checking for pdftocairo... ./configure: pdftocairo: not found
no
checking for acroread... ./configure: acroread: not found
no
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libcupsfilters.pc
config.status: creating libfontembed.pc
config.status: creating Makefile
config.status: creating filter/gstopxl
config.status: creating utils/cups-browsed
config.status: creating utils/cups-browsed.conf
config.status: creating filter/foomatic-rip/foomatic-rip.1
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
configure:
==============================================================================
Environment settings:
	CFLAGS:          -O2 -fno-strict-aliasing -pipe -march=athlon-mp -Wl,-rpath=/usr/local/lib/gcc47 -Wall -pedantic -std=gnu99 -D_GNU_SOURCE
	CXXFLAGS:        -O2 -fno-strict-aliasing -pipe -march=athlon-mp -Wl,-rpath=/usr/local/lib/gcc47 -Wl,-rpath=/usr/local/lib/gcc47 -Wall -pedantic -D_GNU_SOURCE
	LDFLAGS:          -L/usr/local/lib -Wl,-rpath=/usr/local/lib/gcc47 -L/usr/local/lib/gcc47
Build configuration:
	cups-config:     system
	font directory:  ${prefix}/etc/fonts/conf.d
	init directory:  
	cups dom socket: /var/run/cups.sock
	gs-path:         system
	imagefilters:    yes
	jpeg:            yes
	pdftocairo-path: system
	pdftops:         gs
	pdftops-path:    system
	png:             yes
	php:             no
	php-config:      system
	test-font:       /usr/share/fonts/dejavu/DejaVuSans.ttf
	tiff:            yes
	avahi:           yes
	dbus:            yes
	browsing:        dnssd cups
	werror:          no
==============================================================================

===>  Building for cups-filters-1.0.42
/usr/bin/make  all-am
  CC       libcupsfilters_la-attr.lo
In file included from cupsfilters/attr.c:25:0:
cupsfilters/driver.h:40:27: fatal error: cups/raster.h: No such file or directory
compilation terminated.
*** [libcupsfilters_la-attr.lo] Error code 1

Stop in /usr/ports/print/cups-filters/work/cups-filters-1.0.42.
*** [all] Error code 1

Stop in /usr/ports/print/cups-filters/work/cups-filters-1.0.42.
*** [do-build] Error code 1

Stop in /usr/ports/print/cups-filters.
*** [install] Error code 1

Stop in /usr/ports/print/cups-filters.
*** [build-depends] Error code 1

Stop in /usr/ports/print/cups.

>How-To-Repeat:
# cd /usr/ports/print/cups && make MAKE_JOBS_UNSAFE=yes
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403310816.s2V8GLR3010751>