Building a metapackage
Gael Varoquaux
gael.varoquaux at normalesup.org
Wed Aug 6 06:29:45 BST 2008
Hi,
I am still on my packaging experiment, and to wrap up my work I need to
provide on upgrade path from the old package set to the new one. For this
I think I should use a few metackages, as we have broken some packages in
smaller ones, and these have different names.
So I have been trying to build metapackages, and failing. I know the
answers to my question must be somewhere in the docs, but I can't find
them, so please bear with me.
My metapackages contains as little a possible, obviously, but probably
too little. When I try to buuild them via launchpad or in pbuilder, I get
this:
dpkg-genchanges -b -mUbuntu/i386 Build Daemon <buildd at iridium.ppa>
>../enthought-traits_3.0.0-1~ppa3_i386.changes
dpkg-genchanges: failure: cannot read files list file: No such file or
directory
(full error log on
http://launchpadlibrarian.net/16577457/buildlog_ubuntu-hardy-i386.enthought-traits_3.0.0-1~ppa3_FAILEDTOBUILD.txt.gz
)
This could be because my rules file is wrong or something else (missing a
debian/files file? In which case how do I generate it?).
To help you diagnose the problem, here is my rules file:
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
#!/usr/bin/make -f
clean:
dh_testdir
dh_testroot
dh_clean
build:
binary-indep: build install
dh_testdir -i
dh_testroot -i
dh_installdocs -i
dh_installchangelogs -i
dh_compress -i
dh_fixperms -i
dh_installdeb -i
dh_gencontrol -i
dh_md5sums -i
dh_builddeb -i
binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Sorry for being such a drag, I couldn't find any easy-to-grok information
on building metapackages.
Cheers,
Gaël
More information about the Ubuntu-motu-mentors
mailing list