Ralf S. Engelschall wrote:

>On Tue, Jul 25, 2006, William M. Fennell wrote:
>
>  
>
>>Hi folks,
>>
>>I'm trying this command and it is failing:
>>/ilocal/bin/openpkg rpm --rebuild
>>/n/e4/OPENPKG/UPD/openssh-4.3p2-2.20060622.src.rpm --define "with_fsl
>>yes" --define "with_pam yes" --define "with_x11 yes" --define "with_wrap
>>yes"
>>
>>I have also tried
>>/ilocal/bin/openpkg rpm --rebuild
>>/n/e4/OPENPKG/UPD/openssh-4.3p2-2.20060622.src.rpm -D "with_fsl yes" -D
>>"with_pam yes" -D "with_x11 yes" -D "with_wrap yes"
>>
>>Both times I get the error:
>>
>>checking for libwrap... configure: error: *** libwrap missing
>>error: Bad exit status from /ilocal/RPM/TMP/rpm-tmp.21296 (%build)
>>
>>I have tcpwrappers installed under openpkg and I just wonder what the
>>problem could be.
>>Any ideas?
>>    
>>
>
>You don't tell us what platform this is on...
>
>Well, check for the following things:
>
>1. Make sure your tcpwrappers Package is not just installed, but
>   also contains the right content (it could be that for some
>   strange reasons files are missing or whatever):
>
>   $ openpkg rpm -qlv tcpwrappers
>   drwxr-xr-x 2 openpkg-dev   openpkg-dev          0 Jul 26 09:00 
> /openpkg-dev/etc/tcpwrappers
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev       1296 Jul 26 09:00 
> /openpkg-dev/etc/tcpwrappers/hosts.allow
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev       3308 Jul 26 09:00 
> /openpkg-dev/include/tcpd.h
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev      41604 Jul 26 09:00 
> /openpkg-dev/lib/libwrap.a
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev       4137 Jul 26 09:00 
> /openpkg-dev/man/man3/hosts_access.3
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev      15225 Jul 26 09:00 
> /openpkg-dev/man/man5/hosts_access.5
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev       6655 Jul 26 09:00 
> /openpkg-dev/man/man5/hosts_options.5
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev       7022 Jul 26 09:00 
> /openpkg-dev/man/man8/tcpd.8
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev       2570 Jul 26 09:00 
> /openpkg-dev/man/man8/tcpdchk.8
>   -rw-r--r-- 1 openpkg-dev   openpkg-dev       3252 Jul 26 09:00 
> /openpkg-dev/man/man8/tcpdmatch.8
>   -rwxr-xr-x 1 openpkg-dev   openpkg-dev       6232 Jul 26 09:00 
> /openpkg-dev/sbin/safe_finger
>   -rwxr-xr-x 1 openpkg-dev   openpkg-dev      22984 Jul 26 09:00 
> /openpkg-dev/sbin/tcpd
>   -rwxr-xr-x 1 openpkg-dev   openpkg-dev      31088 Jul 26 09:00 
> /openpkg-dev/sbin/tcpdchk
>   -rwxr-xr-x 1 openpkg-dev   openpkg-dev      31084 Jul 26 09:00 
> /openpkg-dev/sbin/tcpdmatch
>   -rwxr-xr-x 1 openpkg-dev   openpkg-dev      22900 Jul 26 09:00 
> /openpkg-dev/sbin/try-from
>
>2. Check the /ilocal/RPM/TMP/openssh*/config.log file.
>   There GNU Autoconf hopefully has recorded more details about the
>   problem.
>
>At least for me it builds fine (note the "wrap" parts) under FreeBSD 6.1:
>
>| [...]
>| + ./configure --prefix=/openpkg-dev --sbindir=/openpkg-dev/bin
>| --mandir=/openpkg-dev/man --infodir=/openpkg-dev/info
>| --sysconfdir=/openpkg-dev/etc/openssh
>| --libexecdir=/openpkg-dev/libexec/openssh
>| --localstatedir=/openpkg-dev/var/openssh
>| --with-pid-dir=/openpkg-dev/var/openssh --with-ssl-dir=/openpkg-dev
>| --without-pam --with-tcp-wrappers=/openpkg-dev --with-md5-passwords
>| --with-zlib=/openpkg-dev --with-ipv4-default --without-smartcard
>| --without-kerberos4 --disable-suid-ssh --without-rsh --with-mantype=man
>| --disable-etc-default-login --with-default-path=/bin:/usr/bin
>| --with-superuser-path=/bin:/usr/bin:/sbin:/usr/sbin
>| --with-privsep-user=openpkg-dev-n
>| --with-privsep-path=/openpkg-dev/var/openssh/empty --enable-strip
>| [...]
>| checking for libwrap... yes
>| [...]
>| Libraries: -lwrap  -lcrypto -lutil -lz -lfsl -lcrypt
>| [...]
>| /openpkg-dev/bin/cc -O2 -pipe -I/openpkg-dev/include -Wall
>| -Wpointer-arith -Wuninitialized -Wsign-compare -Wno-pointer-sign
>| -I. -I. -I/openpkg-dev/include -I/openpkg-dev/include
>| -I/openpkg-dev/include -DSSHDIR=\"/openpkg-dev/etc/openssh\"
>| -D_PATH_SSH_PROGRAM=\"/openpkg-dev/bin/ssh\"
>| -D_PATH_SSH_ASKPASS_DEFAULT=\"/openpkg-dev/libexec/openssh/ssh-askpass\"
>| -D_PATH_SFTP_SERVER=\"/openpkg-dev/libexec/openssh/sftp-server\"
>| -D_PATH_SSH_KEY_SIGN=\"/openpkg-dev/libexec/openssh/ssh-keysign\"
>| -D_PATH_SSH_PIDDIR=\"/openpkg-dev/var/openssh\"
>| -D_PATH_PRIVSEP_CHROOT_DIR=\"/openpkg-dev/var/openssh/empty\"
>| -DSSH_RAND_HELPER=\"/openpkg-dev/libexec/openssh/ssh-rand-helper\"
>| -DHAVE_CONFIG_H -c monitor_wrap.c
>| [...]
>| /openpkg-dev/bin/cc -o sshd sshd.o auth-rhosts.o auth-passwd.o
>| auth-rsa.o auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o
>| auth.o auth1.o auth2.o auth-options.o session.o auth-chall.o
>| auth2-chall.o groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o
>| auth2-kbdint.o auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o
>| monitor.o monitor_wrap.o kexdhs.o kexgexs.o auth-krb5.o auth2-gss.o
>| gss-serv.o gss-serv-krb5.o loginrec.o auth-pam.o auth-shadow.o
>| auth-sia.o md5crypt.o audit.o audit-bsm.o -L. -Lopenbsd-compat/
>| -L/openpkg-dev/lib -L/openpkg-dev/lib -L/openpkg-dev/lib
>| -L/openpkg-dev/lib -L/openpkg-dev/lib -lssh -lopenbsd-compat -lwrap
>| -lcrypto -lutil -lz -lfsl -lcrypt
>| [...]
>
>So it has to be not a generic OpenSSH bug, but something more locally
>for you.
>
>                                       Ralf S. Engelschall
>                                       [EMAIL PROTECTED]
>                                       www.engelschall.com
>
>______________________________________________________________________
>The OpenPKG Project                                    www.openpkg.org
>User Communication List                      openpkg-users@openpkg.org
>  
>

Sorry for the omission it's on Solaris 9 sparc.

Bill
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to