stuff
stuff copied to clipboard
media-sound/deadbeef error with languages use
Hi!
This happens when I try to install deadbeef from your overlay. Watch out about the USE-flags and languages.
hackenherr:~ # emerge -av deadbeef [20:49:17]
These are the packages that would be merged, in order:
Calculating dependencies... done! [ebuild N ] media-sound/deadbeef-0.7.2-r1::stuff USE="aac alsa cdda cover cover-imlib2 curl dts ffmpeg flac gtk3 lastfm m3u mp3 nls notify pulseaudio sndfile threads vorbis wma -adplug -alac -ape -converter -dumb -gme -gtk2 -hotkeys -midi -mms -mono2stereo -musepack -nullout -oss -pltbrowser -psf -rpath -shellexec -shn -sid -src -static -supereq -tta -vtx -wavpack -zip" L10N="es -be -bg -bn -ca -cs -da -de -el -en-GB -et -eu -fa -fi -fr -gl -he -hr -hu -id -it -ja -kk -km -lt -nl -pl -pt -pt-BR -ro -ru -si -sk -sl -sr -sr-Latn -sv -te -tr -ug -uk -vi -zh-CN -zh-TW" 4.626 KiB
Total: 1 package (1 new), Size of downloads: 4.626 KiB
Would you like to merge these packages? [Yes/No]
Verifying ebuild manifests
Emerging (1 of 1) media-sound/deadbeef-0.7.2-r1::stuff Downloading 'http://gentoo.mirrors.pair.com/distfiles/deadbeef-0.7.2.tar.bz2' --2018-08-17 20:49:29-- http://gentoo.mirrors.pair.com/distfiles/deadbeef-0.7.2.tar.bz2 Resolving gentoo.mirrors.pair.com (gentoo.mirrors.pair.com)... 216.92.2.140 Connecting to gentoo.mirrors.pair.com (gentoo.mirrors.pair.com)|216.92.2.140|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-08-17 20:49:30 ERROR 404: Not Found.
Downloading 'http://mirror.leaseweb.com/gentoo/distfiles/deadbeef-0.7.2.tar.bz2' --2018-08-17 20:49:30-- http://mirror.leaseweb.com/gentoo/distfiles/deadbeef-0.7.2.tar.bz2 Resolving mirror.leaseweb.com (mirror.leaseweb.com)... 209.58.153.1, 2606:9880:2100:b010::1531 Connecting to mirror.leaseweb.com (mirror.leaseweb.com)|209.58.153.1|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2018-08-17 20:49:31 ERROR 404: Not Found.
Downloading 'https://download.sourceforge.net/deadbeef/deadbeef-0.7.2.tar.bz2' --2018-08-17 20:49:31-- https://download.sourceforge.net/deadbeef/deadbeef-0.7.2.tar.bz2 Resolving download.sourceforge.net (download.sourceforge.net)... 216.105.38.13 Connecting to download.sourceforge.net (download.sourceforge.net)|216.105.38.13|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://razaoinfo.dl.sourceforge.net/project/deadbeef/deadbeef-0.7.2.tar.bz2 [following] --2018-08-17 20:49:32-- https://razaoinfo.dl.sourceforge.net/project/deadbeef/deadbeef-0.7.2.tar.bz2 Resolving razaoinfo.dl.sourceforge.net (razaoinfo.dl.sourceforge.net)... 186.208.80.12 Connecting to razaoinfo.dl.sourceforge.net (razaoinfo.dl.sourceforge.net)|186.208.80.12|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 4736472 (4,5M) [application/octet-stream] Saving to: ‘/usr/portage/distfiles/deadbeef-0.7.2.tar.bz2’
/usr/portage/distfi 100%[===================>] 4,52M 3,14MB/s in 1,4s
2018-08-17 20:49:34 (3,14 MB/s) - ‘/usr/portage/distfiles/deadbeef-0.7.2.tar.bz2’ saved [4736472/4736472]
- deadbeef-0.7.2.tar.bz2 BLAKE2B SHA512 size ;-) ... [ ok ]
Unpacking source... Unpacking deadbeef-0.7.2.tar.bz2 to /var/tmp/portage/media-sound/deadbeef-0.7.2-r1/work Source unpacked in /var/tmp/portage/media-sound/deadbeef-0.7.2-r1/work Preparing source in /var/tmp/portage/media-sound/deadbeef-0.7.2-r1/work/deadbeef-0.7.2 ...
- ERROR: media-sound/deadbeef-0.7.2-r1::stuff failed (prepare phase):
- USE Flag 'linguas_be' not in IUSE for media-sound/deadbeef-0.7.2-r1
- Call stack:
-
ebuild.sh, line 124: Called src_prepare -
environment, line 2485: Called use 'linguas_be' - phase-helpers.sh, line 247: Called die
- The specific snippet of code:
-
die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" - If you need support, post the output of
emerge --info '=media-sound/deadbeef-0.7.2-r1::stuff', - the complete build log and the output of
emerge -pqv '=media-sound/deadbeef-0.7.2-r1::stuff'. - The complete build log is located at '/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/temp/build.log'.
- The ebuild environment file is located at '/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/temp/environment'.
- Working directory: '/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/work/deadbeef-0.7.2'
- S: '/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/work/deadbeef-0.7.2'
Failed to emerge media-sound/deadbeef-0.7.2-r1, Log file:
'/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/temp/build.log'
-
Messages for package media-sound/deadbeef-0.7.2-r1:
-
ERROR: media-sound/deadbeef-0.7.2-r1::stuff failed (prepare phase):
-
USE Flag 'linguas_be' not in IUSE for media-sound/deadbeef-0.7.2-r1
-
Call stack:
-
ebuild.sh, line 124: Called src_prepare -
environment, line 2485: Called use 'linguas_be' -
phase-helpers.sh, line 247: Called die
-
The specific snippet of code:
-
die "USE Flag '${u}' not in IUSE for ${CATEGORY}/${PF}" -
If you need support, post the output of
emerge --info '=media-sound/deadbeef-0.7.2-r1::stuff', -
the complete build log and the output of
emerge -pqv '=media-sound/deadbeef-0.7.2-r1::stuff'. -
The complete build log is located at '/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/temp/build.log'.
-
The ebuild environment file is located at '/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/temp/environment'.
-
Working directory: '/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/work/deadbeef-0.7.2'
-
S: '/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/work/deadbeef-0.7.2'
Thanks.
Ok. Tomorrow will solve it.
There isn't much to look for, you've forgot to replace linguas with l10n inside a loop in src_prepare().
Also, EAPI 6 requires eapply_user to be in src_prepare(), so add it too in the end of this function.
After applying these changes ebuild will compile it just fine and dandy.
Done. Check it out please.
Done. Now it builds successfully. Thank you.
Also, watch out this, please. This happens at the end of installation.
/var/tmp/portage/media-sound/deadbeef-0.7.2-r1/temp/environment: line 2306: xdg-utils_desktop_database_update: command not found /var/tmp/portage/media-sound/deadbeef-0.7.2-r1/temp/environment: line 2307: xdg-utils_mime_database_update: command not found
- Updating icons cache ... [ ok ]
- Updating GSettings schemas ... [ ok ]
- QA Notice: .desktop files with MimeType= were found installed
- but desktop mimeinfo cache has not been updated:
- /usr/share/applications/deadbeef.desktop
- Please make sure to call xdg_desktop_database_update()
- in pkg_postinst() and pkg_postrm() phases of appropriate pkgs.
media-sound/deadbeef-0.7.2-r1 merged. Regenerating /etc/ld.so.cache...
thnx. That will be next step :)
Hi, Could you please check it now?
Shouldn't we restore deadbeef-9999 here?