vine-users ML アーカイブ



[vine-users:065213] nss_ldap-181-1vl1.src.rpm の rebuild ができなくて困っています 。

  • From: Masaru Sato <masachan@xxxxxxxxxxxxxxx>
  • Subject: [vine-users:065213] nss_ldap-181-1vl1.src.rpm の rebuild ができなくて困っています 。
  • Date: Tue, 30 Mar 2004 22:52:06 +0900
佐藤と申します。

nss_ldap-181-1vl1 が rebuild できなくて困っています。nss_ldap
の make までいくのですが、以下のエラーでとまってしまうのです。

rebuild の目的は --enable-rfc2307bis を enable にし、/etc/ldap.conf
で nss_map_objectclass や nss_map_attribute を使うこと、なの
ですが、そもそも VinePlus の src.rpm すら build できず、手も
足もでない状態です。

単に私の環境で何か package が不足しているのだと思いますが、
アドバイスをいただけませんでしょうか。

# ActiveDirectory に Vine の認証をさせるのが最終目標なので
# すが、いろいろ調べた限り、これが動かないとちょっと無理
# かなっと思ってたりします。enable-rfc2307bis enable で
# package を配布していただけると嬉しかったりするのですが...

----------
D: データベースモード 0x0 のオープン (in /var/lib/rpm)
D: requires: autoconf は db パッケージによって満されています。
D: requires: automake は db パッケージによって満されています。
D: YES A rpmlib(VersionedDependencies) <= 3.0.3-1 B
rpmlib(VersionedDependencies) = 3.0.3-1
D: requires: mlib(VersionedDependencies) <= 3.0.3-1 YES (rpmlib が提供し
ます)
D: YES A cyrus-sasl-devel = 1.5.27-17vl1 B cyrus-sasl-devel >= 1.5.24-14
D: requires: cyrus-sasl-devel >= 1.5.24-14 は db パッケージによって満さ
れています。
D: requires: gdbm-devel は db パッケージによって満されています。
D: requires: libtool は db パッケージによって満されています。
D: YES A openldap-devel = 2.1.22-0vl1.1 B openldap-devel >= 2.0
D: requires: openldap-devel >= 2.0 は db パッケージによって満されています。
D: requires: openssl-devel は db が提供することによって満されます。
D: requires: pam-devel は db パッケージによって満されています。
実行中(%prep): /bin/sh -e /var/tmp/rpm-tmp.97063
+ umask 022
+ cd /home/masachan/rpm/BUILD
+ cd /home/masachan/rpm/BUILD
+ rm -rf nss_ldap-181
+ /bin/gzip -dc /home/masachan/rpm/SOURCES/nss_ldap-181.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd nss_ldap-181
+ /bin/gzip -dc /home/masachan/rpm/SOURCES/pam_ldap-136.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
++ /usr/bin/id -u
+ '[' 500 = 0 ']'
+ /bin/chmod -Rf a+rX,g-w,o-w .
+ echo 'Patch #0 (nss_ldap-172-autoconf.patch):'
Patch #0 (nss_ldap-172-autoconf.patch):
+ patch -p1 -b --suffix .autoconf -s
+ echo 'Patch #1 (nss_ldap-181-db3.patch):'
Patch #1 (nss_ldap-181-db3.patch):
+ patch -p1 -b --suffix .db3 -s
+ echo 'Patch #4 (nss_ldap-181-makefile.patch):'
Patch #4 (nss_ldap-181-makefile.patch):
+ patch -p1 -b --suffix .makefile -s
+ pushd pam_ldap-136
~/rpm/BUILD/nss_ldap-181/pam_ldap-136 ~/rpm/BUILD/nss_ldap-181
+ echo 'Patch #2 (pam_ldap-46-pam_console.patch):'
Patch #2 (pam_ldap-46-pam_console.patch):
+ patch -p2 -b --suffix .pam_console -s
+ echo 'Patch #3 (pam_ldap-133-dnsconfig.patch):'
Patch #3 (pam_ldap-133-dnsconfig.patch):
+ patch -p1 -b --suffix .dnsconfig -s
+ echo 'Patch #5 (pam_ldap-136-makefile.patch):'
Patch #5 (pam_ldap-136-makefile.patch):
+ patch -p2 -b --suffix .makefile -s
+ cp ../resolve.c .
+ cp ../resolve.h .
+ cp ../snprintf.c .
+ cp ../snprintf.h .
+ libtoolize -f
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should update your `aclocal.m4' by running aclocal.
+ aclocal
+ automake -a
+ autoheader
+ autoconf
+ popd
~/rpm/BUILD/nss_ldap-181
+ rm -f 'pam.d/*.pam_console'
+ rm -f 'pam.d/*.redhat'
+ libtoolize -f
Remember to add `AC_PROG_LIBTOOL' to `configure.in'.
You should update your `aclocal.m4' by running aclocal.
+ aclocal
+ automake -a
+ autoheader
+ autoconf
+ exit 0
実行中(%build): /bin/sh -e /var/tmp/rpm-tmp.44051
+ umask 022
+ cd /home/masachan/rpm/BUILD
+ cd nss_ldap-181
+ CFLAGS=-O2 -m486 -fno-strength-reduce -fPIC
+ export CFLAGS
+ ./configure --with-ldap=openldap --libdir=/lib --enable-schema-mapping
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc -O2 -m486 -fno-strength-reduce
-fPIC ) works... yes
checking whether the C compiler (gcc -O2 -m486 -fno-strength-reduce
-fPIC ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking for a BSD compatible install... /usr/bin/install -c
checking for lber.h... yes
checking for ldap.h... yes
checking for ldap_ssl.h... no
checking for nss.h... yes
checking for nsswitch.h... no
checking for irs.h... no
checking for thread.h... no
checking for pthread.h... yes
checking for malloc.h... yes
checking for shadow.h... yes
checking for port_before.h... no
checking for port_after.h... no
checking for aliases.h... yes
checking for netinet/if_ether.h... yes
checking for netinet/ether.h... yes
checking for ctype.h... yes
checking for db.h... yes
checking for db1/db.h... yes
checking for db_185.h... no
checking for db3/db_185.h... yes
checking for alignof.h... no
checking for rpc/rpcent.h... no
checking for sys/byteorder.h... no
checking for libc-lock.h... no
checking for bits/libc-lock.h... yes
checking for sasl.h... yes
checking for strings.h... yes
checking for res_search... no
checking for res_search in -lresolv... yes
checking for main in -lnsl... yes
checking for strtok_r... yes
checking for sigset... yes
checking for res_search... (cached) no
checking for dn_expand... yes
checking for snprintf... yes
checking for gethostbyname... yes
checking for nsdispatch... no
checking for pthread_atfork... no
checking for dlopen in -ldl... yes
checking for main in -ldb... yes
checking for main in -lcrypto... yes
checking for main in -lssl... yes
checking for main in -lcom_err... yes
checking for main in -lk5crypto... no
checking for main in -lkrb5... no
checking for main in -lkrb4... no
checking for sasl_client_init in -lsasl... yes
checking for main in -llber... yes
checking for main in -lldap... yes
checking for ldap_init... yes
checking for ldap_get_lderrno... no
checking for ldap_parse_result... yes
checking for ldap_memfree... yes
checking for ldap_controls_free... yes
checking for ldap_ld_free... yes
checking for ldap_explode_rdn... yes
checking for ldap_set_option... yes
checking for ldap_get_option... yes
checking for ldap_sasl_interactive_bind_s... yes
checking for ldapssl_client_init... no
checking for ldap_start_tls_s... yes
checking for ldap_pvt_tls_set_option... yes
checking for ldap_initialize... yes
checking for gethostbyname_r... yes
checking whether gethostbyname_r takes 6 arguments... 6
checking for ldap_set_rebind_proc... yes
checking whether ldap_set_rebind_proc takes 3 arguments... 3
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
+ make
gcc -DHAVE_CONFIG_H -I. -I. -I. -DLDAP_REFERRALS -D_REENTRANT -O2 -m486
-fno-strength-reduce -fPIC -Wall -fPIC -c ldap-nss.c
ldap-nss.c: In function `_nss_ldap_enter':
ldap-nss.c:463: warning: implicit declaration of function `sigset'
ldap-nss.c:463: warning: assignment makes pointer from integer without a
cast
ldap-nss.c: In function `do_filter':
ldap-nss.c:1314: `LDAP_FILT_MAXSIZ' undeclared (first use in this function)
ldap-nss.c:1314: (Each undeclared identifier is reported only once
ldap-nss.c:1314: for each function it appears in.)
ldap-nss.c:1315: warning: unused variable `filterBuf'
ldap-nss.c:1314: warning: unused variable `buf2'
ldap-nss.c:1314: warning: unused variable `buf1'
ldap-nss.c:1315: warning: `filterBufP' might be used uninitialized in
this function
ldap-nss.c: In function `_nss_ldap_search_s':
ldap-nss.c:1951: `LDAP_FILT_MAXSIZ' undeclared (first use in this function)
ldap-nss.c:1952: warning: unused variable `filterBuf'
ldap-nss.c:1951: warning: unused variable `sdBase'
ldap-nss.c: In function `_nss_ldap_search':
ldap-nss.c:2022: `LDAP_FILT_MAXSIZ' undeclared (first use in this function)
ldap-nss.c:2023: warning: unused variable `filterBuf'
ldap-nss.c:2022: warning: unused variable `sdBase'
ldap-nss.c: At top level:
ldap-nss.c:21: warning: `rcsId' defined but not used
make: *** [ldap-nss.o] エラー 1
/var/tmp/rpm-tmp.44051 の不正な終了ステータス (%build)