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

Re: udeb building in pbuilder fails?



* Mario Lang 

| This fails with some strange error, and I have no idea
| why the pbuilder build should react differently then the dpkg-buildpackage
| build.  Does anyone have any hints?
| 
| Here is the error I get when using pdebuild:
| 
| dh_builddeb -pbrltty-udeb --filename=brltty-udeb_3.1-1_i386.udeb
|         dpkg --build debian/brltty-udeb ../brltty-udeb_3.1-1_i386.udeb
| dpkg-deb: building package `brltty-udeb' in `../brltty-udeb_3.1-1_i386.udeb'.
|  dpkg-genchanges -mnobody@nowhere
| dpkg-genchanges: warning: duplicate files list entry for package brltty-udeb (line 2)
| dpkg-genchanges: warning: package brltty in control file but not in files list
| dpkg-genchanges: warning: package brltty in control file but not in files list
| dpkg-genchanges: warning: package brltty in control file but not in files list
| dpkg-genchanges: warning: package brltty in control file but not in files list
| dpkg-genchanges: including full source code in upload
| dpkg-genchanges: failure: cannot open upload file ../brltty-udeb_3.1-1_i386.deb for reading: No such file or directory
| pbuilder: Failed autobuilding of package

You need to use 

	dh_gencontrol -Xbrltty-udeb
        dh_gencontrol -pbrltty-udeb -- -fdebian/files~
	dpkg-distaddfile $(FILENAME) debian-installer $(PRIORITY)

(with filename and priority set to the right values)

-- 
Tollef Fog Heen                                                        ,''`.
UNIX is user friendly, it's just picky about who its friends are      : :' :
                                                                      `. `' 
                                                                        `-  



Reply to: