ubuntu trusty dahdi-dkms does not install due to compile errors and missing files

Bug #1338634 reported by BitBrusher
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dahdi-linux (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When installing asterisk-dahdi, which in turn install dahdi-dkms I get:

...
Setting up dahdi-dkms (1:2.5.0.1+dfsg-1ubuntu3) ...
Loading new dahdi-2.5.0.1+dfsg-1ubuntu3 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-30-generic
Building for architecture x86_64
Building initial module for 3.13.0-30-generic
Error! Bad return status for module build on kernel: 3.13.0-30-generic (x86_64)
Consult /var/lib/dkms/dahdi/2.5.0.1+dfsg-1ubuntu3/build/make.log for more information.
...

This file is attached.

From this point on I tried to solve it manualy.
Searching the intenet I found the attached patch the partialy solved the problem.
I could "make all".
When I tryed "make install" I got:

...
install -m 644 ../XppConfig.pm USB_FW.hex FPGA_FXS.hex FPGA_1141.hex FPGA_1151.hex FPGA_1161.hex PIC_TYPE_1.hex PIC_TYPE_2.hex PIC_TYPE_3.hex PIC_TYPE_4.hex /usr/share/dahdi/
install: cannot stat ‘USB_FW.hex’: No such file or directory
install: cannot stat ‘FPGA_FXS.hex’: No such file or directory
install: cannot stat ‘FPGA_1141.hex’: No such file or directory
install: cannot stat ‘FPGA_1151.hex’: No such file or directory
install: cannot stat ‘FPGA_1161.hex’: No such file or directory
install: cannot stat ‘PIC_TYPE_1.hex’: No such file or directory
install: cannot stat ‘PIC_TYPE_2.hex’: No such file or directory
install: cannot stat ‘PIC_TYPE_3.hex’: No such file or directory
install: cannot stat ‘PIC_TYPE_4.hex’: No such file or directory
make[1]: *** [install] Error 1
...

I then downloaded dahdi-linux-complete-2.9.1.1+2.9.1.tar.gz from elsewhere and extracted the missing ".hex" files to the /usr/src/dahdi-2.5.0.1+dfsg-1ubuntu3/drivers/dahdi/xpp/firmwares directory.
The "make install" proceeded normally.

Could you guys take a look at this?

One more thing: at the end of installations it says: "If you have not done so before, install the package dahdi-tools".
but:
# apt-get install dahdi-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dahdi-tools

What is incorret: the script message or apt-get message?

# lsb_release -rd
Description: Ubuntu 14.04 LTS
Release: 14.04

# apt-cache policy dahdi-dkms
dahdi-dkms:
  Installed: 1:2.5.0.1+dfsg-1ubuntu3
  Candidate: 1:2.5.0.1+dfsg-1ubuntu3
  Version table:
 *** 1:2.5.0.1+dfsg-1ubuntu3 0
        500 http://br.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

Regards

Ethy

ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: dahdi-dkms 1:2.5.0.1+dfsg-1ubuntu3 [modified: usr/src/dahdi-2.5.0.1+dfsg-1ubuntu3/drivers/dahdi/xpp/xbus-sysfs.c]
ProcVersionSignature: Ubuntu 3.13.0-30.55-generic 3.13.11.2
Uname: Linux 3.13.0-30-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.2
Architecture: amd64
Date: Mon Jul 7 12:32:34 2014
InstallationDate: Installed on 2014-07-04 (3 days ago)
InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
PackageArchitecture: all
SourcePackage: dahdi-linux
UpgradeStatus: No upgrade log present (probably fresh install)
_MarkForUpload: True

Revision history for this message
BitBrusher (ethy-brito) wrote :
Revision history for this message
BitBrusher (ethy-brito) wrote :
Revision history for this message
BitBrusher (ethy-brito) wrote :

My navigator crashed (again) and when restarted it submmited comment 2 again as comment 3. Sorry for that.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch that address the first part of the problem (third part patch - can't find the source site. sorry)." seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

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

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dahdi-linux (Ubuntu):
status: New → Confirmed
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.