dpkg-buildpackage: dpkg-source: nenhum tarball de upstream encontrado

0

Estou tentando descompactar os arquivos e tentar criar o pacote deb. Isto é para o meu propósito de teste. Minha intenção para este teste é, eu gostaria de apenas fornecer uma pasta que contém dados para instalar, e um script para ser executado após a instalação.

link

Estou recebendo este erro ao criar o pacote. Qualquer ajuda seria apreciada

ubuntu@ip-10-232-39-177:/opt/uat/elasticsearch-1.4.4$ dpkg-buildpackage
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package elasticsearch
dpkg-buildpackage: source version 1.4.4-1
dpkg-buildpackage: source changed by Ubuntu <ubuntu@unknown>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build elasticsearch-1.4.4
dpkg-checkbuilddeps: Unmet build dependencies: debhelper (>= 7.0.50~)
dpkg-buildpackage: warning: Build dependencies/conflicts unsatisfied; aborting.
dpkg-buildpackage: warning: (Use -d flag to override.)

Depois de instalar o debhelper , estou recebendo isto:

ubuntu@ip-10-232-39-177:/opt/uat/elasticsearch-1.4.4$ dpkg-buildpackage -rfakeroot
dpkg-buildpackage: export CFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export CPPFLAGS from dpkg-buildflags (origin: vendor): -D_FORTIFY_SOURCE=2
dpkg-buildpackage: export CXXFLAGS from dpkg-buildflags (origin: vendor): -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security
dpkg-buildpackage: export FFLAGS from dpkg-buildflags (origin: vendor): -g -O2
dpkg-buildpackage: export LDFLAGS from dpkg-buildflags (origin: vendor): -Wl,-Bsymbolic-functions -Wl,-z,relro
dpkg-buildpackage: source package elasticsearch
dpkg-buildpackage: source version 1.4.4-1
dpkg-buildpackage: source changed by Ubuntu <ubuntu@unknown>
dpkg-buildpackage: host architecture amd64
 dpkg-source --before-build elasticsearch-1.4.4
 fakeroot debian/rules clean
dh clean
   dh_testdir
   dh_auto_clean
   dh_clean
 dpkg-source -b elasticsearch-1.4.4
dpkg-source: error: can't build with source format '3.0 (quilt)': no upstream tarball found at ../elasticsearch_1.4.4.orig.tar.{bz2,gz,lzma,xz}
dpkg-buildpackage: error: dpkg-source -b elasticsearch-1.4.4 gave error exit status 255
    
por prem 17.09.2015 / 11:44

1 resposta

6

Eu me referi a este blog e fiz o truque.

solução encontrada neste fórum

Este comando resolveu meu problema.

dpkg-buildpackage -b -rfakeroot -us -uc

    
por prem 17.09.2015 / 15:09