Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 578778 - media-sound/xmms2 fails to build
Summary: media-sound/xmms2 fails to build
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-04-01 20:04 UTC by Scott McClung
Modified: 2016-04-02 09:08 UTC (History)
0 users

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


Attachments
media-sound/xmms2-0.8-r2 build log (build.log,8.66 KB, text/x-log)
2016-04-01 20:06 UTC, Scott McClung
Details
emerge info (emerge.info,8.18 KB, application/x-info)
2016-04-01 20:07 UTC, Scott McClung
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Scott McClung 2016-04-01 20:04:13 UTC
media-sound/xmms2-0.8-r2 fails to build.  There appears to be another perl problem during "waf configure":

# emerge -av xmms2

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] media-sound/xmms2-0.8-r2::gentoo  USE="aac alsa cdda curl cxx ffmpeg* flac mad mms mp3 mp4 perl python ruby server sid* sndfile speex vocoder vorbis wavpack xml -airplay -ao -asf -avahi -gvfs -ices -jack -mac -mlib-update -modplug -musepack -ofa -oss -phonehome -pulseaudio -samba* {-test}" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] yes

>>> Verifying ebuild manifests

>>> Emerging (1 of 1) media-sound/xmms2-0.8-r2::gentoo
 * xmms2-0.8DrO_o.tar.bz2 SHA256 SHA512 WHIRLPOOL size ;-) ...                                                               [ ok ]
>>> Unpacking source...
>>> Unpacking xmms2-0.8DrO_o.tar.bz2 to /var/tmp/portage/media-sound/xmms2-0.8-r2/work
>>> Source unpacked in /var/tmp/portage/media-sound/xmms2-0.8-r2/work
>>> Preparing source in /var/tmp/portage/media-sound/xmms2-0.8-r2/work/xmms2-0.8DrO_o ...
The project was not configured: run "waf configure" first!
 * Applying xmms2-0.8DrO_o-waflib-fix-perl.patch ...                                                                         [ ok ]
 * Applying xmms2-0.8-ffmpeg-0.11.patch ...                                                                                  [ ok ]
 * Applying xmms2-0.8-libav-9-p2.patch ...                                                                                   [ ok ]
 * Applying xmms2-0.8-libav-9.patch ...                                                                                      [ ok ]
 * Applying xmms2-0.8-cython-0.19.1.patch ...                                                                                [ ok ]
 * Applying xmms2-0.8-memset.patch ...                                                                                       [ ok ]
 * Applying xmms2-0.8-ffmpeg2.patch ...                                                                                      [ ok ]
 * Applying xmms2-0.8-cpython.patch ...                                                                                      [ ok ]
 * Applying xmms2-0.8-modpug.patch ...                                                                                       [ ok ]
>>> Source prepared.
>>> Configuring source in /var/tmp/portage/media-sound/xmms2-0.8-r2/work/xmms2-0.8DrO_o ...
Setting top to                           : /var/tmp/portage/media-sound/xmms2-0.8-r2/work/xmms2-0.8DrO_o 
Setting out to                           : /var/tmp/portage/media-sound/xmms2-0.8-r2/work/xmms2-0.8DrO_o/_build_ 
Platform code for posix                  : ok 
Checking for program gcc,cc              : x86_64-pc-linux-gnu-gcc 
Checking for program ar                  : x86_64-pc-linux-gnu-ar 
Checking for program g++,c++             : x86_64-pc-linux-gnu-g++ 
git commit id                            : Unknown 
uncommited changed                       : no 
Checking for compiler flags -Wall        : yes 
Checking for compiler flags -Wempty-body : yes 
Checking for compiler flags -Wformat=2   : yes 
Checking for compiler flags -Wformat-nonliteral : yes 
Checking for compiler flags -Wformat-security   : yes 
Checking for compiler flags -Wignored-qualifiers : yes 
Checking for compiler flags -Wmissing-prototypes : yes 
Checking for compiler flags -Wstrict-prototypes  : yes 
Checking for compiler flags -Wtype-limits        : yes 
Checking for compiler flags -Wwrite-strings      : yes 
Checking for compiler flags -Wformat-extra-args  : yes 
Checking for compiler flags -Wformat-zero-length : yes 
Checking for compiler flags -fdiagnostics-show-option : yes 
Checking for compiler flags -fdiagnostics-show-option : yes 
Checking for compiler flags -Werror=implicit-function-declaration : yes 
Checking for program pkg-config                                   : /usr/bin/pkg-config 
Checking for 'glib-2.0'                                           : yes 
Checking for library m                                            : yes 
Checking for 'mad'                                                : yes 
Checking for library m                                            : yes 
Checking for 'alsa'                                               : yes 
Checking for library m                                            : yes 
Checking for header faad.h                                        : yes 
Checking for library faad                                         : yes 
Checking for 'libcdio_cdda'                                       : yes 
Checking for 'libdiscid'                                          : yes 
Checking for library m                                            : yes 
Checking for 'fftw3f'                                             : yes 
Checking for 'samplerate'                                         : yes 
Checking for library m                                            : yes 
Checking for 'vorbisfile'                                         : yes 
Checking for 'libmpg123' >= 1.5.1                                 : yes 
Testing mpg123 with default off_t                                 : yes 
Checking for 'mms'                                                : not found 
Checking for 'libmms'                                             : yes 
Checking for 'sndfile'                                            : yes 
Checking for 'libxml-2.0'                                         : yes 
Checking for 'wavpack'                                            : yes 
Checking for 'libavcodec'                                         : yes 
Checking for header avcodec.h                                     : not found 
Checking for header libavcodec/avcodec.h                          : yes 
Checking for 'speex'                                              : yes 
Checking for 'ogg'                                                : yes 
Checking for 'flac'                                               : yes 
Checking for 'libxml-2.0'                                         : yes 
Checking for 'libcurl'                                            : yes 
Checking for function curl_multi_strerror                         : yes 
Checking for function fstatat                                     : yes 
Checking for function dirfd                                       : yes 
Checking for 'libsidplay2'                                        : yes 
Checking for library sidplay2                                     : yes 
Checking for 'libsidplay2'                                        : yes 
Checking for header sidplay/builders/resid.h                      : yes 
Checking boost includes                                           : 1_56 
Checking for program python                                       : /usr/bin/python 
python executable '/usr/bin/python' different from sys.executable '/usr/bin/python3.4'
Checking for python version                                       : 3.4.3 
Checking for library python3.4 in LIBDIR                          : yes 
Checking for program python3.4-config,python-config-3.4,python3.4m-config : /usr/bin/python3.4-config 
Checking for header Python.h                                              : yes 
Checking for program cython                                               : /usr/bin/cython 
Checking for cython version                                               : 0.22 
Checking for program ruby                                                 : /usr/bin/ruby 
ruby                                                                      : 1.8.0 
Checking for header ruby.h                                                : yes 
Checking for function rb_protect_inspect                                  : not found 
Checking for header ['stdio.h', 'readline/readline.h']                    : yes 
Checking for function rl_filename_dequoting_function                      : yes 
Checking for program perl                                                 : /usr/bin/perl 
Checking for perl version                                                 : 5.7.3 
command '/usr/bin/perl -MModule::Build -e\'print Module::Build::ModuleInfo->find_module_by_name("ExtUtils::xsubpp")\'' returned 255
 * ERROR: media-sound/xmms2-0.8-r2::gentoo failed (configure phase):
 *   'waf configure' failed
 * 
 * Call stack:
 *     ebuild.sh, line 133:  Called src_configure
 *   environment, line 4721:  Called die
 * The specific snippet of code:
 *       CC="$(tc-getCC)" CPP="$(tc-getCPP)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" CXX="$(tc-getCXX)" ./waf configure ${waf_params} || die "'waf configure' failed"
 * 
 * If you need support, post the output of `emerge --info '=media-sound/xmms2-0.8-r2::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=media-sound/xmms2-0.8-r2::gentoo'`.
 * The complete build log is located at '/var/log/portage/media-sound:xmms2-0.8-r2:20160401-193708.log.gz'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/media-sound/xmms2-0.8-r2/temp/build.log.gz'.
 * The ebuild environment file is located at '/var/tmp/portage/media-sound/xmms2-0.8-r2/temp/environment'.
 * Working directory: '/var/tmp/portage/media-sound/xmms2-0.8-r2/work/xmms2-0.8DrO_o'
 * S: '/var/tmp/portage/media-sound/xmms2-0.8-r2/work/xmms2-0.8DrO_o'


A previous, similar problem was addressed via the xmms2-0.8DrO_o-waflib-fix-perl.patch.  Now it needs "-MModule::Build::ModuleInfo" instead of "-MModule::Build".

I will attach my build log.
Comment 1 Scott McClung 2016-04-01 20:06:32 UTC
Created attachment 429452 [details]
media-sound/xmms2-0.8-r2 build log
Comment 2 Scott McClung 2016-04-01 20:07:21 UTC
Created attachment 429454 [details]
emerge info
Comment 3 Rafał Mużyło 2016-04-02 03:08:20 UTC
This is due to an old deprecation in Module::Build.

That command should now (most likely) be '/usr/bin/perl -MModule::Build -e \'print Module::Metadata->find_module_by_name("ExtUtils::xsubpp")\''.
Comment 4 Rafał Mużyło 2016-04-02 03:11:20 UTC
...oh, I've missed your line in the noise.

So, it's probably 'Module::Metadata' in both places.
Comment 5 Scott McClung 2016-04-02 03:54:26 UTC
Sorry for the incoherent bug report.

I managed to make it build from my overlay but I have no idea if what I did was the best idea.
Comment 6 Sergei Trofimovich (RETIRED) gentoo-dev 2016-04-02 09:08:39 UTC
Yeah, seems perl-5.22 moved a find_module_by_name to Module::Metadata.
Updated as:

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