Skip to contentSkip to conversation

svn-buildpackage not working?

Xenomai-help Bill Gatliff 3 participants 5 messages Aug 14, 2007 – Aug 17, 2007 Kbuild

lore
Share & tools
lore
#0 lore raw

Guys:

Trying to put together a Xenomai package for my Debian "testing" PC. It hangs here:

# svn co ...; cd xenomai
# svn-buildpackage -us -uc -rfakeroot
...
rm: cannot remove /root/xenomai/debian/tmp//usr/include/xenomai: Is a directory
make[4]: *** [install-data-local] Error 1

Any ideas?

Regards,

b.g.

Signature · 2 lines
Bill Gatliff
[email protected]
#1 lore raw
Quoted 14 lines · Bill Gatliff

Guys:

Trying to put together a Xenomai package for my Debian "testing" PC. It hangs here:

# svn co ...; cd xenomai
# svn-buildpackage -us -uc -rfakeroot
...
rm: cannot remove /root/xenomai/debian/tmp//usr/include/xenomai: Is a 
directory
make[4]: *** [install-data-local] Error 1
Quoted 1 line

Any ideas?

Maybe you ran into the same problem as Paul ?
https://mail.gna.org/public/xenomai-core/2007-08/msg00045.html

Could you try the patch attached to that mail and tell us ? Note that since this patch modifies Makefile.ams, you will have to run scripts/bootstrap

Signature · 1 line
					    Gilles Chanteperdrix.
#2 lore raw
In reply to Bill Gatliff

Hi Bill

Quoted 14 lines · Bill Gatliff

Guys:

Trying to put together a Xenomai package for my Debian "testing" PC. It hangs here:

# svn co ...; cd xenomai
# svn-buildpackage -us -uc -rfakeroot
...
rm: cannot remove /root/xenomai/debian/tmp//usr/include/xenomai: Is a
directory
make[4]: *** [install-data-local] Error 1
Quoted 1 line

Any ideas?

I reported this problem a couple of days ago on Xenomai-core along with a patch. FYI, same patch attached - You'll need to run scripts/bootstrap (and use --svn-ignore with svn-buildpackage).

Regards, Paul.

Makefile.am +1 -1
@@ -1,4 +1,4 @@
-includedir = $(prefix)/include
+#includedir = $(prefix)/include
 
 include_HEADERS = \
 	rtdk.h
include/Makefile.am +2 -2
Index: sim/include/Makefile.am
===================================================================
@@ -1,3 +1,3 @@
-includedir = $(prefix)/include/asm-sim
+includesubdir = $(prefix)/include/asm-sim
 
-nodist_include_HEADERS=$(CONFIG_HEADER)
+nodist_includesub_HEADERS=$(CONFIG_HEADER)
skins/posix/Makefile.am +2 -2
Index: sim/skins/posix/Makefile.am
===================================================================
@@ -1,6 +1,6 @@
 vpath %.c $(top_srcdir)/../ksrc/skins/posix
 
-includedir = $(prefix)/include/asm-sim
+includesubdir = $(prefix)/include/asm-sim
 
 CC = $(top_builddir)/gcic/gcic
 
@@ -42,7 +42,7 @@ nodist_libposix_sim_a_SOURCES = \
 	shm.c \
 	module.c
 
-include_HEADERS = \
+includesub_HEADERS = \
 	posix_overrides.h
 
 SUBDIRS = . testsuite demos
#3 lore raw
Quoted 18 lines · Paul

Hi Bill

Quoted 14 lines · Bill Gatliff

Guys:

Trying to put together a Xenomai package for my Debian "testing" PC. It hangs here:

# svn co ...; cd xenomai
# svn-buildpackage -us -uc -rfakeroot
...
rm: cannot remove /root/xenomai/debian/tmp//usr/include/xenomai: Is a
directory
make[4]: *** [install-data-local] Error 1
Quoted 5 lines
Quoted 1 line

Any ideas?

I reported this problem a couple of days ago on Xenomai-core along with a patch. FYI, same patch attached - You'll need to run scripts/bootstrap (and use --svn-ignore with svn-buildpackage).

Patch is applied, bootstrap run, everything should be ok now.

Signature · 1 line
					    Gilles Chanteperdrix.
#4 lore raw

Gilles:

Quoted 6 lines · Gilles Chanteperdrix
Quoted 3 lines

I reported this problem a couple of days ago on Xenomai-core along with a patch. FYI, same patch attached - You'll need to run scripts/bootstrap (and use --svn-ignore with svn-buildpackage).

Patch is applied, bootstrap run, everything should be ok now.

Appears to be, indeed.

b.g.

Signature · 2 lines
Bill Gatliff
[email protected]