[DRE-maint] Bug#1093942: schleuder-gitlab-ticketing: FTBFS: dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing returned exit code 1
Santiago Vila
sanvila at debian.org
Fri Jan 24 01:00:30 GMT 2025
Package: src:schleuder-gitlab-ticketing
Version: 1.0.0-4
Severity: serious
Tags: ftbfs trixie sid
Dear maintainer:
During a rebuild of all packages in unstable, your package failed to build:
--------------------------------------------------------------------------------
[...]
debian/rules clean
dh clean --buildsystem=ruby --with ruby
dh_auto_clean -O--buildsystem=ruby
dh_ruby --clean
W: XS-Ruby-Versions is deprecated, and will be ignored
dh_autoreconf_clean -O--buildsystem=ruby
dh_clean -O--buildsystem=ruby
rm -f debian/debhelper-build-stamp
rm -rf debian/.debhelper/
rm -f -- debian/schleuder-gitlab-ticketing.substvars debian/files
rm -fr -- debian/schleuder-gitlab-ticketing/ debian/tmp/
find . \( \( \
\( -path .\*/.git -o -path .\*/.svn -o -path .\*/.bzr -o -path .\*/.hg -o -path .\*/CVS -o -path .\*/.pc -o -path .\*/_darcs \) -prune -o -type f -a \
\( -name '#*#' -o -name '.*~' -o -name '*~' -o -name DEADJOE \
-o -name '*.orig' -o -name '*.rej' -o -name '*.bak' \
-o -name '.*.orig' -o -name .*.rej -o -name '.SUMS' \
-o -name TAGS -o \( -path '*/.deps/*' -a -name '*.P' \) \
\) -exec rm -f {} + \) -o \
\( -type d -a \( -name autom4te.cache -o -name __pycache__ \) -prune -exec rm -rf {} + \) \)
debian/rules binary
dh binary --buildsystem=ruby --with ruby
dh_update_autotools_config -O--buildsystem=ruby
dh_autoreconf -O--buildsystem=ruby
dh_auto_configure -O--buildsystem=ruby
dh_ruby --configure
dh_auto_build -O--buildsystem=ruby
dh_ruby --build
dh_auto_test -O--buildsystem=ruby
dh_ruby --test
rm -fr -- /tmp/dh-xdg-rundir-RyRHJYRs
create-stamp debian/debhelper-build-stamp
dh_testroot -O--buildsystem=ruby
dh_prep -O--buildsystem=ruby
rm -f -- debian/schleuder-gitlab-ticketing.substvars
rm -fr -- debian/.debhelper/generated/schleuder-gitlab-ticketing/ debian/schleuder-gitlab-ticketing/ debian/tmp/
dh_auto_install --destdir=debian/schleuder-gitlab-ticketing/ -O--buildsystem=ruby
install -m0755 -d /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing
dh_ruby --install /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â schleuder-gitlab-ticketing: Install files â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
install -d /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby
install -D -m644 /<<PKGBUILDDIR>>/lib/schleuder/filters/post_decryption/99_gitlab_ticketing.rb /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby/schleuder/filters/post_decryption/99_gitlab_ticketing.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/schleuder-gitlab-ticketing/config.rb /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby/schleuder-gitlab-ticketing/config.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/schleuder-gitlab-ticketing/gitlab_config.rb /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby/schleuder-gitlab-ticketing/gitlab_config.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/schleuder-gitlab-ticketing/list.rb /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby/schleuder-gitlab-ticketing/list.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/schleuder-gitlab-ticketing/version.rb /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby/schleuder-gitlab-ticketing/version.rb
install -D -m644 /<<PKGBUILDDIR>>/lib/schleuder-gitlab-ticketing.rb /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby/schleuder-gitlab-ticketing.rb
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â schleuder-gitlab-ticketing: Install Rubygems integration metadata â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
generating gemspec at /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/share/rubygems-integration/all/specifications/schleuder-gitlab-ticketing-1.0.0.gemspec
dh_installchangelogs -pschleuder-gitlab-ticketing /<<PKGBUILDDIR>>/CHANGELOG.md upstream
install -m0755 -d debian/schleuder-gitlab-ticketing/usr/share/doc/schleuder-gitlab-ticketing
install -p -m0644 debian/.debhelper/generated/schleuder-gitlab-ticketing/dh_installchangelogs.dch.trimmed debian/schleuder-gitlab-ticketing/usr/share/doc/schleuder-gitlab-ticketing/changelog.Debian
install -p -m0644 /<<PKGBUILDDIR>>/CHANGELOG.md debian/schleuder-gitlab-ticketing/usr/share/doc/schleuder-gitlab-ticketing/changelog
/usr/bin/ruby3.1 /usr/bin/gem2deb-test-runner
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Checking Rubygems dependency resolution on ruby3.1 â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=/<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -e gem\ \"schleuder-gitlab-ticketing\"
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Run tests for ruby3.1 from debian/ruby-tests.rake â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=/<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.1.0:/var/lib/gems/3.1.0:/usr/local/lib/ruby/gems/3.1.0:/usr/lib/ruby/gems/3.1.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.1.0:/usr/share/rubygems-integration/3.1.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.1.0 ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
SchleuderGitlabTicketing::Config
non existing config
with a config
provides a way to process a list
loads the configured lists
basic
with a config
provides a way to process a list
loads the configured lists
gitlab config
adds the global gitlab config to all the lists
supports dedicated gitlabs for certain lists
merging filters
merges global and local subject filters
merges global and local sender filters
SchleuderGitlabTicketing::List
basic
with a config
provides a way to process a mail
provides a way to check if it's configured properly
has a gitlab config
loads the configured lists
has sender filters
has subject filters
with talking to gitlab
list properly configured?
with projects on gitlab
labels correct lists properly
with missing config
fails
processing mails
ignores spam
drops spam
drops spam case-insensitiv
ignores certain senders
by regexp
ignores certain subjects
by regexp
by regexp 2
works if there is no subject
with a proper list
creates a new ticket
creates a new ticket with an empty subject
creates a new ticket with a nearly empty subject
creates a new ticket with a nearly empty subject 2
creates a new ticket if ticket nr in subject can't be found
creates a new ticket and does not assign it even if from member
creates a new ticket and put it into close if subject indicates
updates an existing ticket but does not put it in process as it is from a user
updates an existing ticket and assignes it to the member and puts it into inprocess
updates an existing ticket and assignes it to the member if not member of project but group and puts it into inprocess
updates an existing ticket and won't assign it if user is not team_member
updates an existing ticket and reassing it if already assigned
updates a closed ticket but does not reopen it if subject still indicates ok
reopens a closed ticket and puts it into process if subject does not contain ok
reopens a closed ticket and reassignes it to the new member and puts it into process if subject does not contain ok
reopens a closed ticket and assignes it to the member and puts it into process if subject does not contain ok
updates an existing ticket and assignes it to the member and closes it
updates an existing ticket and assignes it to the member and closes it and removes the inprocess label
Schleuder::Filters
with talking to gitlab
skips non configured lists
skips on wrongly configured lists
with processing
creates a new ticket
works even on en exception
subject filter
skips email if subject filter matches
sender filter
skips email if subject filter matches
Finished in 0.06251 seconds (files took 0.17298 seconds to load)
46 examples, 0 failures
/usr/bin/ruby3.3 /usr/bin/gem2deb-test-runner
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Checking Rubygems dependency resolution on ruby3.3 â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=/<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -e gem\ \"schleuder-gitlab-ticketing\"
/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1471:in `block in activate_dependencies': can't satisfy 'net-smtp (~> 0.3.1)', already activated 'net-smtp-0.4.0.1' (Gem::LoadError)
from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `each'
from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `activate_dependencies'
from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1445:in `activate'
from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1481:in `block in activate_dependencies'
from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `each'
from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1463:in `activate_dependencies'
from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1445:in `activate'
from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `block in gem'
from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `synchronize'
from /usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_gem.rb:63:in `gem'
from -e:1:in `<main>'
abbrev (default: 0.1.0)
activemodel (6.1.7.3)
activerecord (6.1.7.3)
activesupport (6.1.7.3)
base64 (default: 0.1.1)
bcrypt (3.1.20)
benchmark (default: 0.2.0)
bigdecimal (default: 3.1.1)
bundler (default: 2.3.7)
cgi (default: 0.3.5)
charlock_holmes (0.7.9)
concurrent-ruby (1.3.4)
concurrent-ruby-edge (0.7.1)
csv (default: 3.2.2)
daemons (1.4.1)
date (default: 3.2.2)
debug (1.4.0)
delegate (default: 0.2.0)
did_you_mean (default: 1.6.1)
diff-lcs (1.5.1)
digest (default: 3.1.0)
drb (default: 2.1.0)
english (default: 0.7.1)
erb (default: 2.2.3)
error_highlight (default: 0.3.0)
etc (default: 1.3.0)
ethon (0.16.0)
eventmachine (1.3.0.dev.1)
fcntl (default: 1.0.1)
ffi (1.17.0)
fiddle (default: 1.1.0)
fileutils (default: 1.6.0)
find (default: 0.1.1)
forwardable (default: 1.3.2)
getoptlong (default: 0.1.1)
gitlab (4.17.0)
gpgme (2.0.23)
httparty (0.21.0)
i18n (1.14.5)
io-console (default: 0.5.11)
io-nonblock (default: 0.1.0)
io-wait (default: 0.2.1)
ipaddr (default: 1.2.4)
irb (default: 1.4.1)
json (default: 2.6.1)
logger (default: 1.5.0)
mail (2.8.1)
matrix (0.4.2)
mime-types (3.5.2)
mime-types-data (3.2024.0206)
mini_mime (1.1.5)
mini_portile2 (2.8.7)
minitest (5.15.0)
multi_json (1.14.1)
multi_xml (0.6.0)
mustermann (3.0.0)
mutex_m (default: 0.1.1)
net-ftp (0.1.3)
net-http (default: 0.2.0)
net-imap (0.2.3)
net-pop (0.1.1)
net-protocol (default: 0.1.2)
net-smtp (0.3.1)
net-telnet (0.2.0)
nkf (default: 0.1.1)
observer (default: 0.1.1)
open-uri (default: 0.2.0)
open3 (default: 0.1.1)
openssl (default: 3.0.1)
optparse (default: 0.2.0)
ostruct (default: 0.5.2)
pathname (default: 0.2.0)
power_assert (2.0.1)
pp (default: 0.3.0)
prettyprint (default: 0.1.1)
prime (0.1.2)
pstore (default: 0.1.1)
psych (default: 4.0.3)
racc (default: 1.6.0)
rack (2.2.7)
rack-protection (3.2.0)
rack-test (2.1.0)
rake (13.2.1, 13.0.6)
rbs (2.1.0)
rdoc (default: 6.4.0)
readline (default: 0.0.3)
readline-ext (default: 0.1.4)
reline (default: 0.3.0)
resolv (default: 0.2.1)
resolv-replace (default: 0.1.0)
rexml (3.2.5)
rinda (default: 0.1.1)
rspec (3.13.0)
rspec-core (3.13.0)
rspec-expectations (3.13.0)
rspec-mocks (3.13.0)
rspec-support (3.13.1)
rss (0.2.9)
ruby2_keywords (0.0.5)
rubygems-update (3.4.20)
schleuder (5.0.0)
sdbm (1.0.0)
securerandom (default: 0.1.1)
set (default: 1.0.2)
shellwords (default: 0.1.0)
sinatra (3.2.0)
sinatra-contrib (3.2.0)
singleton (default: 0.1.1)
sqlite3 (1.6.9)
stringio (default: 3.0.1)
strscan (default: 3.0.1)
syslog (default: 0.1.0)
tempfile (default: 0.1.2)
terminal-table (3.0.2)
test-unit (3.5.3)
thin (1.8.2)
thor (1.3.1)
tilt (2.4.0)
time (default: 0.2.0)
timeout (default: 0.2.0)
tmpdir (default: 0.1.2)
tsort (default: 0.1.0)
typeprof (0.21.2)
typhoeus (1.4.0)
tzinfo (2.0.6)
un (default: 0.2.0)
unicode-display_width (1.6.1)
uri (default: 0.11.0)
weakref (default: 0.1.1)
webrick (1.8.1)
xmlrpc (0.3.3)
yaml (default: 0.2.0)
zeitwerk (2.6.8)
zlib (default: 2.1.1)
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
â Run tests for ruby3.3 from debian/ruby-tests.rake â
ââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ
RUBYLIB=/<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/lib/ruby/vendor_ruby:. GEM_PATH=/<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing/usr/share/rubygems-integration/all:/<<PKGBUILDDIR>>/debian/.debhelper/generated/_source/home/.local/share/gem/ruby/3.3.0:/var/lib/gems/3.3.0:/usr/local/lib/ruby/gems/3.3.0:/usr/lib/ruby/gems/3.3.0:/usr/lib/x86_64-linux-gnu/ruby/gems/3.3.0:/usr/share/rubygems-integration/3.3.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/3.3.0 ruby3.3 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake
/usr/bin/ruby3.3 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.13.1/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.13.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation
SchleuderGitlabTicketing::Config
non existing config
with a config
provides a way to process a list
loads the configured lists
basic
with a config
provides a way to process a list
loads the configured lists
gitlab config
adds the global gitlab config to all the lists
supports dedicated gitlabs for certain lists
merging filters
merges global and local subject filters
merges global and local sender filters
SchleuderGitlabTicketing::List
basic
with a config
provides a way to process a mail
provides a way to check if it's configured properly
has a gitlab config
loads the configured lists
has sender filters
has subject filters
with talking to gitlab
list properly configured?
with projects on gitlab
labels correct lists properly
with missing config
fails
processing mails
ignores spam
drops spam
drops spam case-insensitiv
ignores certain senders
by regexp
ignores certain subjects
by regexp
by regexp 2
works if there is no subject
with a proper list
creates a new ticket
creates a new ticket with an empty subject
creates a new ticket with a nearly empty subject
creates a new ticket with a nearly empty subject 2
creates a new ticket if ticket nr in subject can't be found
creates a new ticket and does not assign it even if from member
creates a new ticket and put it into close if subject indicates
updates an existing ticket but does not put it in process as it is from a user
updates an existing ticket and assignes it to the member and puts it into inprocess
updates an existing ticket and assignes it to the member if not member of project but group and puts it into inprocess
updates an existing ticket and won't assign it if user is not team_member
updates an existing ticket and reassing it if already assigned
updates a closed ticket but does not reopen it if subject still indicates ok
reopens a closed ticket and puts it into process if subject does not contain ok
reopens a closed ticket and reassignes it to the new member and puts it into process if subject does not contain ok
reopens a closed ticket and assignes it to the member and puts it into process if subject does not contain ok
updates an existing ticket and assignes it to the member and closes it
updates an existing ticket and assignes it to the member and closes it and removes the inprocess label
Schleuder::Filters
with talking to gitlab
skips non configured lists
skips on wrongly configured lists
with processing
creates a new ticket
works even on en exception
subject filter
skips email if subject filter matches
sender filter
skips email if subject filter matches
Finished in 0.0581 seconds (files took 0.18146 seconds to load)
46 examples, 0 failures
ERROR: Test "ruby3.3" failed. Exiting.
dh_auto_install: error: dh_ruby --install /<<PKGBUILDDIR>>/debian/schleuder-gitlab-ticketing returned exit code 1
make: *** [debian/rules:9: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------
The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:
https://people.debian.org/~sanvila/build-logs/202501/
About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.
If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.
If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:schleuder-gitlab-ticketing, so that this is still
visible in the BTS web page for this package.
Thanks.
More information about the Pkg-ruby-extras-maintainers
mailing list