All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Morris <john@zultron.com>
To: xenomai@xenomai.org
Subject: [Xenomai] Debian package build problems
Date: Mon, 07 Jan 2013 03:55:38 -0600	[thread overview]
Message-ID: <50EA9B9A.6000804@zultron.com> (raw)

Hi list,

I encountered a couple of problems building packages for 2.6.2 when
following the instructions to build from git in this link:

http://www.xenomai.org/index.php/Building_Debian_packages

First, the autoconf-generated 'configure' script is checked into git.
When git-buildpackage cleans up, it removes the configure script, and
then bombs out when it finds uncommitted changes (i.e. the configure
script removed) in the git tree.  I hacked around it by committing a
'git rm configure' in my own tree, but don't have a more sophisticated
fix (is the configure script committed in git for a reason?).

Second, the kernel patch copying code in debian/rules is out of date.
It expects to find "adeos-ipipe-*.patch" in the top-level directory.
Here's a patch to copy the ipipe-core patch files from the
ksrc/arch/<arch>/patches/ directory instead.

One more problem when building the 3.2.21 kernel (I'm building 3.5.3
now, but since I have the fix, may as well report it).  The ipipe-core
patch introduces a syntax error in arch/x86/kernel/apic/io_apic.c,
breaking compile.  Here's a second patch to fix that.

Thanks-

	John
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xenomai-2.6.2-debian_rules_copy_kernel_patches.patch
Type: text/x-patch
Size: 1850 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130107/dff1e42e/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xenomai-2.6.2-ipipe_core_3.2.21_io_apic.c_compile.patch
Type: text/x-patch
Size: 632 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130107/dff1e42e/attachment-0001.bin>

             reply	other threads:[~2013-01-07  9:55 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-01-07  9:55 John Morris [this message]
2013-01-07 22:43 ` [Xenomai] Debian package build problems Gilles Chanteperdrix
2013-01-08  8:37   ` John Morris
2013-01-08 20:25     ` Gilles Chanteperdrix
2013-01-13  7:37       ` John Morris
2013-01-13 12:19         ` Gilles Chanteperdrix
2013-01-13 19:46           ` John Morris
2013-01-28  7:34             ` John Morris
2013-01-28  7:39               ` Gilles Chanteperdrix
2013-01-28  7:48                 ` John Morris
2013-01-28  8:09                   ` Gilles Chanteperdrix
2013-01-28  8:19                     ` John Morris
2013-01-28  8:25                       ` Gilles Chanteperdrix

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=50EA9B9A.6000804@zultron.com \
    --to=john@zultron.com \
    --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.