Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 583086 - media-sound/musescore-2.0.2-r1[-audiofile]: build failure due to missing media-libs/libsndfile dependency
Summary: media-sound/musescore-2.0.2-r1[-audiofile]: build failure due to missing medi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-15 12:07 UTC by Aweal
Modified: 2017-01-30 13:07 UTC (History)
0 users

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


Attachments
build.log (out.log,602.87 KB, text/x-log)
2016-05-15 12:07 UTC, Aweal
Details
emerge-info (out_emerge.log,5.77 KB, text/x-log)
2016-05-18 13:51 UTC, Aweal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aweal 2016-05-15 12:07:39 UTC
Created attachment 434330 [details]
build.log

1. media-libs/libsndfile does not installed


2. try install mscore 
>>Nova ~ # emerge -vat media-sound/musescore
>>These are the packages that would be merged, in reverse order:
>>Calculating dependencies... done!
>>[ebuild   R   ~] media-sound/musescore-2.0.2-r1::gentoo  USE="mp3 -audiofile -debug -jack -portaudio -pulseaudio" 0 KiB
>>/tmp/portage/media-sound/musescore-2.0.2-r1/work/MuseScore-2.0.2/audiofile/audiofile.h:16:21: fatal error: sndfile.h: No such file or directory
>> #include <sndfile.h>
>>                     ^
>>compilation terminated.

if media-libs/libsndfile  installed or emerge with USE +audiofile - no problemo.

ebuild:
>>        audiofile? (
>>                media-libs/audiofile
>>                media-libs/libsndfile
>>        )


mb media-libs/libsndfile in RDEPEND/RDEPEND
Comment 1 Coacher 2016-05-18 10:48:32 UTC
Please attach the output of `emerge --info media-sound/musescore'
Comment 2 Aweal 2016-05-18 13:51:48 UTC
Created attachment 434608 [details]
emerge-info
Comment 3 Nikita Zlobin 2016-10-23 14:13:45 UTC
For those, who prepares fix - i'm preparing ebuild for version 2.0.3, based on gentoo's version, but some more use flags.
Comment 4 Nikita Zlobin 2016-10-23 20:59:13 UTC
Fixed in submited ebuild in #597920
Musescore allowes to disable audiofile dependency. but not more, libsndfile seems to be mandatory.
Comment 5 Johannes Huber (RETIRED) gentoo-dev 2017-01-30 13:07:57 UTC
commit cf4d82c159f7ca1c2bd49fbb4ba92ea2d9449cb2
Author: Gergely Nagy <ngg@ngg.hu>
Date:   Sun Nov 27 22:35:28 2016 +0100

    media-sound/musescore: Version bump and dependency fixes.
    
    * Bumped version to 2.0.3
    * Added missing dependency to dev-qt/designer
    * Removed audiofile dependency (it can only build its own variant)
    * media-libs/libsndfile is always needed
    * Added alsa USE flag
    * Fixed CMAKE args for using portaudio and pulseaudio
    * Rebased patch on the new version
    Closes: https://github.com/gentoo/gentoo/pull/2937