Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 615256 - app-emulation/wine-staging-2.5 fails to install man pages with LINGUAS="de"
Summary: app-emulation/wine-staging-2.5 fails to install man pages with LINGUAS="de"
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Wine Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-04-11 11:51 UTC by Jan-Matthias Braun
Modified: 2017-04-25 15:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan-Matthias Braun 2017-04-11 11:51:45 UTC
The build of app-emulation/wine-staging with
USE="X alsa cups dos fontconfig gecko gsm jpeg lcms mono mp3 ncurses nls openal opencl opengl osmesa perl png realtime run-exes s3tc scanner ssl (staging) themes threads truetype udev udisks v4l vaapi xcomposite xinerama xml -capi -custom-cflags -gphoto2 -gstreamer -ldap -netapi -odbc -oss -pcap -pipelight -prelink -pulseaudio -samba (-selinux) {-test}"
ABI_X86="32 (64) (-x32)"
LINGUAS="da de en en_US -ar -bg -ca -cs -el -eo -es -fa -fi -fr -he -hi -hr -hu -it -ja -ko -lt -ml -nb_NO -nl -or -pa -pl -pt_BR -pt_PT -rm -ro -ru -sk -sl -sr_RS@cyrillic -sr_RS@latin -sv -te -th -tr -uk -wa -zh_CN -zh_TW" 0 KiB

fails in newman. The build log contains:

cp: -r not specified; omitting directory '/var/tmp/portage/app-emulation/wine-staging-2.5/image/usr/share/wine-staging-2.5/man/de.UTF-8/man1'
 * ERROR: app-emulation/wine-staging-2.5::gentoo failed (install phase):
 *   newman failed
 * 

When inspecting the directory structure, it shows that the localised man pages have an additional hierarchy level which might explain the cp on a directory. I.e., the non-localised, English man pages are in:
    /usr/share/wine-staging-2.5/man/man1

while the localized are in
    /usr/share/wine-staging-2.5/man/de.UTF-8/man1

This seems to break the ebuild's logic. Probably in

	for m in "${D%/}${MY_MANDIR}"/*/*; do
		new_man=${m##*/}
		new_man=${new_man%%.1}
		newman "${m}" ${new_man##*/}-${WINE_VARIANT}.1
	done

When emerging with LINGUAS="en", only, the emerge finishes fine.
Comment 1 Adam Feldman gentoo-dev 2017-04-25 15:23:33 UTC
Sync your repo please.