Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 701784 - sci-chemistry/GromacsWrapper-0.8.0 : * Package installs 'tests' package which is forbidden and likely a bug in the build system.
Summary: sci-chemistry/GromacsWrapper-0.8.0 : * Package installs 'tests' package whic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Alexey Shvetsov
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-12-02 17:10 UTC by Toralf Förster
Modified: 2020-06-07 10:45 UTC (History)
2 users (show)

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


Attachments
emerge-info.txt (emerge-info.txt,17.62 KB, text/plain)
2019-12-02 17:11 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,233.35 KB, text/plain)
2019-12-02 17:11 UTC, Toralf Förster
Details
environment (environment,119.40 KB, text/plain)
2019-12-02 17:11 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,18.07 KB, application/x-bzip)
2019-12-02 17:11 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,2.61 KB, application/x-bzip)
2019-12-02 17:11 UTC, Toralf Förster
Details
sci-chemistry:GromacsWrapper-0.8.0:20191202-170825.log (sci-chemistry:GromacsWrapper-0.8.0:20191202-170825.log,40.67 KB, text/plain)
2019-12-02 17:11 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,28.71 KB, application/x-bzip)
2019-12-02 17:11 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 2019-12-02 17:10:58 UTC
 * ERROR: sci-chemistry/GromacsWrapper-0.8.0::gentoo failed (install phase):
 *   Package installs 'tests' package which is forbidden and likely a bug in the build system.
 * 

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-libressl-20191127-041626

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

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

clang:
clang version 9.0.0 (tags/RELEASE_900/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/9/bin
llvm:
9.0.0
Available Python interpreters, in order of preference:
  [1]   python3.6
  [2]   python2.7 (fallback)
  [3]   pypy3 (fallback)
  [4]   pypy (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems)
  [2]   ruby25 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.39.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.13.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

repository:
==> /var/db/repos/gentoo/metadata/timestamp.chk <==
Mon, 02 Dec 2019 15:50:05 +0000

emerge -qpvO sci-chemistry/GromacsWrapper
[ebuild  N    ] sci-chemistry/GromacsWrapper-0.8.0  PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7"
Comment 1 Toralf Förster gentoo-dev 2019-12-02 17:11:01 UTC
Created attachment 598268 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-12-02 17:11:04 UTC
Created attachment 598270 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2019-12-02 17:11:07 UTC
Created attachment 598272 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2019-12-02 17:11:10 UTC
Created attachment 598274 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2019-12-02 17:11:12 UTC
Created attachment 598276 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-12-02 17:11:15 UTC
Created attachment 598278 [details]
sci-chemistry:GromacsWrapper-0.8.0:20191202-170825.log
Comment 7 Toralf Förster gentoo-dev 2019-12-02 17:11:18 UTC
Created attachment 598280 [details]
temp.tbz2
Comment 8 Pacho Ramos gentoo-dev 2020-02-05 09:50:38 UTC
setup.py excludes them.... but it doesn't seem enough :/

packages=find_packages(exclude=['tests','scripts','extras','doc/examples'])
Comment 9 Pacho Ramos gentoo-dev 2020-05-14 16:47:20 UTC
any news on this? I cannot install it without messing with the eclass to allow it :/

Thanks
Comment 10 Tupone Alfredo gentoo-dev 2020-06-04 20:04:56 UTC
(In reply to Pacho Ramos from comment #9)
> any news on this? I cannot install it without messing with the eclass to
> allow it :/
> 
> Thanks

find_packages(exclude=['tests','tests.*']) maybe ?
Comment 11 Larry the Git Cow gentoo-dev 2020-06-07 10:45:36 UTC
The bug has been closed via the following commit(s):

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

commit c0303b6f37b2ad50973f99b2d9d962d3cef4a1e6
Author:     Pacho Ramos <pacho@gentoo.org>
AuthorDate: 2020-06-07 10:45:06 +0000
Commit:     Pacho Ramos <pacho@gentoo.org>
CommitDate: 2020-06-07 10:45:26 +0000

    sci-chemistry/GromacsWrapper: Don't install tests package
    
    Also run tests
    
    Thanks-to: Tupone Alfredo
    Closes: https://bugs.gentoo.org/701784
    Package-Manager: Portage-2.3.100, Repoman-2.3.22
    Signed-off-by: Pacho Ramos <pacho@gentoo.org>

 sci-chemistry/GromacsWrapper/GromacsWrapper-0.8.0.ebuild      | 11 ++++++++++-
 .../files/GromacsWrapper-0.8.0-tests-package.patch            | 11 +++++++++++
 2 files changed, 21 insertions(+), 1 deletion(-)