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

Bug#403682: apache2.2: FTBFS: /bin/sh: mawk: command not found



Package: apache2
Version: 2.2.3-3.2
Severity: serious
Justification: no longer builds from source

>From my build log:

| Automatic build of apache2_2.2.3-3.2 on shockley by sbuild/kfreebsd-amd64 85
| Build started at 20061218-1408
| ******************************************************************************
| Checking available source versions...
| Fetching source files...
| Reading package lists...
| Building dependency tree...
| Need to get 6451kB of source archives.
| Get:1 http://debian.aurel32.net unstable/main apache2 2.2.3-3.2 (dsc) [1026B]
| Get:2 http://debian.aurel32.net unstable/main apache2 2.2.3-3.2 (tar) [6342kB]
| Get:3 http://debian.aurel32.net unstable/main apache2 2.2.3-3.2 (diff) [107kB]
| Fetched 6451kB in 0s (8053kB/s)
| Download complete and in download only mode
| ** Using build dependencies supplied by package:
| Build-Depends: debhelper (>= 4.1.16), dpatch, lsb-release, libaprutil1-dev, libapr1-dev (>= 1.2.7-6), openssl, libpcre3-dev, libtool
| Checking for already installed source dependencies...
| debhelper: missing
| Using default version 5.0.42
| dpatch: missing
| lsb-release: missing
| libaprutil1-dev: missing
| libapr1-dev: missing
| Using default version 1.2.7-7
| openssl: missing
| libpcre3-dev: missing
| libtool: missing
| Checking for source dependency conflicts...
|   /usr/bin/sudo /usr/bin/apt-get --purge $CHROOT_OPTIONS -q -y install debhelper dpatch lsb-release libaprutil1-dev libapr1-dev openssl libpcre3-dev libtool
| Reading package lists...
| Building dependency tree...
| The following extra packages will be installed:
|   autotools-dev comerr-dev file gettext gettext-base html2text intltool-debian
|   libapr1 libaprutil1 libdb4.4-dev libexpat1-dev libkadm55 libkrb5-dev
|   libkrb53 libldap2-dev libmagic1 libpcrecpp0 libpq-dev libpq4 libsqlite3-0
|   libsqlite3-dev libssl-dev mime-support po-debconf python python-minimal
|   python2.4 python2.4-minimal uuid-dev zlib1g-dev
| Suggested packages:
|   doc-base dh-make curl cvs gettext-doc db4.4-doc krb5-doc krb5-user
|   postgresql-doc-8.1 sqlite3-doc libtool-doc autoconf automaken g77
|   fortran77-compiler gcj ca-certificates python-doc python-tk python-profiler
|   python2.4-doc
| Recommended packages:
|   patchutils libltdl3-dev lsb libmail-sendmail-perl libcompress-zlib-perl
| The following NEW packages will be installed:
|   autotools-dev comerr-dev debhelper dpatch file gettext gettext-base
|   html2text intltool-debian libapr1 libapr1-dev libaprutil1 libaprutil1-dev
|   libdb4.4-dev libexpat1-dev libkadm55 libkrb5-dev libkrb53 libldap2-dev
|   libmagic1 libpcre3-dev libpcrecpp0 libpq-dev libpq4 libsqlite3-0
|   libsqlite3-dev libssl-dev libtool lsb-release mime-support openssl
|   po-debconf python python-minimal python2.4 python2.4-minimal uuid-dev
|   zlib1g-dev
| 0 upgraded, 38 newly installed, 0 to remove and 3 not upgraded.
| Need to get 655kB/16.3MB of archives.
| After unpacking 49.6MB of additional disk space will be used.
 
[snip]
 
| 	done; \
| 	for dir in /usr/include/apr-1.0 /usr/include/apr-1.0; do \
| 	    (ls $dir/ap[ru].h $dir/ap[ru]_*.h >> $tmp 2>/dev/null); \
| 	done; \
| 	sort -u $tmp > export_files; \
| 	rm -f $tmp
| mawk -f /build/buildd/apache2-2.2.3/build/make_exports.awk `cat export_files` > exports.c
| /bin/sh: mawk: command not found
| make[3]: *** [exports.c] Error 127
| make[3]: Leaving directory `/build/buildd/apache2-2.2.3/debian/build-tree/worker/server'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/build/buildd/apache2-2.2.3/debian/build-tree/worker/server'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/build/buildd/apache2-2.2.3/debian/build-tree/worker'
| make: *** [mpm-worker] Error 2
| ******************************************************************************
| Build finished at 20061218-1410
| FAILED [dpkg-buildpackage died]
| Purging chroot-unstable/build/buildd/apache2-2.2.3
| ------------------------------------------------------------------------------

The build log is for kfreebsd-amd64, but the same happens in a pbuilder
on amd64. The build system is calling mawk, but either gawk or mawk can 
be installed on the system. It should either call awk, or the package 
should build-depends on mawk.


-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)



Reply to: