istitov / stuff

gentoo overlay ----> eselect repository enable stuff
40 stars 23 forks source link

media-sound/deadbeef error with languages use #104

Open jorgicio opened 6 years ago

jorgicio commented 6 years ago

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]

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'

Thanks.

istitov commented 6 years ago

Ok. Tomorrow will solve it.

Bfgeshka commented 6 years ago

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.

istitov commented 6 years ago

Done. Check it out please.

jorgicio commented 6 years ago

Done. Now it builds successfully. Thank you.

jorgicio commented 6 years ago

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

istitov commented 6 years ago

thnx. That will be next step :)

LebedevV commented 4 years ago

Hi, Could you please check it now?

LebedevV commented 2 years ago

Shouldn't we restore deadbeef-9999 here?