[Pkg-virtualbox-commits] [kbuild] 03/03: Update packaging, note: FTBFS
Gianfranco Costamagna
locutusofborg at moszumanska.debian.org
Wed Sep 7 09:25:07 UTC 2016
This is an automated email from the git hooks/post-receive script.
locutusofborg pushed a commit to branch experimental
in repository kbuild.
commit 5ac4c43ecb31a78e2a93964650f60dfa3b26a1d1
Author: Gianfranco Costamagna <locutusofborg at debian.org>
Date: Wed Sep 7 11:24:52 2016 +0200
Update packaging, note: FTBFS
---
debian/changelog | 7 ++
debian/copyright | 78 +++++++++++++++++++++-
debian/patches/01_gnukfreebsd.diff | 42 ++++++------
debian/patches/02_sh4.diff | 4 +-
debian/patches/05_hppa-disable-threads.diff | 6 +-
debian/patches/06_binutils-gold.diff | 2 +-
...ord_files_SV_33034_Changes_fatal_to_error.patch | 2 +-
debian/patches/10_ppc64el.diff | 4 +-
debian/patches/11_find-glob.patch | 4 +-
debian/patches/12_arm64.diff | 4 +-
10 files changed, 117 insertions(+), 36 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 3d544e8..8533084 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+kbuild (1:0.1.9998svn2885+dfsg-1) UNRELEASED; urgency=medium
+
+ * New upstream release, update copyright.
+ (don't upload now, there is an incompatible GPL-2 only source file)
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org> Wed, 07 Sep 2016 09:55:18 +0200
+
kbuild (1:0.1.9998svn2814+dfsg-2) unstable; urgency=medium
* Upload to unstable.
diff --git a/debian/copyright b/debian/copyright
index 690235c..1deb239 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -3,7 +3,7 @@ Source: http://svn.netlabs.org/kbuild/
Upstream-Contact: Knut St. Osmundsen <bird-kBuild-spam at anduin.net>
Files: *
-Copyright: 2005-2009 Knut St. Osmundsen <bird-kBuild-spam at anduin.net>
+Copyright: 2005-2016 Knut St. Osmundsen <bird-kBuild-spam at anduin.net>
License: GPL-3+
Files: src/kash/*
@@ -18,6 +18,25 @@ Files: src/sed/*
Copyright: 2003 Free Software Foundation, Inc.
License: GPL-2+
+Files: src/kWorker/tst-1-c1xx-xcpt.cpp
+Copyright: 2006-2016 Oracle Corporation
+License: GPL-2
+
+Files: src/lib/kDep.*
+ src/lib/kStuff/*
+Copyright: 2004-2013 knut st. osmundsen <bird-kBuild-spamx at anduin.net>
+License: Expat
+
+Files: src/lib/kbuild_version.*
+ src/lib/mytypes.h
+ src/lib/nt/kFsCache.*
+ src/lib/quote_argv.*
+ src/lib/quoted_spawn.*
+ src/lib/restartable-syscall-wrappers.c
+ src/lib/wrapper.c
+Copyright: 2007-2016 knut st. osmundsen <bird-kBuild-spamx at anduin.net>
+License: Expat or GPL-2+ or LGPL-2.1+
+
Files: debian/*
Copyright:
2007-2009 Torsten Werner <twerner at debian.org>
@@ -25,9 +44,27 @@ Copyright:
2010-2014 Felix Geyer <fgeyer at debian.org>
2010-2013 Michael Meskes <meskes at debian.org>
2013-2015 Ritesh Raj Sarraf <rrs at debian.org>
- 2014-2015 Gianfranco Costamagna <locutusofborg at debian.org>
+ 2014-2016 Gianfranco Costamagna <locutusofborg at debian.org>
License: GPL-3+
+License: GPL-2
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; version 2 of the License.
+ .
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+ .
+ You should have received a copy of the GNU General Public License along
+ with this program; if not, write to the Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
+
License: GPL-2+
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
@@ -88,3 +125,40 @@ License: BSD-3-clause
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.
+
+License: Expat
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
+ this software and associated documentation files (the "Software"), to deal in
+ the Software without restriction, including without limitation the rights to
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
+ of the Software, and to permit persons to whom the Software is furnished to do
+ so, subject to the following conditions:
+ .
+ The above copyright notice and this permission notice shall be included in all
+ copies or substantial portions of the Software.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ SOFTWARE.
+
+License: LGPL-2.1+
+ This library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Lesser General Public
+ License as published by the Free Software Foundation; either
+ version 2.1 of the License, or (at your option) any later version.
+ .
+ This library is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ Lesser General Public License for more details.
+ .
+ You should have received a copy of the GNU Lesser General Public
+ License along with this library; if not, write to the Free Software
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
+ .
+ On Debian systems, the complete text of the GNU Lesser General Public License
+ can be found in `/usr/share/common-licenses/LGPL-2.1'.
diff --git a/debian/patches/01_gnukfreebsd.diff b/debian/patches/01_gnukfreebsd.diff
index 2d827fd..fa61996 100644
--- a/debian/patches/01_gnukfreebsd.diff
+++ b/debian/patches/01_gnukfreebsd.diff
@@ -15,7 +15,7 @@ Bug-Debian: http://bugs.debian.org/540665
# include <sys/mount.h>
#endif
/* bird: end */
-@@ -814,7 +814,7 @@ dir_contents_file_exists_p (struct direc
+@@ -835,7 +835,7 @@ dir_contents_file_exists_p (struct direc
To exactly determin the cause here, I should probably do some smbfs
tracing, but for now just ignoring the EBADF on seems to work.
(The smb server is 64-bit vista, btw.) */
@@ -26,7 +26,7 @@ Bug-Debian: http://bugs.debian.org/540665
errno = 0;
--- a/src/kmk/incdep.c
+++ b/src/kmk/incdep.c
-@@ -638,7 +638,7 @@ incdep_are_threads_enabled (void)
+@@ -678,7 +678,7 @@ incdep_are_threads_enabled (void)
if (getenv ("KMK_THREADS_ENABLED"))
return 1;
@@ -37,7 +37,7 @@ Bug-Debian: http://bugs.debian.org/540665
|| getenv ("FAKEROOTUID")
--- a/src/kmk/kbuild.c
+++ b/src/kmk/kbuild.c
-@@ -133,7 +133,7 @@ void init_kbuild(int argc, char **argv)
+@@ -134,7 +134,7 @@ void init_kbuild(int argc, char **argv)
}
}
@@ -79,32 +79,32 @@ Bug-Debian: http://bugs.debian.org/540665
# include <malloc.h>
# define SIZE_OF_HEAP_BLOCK(ptr) malloc_usable_size(ptr)
---- a/src/lib/k/kDefs.h
-+++ b/src/lib/k/kDefs.h
-@@ -58,8 +58,10 @@
- #define K_OS_SOLARIS 10
+--- a/src/lib/kStuff/include/k/kDefs.h
++++ b/src/lib/kStuff/include/k/kDefs.h
+@@ -60,8 +60,10 @@
+ #define K_OS_SOLARIS 9
/** Windows. */
- #define K_OS_WINDOWS 11
+ #define K_OS_WINDOWS 10
+/** GNU/kFreeBSD (move to 3 probably) */
-+#define K_OS_GNUKFREEBSD 12
++#define K_OS_GNUKFREEBSD 11
/** The max K_OS_* value (exclusive). */
--#define K_OS_MAX 12
-+#define K_OS_MAX 13
+-#define K_OS_MAX 11
++#define K_OS_MAX 12
/** @} */
/** @def K_OS
-@@ -80,6 +82,8 @@
+@@ -82,6 +84,8 @@
# define K_OS K_OS_DRAGONFLY
# elif defined(__FreeBSD__) /*??*/
# define K_OS K_OS_FREEBSD
+# elif defined(__FreeBSD_kernel__) /*??*/
+# define K_OS K_OS_GNUKFREEBSD
- # elif defined(__HAIKU__)
- # define K_OS K_OS_HAIKU
# elif defined(__gnu_linux__)
+ # define K_OS K_OS_LINUX
+ # elif defined(__NetBSD__) /*??*/
--- a/Config.kmk
+++ b/Config.kmk
-@@ -119,6 +119,7 @@ endif
+@@ -128,6 +128,7 @@ endif
#
DEFS.darwin += KBUILD_OS_DARWIN
DEFS.freebsd += KBUILD_OS_FREEBSD
@@ -112,7 +112,7 @@ Bug-Debian: http://bugs.debian.org/540665
DEFS.linux += KBUILD_OS_LINUX
DEFS.netbsd += KBUILD_OS_NETBSD
DEFS.openbsd += KBUILD_OS_OPENBSD
-@@ -312,7 +313,7 @@ endif
+@@ -323,7 +324,7 @@ endif
ifndef TEMPLATE_BIN_TOOL
# Use GCC3 when we're certain that the system is using GNU ld and ar.
@@ -121,7 +121,7 @@ Bug-Debian: http://bugs.debian.org/540665
TEMPLATE_BIN_TOOL = GCC3
else
TEMPLATE_BIN_TOOL = GCC3PLAIN
-@@ -361,7 +362,7 @@ endif
+@@ -372,7 +373,7 @@ endif
TEMPLATE_BIN-THREADED = Threaded command line binary
TEMPLATE_BIN-THREADED_EXTENDS = BIN
TEMPLATE_BIN-THREADED_EXTENDS_BY = appending
@@ -259,7 +259,7 @@ Bug-Debian: http://bugs.debian.org/540665
(void)fprintf(stderr, "override %s%s%s/%s %s%sfor %s? ",
--- a/src/kmk/Makefile.kmk
+++ b/src/kmk/Makefile.kmk
-@@ -111,6 +111,9 @@ kmkmissing_SOURCES.freebsd = \
+@@ -110,6 +110,9 @@ kmkmissing_SOURCES.freebsd = \
kmkbuiltin/haikufakes.c \
glob/fnmatch.c
@@ -269,9 +269,9 @@ Bug-Debian: http://bugs.debian.org/540665
kmkmissing_SOURCES.linux += \
kmkbuiltin/strlcpy.c
-@@ -244,6 +247,7 @@ kmk_SOURCES = \
- kbuild.c \
- kbuild-object.c
+@@ -249,6 +252,7 @@ kmk_SOURCES = \
+ kmk_SOURCES.win = \
+ w32/subproc/sub_proc.c
+kmk_DEFS.gnukfreebsd = CONFIG_WITHOUT_THREADS
kmk_DEFS.freebsd.x86 = CONFIG_WITHOUT_THREADS
diff --git a/debian/patches/02_sh4.diff b/debian/patches/02_sh4.diff
index c73a706..8177c1a 100644
--- a/debian/patches/02_sh4.diff
+++ b/debian/patches/02_sh4.diff
@@ -28,8 +28,8 @@ Bug-Debian: http://bugs.debian.org/544974
#
---- a/src/lib/k/kDefs.h
-+++ b/src/lib/k/kDefs.h
+--- a/src/lib/kStuff/include/k/kDefs.h
++++ b/src/lib/kStuff/include/k/kDefs.h
@@ -170,8 +170,10 @@
#define K_ARCH_SPARC_32 (17 | K_ARCH_BIT_32 | K_ARCH_END_BIG)
/** 64-bit SPARC. */
diff --git a/debian/patches/05_hppa-disable-threads.diff b/debian/patches/05_hppa-disable-threads.diff
index 271e298..4e3de29 100644
--- a/debian/patches/05_hppa-disable-threads.diff
+++ b/debian/patches/05_hppa-disable-threads.diff
@@ -3,9 +3,9 @@ Author: Felix Geyer <debfx-pkg at fobos.de>
--- a/src/kmk/Makefile.kmk
+++ b/src/kmk/Makefile.kmk
-@@ -247,6 +247,9 @@ kmk_SOURCES = \
- kbuild.c \
- kbuild-object.c
+@@ -252,6 +252,9 @@ kmk_SOURCES = \
+ kmk_SOURCES.win = \
+ w32/subproc/sub_proc.c
+kmk_DEFS.hppa32 = CONFIG_WITHOUT_THREADS
+kmk_DEFS.hppa64 = CONFIG_WITHOUT_THREADS
diff --git a/debian/patches/06_binutils-gold.diff b/debian/patches/06_binutils-gold.diff
index 8e72ceb..a7aab27 100644
--- a/debian/patches/06_binutils-gold.diff
+++ b/debian/patches/06_binutils-gold.diff
@@ -5,7 +5,7 @@ Bug-Debian: http://bugs.debian.org/554937
diff -up kBuild-0.1.5-p1/Config.kmk.pthreads kBuild-0.1.5-p1/Config.kmk
--- kBuild-0.1.5-p1/Config.kmk.pthreads 2010-02-18 08:27:24.287688965 +0100
+++ kBuild-0.1.5-p1/Config.kmk 2010-02-18 08:28:07.505493345 +0100
-@@ -332,6 +332,8 @@ ifndef TEMPLATE_BIN_TOOL
+@@ -343,6 +343,8 @@ ifndef TEMPLATE_BIN_TOOL
endif
ifeq ($(KBUILD_TARGET),linux)
TEMPLATE_BIN_LIBS += rt
diff --git a/debian/patches/09_read.c_record_files_SV_33034_Changes_fatal_to_error.patch b/debian/patches/09_read.c_record_files_SV_33034_Changes_fatal_to_error.patch
index e53b777..f62eba9 100644
--- a/debian/patches/09_read.c_record_files_SV_33034_Changes_fatal_to_error.patch
+++ b/debian/patches/09_read.c_record_files_SV_33034_Changes_fatal_to_error.patch
@@ -44,7 +44,7 @@ diff --git a/src/kmk/read.c b/src/kmk/read.c
index ebc6a63..9a326bb 100644
--- a/src/kmk/read.c
+++ b/src/kmk/read.c
-@@ -2782,7 +2782,7 @@ l_next:
+@@ -2786,7 +2786,7 @@ l_next:
/* Reduce escaped percents. If there are any unescaped it's an error */
name = filenames->name;
if (find_percent_cached (&name))
diff --git a/debian/patches/10_ppc64el.diff b/debian/patches/10_ppc64el.diff
index 4921449..22e20e2 100644
--- a/debian/patches/10_ppc64el.diff
+++ b/debian/patches/10_ppc64el.diff
@@ -52,8 +52,8 @@ Index: kbuild/kBuild/header.kmk
else ifeq ($(KBUILD_TARGET_ARCH),hppa64)
diff --git a/src/lib/k/kDefs.h b/src/lib/k/kDefs.h
index b67886f..47d8c58 100644
---- a/src/lib/k/kDefs.h
-+++ b/src/lib/k/kDefs.h
+--- a/src/lib/kStuff/include/k/kDefs.h
++++ b/src/lib/kStuff/include/k/kDefs.h
@@ -162,18 +164,20 @@
#define K_ARCH_POWERPC_32 (13 | K_ARCH_BIT_32 | K_ARCH_END_BI)
/** 64-bit PowerPC. */
diff --git a/debian/patches/11_find-glob.patch b/debian/patches/11_find-glob.patch
index 78e9f15..07a6160 100644
--- a/debian/patches/11_find-glob.patch
+++ b/debian/patches/11_find-glob.patch
@@ -6,7 +6,7 @@ Last-Update: <2015-06-22>
#Bug: http://trac.netlabs.org/kbuild/ticket/117
--- a/src/kmk/dir.c 2015-06-22 00:19:25.132189626 +0100
+++ b/src/kmk/dir.c 2015-06-22 00:21:27.247583054 +0100
-@@ -1310,7 +1310,7 @@ print_dir_data_base (void)
+@@ -1331,7 +1331,7 @@ print_dir_data_base (void)
/* Hooks for globbing. */
@@ -15,7 +15,7 @@ Last-Update: <2015-06-22>
# include "glob/glob.h"
#else
#include <glob.h>
-@@ -1449,7 +1449,7 @@ dir_setup_glob (glob_t *gl)
+@@ -1470,7 +1470,7 @@ dir_setup_glob (glob_t *gl)
#ifdef __EMX__ /* The FreeBSD implementation actually uses gl_lstat!! */
gl->gl_lstat = local_stat;
#endif
diff --git a/debian/patches/12_arm64.diff b/debian/patches/12_arm64.diff
index 4ee1c85..9e24dfc 100644
--- a/debian/patches/12_arm64.diff
+++ b/debian/patches/12_arm64.diff
@@ -24,8 +24,8 @@ Description: Add arm64 to supported architectures
KBUILD_ARCHES_32 := x86 sparc32 s390 ppc32 mips32 hppa32 arm sh
---- a/src/lib/k/kDefs.h
-+++ b/src/lib/k/kDefs.h
+--- a/src/lib/kStuff/include/k/kDefs.h
++++ b/src/lib/kStuff/include/k/kDefs.h
@@ -194,6 +194,8 @@
# define K_ARCH K_ARCH_ALPHA
# elif defined(__arm__) || defined(__arm32__)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-virtualbox/kbuild.git
More information about the Pkg-virtualbox-commits
mailing list