dahdi compilation requires gawk, which is not a dependency of the package

Bug #493304 reported by Rey Tucker
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dahdi-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The dahdi installation requires a DKMS compilation, which dies on a make error:

[...]
make -C /usr/src/linux SUBDIRS=/usr/src/modules/dahdi/drivers/dahdi
DAHDI_INCLUDE=/usr/src/modules/dahdi/include
DAHDI_MODULES_EXTRA="opvxa1200.o wcopenpci.o dahdi_echocan_oslec.o
zaphfc/ ../staging/echo/" HOTPLUG_FIRMWARE=yes modules DAHDI_BUILD_ALL=m
make[3]: Entering directory `/usr/src/linux-headers-2.6.31-302-ec2'
awk: line 2: function gensub never defined
scripts/Makefile.build:82: *** 'Your awk program does not define gensub.
Use gawk or another awk with gensub'. Stop.

Installing gawk then re-running module-assistant auto-install dahdi appears to fix the problem. I would recommend adding "gawk" as a dependency.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package dahdi-tools - 1:2.4.1-1ubuntu1

---------------
dahdi-tools (1:2.4.1-1ubuntu1) oneiric; urgency=low

  * Merge from Debian. Remaining changes:
    - Bug Fix: If linux-headers are not installed, don't block, and print
      information for the user.
    - added debian/dahdi.postinst
    - added --error-handler=init_failed to debian/rules
    - Changes from Debian:
      - debian/control: Change Maintainer
      - debian/control: Removed Uploaders field.
      - debian/control: Removed Debian Vcs-Svn entry and replaced with
        ubuntu-voip Vcs-Bzr, to reflect divergence in packages.
      - debian/control: Package dahdi Depends on dahdi-dkms | dahdi-source
  * debian/control: Added gawk as dependency for dkms build (LP: #493304)

dahdi-tools (1:2.4.1-1) unstable; urgency=low

  * New upstream release (Closes: #581076, #582094).
  * Patches hardware_rescan, perl_fix_noserial, perl_fix_transportdir,
    astribank_allow_ignoreend, init_unload_modules and wcb4xxp_extra_trunk
    dropped: merged upstream.
  * dahdi-linux 2.3.0 is required (extra config options for dahdi_cfg).
  * Convert to dpkg v.3 format.
  * Standards version: 3.9.1.0 (No change needed.
 -- Stefan Lesicnik <email address hidden> Sun, 08 May 2011 14:18:11 +0200

Changed in dahdi-tools (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.