foomatic-filters build error

Fernan Aguero fernan at iib.unsam.edu.ar
Mon Jan 18 19:50:43 UTC 2010


Hi,

I'm seeing the following error when trying to build
foomatic-filters.

Any hint at what the problem might be? All packages are up to date
as of Dec 2009.

I've already tried portupgrade -Rf to no avail.

TIA,

--
fernan


--->  Building '/freebsd/ports/print/foomatic-filters'
===>  Cleaning for foomatic-filters-4.0.1_2
===>  Found saved configuration for foomatic-filters-4.0.1_2
===>  Extracting for foomatic-filters-4.0.1_2
=> MD5 Checksum OK for foomatic-filters-4.0.1.tar.gz.
=> SHA256 Checksum OK for foomatic-filters-4.0.1.tar.gz.
===>   foomatic-filters-4.0.1_2 depends on file: /usr/local/bin/perl5.8.9 - found
===>  Patching for foomatic-filters-4.0.1_2
===>   foomatic-filters-4.0.1_2 depends on file: /usr/local/bin/perl5.8.9 - found
===>   foomatic-filters-4.0.1_2 depends on file: /usr/local/bin/perl5.8.9 - found
===>   foomatic-filters-4.0.1_2 depends on file: /usr/local/bin/autoconf-2.62 - found
===>   foomatic-filters-4.0.1_2 depends on executable: gs - found
===>  Configuring for foomatic-filters-4.0.1_2
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for gcc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of cc... gcc3
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... gcc3
checking for a BSD-compatible install... /usr/bin/install -c -o root -g wheel
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for roundf in -lm... yes
checking how to run the C preprocessor... cc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/wait.h that is POSIX.1 compatible... 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 memory.h... (cached) yes
checking stddef.h usability... yes
checking stddef.h presence... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking for unistd.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for pid_t... yes
checking for size_t... yes
checking for ssize_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking return type of signal handlers... void
checking for working strtod... yes
checking for vprintf... yes
checking for _doprnt... no
checking for dup2... yes
checking for getcwd... yes
checking for gethostname... yes
checking for regcomp... yes
checking for setenv... yes
checking for strcasecmp... yes
checking for strchr... yes
checking for strcspn... yes
checking for strdup... yes
checking for strncasecmp... yes
checking for strndup... no
checking for strrchr... yes
checking for strstr... yes
checking for strtol... yes
checking for perl... /usr/bin/perl
checking for printcap/... /etc/printcap
checking for cups/... (cached) /usr/local/libexec/cups
checking for cups/filter/... (cached) /usr/local/libexec/cups/filter
checking for cups/backend/... (cached) /usr/local/libexec/cups/backend
checking for ppr/... (cached) /usr/local/lib/ppr
checking for ppr/interfaces/... (cached) /usr/local/lib/ppr/interfaces
checking for ppr/lib/... (cached) /usr/local/lib/ppr/lib
checking ghostscript/ierrors.h usability... yes
checking ghostscript/ierrors.h presence... yes
checking for ghostscript/ierrors.h... yes
checking ghostscript/iapi.h usability... yes
checking ghostscript/iapi.h presence... yes
checking for ghostscript/iapi.h... yes
checking for gsapi_new_instance in -lgs... no
checking for a2ps... (cached) /usr/local/bin/a2ps
checking for enscript... (cached) /usr/local/bin/enscript
checking for mpage... (cached) /usr/local/bin/mpage
checking for texttops... (cached) /usr/local/libexec/cups/filter/texttops
file-converter: 
GNU Compatible Echo: echo
Execpath: /usr/local/bin:/usr/local/bin:/usr/bin:/bin
configure: creating ./config.status
config.status: creating Makefile
config.status: creating beh
config.status: creating foomatic-rip.1
config.status: creating config.h
config.status: executing depfiles commands
Finished configuring.
Type 'make' to build the package
Type 'make install' to install the base foomatic bits and links appropriate for
				CUPS and PPR to use foomatic
Type 'make install-main' to install the base foomatic bits.
Type 'make install-{cups|ppr}' to install the base foomatic bits and links
				appropriate for CUPS or PPR to use foomatic
Type 'make tests' to run some basic sanity tests (in place)
===>  Building for foomatic-filters-4.0.1_2
cd . && /usr/local/bin/autoheader-2.62
rm -f stamp-h1
touch ./config.h.in
cd . && /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-am
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT foomaticrip.o -MD -MP -MF ".deps/foomaticrip.Tpo" -c -o foomaticrip.o foomaticrip.c;  then mv -f ".deps/foomaticrip.Tpo" ".deps/foomaticrip.Po"; else rm -f ".deps/foomaticrip.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT options.o -MD -MP -MF ".deps/options.Tpo" -c -o options.o options.c;  then mv -f ".deps/options.Tpo" ".deps/options.Po"; else rm -f ".deps/options.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT pdf.o -MD -MP -MF ".deps/pdf.Tpo" -c -o pdf.o pdf.c;  then mv -f ".deps/pdf.Tpo" ".deps/pdf.Po"; else rm -f ".deps/pdf.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT postscript.o -MD -MP -MF ".deps/postscript.Tpo" -c -o postscript.o postscript.c;  then mv -f ".deps/postscript.Tpo" ".deps/postscript.Po"; else rm -f ".deps/postscript.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c;  then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT spooler.o -MD -MP -MF ".deps/spooler.Tpo" -c -o spooler.o spooler.c;  then mv -f ".deps/spooler.Tpo" ".deps/spooler.Po"; else rm -f ".deps/spooler.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT process.o -MD -MP -MF ".deps/process.Tpo" -c -o process.o process.c;  then mv -f ".deps/process.Tpo" ".deps/process.Po"; else rm -f ".deps/process.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT renderer.o -MD -MP -MF ".deps/renderer.Tpo" -c -o renderer.o renderer.c;  then mv -f ".deps/renderer.Tpo" ".deps/renderer.Po"; else rm -f ".deps/renderer.Tpo"; exit 1; fi
if cc -DHAVE_CONFIG_H -I. -I. -I.  -DCONFIG_PATH='"/usr/local/etc/foomatic"'  -I/usr/local/include  -O2 -fno-strict-aliasing -pipe -MT fileconverter.o -MD -MP -MF ".deps/fileconverter.Tpo" -c -o fileconverter.o fileconverter.c;  then mv -f ".deps/fileconverter.Tpo" ".deps/fileconverter.Po"; else rm -f ".deps/fileconverter.Tpo"; exit 1; fi
cc  -O2 -fno-strict-aliasing -pipe  -L/usr/local/lib -o foomatic-rip  foomaticrip.o options.o  pdf.o postscript.o util.o  spooler.o process.o renderer.o  fileconverter.o  -lm
pdf.o(.text+0x40d): In function `render_pages':
: warning: warning: mktemp() possibly used unsafely; consider using mkstemp()
pdf.o(.text+0x490): In function `render_pages':
: undefined reference to `gsapi_new_instance'
pdf.o(.text+0x4fd): In function `render_pages':
: undefined reference to `gsapi_set_stdio'
pdf.o(.text+0x514): In function `render_pages':
: undefined reference to `gsapi_init_with_args'
pdf.o(.text+0x52d): In function `render_pages':
: undefined reference to `gsapi_exit'
pdf.o(.text+0x539): In function `render_pages':
: undefined reference to `gsapi_delete_instance'
pdf.o(.text+0x5d9): In function `render_pages':
: undefined reference to `gsapi_exit'
pdf.o(.text+0x5e5): In function `render_pages':
: undefined reference to `gsapi_delete_instance'
pdf.o(.text+0x657): In function `print_pdf':
: undefined reference to `gsapi_new_instance'
pdf.o(.text+0x679): In function `print_pdf':
: undefined reference to `gsapi_set_stdio'
pdf.o(.text+0x690): In function `print_pdf':
: undefined reference to `gsapi_init_with_args'
pdf.o(.text+0x6cd): In function `print_pdf':
: undefined reference to `gsapi_run_string'
pdf.o(.text+0x6e6): In function `print_pdf':
: undefined reference to `gsapi_exit'
pdf.o(.text+0x6f2): In function `print_pdf':
: undefined reference to `gsapi_delete_instance'
pdf.o(.text+0x8b9): In function `print_pdf':
: undefined reference to `gsapi_exit'
pdf.o(.text+0x8c5): In function `print_pdf':
: undefined reference to `gsapi_delete_instance'
*** Error code 1

Stop in /freebsd/ports/print/foomatic-filters/work/foomatic-filters-4.0.1.
*** Error code 1

Stop in /freebsd/ports/print/foomatic-filters/work/foomatic-filters-4.0.1.
*** Error code 1

Stop in /freebsd/ports/print/foomatic-filters.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20100118-73066-yzqqw3-0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=foomatic-filters-4.0.1_2 UPGRADE_PORT_VER=4.0.1_2 make
** Fix the problem and try again.
** Listing the failed packages (-:ignored / *:skipped / !:failed)
	! print/foomatic-filters (foomatic-filters-4.0.1_2)	(linker error)
exit

Script done on Mon Jan 18 15:19:17 2010


More information about the freebsd-ports mailing list