Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 630950 - app-i18n/translate-shell-0.9.6.2 : make: *** [Makefile:<snip>: check] Error 1
Summary: app-i18n/translate-shell-0.9.6.2 : make: *** [Makefile:<snip>: check] Error 1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ferenc Erki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-14 07:28 UTC by Toralf Förster
Modified: 2018-02-11 21:25 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,15.36 KB, text/plain)
2017-09-14 07:28 UTC, Toralf Förster
Details
app-i18n:translate-shell-0.9.6.2:20170914-010445.log (app-i18n:translate-shell-0.9.6.2:20170914-010445.log,8.25 KB, text/plain)
2017-09-14 07:28 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,105.23 KB, text/plain)
2017-09-14 07:28 UTC, Toralf Förster
Details
environment (environment,10.92 KB, text/plain)
2017-09-14 07:28 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.97 KB, application/x-bzip)
2017-09-14 07:29 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,6.26 KB, application/x-bzip)
2017-09-14 07:29 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2017-09-14 07:28:46 UTC
[ "`build/trans -no-init -D -b 'hello world'`" = 'hello world' ]
gawk: /dev/fd/63:2899: fatal: remote host and port information (translate.googleapis.com, 80) invalid
make: *** [Makefile:30: check] Error 1
 * ERROR: app-i18n/translate-shell-0.9.6.2::gentoo failed (test phase):
 *   Make check failed. See above for details.
 * 

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 13.0-desktop_20170911-192633

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-6.4.0 *

Available Python interpreters, in order of preference:
  [1]   python3.4
  [2]   python2.7 (fallback)
  [3]   pypy (fallback)

java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.5.1 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpv app-i18n/translate-shell
[ebuild  N    ] app-i18n/translate-shell-0.9.6.2  USE="bidi curl {-test} -tts"
Comment 1 Toralf Förster gentoo-dev 2017-09-14 07:28:49 UTC
Created attachment 494452 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2017-09-14 07:28:52 UTC
Created attachment 494454 [details]
app-i18n:translate-shell-0.9.6.2:20170914-010445.log
Comment 3 Toralf Förster gentoo-dev 2017-09-14 07:28:55 UTC
Created attachment 494456 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2017-09-14 07:28:59 UTC
Created attachment 494458 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2017-09-14 07:29:02 UTC
Created attachment 494460 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2017-09-14 07:29:05 UTC
Created attachment 494462 [details]
temp.tbz2
Comment 7 Ferenc Erki 2017-09-18 16:49:19 UTC
It looks like it needs network access to run the test suite (`make check`), as it tries to actually translate some strings. I'm not yet sure how it would be best to fix.
Comment 8 Toralf Förster gentoo-dev 2017-09-18 20:46:05 UTC
(In reply to Ferenc Erki from comment #7)
Maybe by restricting that test case ? If I understood it right, there's no network access allowed within sandbox, or ?
Comment 9 Ferenc Erki 2017-09-19 07:07:14 UTC
(In reply to Toralf Förster from comment #8)
> (In reply to Ferenc Erki from comment #7)
> Maybe by restricting that test case ? If I understood it right, there's no
> network access allowed within sandbox, or ?

Yes, I think I'll try patching out the online tests first (only 2 lines for now), or fall back to using `make test` instead of `make check`. I'll probably include that change in the version bump waiting on bug 617230.
Comment 10 Larry the Git Cow gentoo-dev 2018-02-11 21:25:21 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cad95b6c5cee27bd675ff8e6816e3921ad7fdee7

commit cad95b6c5cee27bd675ff8e6816e3921ad7fdee7
Author:     Ferenc Erki <erkiferenc@gmail.com>
AuthorDate: 2017-09-23 15:05:58 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-02-11 21:24:47 +0000

    app-i18n/translate-shell: remove online tests
    
    Closes: https://bugs.gentoo.org/630950
    Package-Manager: Portage-2.3.8, Repoman-2.3.1

 ...anslate-shell-0.9.6.6-remove-online-tests.patch | 42 ++++++++++++++++++++++
 .../translate-shell/translate-shell-0.9.6.6.ebuild |  4 +++
 2 files changed, 46 insertions(+)