Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807271 - media-sound/xmms2-0.8_p20161122-r8[test,valgrind] runs tests in compile phase and expectedly fails when glibc doesn't have debug symbols
Summary: media-sound/xmms2-0.8_p20161122-r8[test,valgrind] runs tests in compile phase...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Ionen Wolkens
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-09 10:53 UTC by Toralf Förster
Modified: 2021-08-19 22:50 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,16.82 KB, text/plain)
2021-08-09 10:53 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,241.22 KB, text/plain)
2021-08-09 10:53 UTC, Toralf Förster
Details
environment (environment,109.45 KB, text/plain)
2021-08-09 10:53 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,31.79 KB, application/x-bzip)
2021-08-09 10:53 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,10.33 KB, application/x-bzip)
2021-08-09 10:53 UTC, Toralf Förster
Details
media-sound:xmms2-0.8_p20161122-r8:20210808-233519.log (media-sound:xmms2-0.8_p20161122-r8:20210808-233519.log,304.27 KB, text/plain)
2021-08-09 10:53 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,39.19 KB, application/x-bzip)
2021-08-09 10:53 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 2021-08-09 10:53:30 UTC
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/xmms2-0.8_p20161122-r8/work/xmms2-0.8DrO_o-949-gca15e830 ...
fatal: not a git repository (or any parent up to mount point /var/tmp)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).

You are building xmms2 with a waf version that is different from the one
distributed with xmms2. This is not supported by the XMMS2 Team. Before

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_systemd-j3_test-20210805-210811

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-11.2.0 *
/usr/lib/llvm/12
12.0.1
Python 3.9.6
Available Ruby profiles:
  [1]   ruby26 (with Rubygems)
  [2]   ruby30 (with Rubygems) *
Available Rust versions:
  [1]   rust-bin-1.54.0 *
The Glorious Glasgow Haskell Compilation System, version 8.10.4
  [1]   php7.3
  [2]   php7.4
  [3]   php8.0 *

  HEAD of ::gentoo
commit ba13c92891a0a45cc2b18cd9921a00a335f3a4f6
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Sun Aug 8 22:36:31 2021 +0000

    2021-08-08 22:36:29 UTC

emerge -qpvO media-sound/xmms2
[ebuild  N    ] media-sound/xmms2-0.8_p20161122-r8  USE="aac alsa cdda flac mad mp3 mp4 phonehome server test valgrind vorbis xml -airplay -ao -asf -curl -cxx -ffmpeg -fluidsynth -ices -jack -mac -mlib-update -mms -modplug -musepack -ofa -opus -oss -perl -pulseaudio -python -ruby -samba -sid -sndfile -speex -vocoder -wavpack -zeroconf" PYTHON_SINGLE_TARGET="python3_9 -python3_10 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2021-08-09 10:53:31 UTC
Created attachment 731689 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2021-08-09 10:53:33 UTC
Created attachment 731692 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2021-08-09 10:53:34 UTC
Created attachment 731695 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2021-08-09 10:53:36 UTC
Created attachment 731698 [details]
etc.portage.tar.bz2
Comment 5 Toralf Förster gentoo-dev 2021-08-09 10:53:37 UTC
Created attachment 731701 [details]
logs.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2021-08-09 10:53:38 UTC
Created attachment 731704 [details]
media-sound:xmms2-0.8_p20161122-r8:20210808-233519.log
Comment 7 Toralf Förster gentoo-dev 2021-08-09 10:53:40 UTC
Created attachment 731707 [details]
temp.tar.bz2
Comment 8 Ionen Wolkens gentoo-dev 2021-08-09 11:33:35 UTC
This is the USE=valgrind tests failing given they can't work if glibc doesn't have debug symbols.

That bit is not really a bug (don't do that), but a bug is that this is failing in compile phase. I've already fixed that bit locally, but may be some time before I push an update for this.
Comment 9 Ionen Wolkens gentoo-dev 2021-08-19 12:21:48 UTC
(In reply to Ionen Wolkens from comment #8)
> That bit is not really a bug (don't do that) [...]
Actually, I'll do a basic sanity test (`valgrind true`), and disable it (+warning) if that fails, so tinderboxes won't have to worry about that (nor will RESTRICT for valgrind be needed).
Comment 10 Larry the Git Cow gentoo-dev 2021-08-19 22:50:53 UTC
The bug has been closed via the following commit(s):

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

commit 02888a7505960f5cbe448fbf86de8390165ceeae
Author:     Ionen Wolkens <ionen@gentoo.org>
AuthorDate: 2021-08-19 20:43:26 +0000
Commit:     Ionen Wolkens <ionen@gentoo.org>
CommitDate: 2021-08-19 22:45:46 +0000

    media-sound/xmms2: add 0.8_p20201016, modernize
    
    This ebuild has some accumulated history, this is an attempt to
    simplify it and remove obsolete baggage. Hopefully no regressions.
    
    Several changes, but for the more notable ones:
    * bump to latest xmms2-devel/s4 snapshots and latest waf,
      no real changes since 2016 but upstreams a few fixes
    * use github directly rather than generate a tarball
    * remove upstreamed patches: be-hash + gcc-10 (thanks slyfox)
    * remove unnecessary patches: tarball + ffmpeg2
    * don't run tests at compile time by using --notests, and also
      add a valgrind check to accommodate tinderboxes (bug #807271)
    * use makeopts for build, multiprocessing.eclass was there but unused
    * replace hard dev-lang/python dep so it doesn't pull wrong slots
    * entire DEPEND moved to BDEPEND except cunit
    * several other *DEPEND updates after a full review
    * use ffmpeg ebuild style static mappings (allows using them in IUSE)
    * move "optionals" outside of the server block so client-only features
      like perl/python can be used with USE=-server
    * drop ruby support, nothing in the tree uses these bindings, using
      ruby27/30 triggers severe warnings, and previous ruby-single only
      builds bindings for current "any" ruby ignoring RUBY_TARGETS
     (if someone needs, say so and will look into proper ruby-ng support)
    * add IUSE=tremor and IUSE=gme, available in the tree and works
    * make IUSE=alsa non-default, this should be handled by profile/global
    * IUSE=mp4 was a no-op and always enabled for good reasons, removed
    * install s4 cli tool to manipulate xmms2's database
    * enable mid1 with fluidsynth so it can actually load .mid/rmi files
    * set default soundfont so it can work out of the box with optfeature
    * remove xmms2-et/phonehome, little point with an inactive upstream
     (open to re-adding if someone, or the devs, actually want it)
    * fix prefix, previously broken due to complete lack of ${EPREFIX}
      and also needed an additional fix to find boost includes
    
    Closes: https://bugs.gentoo.org/807271
    Signed-off-by: Ionen Wolkens <ionen@gentoo.org>

 media-sound/xmms2/Manifest                   |   3 +
 media-sound/xmms2/metadata.xml               |   2 +
 media-sound/xmms2/xmms2-0.8_p20201016.ebuild | 236 +++++++++++++++++++++++++++
 3 files changed, 241 insertions(+)