debian / control não lista nenhum pacote binário

1

Estou executando o debuild para gerar o arquivo <source.changes> para depois enviar meu pacote usando

dput ppa:myusername/mypackagename <source.changes>

mencionado brevemente aqui .

Recebo os seguintes avisos e erros:

$ debuild
This package has a Debian revision number but there does not seem to be an appropriate original tar file or .orig directory in the parent directory;
(expected one of screen-generator_0.3.orig.tar.gz, screen-generator_0.3.orig.tar.bz2,
screen-generator_0.3.orig.tar.lzma,  screen-generator_0.3.orig.tar.xz or screen-generator.orig)
continue anyway? (y/n) y 
dpkg-buildpackage -rfakeroot -D -us -uc
dpkg-buildpackage: warning: using a gain-root-command while being root
dpkg-buildpackage: source package screen-generator
dpkg-buildpackage: source version 0.3-1
dpkg-buildpackage: source distribution UNRELEASED
dpkg-buildpackage: source changed by root <root@computer>
 dpkg-source --before-build screen-generator
dpkg-buildpackage: host architecture amd64
dpkg-source: warning: unknown information field 'Package' in input data in general section of control info file
dpkg-source: warning: unknown information field 'Version' in input data in general section of control info file
dpkg-source: warning: unknown information field 'Architecture' in input data in general section of control info file
dpkg-source: warning: unknown information field 'Description' in input data in general section of control info file
dpkg-source: error: screen-generator/debian/control doesn't list any binary package
dpkg-buildpackage: error: dpkg-source --before-build screen-generator gave error exit status 255

O que preciso fazer para evitar esse erro ou gerar um arquivo <source.changes> ?

Meu pacote é chamado screen-generator e meu arquivo debian/control contém o seguinte

Source: screen-generator
Package: screen-generator
Version: 0.3
Standard-Version: 0.3
Section: base
Maintainer: [email protected] <[email protected]>
XSBC-Original-Maintainer: Name <[email protected]>
Priority: optional
Architecture: any
Vcs-Bzr: lp:ubuntu/screen-generator
Homepage: https://github.com/boddhissattva/screen-generator
Vcs-Git: https://github.com/boddhissattva/screen-generator
Description: 
 screen-generator generates screen configuration files and launches screen by providing a chain of commands
    
por user123456 07.10.2016 / 16:46

2 respostas

1

Você precisa reorganizar o arquivo de controle desta maneira:

Source: screen-generator
Section: base
Priority: optional
Maintainer: [email protected] <[email protected]>

Package: screen-generator
Version: 0.3
Standards-Version: 0.3
XSBC-Original-Maintainer: Name <[email protected]>
Architecture: any
Vcs-Bzr: lp:ubuntu/screen-generator
Homepage: https://github.com/boddhissattva/screen-generator
Vcs-Git: https://github.com/boddhissattva/screen-generator
Description: short description
 screen-generator generates screen configuration files and launches screen by providing a chain of commands

Observe a linha em branco entre o Mantenedor e o Pacote, isso é realmente necessário. Depois disso, execute novamente o debuild e seu problema com "campo de informações desconhecidas" deve ser resolvido.

    
por kato2 27.04.2017 / 03:36
1

Conforme descrito na documentação do pacote debian , o debian/control tem que ter dois parágrafos:

  1. O parágrafo geral (o primeiro, para o pacote de origem)
  2. Os campos nos parágrafos do pacote binário
por user123456 07.10.2016 / 22:33