Mensagem de erro "No XS-Ruby-Versions" ao compilar o pacote Ruby

-1

Eu estou tentando construir um pacote Ruby usando o git-buildpackage. Estou recebendo este erro perto do final do processo:

dh clean --buildsystem=ruby --with ruby
   dh_testdir -O--buildsystem=ruby
   dh_auto_clean -O--buildsystem=ruby
/usr/lib/ruby/vendor_ruby/gem2deb.rb:17: warning: setting Encoding.default_external
  Entering dh_ruby --clean
No XS-Ruby-Versions: field found in source!
dh_auto_clean: dh_ruby --clean returned exit code 1
make: *** [clean] Error 1
dpkg-buildpackage: error: fakeroot debian/rules clean gave error exit status 2
E: Failed autobuilding of package
I: unmounting dev/pts filesystem
I: unmounting proc filesystem
 -> Cleaning COW directory
  forking: rm -rf /var/cache/pbuilder/build//cow.7268 
gbp:error: Couldn't run 'git-pbuilder': git-pbuilder returned 1

Aqui está o arquivo rules :

#!/usr/bin/make -f

PACKAGE = $(shell dh_listpackages)
VERSION = $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 \
                | cut -d- -f1)
TMP := debian/$(PACKAGE)

DH_VERBOSE=1

%:
        dh $@ --buildsystem=ruby --with ruby

override_dh_auto_install:
        rsync -C --recursive --links --perms --times -v \
          --exclude-from=debian/exclude.rsync --exclude debian $(CURDIR)/ debian/$(PACKAGE)
    
por rlandster 27.08.2013 / 19:41

1 resposta

0

O erro é claro. Adicione o campo XS-Ruby-Versions ausente ao arquivo control .

    
por dobey 27.08.2013 / 20:09