[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Weired things creating packages



Heello Mentors,

I have uploaded the following package:

----- Forwarded message from "mentors.debian.net" <support@mentors.debian.net> -----

X-TDMailSerialnumber: 7155754
Date: Thu, 14 Sep 2006 18:54:56 +0200 (CEST)
From: "mentors.debian.net" <support@mentors.debian.net>
To: linux4michelle@freenet.de
Subject: Upload of 'xmms-skin-debian-4.0-etch' accepted

Your upload of the package 'xmms-skin-debian-4.0-etch' to mentors.debian.net was
successful. Sponsors can now download it. The URL of your package is:
http://mentors.debian.net/debian/pool/main/x/xmms-skin-debian-4.0-etch

-------------------------
Your package does not seem to be lintian clean.
'lintian' is a tool to verify if source package contain obvious
packaging errors. These warnings/errors were found:
E: xmms-skin-debian-4.0-etch source: package-uses-debhelper-but-lacks-build-depends
N:
N:   If a package uses debhelper, it must declare a Build-Depends on
N:   debhelper.
N:
E: xmms-skin-debian-4.0-etch source: package-lacks-versioned-build-depends-on-debhelper 4
N:
N:   If a package sets debhelper's compatibility version to >= 1, either
N:   via DH_COMPAT, or via debian/compat, or via dh_testversion (which is
N:   deprecated), it must declare a versioned Build-Depends on the needed
N:   version of debhelper.
N:
W: xmms-skin-debian-4.0-etch source: build-depends-without-arch-dep
N:
N:   The control file specifies source relations for architecture-dependent
N:   packages, but no architecture-dependent packages are built. There are
N:   some exceptions, e.g. build dependencies that have to be satisfied
N:   while calling the "clean" target of debian/rules, the most common case
N:   of which is a Build-Depends: debhelper if you use dh_clean in the
N:   "clean" target. In other cases, you most likely need to change
N:   Build-Depends to Build-Depends-Indep.
N:   
N:   Refer to Policy Manual, section 7.6 for details.
N:

<snip>

----- End forwarded message -----

and it looks a little bit weired, because the controlfile is:

----8<--------------------------------------------------------------
Source: xmms-skin-debian-4.0-etch
Section: x11
Priority: optional
Maintainer: Michelle Konzack <linux4michelle@freenet.de>
Standards-Version: 3.7.2
Build-Depends: debhelper (>=4.2.32), zip

Package: xmms-skin-debian-4.0-etch
Architecture: all
Depends: xmms
Description: A Skin, designed for the Debian release 4.0 codename Etch
 A Skin, designed for the Debian release 4.0 codename Etch
----8<--------------------------------------------------------------

which should create *_all.deb packages. Right?

After building I get this:

----8<--------------------------------------------------------------
-rw-r--r--  1  73132 2006-09-12 15:38 xmms-skin-debian-4.0-etch_0.1.0-1_all.deb
-rw-r--r--  1    837 2006-09-12 15:38 xmms-skin-debian-4.0-etch_0.1.0-1.diff.gz
-rw-r--r--  1    626 2006-09-12 15:38 xmms-skin-debian-4.0-etch_0.1.0-1.dsc
-rw-r--r--  1   1168 2006-09-12 15:38 xmms-skin-debian-4.0-etch_0.1.0-1_i386.changes
-rw-r--r--  1    536 2006-09-14 18:54 xmms-skin-debian-4.0-etch_0.1.0-1_i386.upload
-rw-r--r--  1   2680 2006-09-15 00:52 xmms-skin-debian-4.0-etch_0.1.0-2_all.buildlog
-rw-r--r--  1  73200 2006-09-15 00:52 xmms-skin-debian-4.0-etch_0.1.0-2_all.deb
-rw-r--r--  1    887 2006-09-15 00:52 xmms-skin-debian-4.0-etch_0.1.0-2.diff.gz
-rw-r--r--  1    648 2006-09-15 00:52 xmms-skin-debian-4.0-etch_0.1.0-2.dsc
-rw-r--r--  1   1058 2006-09-15 00:52 xmms-skin-debian-4.0-etch_0.1.0-2_i386.changes
-rw-r--r--  1 432513 2006-09-12 15:38 xmms-skin-debian-4.0-etch_0.1.0.orig.tar.gz
----8<--------------------------------------------------------------

Aha, xmms-skin-debian-4.0-etch_0.1.0-1_all.deb is there but
WHY does dpkg-buildpackage create a *_i386.changes ?

The rules is:

----8<--------------------------------------------------------------
#!/usr/bin/make -f
#
# Rules for making the xmms-skin-debian-4.0-etch binary package - Michelle Konzack
# Copyright (C) 2006 Michelle Konzack <linux4michelle@freenet.de>
#
export SHELL = /bin/bash

clean:
	dh_testdir
	dh_clean
	rm -v -f *.wsz
	rm -v -f Debian_4.0_Etch/LICENCE

distclean: clean

build:
	dh_testdir
	cp COPYING Debian_4.0_Etch/LICENCE
	zip Debian_4.0_Etch.wsz Debian_4.0_Etch/LICENCE \
				Debian_4.0_Etch/*.txt \
				Debian_4.0_Etch/*.bmp

install:
	dh_testdir
	dh_installdirs  usr/share/xmms/Skins \
			usr/share/doc/xmms-skin-debian-4.0-etch \

binary: binary-indep

binary-indep: install
	dh_testdir
	dh_installchangelogs
	dh_installdocs
	dh_install
	dh_compress
	dh_fixperms
	dh_installdeb
	dh_gencontrol
	dh_md5sums
	dh_builddeb

.PHONY: clean distclean build install binary binary-indep
----8<--------------------------------------------------------------

Here on my other package it is OK (where I use "Architecture: any"):

----8<--------------------------------------------------------------
-rw-r--r--  1  10790 2006-09-14 00:53 swhoisd_3.0.5-1.diff.gz
-rw-r--r--  1    588 2006-09-14 00:53 swhoisd_3.0.5-1.dsc
-rw-r--r--  1  16565 2006-09-14 00:53 swhoisd_3.0.5-1_i386.buildlog
-rw-r--r--  1   1182 2006-09-14 00:53 swhoisd_3.0.5-1_i386.changes
-rw-r--r--  1  51978 2006-09-14 00:53 swhoisd_3.0.5-1_i386.deb
-rw-r--r--  1    231 2006-09-14 10:41 swhoisd_3.0.5-1_i386.md5
-rw-r--r--  1    429 2006-09-14 18:53 swhoisd_3.0.5-1_i386.upload
-rw-r--r--  1  10766 2006-09-15 00:42 swhoisd_3.0.5-2.diff.gz
-rw-r--r--  1    610 2006-09-15 00:43 swhoisd_3.0.5-2.dsc
-rw-r--r--  1  16585 2006-09-15 00:43 swhoisd_3.0.5-2_i386.buildlog
-rw-r--r--  1    914 2006-09-15 00:43 swhoisd_3.0.5-2_i386.changes
-rw-r--r--  1  51916 2006-09-15 00:43 swhoisd_3.0.5-2_i386.deb
-rw-r--r--  1 255795 2006-09-08 13:57 swhoisd_3.0.5.orig.tar.gz
----8<--------------------------------------------------------------


Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/6/61925193    67100 Strasbourg/France   IRC #Debian (irc.icq.com)



Reply to: