Re: Problem with dpkg-buildpackage

2008-10-03 Thread Paul Wise
On Fri, Oct 3, 2008 at 8:02 PM, Paul Wise [EMAIL PROTECTED] wrote:

 Can you paste the binary-indep/binary-arch targets of your debian/rules file?

Perhaps you are missing a call to dpkg-gencontrol/dh_gencontrol?

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 20:02 +0800 schrieb Paul Wise:
 On Sat, Oct 4, 2008 at 1:35 AM, Jann Horn [EMAIL PROTECTED] wrote:
 
 dpkg-genchanges: failure: cannot read files list file: No such
 file or directory
 
 H.
 
 Can you paste the binary-indep/binary-arch targets of your debian/rules file?
 
 -- 
 bye,
 pabs
 
 http://wiki.debian.org/PaulWise
 
 

I changed the rules, you're right. I did so because of this report:
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:
W: cdarch source: binary-arch-rules-but-pkg-is-arch-indep
N:
N:   It looks like you try to run code in the binary-arch target
of
N:   debian/rules, even though your package is architecture-
independent.
How can I avoid this without crashing the rules?

Jann Horn
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1




CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp

build-stamp: configure-stamp 
	dh_testdir

	# Add here commands to compile the package.
	#docbook-to-man debian/cdarch.sgml  cdarch.1

	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp

	# Add here commands to clean up after the build process.

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/cdarch.
	# edited begin
	# $(MAKE) DESTDIR=$(CURDIR)/debian/screenless-firewall install
	DESTDIR=$(CURDIR)/debian/cdarch
	#echo DESTDIR ALT ##$(CURDIR)/debian/cdarch
	#echo CURDIR$(CURDIR)
	#$(CURDIR)/debian/cdarch=$(CURDIR)/debian/cdarch
	#echo DESTDIR NEU ##$(CURDIR)/debian/cdarch
	mkdir -p $(CURDIR)/debian/cdarch/usr/bin
	mkdir -p $(CURDIR)/debian/cdarch/etc/init.d
	mkdir -p $(CURDIR)/debian/cdarch/etc/rc2.d
	cp findimage $(CURDIR)/debian/cdarch/usr/bin/
	cp addimage $(CURDIR)/debian/cdarch/usr/bin/
	cp importimage $(CURDIR)/debian/cdarch/usr/bin/
	cp mountimage $(CURDIR)/debian/cdarch/usr/bin/
	cp umountimage $(CURDIR)/debian/cdarch/usr/bin/
	cp exclude-for-filelist $(CURDIR)/debian/cdarch/etc/
	cp imagefstabedit $(CURDIR)/debian/cdarch/etc/
	cp imagefstabundo $(CURDIR)/debian/cdarch/etc/
	cp remountimage $(CURDIR)/debian/cdarch/etc/init.d/
	ln -s $(CURDIR)/debian/cdarch/etc/init.d/remountimage $(CURDIR)/debian/cdarch/etc/rc2.d/S90remountimage
	# edited end


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

binary: binary-indep
.PHONY: build clean binary-indep binary-arch binary install configure
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1




CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

configure: configure-stamp
configure-stamp:
	dh_testdir
	# Add here commands to configure the package.

	touch configure-stamp


build: build-stamp

build-stamp: configure-stamp 
	dh_testdir

	# Add here commands to compile the package.
	#docbook-to-man debian/cdarch.sgml  cdarch.1

	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp configure-stamp

	# Add here commands to clean up after the build process.

	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/cdarch.
	# edited begin
	# $(MAKE) DESTDIR=$(CURDIR)/debian/screenless-firewall install
	DESTDIR=$(CURDIR)/debian/cdarch
	#echo DESTDIR ALT ##$(CURDIR)/debian/cdarch
	#echo CURDIR$(CURDIR)
	#$(CURDIR)/debian/cdarch=$(CURDIR)/debian/cdarch
	#echo DESTDIR NEU ##$(CURDIR)/debian/cdarch
	mkdir -p $(CURDIR)/debian/cdarch/usr/bin
	mkdir -p $(CURDIR)/debian/cdarch/etc/init.d
	mkdir -p $(CURDIR)/debian/cdarch/etc/rc2.d
	cp findimage $(CURDIR)/debian/cdarch/usr/bin/
	cp addimage $(CURDIR)/debian/cdarch/usr/bin/
	cp importimage $(CURDIR)/debian/cdarch/usr/bin/
	cp mountimage 

Re: Problem with dpkg-buildpackage

2008-10-03 Thread Paul Wise
On Sat, Oct 4, 2008 at 1:35 AM, Jann Horn [EMAIL PROTECTED] wrote:

dpkg-genchanges: failure: cannot read files list file: No such
file or directory

H.

Can you paste the binary-indep/binary-arch targets of your debian/rules file?

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: What is the best method to update only some binary packages

2008-10-03 Thread Osamu Aoki
Hi,

On Thu, Oct 02, 2008 at 06:31:03PM +0100, Neil Williams wrote:
 On Fri, 3 Oct 2008 01:47:51 +0900
 Osamu Aoki [EMAIL PROTECTED] wrote:
 
  I know there is a way to do it 
 
 ??

dh_gencontrol as I posted in another message.

As I remember, it was used before I adopted the maintenance of
mant-guide. (before 2003)

...
   Generally, that is not what you actually want to do.
   
   1. The source for 1.0 has probably been removed by the archive software
   so distributing 1.0 is now illegal.
  
  Are you sure?
 
 Yes. I run several repositories. 

Good.  I do not do dak etc.  I just want to make sure I use best method
for upcoming updates in 21st century.

...

 The problem gets worse with non-native packages when a new upstream
 release is made. Keeping the gcc source package around for various
 versions according to the state of various packages built from the gcc
 source that haven't changed - I can't really see the ftpmasters liking
 that idea.

I do not know ftpmaster but this was initially done by someone who has
access to the mater. Most developers like me is excluded from the master.

 It is also hard to ensure that maintainers correctly synchronise the
 packages - you'd need a whole new process to check the content that
 would have been included against the content still packaged in the old
 version.

This is very valid concern.  This was the reason I stopped using it.

 I don't see that it is worth investigation at this stage and certainly
 not on this list. Take it to debian-devel if you want to start work on
 the various fixes and scripts that could be necessary to make it sane.

I got your point.  I have no intention to make more complicated
solution.

...
  This way user will not be forced to download another documentation
  package in which only the version number is bumped.  That is waiste for
  everyone and can not be solved by local mirror nor by local cache
  server.
 
 Of course it can - the local mirror is shared between various users and
 those users can use rsync.

rsync should work though.  It just produces archive with some
inconsistency as the parent mirror.

Osamu


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problem with dpkg-buildpackage

2008-10-03 Thread Ben Finney
Jann Horn [EMAIL PROTECTED] writes:

 I changed the rules, you're right. I did so because of this report:
 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:
 W: cdarch source: binary-arch-rules-but-pkg-is-arch-indep
 N:
 N:   It looks like you try to run code in the binary-arch target
 of
 N:   debian/rules, even though your package is architecture-
 independent.
 How can I avoid this without crashing the rules?

You should always have both ‘binary-arch’ and ‘binary-indep’ targets
in your ‘debian/rules’ file.

If your package produces architecture-independent packages, put
appropriate actions in the ‘binary-indep’ target. Otherwise, leave
that target empty.

If your package produces architecture-dependent packages, put
appropriate actions in the ‘binary-arch’ target. Otherwise, leave that
target empty.

-- 
 \ “Simplicity and elegance are unpopular because they require |
  `\   hard work and discipline to achieve and education to be |
_o__)appreciated.” —Edsger W. Dijkstra |
Ben Finney


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 23:45 +1000 schrieb Ben Finney:
 Jann Horn [EMAIL PROTECTED] writes:
 
  I changed the rules, you're right. I did so because of this report:
  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:
  W: cdarch source: binary-arch-rules-but-pkg-is-arch-indep
  N:
  N:   It looks like you try to run code in the binary-arch target
  of
  N:   debian/rules, even though your package is architecture-
  independent.
  How can I avoid this without crashing the rules?
 
 You should always have both ‘binary-arch’ and ‘binary-indep’ targets
 in your ‘debian/rules’ file.
 
 If your package produces architecture-independent packages, put
 appropriate actions in the ‘binary-indep’ target. Otherwise, leave
 that target empty.
 
 If your package produces architecture-dependent packages, put
 appropriate actions in the ‘binary-arch’ target. Otherwise, leave that
 target empty.
 
 -- 
  \ “Simplicity and elegance are unpopular because they require |
   `\   hard work and discipline to achieve and education to be |
 _o__)appreciated.” —Edsger W. Dijkstra |
 Ben Finney
 
 

Thanks, now it works!

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


'cdarch' has a dash version

2008-10-03 Thread Jann Horn
Hello!

I uploaded a package, but it causes the following message:

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:
W: cdarch source: native-package-with-dash-version
N:
N:   Native packaging should only be used if a piece of software
was
N:   written specifically to be turned into a Debian package. In
this case,
N:   the version number should not contain a debian revision
part.
N:   =

N:   Native source packages are sometimes created by accident.
In most
N:   cases the reason is the location of the original source
tarball.
N:   dpkg-source searches for this in
N:   ../package_upstream-version.orig.tar.gz.
N:

Has someone an idea how to remove the dash-version from the package
name? I tried renaming the package folder to cdarch-1.0.0, but it
didn't work.

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: 'cdarch' has a dash version

2008-10-03 Thread Paul Wise
On Sat, Oct 4, 2008 at 4:28 AM, Jann Horn [EMAIL PROTECTED] wrote:

 I uploaded a package, but it causes the following message:
...
N:   dpkg-source searches for this in
N:   ../package_upstream-version.orig.tar.gz.
N:

As the warning suggests, the tarball needs to be named correctly.

Please note that it is foo_1.2.3.orig.tar.gz _not_ foo-1.2.3.orig.tar.gz

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: RFS: gnome-art-ng

2008-10-03 Thread Julien Lavergne
Le dimanche 21 septembre 2008 à 15:07 +0200, Cyril Brulebois a écrit :
 Julien Lavergne [EMAIL PROTECTED] (16/09/2008):
  I am looking for a sponsor for my package gnome-art-ng.
  The goal of Gnome-art-ng is to replace gnome-art (non maintained
  upstream, see http://www.miketech.net/gnome-art/index.php). It provides
  the same features: […]
 
 Maybe you could keep the original name, then? Or at least provide an
 upgrade path from the no-longer-maintained package (to coordinate with
 the maintainer(s) of that latter)?
 
Yes it's a replacement but it's another upstream author, another
language ... completely a new software. Upstream also keep a different
name. I think it's better to keep both names.
The upgrade path is a good idea. (except if people didn't want a Mono
program ...), but I'll prefer a few testing before this.

Regards,
Julien Lavergne


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



RFS: libenglab0.2 (second attempt)

2008-10-03 Thread Harry Serenis

Dear mentors,

I am looking for a sponsor for my package libenglab0.2.

* Package name: libenglab0.2
  Version : 0.2.4-1
  Upstream Author : BugFest Team
* URL : http://englab.org
* License : GPLv2
  Section : libs

It builds these binary packages:
englab-utils - mathematical platform with a C like syntax (run-time utilities)
libenglab0.2 - mathematical platform with a C like syntax (run-time library)
libenglab0.2-dev - mathematical platform with a C like syntax  
(development files)


The package appears to be lintian clean.

The package can be found on mentors.debian.net:
- URL: http://mentors.debian.net/debian/pool/main/l/libenglab0.2
- Source repository: deb-src http://mentors.debian.net/debian unstable  
main contrib

non-free
- dget  
http://mentors.debian.net/debian/pool/main/l/libenglab0.2/libenglab0.2_0.2.4-1.dsc


I would be glad if someone uploaded this package for me.
This is the second attempt for sponsorship. The previous was dated  
Sat, 27 Sep 2008


Kind regards
 Harry Serenis



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Library Packaging

2008-10-03 Thread Jonathan Steel

Hi

I'm trying to create a package of a shared library and I can't figure 
out how to do it. I can do it for a normal binary using dh_make and 
debuild. Ive read through all the debian packaging guides I can find. 
But there is a lack of info on how to do it for shared libraries. I end 
up with a .deb that doesn't install anything except for the changelog.


Where can I look for help?

Thanks


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Library Packaging

2008-10-03 Thread David Paleino
On Fri, 03 Oct 2008 16:16:47 -0400, Jonathan Steel wrote:

 Hi
 
 I'm trying to create a package of a shared library and I can't figure 
 out how to do it. I can do it for a normal binary using dh_make and 
 debuild.

You already tried with dh_make -l, right?

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 | http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174


signature.asc
Description: PGP signature


Re: Library Packaging

2008-10-03 Thread Neil Williams
On Fri, 2008-10-03 at 16:16 -0400, Jonathan Steel wrote:
 Hi
 
 I'm trying to create a package of a shared library and I can't figure 
 out how to do it. I can do it for a normal binary using dh_make and 
 debuild. Ive read through all the debian packaging guides I can find. 

Shared libraries are difficult packages to maintain - do you understand
the issues around SONAMEs, transitions, -dbg packages and how to work
with upstream on symbol versioning etc.?

Generally, I don't recommend that anyone on this list seriously
considers packaging shared libraries until they have a couple of
ordinary binary packages in the archive. 

 But there is a lack of info on how to do it for shared libraries. I end 
 up with a .deb that doesn't install anything except for the changelog.
 
 Where can I look for help?

/me thinks I'm going to have to write a little guide on this but lack
the time right now.

First point of call is debian/dirs - make sure it's not referencing
things like usr/sbin usr/bin - you probably don't need that file at all.

Now create the libfoo0.install, libfoo-dev.install (or
libfoo0-dev.install depending on how you want to manage and maintain the
transitions) files to contain the relevant objects.

Take a look at the .install files for a few shared libraries -
naturally, I'd recommend QOF (libqof1 in Debian until Lenny is released
when libqof2 will arrive). Ignore the stuff in debian/rules, concentrate
on the .install files and control file.

-- 


Neil Williams
=
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
http://www.linux.codehelp.co.uk/




signature.asc
Description: This is a digitally signed message part


Re: Library Packaging

2008-10-03 Thread Craig Small
On Fri, Oct 03, 2008 at 09:44:44PM +0100, Neil Williams wrote:
 Generally, I don't recommend that anyone on this list seriously
 considers packaging shared libraries until they have a couple of
 ordinary binary packages in the archive. 
I would agree with that.  Debian packaging is quite daunting for someone
who's not seen it before, let alone packaging a library. Some upstream
Makefiles are packager-friendly and others it looks like they go out of
their way to make life tough.

dh-make helps, but it cannot cater for everything.  Another problem with
your email is you don't actually say what is going wrong.

 - Craig
-- 
Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/ csmall at : enc.com.au
http://www.debian.org/  Debian GNU/Linux, software should be Free 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: 'cdarch' has a dash version

2008-10-03 Thread Craig Small
On Fri, Oct 03, 2008 at 10:28:02PM +0200, Jann Horn wrote:
 I uploaded a package, but it causes the following message:
 
 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:
 W: cdarch source: native-package-with-dash-version
Is cdarch truly a native package?  If so, why did they use a dash in the
version string.

  - Craig

-- 
Craig Small  GnuPG:1C1B D893 1418 2AF4 45EE  95CB C76C E5AC 12CA DFA5
http://www.enc.com.au/ csmall at : enc.com.au
http://www.debian.org/  Debian GNU/Linux, software should be Free 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Library Packaging

2008-10-03 Thread Kapil Hari Paranjape
Hello,

On Fri, 03 Oct 2008, Neil Williams wrote:
 On Fri, 2008-10-03 at 16:16 -0400, Jonathan Steel wrote:
  I'm trying to create a package of a shared library and I can't figure 
  out how to do it. I can do it for a normal binary using dh_make and 
  debuild. Ive read through all the debian packaging guides I can find. 

 Generally, I don't recommend that anyone on this list seriously
 considers packaging shared libraries until they have a couple of
 ordinary binary packages in the archive. 

/me agrees.

 /me thinks I'm going to have to write a little guide on this but lack
 the time right now.

There is a guide covering some of the basic issues at
http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html

Kapil.
--



signature.asc
Description: Digital signature


Re: Library Packaging

2008-10-03 Thread Paul Wise
On Sat, Oct 4, 2008 at 8:50 AM, Kapil Hari Paranjape [EMAIL PROTECTED] wrote:

 There is a guide covering some of the basic issues at
 http://www.netfort.gr.jp/~dancer/column/libpkg-guide/libpkg-guide.html

Unfortunately it doesn't yet cover using symbols files, for more info
on that see these:

http://wiki.debian.org/UsingSymbolsFiles
http://wiki.debian.org/Projects/ImprovedDpkgShlibdeps
http://manpages.debian.net/cgi-bin/man.cgi?query=dpkg-shlibdeps
http://manpages.debian.net/cgi-bin/man.cgi?query=deb-symbols
http://manpages.debian.net/cgi-bin/man.cgi?query=dpkg-gensymbols

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Hello,

i've got a problem with dpkg-buildpackage and get the following error
when I start it (sorry, it's German):
kann Dateienliste-Datei nicht lesen: Datei oder Verzeichnis
nicht gefunden
Is someone here who can help me? Or is this the wrong list?

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


Re: Problem with dpkg-buildpackage

2008-10-03 Thread Paul Wise
On Sat, Oct 4, 2008 at 1:16 AM, Jann Horn [EMAIL PROTECTED] wrote:

 i've got a problem with dpkg-buildpackage and get the following error
 when I start it (sorry, it's German):

Please run this:

export LANG=C

Then rerun the command and paste the english output.

-- 
bye,
pabs

http://wiki.debian.org/PaulWise


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Problem with dpkg-buildpackage

2008-10-03 Thread Jann Horn
Am Freitag, den 03.10.2008, 19:35 +0800 schrieb Paul Wise:
 On Sat, Oct 4, 2008 at 1:16 AM, Jann Horn [EMAIL PROTECTED] wrote:
 
  i've got a problem with dpkg-buildpackage and get the following error
  when I start it (sorry, it's German):
 
 Please run this:
 
 export LANG=C
 
 Then rerun the command and paste the english output.

OK, here's the english output of the command:
dpkg-genchanges  ../cdarch_1.0.0-1_i386.changes
dpkg-genchanges: failure: cannot read files list file: No such
file or directory
dpkg-buildpackage: failure: dpkg-genchanges gave error exit
status 2

Jann Horn


signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil