Subject: Problem trying to bump mail/courier-* to newer versions
To: None <tech-pkg@NetBSD.org>
From: Daniel Eggert <eggert@macvaerk.dtu.dk>
List: tech-pkg
Date: 01/31/2004 21:13:54
The
    mail/courier-imap
package and (companion packages) are fairly outdated (courier-1.4.2 in
pkgsrc, newest stable is 2.2.1 with various bug fixes). I tried to update
the pkgsrc, but it didn't work out as nicely as I hoped:

For the mail/courier-auth package I replaced the version number with the new
one, and fixed up the pkgsrc patches to match with the new source files, but
when I try to make the package it stalls during configuring with:
    config.status: error: cannot find input file: Makefile.in

Thanks in advance for the help.

My modified mail/courier-auth can be found at:
    http://home1.macvaerk.dtu.dk/~eggert/NetBSD/courier-auth.tgz

I've attached the output from make:

[9500mp] /usr/pkgsrc/mail/courier-auth# make
=> Checksum OK for courier-0.44.2.tar.bz2.
===> Extracting for courier-auth-0.44.2
===> Required installed package perl>=5.6.0: perl-5.6.1nb10 found
===> Required installed package gmake>=3.78: gmake-3.80nb2 found
===> Patching for courier-auth-0.44.2
===> Applying pkgsrc patches for courier-auth-0.44.2
===> Overriding tools for courier-auth-0.44.2
===> Buildlinking for courier-auth-0.44.2
===> Configuring for courier-auth-0.44.2
/bin/mkdir -p /usr/pkgsrc/mail/courier-auth/work/courier-0.44.2/courier
/usr/bin/touch
/usr/pkgsrc/mail/courier-auth/work/courier-0.44.2/courier/courier.c
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c -o root -g
wheel
checking whether build environment is sane... yes
/bin/sh: Can't open
/usr/pkgsrc/mail/courier-auth/work/courier-0.44.2/missing
configure: WARNING: `missing' script is too old or missing
checking for gawk... /usr/bin/awk
checking whether /usr/pkg/bin/gmake sets $(MAKE)... yes
checking for powerpc--netbsd-strip... no
checking for strip... strip
checking for powerpc--netbsd-gcc... cc
checking for C compiler default output... 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 ANSI C... none needed
checking for style of include used by /usr/pkg/bin/gmake... GNU
checking dependency style of cc... none
checking build system type... powerpc-unknown-netbsd1.6P
checking host system type... powerpc--netbsd
checking for a sed that does not truncate output... /usr/bin/sed
checking for egrep... grep -E
checking for ld used by cc... ld
checking if the linker (ld) is GNU ld... yes
checking for ld option to reload object files... -r
checking for BSD-compatible nm... nm
checking whether ln -s works... yes
checking how to recognise dependent libraries... match_pattern
/lib[^/]+(\.so|_pic\.a)$
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... 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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for powerpc--netbsd-g++... c++
checking whether we are using the GNU C++ compiler... yes
checking whether c++ accepts -g... yes
checking dependency style of c++... none
checking how to run the C++ preprocessor... c++ -E
checking for powerpc--netbsd-g77... f77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether f77 accepts -g... yes
checking the maximum length of command line arguments... 65536
checking command to parse nm output from cc object... ok
checking for objdir... .libs
checking for powerpc--netbsd-ar... no
checking for ar... ar
checking for powerpc--netbsd-ranlib... no
checking for ranlib... ranlib
checking for powerpc--netbsd-strip... strip
checking if cc static flag  works... yes
checking if cc supports -fno-rtti -fno-exceptions... yes
checking for cc option to produce PIC... -fPIC
checking if cc PIC flag -fPIC works... yes
checking if cc supports -c -o file.o... yes
checking whether the cc linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... NetBSD ld.elf_so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether /usr/pkg/bin/gmake sets $(MAKE)... (cached) yes
checking for powerpc--netbsd-g++... (cached) c++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking dependency style of c++... (cached) none
checking for perl5... no
checking for perl... /usr/pkg/bin/perl
checking for sysconftool...... ././sysconftool
checking for dbopen in -ldb... no
checking for db_open in -ldb... no
checking for db_env_create in -ldb... no
checking for dbopen... yes
checking for db_open... no
checking for db_env_create... no
checking for gpg... /usr/bin/gpg
configure: creating ./config.status
config.status: creating Makefile
config.status: error: cannot find input file: Makefile.in
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/courier-auth
*** Error code 1

Stop.
make: stopped in /usr/pkgsrc/mail/courier-auth

[9500mp] /usr/pkgsrc/mail/courier-auth#