Bug#676114: Ruby help needed (Was: Bug#676114: wordnet: FTBFS: debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII))

Andreas Tille andreas at an3as.eu
Tue Jun 5 14:08:51 UTC 2012


Hi,

Dmitry E. Oboukhov <unera at debian.org> has added some Ruby code to
wordnet packaging (debian/wn-for-goldendict.rb) which worked for two
years and at least up to "Fri, 01 Jun 2012 13:45:40 +0200" when I did
the last upload.  Yesterday I wanted to try to fix two (unrelated) open
bugs and realised the FTBFS problem and asked Dmitry for help.  My guess
is that this is connected to the Ruby migration and most probably simple
to fix for a Ruby coder.

The only way *I* could fix the problem would be droping the
goldendict-wordnet binary package again which would definitely not
be the best solution.

Any better hint?

Kind regards

       Andreas.

On Tue, Jun 05, 2012 at 12:33:49AM +0200, Lucas Nussbaum wrote:
> Source: wordnet
> Version: 1:3.0-27
> Severity: serious
> Tags: wheezy sid
> User: debian-qa at lists.debian.org
> Usertags: qa-ftbfs-20120604 qa-ftbfs
> User: debian-ruby at lists.debian.org
> Usertags: default19
> Justification: FTBFS on amd64
> 
> Hi,
> 
> During a rebuild of all packages in sid, your package failed to build on
> amd64.
> 
> Relevant part:
> > make[3]: Entering directory `/«PKGBUILDDIR»'
> > make[3]: Leaving directory `/«PKGBUILDDIR»'
> > make[2]: Leaving directory `/«PKGBUILDDIR»'
> > make[1]: Leaving directory `/«PKGBUILDDIR»'
> > touch debian/stamp-makefile-build
> > DEB_MAKE_CHECK_TARGET unset, not running checks
> > set -e; \
> > 	if dpkg-architecture -qDEB_BUILD_ARCH|grep -q 'mips\|arm\|s390'; then \
> > 		if test "$FORCE_GOLDENDICT_BUILD" -gt 0; then \
> > 			ruby debian/wn-for-goldendict.rb > goldendict-wordnet.dsl; \
> > 		else \
> > 			echo "Building of goldendict-wordnet dictionary was skipped"; \
> > 			echo "to build this package use environment variable"; \
> > 			echo "FORCE_GOLDENDICT_BUILD=1" ; \
> > 			touch goldendict-wordnet.dsl; \
> > 		fi; \
> > 	else \
> > 		ruby debian/wn-for-goldendict.rb > goldendict-wordnet.dsl; \
> > 	fi
> > debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII)
> > debian/wn-for-goldendict.rb:465: invalid multibyte char (US-ASCII)
> > debian/wn-for-goldendict.rb:465: syntax error, unexpected $end, expecting ')'
> >     print_array(@words, 'Syn', "[c blue]•[/c]")
> >                                           ^
> > make: *** [goldendict-wordnet.dsl] Error 1
> 
> The full build log is available from:
>    http://people.debian.org/~lucas/logs/2012/06/04/wordnet_3.0-27_unstable.log
> 
> A list of current common problems and possible solutions is available at 
> http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!
> 
> About the archive rebuild: The rebuild was done on EC2 VM instances from
> Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
> failed build was retried once to eliminate random failures.
> 
> 
> 
> -- 
> debian-science-maintainers mailing list
> debian-science-maintainers at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers

-- 
http://fam-tille.de





More information about the debian-science-maintainers mailing list