[asterisk-bugs] [JIRA] (DAHLIN-337) Unable to build DAHDI-Linux 2.9.1 in mock chroot
Elwin Andriol (JIRA)
noreply at issues.asterisk.org
Mon Mar 31 09:54:19 CDT 2014
[ https://issues.asterisk.org/jira/browse/DAHLIN-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=216933#comment-216933 ]
Elwin Andriol commented on DAHLIN-337:
--------------------------------------
I assume the bug fix will be in the git repo soon, but that will only solve the problem for people who build straight from git master.
For many (automatic) package builders who use the latest release version (currently 2.9.1) this bug will be a show stopper, until the next release. That is, unless they integrate a special hotfix patch of their own of course (like I already did).
Considering this consequence, would it be suggestible to bump up the current release version with a hotfix included? I do understand that there may be many reasons for being conservative about such a move. I'm just asking.
For me the problem is already fixed, so the suggestion is more for the sake of preventing other people from getting annoyed by no longer being able to build DAHDI-Linux packages.
> Unable to build DAHDI-Linux 2.9.1 in mock chroot
> ------------------------------------------------
>
> Key: DAHLIN-337
> URL: https://issues.asterisk.org/jira/browse/DAHLIN-337
> Project: DAHDI-Linux
> Issue Type: Bug
> Security Level: None
> Components: General
> Environment: Both Fedora 20 and CentOS 6.5 Koji/mock chroots
> Reporter: Anthony Messina
> Assignee: Shaun Ruffell
> Attachments: dahdi-linux-2.9.1-hotplug-install-fix.diff
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.2#6252)
More information about the asterisk-bugs
mailing list