* [Xenomai] Debian Package Building Broken
@ 2014-04-02 15:55 Charles Steinkuehler
2014-04-02 16:02 ` Gilles Chanteperdrix
2014-04-02 16:09 ` Gilles Chanteperdrix
0 siblings, 2 replies; 10+ messages in thread
From: Charles Steinkuehler @ 2014-04-02 15:55 UTC (permalink / raw)
To: xenomai
While following the instructions to build a Debian package from git:
http://xenomai.org/index.php/Building_Debian_packages
...I ran into a problem. There is a "configure" file in the git
repository that looks like it shouldn't be there. The build scripts
delete this file, then complain that the local working copy has
modifications and refuse to build the package.
I was able to work around this by just deleting the configure file and
committing the changes, but you might want to do this upstream as well.
I am building from the 2.6.3 tag, but the configure file still exists in
master:
http://git.xenomai.org/xenomai-2.6.git/tree/
--
Charles Steinkuehler
charles@steinkuehler.net
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 15:55 [Xenomai] Debian Package Building Broken Charles Steinkuehler
@ 2014-04-02 16:02 ` Gilles Chanteperdrix
2014-04-02 16:12 ` Charles Steinkuehler
2014-04-02 16:09 ` Gilles Chanteperdrix
1 sibling, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-04-02 16:02 UTC (permalink / raw)
To: Charles Steinkuehler; +Cc: xenomai
On 04/02/2014 05:55 PM, Charles Steinkuehler wrote:
> While following the instructions to build a Debian package from git:
>
> http://xenomai.org/index.php/Building_Debian_packages
>
> ...I ran into a problem. There is a "configure" file in the git
> repository that looks like it shouldn't be there. The build scripts
> delete this file, then complain that the local working copy has
> modifications and refuse to build the package.
>
> I was able to work around this by just deleting the configure file and
> committing the changes, but you might want to do this upstream as well.
>
> I am building from the 2.6.3 tag, but the configure file still exists in
> master:
>
> http://git.xenomai.org/xenomai-2.6.git/tree/
No, the configure file is in the tree, this is intentional, this avoids
requiring people which compile the package from the git tree to have the
autotools installed. If debian/rules does not support that, it should be
fixed to support it.
--
Gilles.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 16:02 ` Gilles Chanteperdrix
@ 2014-04-02 16:12 ` Charles Steinkuehler
2014-04-02 16:14 ` Gilles Chanteperdrix
0 siblings, 1 reply; 10+ messages in thread
From: Charles Steinkuehler @ 2014-04-02 16:12 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
On 4/2/2014 11:02 AM, Gilles Chanteperdrix wrote:
> On 04/02/2014 05:55 PM, Charles Steinkuehler wrote:
>>
>> I am building from the 2.6.3 tag, but the configure file still exists in
>> master:
>>
>> http://git.xenomai.org/xenomai-2.6.git/tree/
>
> No, the configure file is in the tree, this is intentional, this avoids
> requiring people which compile the package from the git tree to have the
> autotools installed. If debian/rules does not support that, it should be
> fixed to support it.
I'm not sure if debian/rules allows that or not...I'm just trying to
build 2.6.3 packages from git following the directions on the wiki:
http://xenomai.org/index.php/Building_Debian_packages#from_a_Git_repository
...mostly because for some reason Debian doesn't build the armhf flavor
of the Xenomai packages:
https://packages.debian.org/sid/xenomai-runtime
...there's armel, but no armhf. :(
--
Charles Steinkuehler
charles@steinkuehler.net
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 16:12 ` Charles Steinkuehler
@ 2014-04-02 16:14 ` Gilles Chanteperdrix
0 siblings, 0 replies; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-04-02 16:14 UTC (permalink / raw)
To: Charles Steinkuehler; +Cc: xenomai
On 04/02/2014 06:12 PM, Charles Steinkuehler wrote:
> On 4/2/2014 11:02 AM, Gilles Chanteperdrix wrote:
>> On 04/02/2014 05:55 PM, Charles Steinkuehler wrote:
>>>
>>> I am building from the 2.6.3 tag, but the configure file still exists in
>>> master:
>>>
>>> http://git.xenomai.org/xenomai-2.6.git/tree/
>>
>> No, the configure file is in the tree, this is intentional, this avoids
>> requiring people which compile the package from the git tree to have the
>> autotools installed. If debian/rules does not support that, it should be
>> fixed to support it.
>
> I'm not sure if debian/rules allows that or not...I'm just trying to
> build 2.6.3 packages from git following the directions on the wiki:
>
> http://xenomai.org/index.php/Building_Debian_packages#from_a_Git_repository
>
> ...mostly because for some reason Debian doesn't build the armhf flavor
> of the Xenomai packages:
>
> https://packages.debian.org/sid/xenomai-runtime
>
> ...there's armel, but no armhf. :(
>
This is a known issue, which has been fixed in xenomai git:
http://git.xenomai.org/xenomai-2.6.git/commit/?id=b10527ed14399a6485f69b935988d9d5211066d0
You will not have it when building from the 2.6.3 tag, though.
--
Gilles.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 15:55 [Xenomai] Debian Package Building Broken Charles Steinkuehler
2014-04-02 16:02 ` Gilles Chanteperdrix
@ 2014-04-02 16:09 ` Gilles Chanteperdrix
2014-04-02 16:21 ` Charles Steinkuehler
1 sibling, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-04-02 16:09 UTC (permalink / raw)
To: Charles Steinkuehler; +Cc: xenomai
On 04/02/2014 05:55 PM, Charles Steinkuehler wrote:
> While following the instructions to build a Debian package from git:
>
> http://xenomai.org/index.php/Building_Debian_packages
>
> ...I ran into a problem. There is a "configure" file in the git
> repository that looks like it shouldn't be there. The build scripts
> delete this file, then complain that the local working copy has
> modifications and refuse to build the package.
>
> I was able to work around this by just deleting the configure file and
> committing the changes, but you might want to do this upstream as well.
>
> I am building from the 2.6.3 tag, but the configure file still exists in
> master:
>
> http://git.xenomai.org/xenomai-2.6.git/tree/
>
Does this still happen if you remove the line "autoreconf -fi" from
debian/rules ?
--
Gilles.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 16:09 ` Gilles Chanteperdrix
@ 2014-04-02 16:21 ` Charles Steinkuehler
2014-04-02 16:22 ` Gilles Chanteperdrix
2014-04-02 16:53 ` Gilles Chanteperdrix
0 siblings, 2 replies; 10+ messages in thread
From: Charles Steinkuehler @ 2014-04-02 16:21 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
On 4/2/2014 11:09 AM, Gilles Chanteperdrix wrote:
>>
> Does this still happen if you remove the line "autoreconf -fi" from
> debian/rules ?
Yes, see below (pasted as a quote to hopefully avoid wrapping). The
build complains about uncommitted changes immediately after deleting the
configure file, which is what causes the uncommitted change.
I have some other problem as well, even if I remove the configure file
the build still dies, but I think that's something on my end. It's
unrelated to the configure file, anyway.
> linuxcnc@mah2:~/xenomai$ git-buildpackage --git-debian-branch=v2.6.3-deb --git-export-dir=.. -uc -us
> dh_testdir
> dh_testroot
> rm -f configure-stamp build-indep-stamp build-arch-stamp
> if test -f Makefile ; then \
> /usr/bin/make distclean ; \
> fi
> dh_clean
> rm -fR /home/linuxcnc/xenomai/tmp
> rm -f /home/linuxcnc/xenomai/*.patch
> rm -f configure
> gbp:error: You have uncommitted changes in your source tree:
> gbp:error: # On branch v2.6.3-deb
> # Changes not staged for commit:
> # (use "git add/rm <file>..." to update what will be committed)
> # (use "git checkout -- <file>..." to discard changes in working directory)
> #
> # deleted: configure
> #
> no changes added to commit (use "git add" and/or "git commit -a")
>
> gbp:error: Use --git-ignore-new to ignore.
--
Charles Steinkuehler
charles@steinkuehler.net
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 16:21 ` Charles Steinkuehler
@ 2014-04-02 16:22 ` Gilles Chanteperdrix
2014-04-02 16:30 ` Charles Steinkuehler
2014-04-02 16:53 ` Gilles Chanteperdrix
1 sibling, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-04-02 16:22 UTC (permalink / raw)
To: Charles Steinkuehler; +Cc: xenomai
On 04/02/2014 06:21 PM, Charles Steinkuehler wrote:
> On 4/2/2014 11:09 AM, Gilles Chanteperdrix wrote:
>>>
>> Does this still happen if you remove the line "autoreconf -fi" from
>> debian/rules ?
>
> Yes, see below (pasted as a quote to hopefully avoid wrapping). The
> build complains about uncommitted changes immediately after deleting the
> configure file, which is what causes the uncommitted change.
>
> I have some other problem as well, even if I remove the configure file
> the build still dies, but I think that's something on my end. It's
> unrelated to the configure file, anyway.
>
>> linuxcnc@mah2:~/xenomai$ git-buildpackage --git-debian-branch=v2.6.3-deb --git-export-dir=.. -uc -us
>> dh_testdir
>> dh_testroot
>> rm -f configure-stamp build-indep-stamp build-arch-stamp
>> if test -f Makefile ; then \
>> /usr/bin/make distclean ; \
>> fi
>> dh_clean
>> rm -fR /home/linuxcnc/xenomai/tmp
>> rm -f /home/linuxcnc/xenomai/*.patch
>> rm -f configure
Ok, that is the "clean" target, so we should remove the rm configure
from the clean target.
--
Gilles.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 16:22 ` Gilles Chanteperdrix
@ 2014-04-02 16:30 ` Charles Steinkuehler
0 siblings, 0 replies; 10+ messages in thread
From: Charles Steinkuehler @ 2014-04-02 16:30 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
On 4/2/2014 11:22 AM, Gilles Chanteperdrix wrote:
> On 04/02/2014 06:21 PM, Charles Steinkuehler wrote:
>>
>>> linuxcnc@mah2:~/xenomai$ git-buildpackage
>>> --git-debian-branch=v2.6.3-deb --git-export-dir=.. -uc -us
>>> dh_testdir
>>> dh_testroot
>>> rm -f configure-stamp build-indep-stamp build-arch-stamp
>>> if test -f Makefile ; then \
>>> /usr/bin/make distclean ; \
>>> fi
>>> dh_clean
>>> rm -fR /home/linuxcnc/xenomai/tmp
>>> rm -f /home/linuxcnc/xenomai/*.patch
>>> rm -f configure
>
> Ok, that is the "clean" target, so we should remove the rm configure
> from the clean target.
Yes, commenting "-rm -f configure" in the clean target gets it past this
particular problem.
--
Charles Steinkuehler
charles@steinkuehler.net
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 16:21 ` Charles Steinkuehler
2014-04-02 16:22 ` Gilles Chanteperdrix
@ 2014-04-02 16:53 ` Gilles Chanteperdrix
2014-04-02 17:31 ` Charles Steinkuehler
1 sibling, 1 reply; 10+ messages in thread
From: Gilles Chanteperdrix @ 2014-04-02 16:53 UTC (permalink / raw)
To: Charles Steinkuehler; +Cc: xenomai
On 04/02/2014 06:21 PM, Charles Steinkuehler wrote:
> On 4/2/2014 11:09 AM, Gilles Chanteperdrix wrote:
>>>
>> Does this still happen if you remove the line "autoreconf -fi" from
>> debian/rules ?
>
> Yes, see below (pasted as a quote to hopefully avoid wrapping). The
> build complains about uncommitted changes immediately after deleting the
> configure file, which is what causes the uncommitted change.
>
> I have some other problem as well, even if I remove the configure file
> the build still dies, but I think that's something on my end. It's
> unrelated to the configure file, anyway.
Actually, it is better if you start from Xenomai 2.6 git head instead of
the v2.6.3 tag, as you will avoid the few issues (including the fact
that it does not compile for armhf) which have been fixed since the
2.6.3 release.
--
Gilles.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: [Xenomai] Debian Package Building Broken
2014-04-02 16:53 ` Gilles Chanteperdrix
@ 2014-04-02 17:31 ` Charles Steinkuehler
0 siblings, 0 replies; 10+ messages in thread
From: Charles Steinkuehler @ 2014-04-02 17:31 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
On 4/2/2014 11:53 AM, Gilles Chanteperdrix wrote:
>
> Actually, it is better if you start from Xenomai 2.6 git head instead of
> the v2.6.3 tag, as you will avoid the few issues (including the fact
> that it does not compile for armhf) which have been fixed since the
> 2.6.3 release.
Between commenting the rm configure and using 2.6 HEAD, I got packages
to successfully build.
Thanks for the help!
--
Charles Steinkuehler
charles@steinkuehler.net
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2014-04-02 17:31 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-02 15:55 [Xenomai] Debian Package Building Broken Charles Steinkuehler
2014-04-02 16:02 ` Gilles Chanteperdrix
2014-04-02 16:12 ` Charles Steinkuehler
2014-04-02 16:14 ` Gilles Chanteperdrix
2014-04-02 16:09 ` Gilles Chanteperdrix
2014-04-02 16:21 ` Charles Steinkuehler
2014-04-02 16:22 ` Gilles Chanteperdrix
2014-04-02 16:30 ` Charles Steinkuehler
2014-04-02 16:53 ` Gilles Chanteperdrix
2014-04-02 17:31 ` Charles Steinkuehler
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.