Please remove sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm

2009-07-15 Thread Mathieu Malaterre
Please clear  sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm package
for kfreebsd-*

Ref:
https://buildd.debian.org/pkg.cgi?pkg=gdcm

Thank you

--
Mathieu


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Please remove sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm

2009-07-15 Thread Aurelien Jarno
Mathieu Malaterre a écrit :
> Please clear  sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm package
> for kfreebsd-*
> 
> Ref:
> https://buildd.debian.org/pkg.cgi?pkg=gdcm
>  

libvtk5 is not yet available on kfreebsd-*, so there is no point on
removing the Dep-Wait.


-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Please remove sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm

2009-07-15 Thread Mathieu Malaterre
On Wed, Jul 15, 2009 at 9:42 AM, Aurelien Jarno wrote:
> Mathieu Malaterre a écrit :
>> Please clear  sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm package
>> for kfreebsd-*
>>
>> Ref:
>> https://buildd.debian.org/pkg.cgi?pkg=gdcm
>>
>
> libvtk5 is not yet available on kfreebsd-*, so there is no point on
> removing the Dep-Wait.

Sorry I did not paid attention. I'll exclude kfreebsd from the
sub-binaries of the gdcm package and then post again once this is
cleared out.

Thanks
-- 
Mathieu


--
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Please remove sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm

2009-07-15 Thread Aurelien Jarno
Mathieu Malaterre a écrit :
> On Wed, Jul 15, 2009 at 9:42 AM, Aurelien Jarno wrote:
>> Mathieu Malaterre a écrit :
>>> Please clear  sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm package
>>> for kfreebsd-*
>>>
>>> Ref:
>>> https://buildd.debian.org/pkg.cgi?pkg=gdcm
>>>
>> libvtk5 is not yet available on kfreebsd-*, so there is no point on
>> removing the Dep-Wait.
> 
> Sorry I did not paid attention. I'll exclude kfreebsd from the
> sub-binaries of the gdcm package and then post again once this is
> cleared out.
> 

Please don't change anything to the package. libvtk5 is expected to be
available soon, so gdcm will build successfully.


-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: Please remove sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm

2009-07-15 Thread Cyril Brulebois
(Keeping you Cc'd just in case. By the way, kfreebs...@buildd.debian.org
is usually what you want, but I guess it's also OK to ask in here.)

Mathieu Malaterre  (15/07/2009):
> Please clear  sticky Dep-Wait: libvtk5 (>= 5.2.1-3) on gdcm package
> for kfreebsd-*
> 
> Ref:
> https://buildd.debian.org/pkg.cgi?pkg=gdcm

It'd rather be:
https://buildd.debian.org/~luk/status/package.php?p=gdcm&suite=unstable

Anyway, that's incorrect:
| Dep-Wait (libvtk5-dev (>= 5.2.1-4))

And given the Build-Depends line, libvtk5-dev is indeed needed (and not
available on those architectures hence the Dep-Wait).

Did I overlook anything?

Mraw,
KiBi.


signature.asc
Description: Digital signature


[patch] kfreebsd-i386 config

2009-07-15 Thread Luca Favatella
This patch adds kfreebsd-i386 monolithic config files.


Cheers,
Luca Favatella
Index: build/config/kfreebsd-i386.cfg
===
--- build/config/kfreebsd-i386.cfg	(.../trunk/installer)	(revision 0)
+++ build/config/kfreebsd-i386.cfg	(.../branches/d-i/kfreebsd/installer)	(revision 59360)
@@ -0,0 +1,42 @@
+MEDIUM_SUPPORTED = monolithic
+
+# The version of the kernel to use.
+KERNELVERSION = 7.2-2-486
+KERNELMAJOR = 7
+KERNEL_FLAVOUR = di
+KERNELNAME = kfreebsd.gz
+KERNELIMAGEVERSION = $(KERNELVERSION)
+
+MKLIBS = mklibs-copy
+INITRD_FS = ufs2
+LSB_DISTRIB_DESCRIPTION="Debian GNU/kFreeBSD installer"
+EXTRAUDEBS = 
+
+
+# Miniature CD image using kfreebsd-loader, with only an initrd, no udebs or debs.
+.PHONY: arch_miniiso
+arch_miniiso: $(TEMP_INITRD) $(TEMP_KERNEL) $(TREE)
+	-rm -f $(TEMP_CD_TREE)/*
+	mkdir -p $(TEMP_CD_TREE)/boot/{kernel,defaults}
+
+	cp $(TEMP_KERNEL)			$(TEMP_CD_TREE)/boot/kernel/kernel.gz
+	cp $(TEMP_INITRD)			$(TEMP_CD_TREE)/boot/mfsroot.gz
+	cp $(TREE)/lib/modules/*/acpi.ko	$(TEMP_CD_TREE)/boot/kernel/
+
+	cp /boot/{cdboot,loader*,*.4th}		$(TEMP_CD_TREE)/boot/
+	cp /boot/defaults/loader.conf		$(TEMP_CD_TREE)/boot/defaults/
+	echo "hw.ata.atapi_dma=0"		>> $(TEMP_CD_TREE)/boot/loader.conf	# TODO: 1
+	echo "mfsroot_load=\"YES\""		>> $(TEMP_CD_TREE)/boot/loader.conf
+	echo "mfsroot_type=\"mfs_root\""	>> $(TEMP_CD_TREE)/boot/loader.conf
+	echo "mfsroot_name=\"/boot/mfsroot\""	>> $(TEMP_CD_TREE)/boot/loader.conf
+
+	genisoimage -r -J -b boot/cdboot -c boot.cat -no-emul-boot \
+		-o $(TEMP_MINIISO) $(TEMP_CD_TREE)
+
+
+.PHONY: arch_tree
+arch_tree:
+
+
+.PHONY: arch_boot_screens
+arch_boot_screens:
Index: build/config/kfreebsd-i386/monolithic.cfg
===
--- build/config/kfreebsd-i386/monolithic.cfg	(.../trunk/installer)	(revision 0)
+++ build/config/kfreebsd-i386/monolithic.cfg	(.../branches/d-i/kfreebsd/installer)	(revision 59360)
@@ -0,0 +1,8 @@
+MEDIA_TYPE = boot image
+
+TARGET = pkg-lists/kernel-module-udebs $(INITRD) $(KERNEL) $(MINIISO)
+EXTRANAME = $(MEDIUM)/
+
+MANIFEST-INITRD = "initrd"
+MANIFEST-KERNEL = "kernel image"
+MANIFEST-MINIISO = "small bootable CD image for network install"
Index: debian/changelog
===
--- debian/changelog	(.../trunk/installer)	(revision 59351)
+++ debian/changelog	(.../branches/d-i/kfreebsd/installer)	(revision 59360)
@@ -77,6 +77,7 @@
   [ Luca Favatella ]
   * Handle libc0.1 (GNU/kFreeBSD) and libc0.3 (GNU/Hurd) as libc6/libc6.1.
   * Add ufs2 initrd support. Thanks to Robert Millan.
+  * Add kfreebsd-i386 monolithic config files. Thanks to Robert Millan.
 
  -- Frans Pop   Sat, 13 Jun 2009 16:35:46 +0200
 


Re: [patch] kfreebsd-i386 config

2009-07-15 Thread Aurelien Jarno
Hi,

Please find my comments inline.

On Wed, Jul 15, 2009 at 03:08:47PM +0200, Luca Favatella wrote:
> This patch adds kfreebsd-i386 monolithic config files.
> 
> 
> Cheers,
> Luca Favatella

> Index: build/config/kfreebsd-i386.cfg
> ===
> --- build/config/kfreebsd-i386.cfg(.../trunk/installer)   (revision 0)
> +++ build/config/kfreebsd-i386.cfg(.../branches/d-i/kfreebsd/installer)   
> (revision 59360)
> @@ -0,0 +1,42 @@
> +MEDIUM_SUPPORTED = monolithic
> +
> +# The version of the kernel to use.
> +KERNELVERSION = 7.2-2-486

I think it should be 7.2-1-486 as we haven't bumped the ABI on
kfreebsd 7.2 yet.

> +KERNELMAJOR = 7
> +KERNEL_FLAVOUR = di
> +KERNELNAME = kfreebsd.gz
> +KERNELIMAGEVERSION = $(KERNELVERSION)
> +
> +MKLIBS = mklibs-copy
> +INITRD_FS = ufs2
> +LSB_DISTRIB_DESCRIPTION="Debian GNU/kFreeBSD installer"
> +EXTRAUDEBS = 
> +
> +
> +# Miniature CD image using kfreebsd-loader, with only an initrd, no udebs or 
> debs.
> +.PHONY: arch_miniiso
> +arch_miniiso: $(TEMP_INITRD) $(TEMP_KERNEL) $(TREE)
> + -rm -f $(TEMP_CD_TREE)/*
> + mkdir -p $(TEMP_CD_TREE)/boot/{kernel,defaults}
> +
> + cp $(TEMP_KERNEL)   
> $(TEMP_CD_TREE)/boot/kernel/kernel.gz
> + cp $(TEMP_INITRD)   $(TEMP_CD_TREE)/boot/mfsroot.gz
> + cp $(TREE)/lib/modules/*/acpi.ko$(TEMP_CD_TREE)/boot/kernel/
> +
> + cp /boot/{cdboot,loader*,*.4th} $(TEMP_CD_TREE)/boot/
> + cp /boot/defaults/loader.conf   $(TEMP_CD_TREE)/boot/defaults/
> + echo "hw.ata.atapi_dma=0"   >> 
> $(TEMP_CD_TREE)/boot/loader.conf # TODO: 1

Is it still needed? I think it was there to workaround a QEMU bug.

> + echo "mfsroot_load=\"YES\"" >> 
> $(TEMP_CD_TREE)/boot/loader.conf
> + echo "mfsroot_type=\"mfs_root\"">> 
> $(TEMP_CD_TREE)/boot/loader.conf
> + echo "mfsroot_name=\"/boot/mfsroot\""   >> 
> $(TEMP_CD_TREE)/boot/loader.conf
> +
> + genisoimage -r -J -b boot/cdboot -c boot.cat -no-emul-boot \
> + -o $(TEMP_MINIISO) $(TEMP_CD_TREE)
> +
> +
> +.PHONY: arch_tree
> +arch_tree:
> +
> +
> +.PHONY: arch_boot_screens
> +arch_boot_screens:
> Index: build/config/kfreebsd-i386/monolithic.cfg
> ===
> --- build/config/kfreebsd-i386/monolithic.cfg (.../trunk/installer)   
> (revision 0)
> +++ build/config/kfreebsd-i386/monolithic.cfg 
> (.../branches/d-i/kfreebsd/installer)   (revision 59360)
> @@ -0,0 +1,8 @@
> +MEDIA_TYPE = boot image
> +
> +TARGET = pkg-lists/kernel-module-udebs $(INITRD) $(KERNEL) $(MINIISO)
> +EXTRANAME = $(MEDIUM)/
> +
> +MANIFEST-INITRD = "initrd"
> +MANIFEST-KERNEL = "kernel image"
> +MANIFEST-MINIISO = "small bootable CD image for network install"
> Index: debian/changelog
> ===
> --- debian/changelog  (.../trunk/installer)   (revision 59351)
> +++ debian/changelog  (.../branches/d-i/kfreebsd/installer)   (revision 59360)
> @@ -77,6 +77,7 @@
>[ Luca Favatella ]
>* Handle libc0.1 (GNU/kFreeBSD) and libc0.3 (GNU/Hurd) as libc6/libc6.1.
>* Add ufs2 initrd support. Thanks to Robert Millan.
> +  * Add kfreebsd-i386 monolithic config files. Thanks to Robert Millan.
>  
>   -- Frans Pop   Sat, 13 Jun 2009 16:35:46 +0200
>  

Otherwise looks fine to me :-).

-- 
Aurelien Jarno  GPG: 1024D/F1BCDB73
aurel...@aurel32.net http://www.aurel32.net


-- 
To UNSUBSCRIBE, email to debian-bsd-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Bug#537210: libbsd: FTBFS: build fail on Renesas SH(sh4)

2009-07-15 Thread Nobuhiro Iwamatsu
Package: libbsd
Version: 0.1.4-1
Severity: wishlist
Tags: patch
X-Debbugs-CC: debian-sup...@lists.debian.org
X-Debbugs-CC: b...@brad-smith.co.uk

Hi!

I am now trying to run Debian on Renesas SH CPU(sh4).

Current source code can not build package.
Because there is a coding error.


cc -o src/nlist.o -Iinclude/ -include bsd/bsd.h -D_GNU_SOURCE
-D__REENTRANT -Wall -g -O2 -c src/nlist.c
In file included from src/nlist.c:53:
src/local-elf.h:150:11: error: missing binary operator before token "("
src/local-elf.h:155:2: error: #error Unknown SH endianness
src/nlist.c: In function '__elf_is_okay__':
src/nlist.c:234: error: 'ELF_TARG_DATA' undeclared (first use in this function)
src/nlist.c:234: error: (Each undeclared identifier is reported only once
src/nlist.c:234: error: for each function it appears in.)
make[1]: *** [src/nlist.o] Error 1
make[1]: Leaving directory `/home/iwamatsu/build-area/libbsd-0.1.4'



I made a patch to support SH.
And  there was the same problem in the avr32 architecture, I revised it.
Would you please apply it?

Best regards,
 Nobuhiro

-- System Information:
Debian Release: squeeze/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.29-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=ja_JP.UTF-8, LC_CTYPE=ja_JP.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
--- a/src/local-elf.h	2009-07-16 14:08:10.0 +0900
+++ b/src/local-elf.h	2009-05-21 08:54:36.0 +0900
@@ -66,7 +66,7 @@
 #endif
 #define ELF_TARG_MACH	EM_AVR32
 #define ELF_TARG_CLASS	ELFCLASS32
-#if defined(__LITTLE_ENDIAN__)
+#if define(__LITTLE_ENDIAN__)
 #define ELF_TARG_DATA	ELFDATA2LSB
 #elif defined(__BIG_ENDIAN__)
 #define ELF_TARG_DATA	ELFDATA2LMSB
@@ -147,7 +147,7 @@
 
 #define ELF_TARG_MACH	EM_SH
 #define ELF_TARG_CLASS	ELFCLASS32
-#if defined(__LITTLE_ENDIAN__)
+#if define(__LITTLE_ENDIAN__)
 #define ELF_TARG_DATA	ELFDATA2LSB
 #elif defined(__BIG_ENDIAN__)
 #define ELF_TARG_DATA	ELFDATA2LMSB