Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] Unable to build DAHDI-Linux in mock chroot


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
amessina at messinet.com
Guest





PostPosted: Fri Mar 28, 2014 7:44 pm    Post subject: [asterisk-users] Unable to build DAHDI-Linux in mock chroot Reply with quote

Unfortunately, after

http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=6cebc1c1fb12cc0661f3810ef47ad33206b2e398

I am unable to build DAHDI-Linux in a mock chroot for packaging purposes. I
believe this is related to the Makefile calling install_firmware with only 2
args, where install_firmware is a shell script with DESTDIR set to $3, which
is empty.

In this case, the DESTDIR evaluates to "/usr/lib/hotplug/firmware", rather
than "<buildroot_destdir>/usr/lib/hotplug/firmware".


make -C drivers/dahdi/firmware hotplug-install
DESTDIR=/builddir/build/BUILDROOT/dahdi-linux-2.9.1-1.fc20.x86_64
HOTPLUG_FIRMWARE=yes
make[1]: Entering directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/usr/lib/hotplug/firmware
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/lib/firmware
Installing dahdi-fw-oct6114-032.bin to hotplug firmware directories
install: cannot create regular file '/usr/lib/hotplug/firmware': No such file
or directory
make[1]: *** [hotplug-install] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
make: *** [install-firmware] Error 2

-A

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
amessina at messinet.com
Guest





PostPosted: Fri Mar 28, 2014 7:58 pm    Post subject: [asterisk-users] Unable to build DAHDI-Linux in mock chroot Reply with quote

On Friday, March 28, 2014 07:43:48 PM Anthony Messina wrote:
Quote:
Unfortunately, after

http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=6cebc1c1fb1
2cc0661f3810ef47ad33206b2e398

I am unable to build DAHDI-Linux in a mock chroot for packaging
purposes. I believe this is related to the Makefile calling
install_firmware with only 2 args, where install_firmware is a shell script
with DESTDIR set to $3, which is empty.

In this case, the DESTDIR evaluates to "/usr/lib/hotplug/firmware", rather
than "<buildroot_destdir>/usr/lib/hotplug/firmware".


make -C drivers/dahdi/firmware hotplug-install
DESTDIR=/builddir/build/BUILDROOT/dahdi-linux-2.9.1-1.fc20.x86_64
HOTPLUG_FIRMWARE=yes
make[1]: Entering directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/usr/lib/hotplug/firmware
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/lib/firmware
Installing dahdi-fw-oct6114-032.bin to hotplug firmware directories
install: cannot create regular file '/usr/lib/hotplug/firmware': No such
file or directory
make[1]: *** [hotplug-install] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
make: *** [install-firmware] Error 2

https://issues.asterisk.org/jira/browse/DAHLIN-337

-A

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
tzafrir.cohen at xorco...
Guest





PostPosted: Sun Mar 30, 2014 11:08 am    Post subject: [asterisk-users] Unable to build DAHDI-Linux in mock chroot Reply with quote

On Fri, Mar 28, 2014 at 07:57:54PM -0500, Anthony Messina wrote:
Quote:
On Friday, March 28, 2014 07:43:48 PM Anthony Messina wrote:
Quote:
Unfortunately, after

http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=6cebc1c1fb1
2cc0661f3810ef47ad33206b2e398

I am unable to build DAHDI-Linux in a mock chroot for packaging
purposes. I believe this is related to the Makefile calling
install_firmware with only 2 args, where install_firmware is a shell script
with DESTDIR set to $3, which is empty.

In this case, the DESTDIR evaluates to "/usr/lib/hotplug/firmware", rather
than "<buildroot_destdir>/usr/lib/hotplug/firmware".


make -C drivers/dahdi/firmware hotplug-install
DESTDIR=/builddir/build/BUILDROOT/dahdi-linux-2.9.1-1.fc20.x86_64
HOTPLUG_FIRMWARE=yes
make[1]: Entering directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/usr/lib/hotplug/firmware
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/lib/firmware
Installing dahdi-fw-oct6114-032.bin to hotplug firmware directories
install: cannot create regular file '/usr/lib/hotplug/firmware': No such
file or directory
make[1]: *** [hotplug-install] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
make: *** [install-firmware] Error 2

https://issues.asterisk.org/jira/browse/DAHLIN-337

Thanks for your report. I hope to get it fixed soon.
I should note that this specific target does not belong in a proper
chroot build, as it downloads from outside. How can I get those firmware
files properly included?

--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen@xorcom.com
+972-50-7952406 mailto:tzafrir.cohen@xorcom.com
http://www.xorcom.com

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
amessina at messinet.com
Guest





PostPosted: Sun Mar 30, 2014 2:24 pm    Post subject: [asterisk-users] Unable to build DAHDI-Linux in mock chroot Reply with quote

On Sunday, March 30, 2014 07:07:47 PM Tzafrir Cohen wrote:
Quote:
On Fri, Mar 28, 2014 at 07:57:54PM -0500, Anthony Messina wrote:
Quote:
On Friday, March 28, 2014 07:43:48 PM Anthony Messina wrote:
Quote:
Unfortunately, after



http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=6cebc1c
1fb1 2cc0661f3810ef47ad33206b2e398



I am unable to build DAHDI-Linux in a mock chroot for packaging
purposes. I believe this is related to the Makefile calling
install_firmware with only 2 args, where install_firmware is a shell
script
with DESTDIR set to $3, which is empty.



In this case, the DESTDIR evaluates to "/usr/lib/hotplug/firmware",
rather
than "<buildroot_destdir>/usr/lib/hotplug/firmware".




make -C drivers/dahdi/firmware hotplug-install
DESTDIR=/builddir/build/BUILDROOT/dahdi-linux-2.9.1-1.fc20.x86_64
HOTPLUG_FIRMWARE=yes
make[1]: Entering directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/usr/lib/hotplug/firmware
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/lib/firmware
Installing dahdi-fw-oct6114-032.bin to hotplug firmware directories
install: cannot create regular file '/usr/lib/hotplug/firmware': No such
file or directory
make[1]: *** [hotplug-install] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
make: *** [install-firmware] Error 2



https://issues.asterisk.org/jira/browse/DAHLIN-337

Thanks for your report. I hope to get it fixed soon.
I should note that this specific target does not belong in a proper
chroot build, as it downloads from outside. How can I get those firmware
files properly included?

This is the spec file I use:
https://messinet.com/rpms/browser/dahdi-linux/dahdi-linux.spec

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
amessina at messinet.com
Guest





PostPosted: Mon Mar 31, 2014 5:30 pm    Post subject: [asterisk-users] Unable to build DAHDI-Linux in mock chroot Reply with quote

On Sunday, March 30, 2014 02:24:35 PM Anthony Messina wrote:
Quote:
On Sunday, March 30, 2014 07:07:47 PM Tzafrir Cohen wrote:
Quote:
On Fri, Mar 28, 2014 at 07:57:54PM -0500, Anthony Messina wrote:
Quote:
On Friday, March 28, 2014 07:43:48 PM Anthony Messina wrote:
Quote:
Unfortunately, after



http://git.asterisk.org/gitweb/?p=dahdi/linux.git;a=commitdiff;h=6cebc
1c
1fb1 2cc0661f3810ef47ad33206b2e398



I am unable to build DAHDI-Linux in a mock chroot for packaging
purposes. I believe this is related to the Makefile calling
install_firmware with only 2 args, where install_firmware is a shell
script
with DESTDIR set to $3, which is empty.



In this case, the DESTDIR evaluates to "/usr/lib/hotplug/firmware",
rather
than "<buildroot_destdir>/usr/lib/hotplug/firmware".




make -C drivers/dahdi/firmware hotplug-install
DESTDIR=/builddir/build/BUILDROOT/dahdi-linux-2.9.1-1.fc20.x86_64
HOTPLUG_FIRMWARE=yes
make[1]: Entering directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/usr/lib/hotplug/firmware
mkdir -p /builddir/build/BUILDROOT/dahdi-
linux-2.9.1-1.fc20.x86_64/lib/firmware
Installing dahdi-fw-oct6114-032.bin to hotplug firmware directories
install: cannot create regular file '/usr/lib/hotplug/firmware': No
such
file or directory
make[1]: *** [hotplug-install] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/dahdi-
linux-2.9.1/drivers/dahdi/firmware'
make: *** [install-firmware] Error 2



https://issues.asterisk.org/jira/browse/DAHLIN-337



Thanks for your report. I hope to get it fixed soon.
I should note that this specific target does not belong in a proper
chroot build, as it downloads from outside. How can I get those firmware
files properly included?

This is the spec file I use:
https://messinet.com/rpms/browser/dahdi-linux/dahdi-linux.spec

DAHDI-Linux-2.9.1.1 fixes this issue. Thank you. -A

--
Anthony - http://messinet.com - http://messinet.com/~amessina/gallery
8F89 5E72 8DF0 BCF0 10BE 9967 92DC 35DC B001 4A4E

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services