From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Paul <paul_c@tuxcnc.org>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai] debuild of xenomai failing: Directory nonexistent
Date: Thu, 30 Jan 2014 21:30:46 +0100 [thread overview]
Message-ID: <52EAB676.7000103@xenomai.org> (raw)
In-Reply-To: <201401301957.54742.paul_c@tuxcnc.org>
On 01/30/2014 08:57 PM, Paul wrote:
> On Thursday 30 January 2014, Gilles Chanteperdrix wrote:
>> On 01/30/2014 05:24 PM, Paul wrote:
>>> On Wednesday 29 January 2014, Gilles Chanteperdrix wrote:
>>>> On 01/29/2014 08:05 PM, Gilles Chanteperdrix wrote:
>>>>> On 01/29/2014 03:36 PM, Huub Van Niekerk wrote:
>>>>>> Hi,
>>>>>>
>>>>>> I'm trying to build the xenomai libs on Ubuntu 12.04 armhf
>>>>>> according to
>>>>>> http://www.xenomai.org/index.php/Building_Debian_packages. It
>>>>>> goes wrong with a message "cannot create
>>>>>> <user>/Downloads/xenomai-2.6.3/debian/libxenomai1/etc/udev//xeno
>>>>>> ma i.rules: Directory nonexistent". Any idea what the cause of
>>>>>> this is ? I did it before on x86, which went great.
>>>>>
>>>>> I do not see why this even works on x86... Please try the
>>>>> following patch:
>>>>
>>>> Please try this one instead:
>>>>
>>>> diff --git a/debian/libxenomai1.install
>>>> b/debian/libxenomai1.install index 093956b..9c732f5 100644
>>>> --- a/debian/libxenomai1.install
>>>> +++ b/debian/libxenomai1.install
>>>> @@ -1 +1,2 @@
>>>> +etc/udev/rules.d/*
>>>> usr/lib/*.so.*
>>>> diff --git a/debian/rules b/debian/rules
>>>> index 3915fd6..c842986 100755
>>>> --- a/debian/rules
>>>> +++ b/debian/rules
>>>> @@ -61,14 +61,12 @@ install: build
>>>> dh_testroot
>>>> dh_prep
>>>> dh_installdirs
>>>> + mkdir -p $(CURDIR)/debian/tmp/etc/udev/rules.d
>>>
>>> This shouldn't be necessary as etc/udev/rules.d is listed in
>>> libxenomai1.dirs - dh_installdirs uses this to create the target
>>> dirctories.
>>>
>>>> $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp/
>>>> dh_install --sourcedir=$(CURDIR)/debian/tmp
>>>> # xeno-config should be only in libxenomai-dev
>>>> rm -f $(CURDIR)/debian/xenomai-runtime/usr/bin/xeno-config
>>>> rm -f
>>>> $(CURDIR)/debian/xenomai-runtime/usr/share/man/man1/xeno-config.1
>>>> - for f in $(CURDIR)/ksrc/nucleus/udev/*.rules ; do \
>>>> - cat $$f >>
>>>> $(CURDIR)/debian/libxenomai1/etc/udev/xenomai.rules ; \ - done
>>>
>>> This is needed so that the udev rules get copied across.
>>
>> If the directory /etc/udev/rules.d exists, Xenomai's "make install",
>> should copy the rules itself.
>
> The default install is in debian/tmp where as udev rules should be
> installed in debian/libxenomai1 so that they end up in the correct
> package. The attached patch aims to do just this and also removes a
> symlink created when installing the package.
Merged, thanks.
--
Gilles.
next prev parent reply other threads:[~2014-01-30 20:30 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-29 14:36 [Xenomai] debuild of xenomai failing: Directory nonexistent Huub Van Niekerk
2014-01-29 19:05 ` Gilles Chanteperdrix
2014-01-29 20:02 ` Gilles Chanteperdrix
2014-01-30 7:31 ` Huub Van Niekerk
2014-01-30 8:39 ` Gilles Chanteperdrix
2014-01-30 9:05 ` Huub Van Niekerk
2014-01-30 9:24 ` Gilles Chanteperdrix
2014-01-30 9:41 ` Huub Van Niekerk
2014-01-30 10:52 ` Gilles Chanteperdrix
2014-01-30 12:07 ` Huub Van Niekerk
2014-01-30 12:53 ` Gilles Chanteperdrix
2014-01-30 13:23 ` Huub Van Niekerk
2014-01-30 16:45 ` Gilles Chanteperdrix
2014-01-30 19:12 ` Gilles Chanteperdrix
2014-01-31 6:58 ` Huub Van Niekerk
2014-01-31 9:27 ` Gilles Chanteperdrix
2014-01-30 12:07 ` Huub Van Niekerk
2014-01-30 12:12 ` Gilles Chanteperdrix
2014-01-30 16:24 ` Paul
2014-01-30 16:44 ` Gilles Chanteperdrix
2014-01-30 19:57 ` Paul
2014-01-30 20:30 ` Gilles Chanteperdrix [this message]
2014-01-31 7:00 ` Huub Van Niekerk
2014-01-31 9:30 ` Gilles Chanteperdrix
2014-01-31 9:37 ` Huub Van Niekerk
2014-01-31 9:18 ` Huub Van Niekerk
2014-01-31 9:39 ` Gilles Chanteperdrix
2014-01-31 14:12 ` Paul
2014-01-31 14:13 ` Gilles Chanteperdrix
2014-02-02 23:50 ` Paul
2014-02-03 20:42 ` Gilles Chanteperdrix
2014-01-31 12:22 ` Gilles Chanteperdrix
2014-01-31 14:08 ` Huub Van Niekerk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52EAB676.7000103@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=paul_c@tuxcnc.org \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.