Subject: port-i386/33520: I can not install privoxy with the help of port collection.
To: None <port-i386-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <fenicottero@gmail.com>
List: netbsd-bugs
Date: 05/20/2006 17:40:01
>Number:         33520
>Category:       port-i386
>Synopsis:       I can not install privoxy with the help of port collection.
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-i386-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 20 17:40:01 +0000 2006
>Originator:     Oleg Pilyavets
>Release:        NetBSD 3.0 stable
>Organization:
Moscow Institute of Physics and Technology
>Environment:
NetBSD spinor.triniti.nat 3.0 NetBSD 3.0 (MYKERNEL) #4: Mon May  8 08:29:16 MSD 2006  root@spinor.triniti.nat:/usr/src/sys/arch/i386/compile/MYKERNEL i386
>Description:
I can not install privoxy with the help of port collection.
>How-To-Repeat:
cd /usr/pkgsrc/www/privoxy

privoxy version according to Makefile:
# $NetBSD: Makefile,v 1.25 2006/03/14 01:14:34 jlam Exp $

(I did not make any changes in the privoxy Makefile or source)

The output of make command:

===> Checking for vulnerabilities in privoxy-3.0.3nb4
=> Checksum SHA1 OK for privoxy-3.0.3-stable-src.tar.gz.
=> Checksum RMD160 OK for privoxy-3.0.3-stable-src.tar.gz.
===> Extracting for privoxy-3.0.3nb4
==========================================================================
The following variables will affect the build process of this package,
privoxy-3.0.3nb4.  Their current value is shown below:

        * PRIVOXY_GROUP = privoxy
        * PRIVOXY_USER = privoxy

You may want to abort the process now with CTRL-C and change their value
before continuing.  Be sure to run `/usr/bin/make clean' after
the changes.
==========================================================================
===> Required installed package pcre>=6.2: pcre-6.6 found
===> Required installed package autoconf213>=2.13: autoconf213-2.13nb1 found
===> Required installed package gmake>=3.78: gmake-3.81 found
===> Required installed package perl>=5.0: perl-5.8.7nb8 found
===> Patching for privoxy-3.0.3nb4
===> Applying pkgsrc patches for privoxy-3.0.3nb4
===> Overriding tools for privoxy-3.0.3nb4
===> Creating toolchain wrappers for privoxy-3.0.3nb4
===> Configuring for privoxy-3.0.3nb4
creating cache ./config.cache
checking host system type... i386--netbsdelf
checking for gcc... cc
checking whether the C compiler (cc -O2 -pthread -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -p
thread -L/usr/lib -Wl,-R/usr/lib) works... yes
checking whether the C compiler (cc -O2 -pthread -I/usr/pkg/include -I/usr/include -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -p
thread -L/usr/lib -Wl,-R/usr/lib) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether cc accepts -g... yes
checking how to run the C preprocessor... cc -E
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}... yes
checking for mawk... /usr/bin/awk
checking for gdb... yes
checking for groups... /usr/bin/groups
checking for id... /usr/bin/id
checking for user... privoxy
checking for group... privoxy
checking for mingw32 environment... no
checking for Cygwin environment... no
checking for rpm... no
checking for jade... no
checking for openjade... no
checking for man2html... no
checking for pthread.h... yes
Using POSIX threads
checking for gethostbyname in -lnsl... no
checking for gethostbyaddr_r... no
no
checking for gethostbyname_r... no
no
checking for gmtime_r... yes
checking signature of gmtime_r... ok
checking for localtime_r... yes
checking signature of localtime_r... ok
checking for socklen_t... yes
checking for executable suffix... no
checking for object suffix... o
checking for ANSI C header files... yes
checking for dirent.h that defines DIR... yes
checking for opendir in -ldir... no
checking for working const... yes
checking for size_t... yes
checking for pid_t... yes
checking whether time.h and sys/time.h may both be included... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking size of int... 4
checking size of char *... 4
checking size of long... 4
checking size of long long... 8
checking size of size_t... 4
checking for OS.h... no
checking for arpa/inet.h... yes
checking for errno.h... yes
checking for fcntl.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for netdb.h... yes
checking for netinet/in.h... yes
checking for stddef.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for sys/ioctl.h... yes
checking for sys/socket.h... yes
checking for sys/time.h... yes
checking for sys/timeb.h... yes
checking for sys/wait.h... yes
checking for unistd.h... yes
checking for strerror... yes
checking for bcopy... yes
checking for memmove... yes
checking whether cc needs -traditional... no
checking whether setpgrp takes no argument... no
checking return type of signal handlers... void
checking for atexit... yes
checking for getcwd... yes
checking for gethostbyaddr... yes
checking for gethostbyname... yes
checking for inet_ntoa... yes
checking for localtime_r... (cached) yes
checking for memchr... yes
checking for memmove... (cached) yes
checking for memset... yes
checking for regcomp... yes
checking for select... yes
checking for setlocale... yes
checking for socket... yes
checking for strchr... yes
checking for strdup... yes
checking for strerror... (cached) yes
checking for strftime... yes
checking for strstr... yes
checking for strtoul... yes
checking for pcre_compile in -lpcre... yes
checking for pcre.h... yes
checking for regcomp in -lpcreposix... yes
checking for pcreposix.h... yes
checking for pcrs_compile in -lpcrs... no
using libpcre
using built-in static pcrs
updating cache ./config.cache
creating ./config.status
creating GNUmakefile
creating doc/source/ldp.dsl
creating config.h
===> Building for privoxy-3.0.3nb4
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include actions.c -o actions.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include cgi.c -o cgi.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include cgiedit.c -o cgiedit.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include cgisimple.c -o cgisimple.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include deanimate.c -o deanimate.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include encode.c -o encode.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include errlog.c -o errlog.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include filters.c -o filters.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include gateway.c -o gateway.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include jbsockets.c -o jbsockets.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include jcc.c -o jcc.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include killpopup.c -o killpopup.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include list.c -o list.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include loadcfg.c -o loadcfg.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include loaders.c -o loaders.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include miscutil.c -o miscutil.o
miscutil.c: In function `string_toupper':
miscutil.c:738: warning: subscript has type `char'
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include parsers.c -o parsers.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include ssplit.c -o ssplit.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include urlmatch.c -o urlmatch.o
cc -c -pipe -O2 -pthread -I/usr/pkg/include -I/usr/include -Dunix -I/usr/pkg/include -I/usr/include  -pthread -Wall  -D
unix -I/usr/pkg/include -I/usr/include pcrs.c -o pcrs.o
cc -L/usr/pkg/lib -Wl,-R/usr/pkg/lib -pthread -L/usr/lib -Wl,-R/usr/lib  -pthread -o privoxy actions.o cgi.o cgiedit.o 
cgisimple.o deanimate.o encode.o errlog.o filters.o gateway.o jbsockets.o jcc.o killpopup.o list.o loadcfg.o loaders.o 
miscutil.o parsers.o ssplit.o urlmatch.o  pcrs.o   -lpcre -lpcreposix   
grep -v '^#MASTER#' default.action.master > default.action
=> Unwrapping files-to-be-installed.
===> Creating /usr/pkgsrc/www/privoxy/work/privoxy


Then, "make install" gives:

===> Checking for vulnerabilities in privoxy-3.0.3nb4
===> Installing for privoxy-3.0.3nb4
Creating directories, and preparing Privoxy 3.0.3 installation
chmod 0755 ./mkinstalldirs
Installing privoxy executable to /usr/pkg/sbin
/usr/bin/install -c -o root -g wheel -m 0755    privoxy /usr/pkg/sbin
Installing FAQ, Manual, and other docs to /usr/pkg/share/doc/privoxy
Installing man page to /usr/pkg/man/man1/privoxy.1
/usr/bin/install -c -o root -g wheel -m 0664 privoxy.1  /usr/pkg/man/man1/privoxy.1
@#: not found
@#: not found
@#fi: not found
gmake: *** [install] Error 127
*** Error code 2

Stop.
make: stopped in /usr/pkgsrc/www/privoxy
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/privoxy
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/privoxy
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/www/privoxy


>Fix:
I do not know.