pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/36964: www/apache can not build; missing /usr/pkg/sbin/suexec



>Number:         36964
>Category:       pkg
>Synopsis:       www/apache can not build; missing /usr/pkg/sbin/suexec
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 10 12:40:00 +0000 2007
>Originator:     Jan Danielsson
>Release:        NetBSD/amd64 4.0 RC1
>Organization:
La Cosa Nostra
>Environment:
NetBSD nl102-238-202.student.uu.se 4.0_RC1 NetBSD 4.0_RC1 (ANCABOOT) #0: Wed 
Sep  5 14:40:43 CEST 2007  
jan%nl102-238-202.student.uu.se@localhost:/home/jan/netbsd4/rc1/obj.amd64/home/jan/netbsd4/rc1/src/sys/arch/amd64/compile/ANCABOOT
 amd64

>Description:
Given this:

===> Installing dependencies for apache-2.2.6
==========================================================================
The supported build options for apache are:

        suexec

You can select which build options to use by setting PKG_DEFAULT_OPTIONS
or the following variable.  Its current value is shown:

        PKG_OPTIONS.apache (not defined)

==========================================================================
==========================================================================
The following variables will affect the build process of this package,
apache-2.2.6.  Their current value is shown below:

        * APACHE_MODULES = all proxy proxy_connect proxy_ftp proxy_http ssl 
deflate access auth authn_alias include log_config env m
ime setenvif status autoindex asis cgi negotiation dir imap actions userdir 
alias isapi file_cache cache disk_cache mem_cache bucket
eer echo example case_filter case_filter_in charset_lite
        * APACHE_MPM = prefork
        * IPV6_READY = YES
        * SSLBASE = /usr
        * SSLCERTS = /etc/openssl/certs
        * SSLDIR = /etc/openssl
        * SSLKEYS = /etc/openssl/private
        * VARBASE = /var

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.
==========================================================================

...I get this:

===================================
[---]
Making install in loggers
Making install in metadata
Making install in proxy
Making install in ssl
Making install in http
Making install in dav/main
Making install in generators
Making install in dav/fs
Making install in mappers
Making install in support
echo Installing HTML documents ;  test -d 
/pkg_comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/docs/docroot && (cd 
/pkg_comp/obj/pk
gsrc/www/apache22/default/httpd-2.2.6/docs/docroot &&  /bin/pax -rwppm . 
/usr/pkg/share/httpd/htdocs)
Installing HTML documents
echo Installing error documents ;  
/pkg_comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/build/mkdir.sh 
/usr/pkg/share/httpd/error ;
  cd /pkg_comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/docs/error &&  
/bin/pax -rwppm . /usr/pkg/share/httpd/error
Installing error documents
echo Installing icons ;  
/pkg_comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/build/mkdir.sh 
/usr/pkg/share/httpd/icons ;  cd /pkg_
comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/docs/icons &&  /bin/pax -rwppm 
. /usr/pkg/share/httpd/icons
Installing icons
echo Installing CGIs ;  
/pkg_comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/build/mkdir.sh 
/usr/pkg/libexec/cgi-bin ;  cd /pkg_com
p/obj/pkgsrc/www/apache22/default/httpd-2.2.6/docs/cgi-examples &&  /bin/pax 
-rwppm . /usr/pkg/libexec/cgi-bin
Installing CGIs
Installing header files
Installing build system files
Installing man pages and online manual
/usr/bin/install -c -o root -g wheel -m 444 
/pkg_comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/docs/man/*.1 
/usr/pkg/man/man1
/usr/bin/install -c -o root -g wheel -m 444 
/pkg_comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/docs/man/*.8 
/usr/pkg/man/man8
cd /pkg_comp/obj/pkgsrc/www/apache22/default/httpd-2.2.6/docs/manual &&  
/bin/pax -rwppm . /usr/pkg/share/httpd/manual
=> Fixing abs_srcdir
/bin/ln -sf /usr/pkg/libexec/apr/libtool /usr/pkg/share/httpd/build
cd /usr/pkg/share/examples/httpd &&                                             
         for file in                            
                         httpd.conf                                             
 extra/httpd-ssl.conf;                          
         do                                                              
/usr/bin/awk '                                          /^L
isten[      ]*80/   {                        printf "%s", "Listen 
0.0.0.0:80\n";     next;                                   }      
                                         /^Listen[      ]*443/  {               
         printf "%s", "Listen 0.0.0.0:443\n";    nex
t;                                   }                                          
     { print; }                                     
 ' < "${file}" >> ${file}.new;                   /bin/mv -f ${file}.new 
${file};                                 done
/bin/ln -sf /usr/pkg/sbin/envvars-std /usr/pkg/sbin/envvars
/usr/bin/install -c -o root -g wheel -m 555 
/pkg_comp/obj/pkgsrc/www/apache22/default/mkcert /usr/pkg/sbin
for file in apachectl apxs dbmmanage envvars-std mkcert; do  /usr/sbin/chown 
root:wheel /usr/pkg/sbin/$file &&  /bin/chmod 555 /usr/
pkg/sbin/$file;  done
/usr/sbin/chown -R root:wheel /usr/pkg/share/httpd
/usr/sbin/chown -R root:wheel /usr/pkg/include/httpd
/usr/sbin/chown -R root:wheel /usr/pkg/lib/httpd
/usr/sbin/chown root:wheel /usr/pkg/libexec/cgi-bin/test-cgi
/usr/sbin/chown root:wheel /usr/pkg/libexec/cgi-bin/printenv
for file in man1/htdbm.1 man1/htpasswd.1 man1/htdigest.1 man1/dbmmanage.1 
man8/httpd.8 man8/suexec.8 man8/rotatelogs.8 man8/logresol
ve.8 man8/apxs.8 man8/apachectl.8 man8/ab.8; do  /usr/sbin/chown root:wheel 
/usr/pkg/man/$file;  done
/bin/chmod -w /usr/pkg/sbin/suexec
chmod: /usr/pkg/sbin/suexec: No such file or directory
*** Error code 1

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

>How-To-Repeat:
Just cd into www/apache22 and run "make package".
>Fix:
Probably very easy to fix; but I don't have time to look into it now.




Home | Main Index | Thread Index | Old Index