emerge app-misc/mc ends with error on g/fbsd-7.2: chown: /var/tmp/portage/app-misc/mc-4.7.5.2/image//usr/libexec/mc/cons.saver: No such file or directory * ERROR: app-misc/mc-4.7.5.2 failed (install phase): * fowners failed * * If you need support, post the output of 'emerge --info =app-misc/mc-4.7.5.2', * the complete build log and the output of 'emerge -pqv =app-misc/mc-4.7.5.2'. * The complete build log is located at '/var/tmp/portage/app-misc/mc-4.7.5.2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-misc/mc-4.7.5.2/temp/environment'. * S: '/var/tmp/portage/app-misc/mc-4.7.5.2/work/mc-4.7.5.2' Reproducible: Always
Created attachment 281461 [details] build.log
Created attachment 281465 [details] emerge --info =app-misc/mc-4.7.5.2
# emerge -pqv =app-misc/mc-4.7.5.2 [ebuild N ] app-misc/mc-4.7.5.2 USE="edit ncurses nls -X (-gpm) -samba -slang"
cons.saver is only built if host_os is linux*, so an ebuild bug.
Created attachment 282049 [details, diff] mc-4.7.5.2.ebuild.patch Confirmed it only available on Linux From mc-4.7.5.2/configure.ac: > dnl Check if the OS is supported by the console saver. > cons_saver="" > case $host_os in > linux*) > cons_saver=yes > esac Alex, How do you think of this patch? I'd like to apply it if there's no problem with it.
Hi, I tested this modification on Gentoo/Alt sparc64-gentoo-freebsd8.2 and on Gentoo Linux x86_64-gentoo-linux-gnu too. It works fine. Now the mc installs properly and without any errors: sunfire280r ~ # emerge -vp mc These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ~] app-misc/mc-4.8.0-r1 [4.7.5.2] USE="edit ncurses (-X) (-gpm) -mclib% -nls -samba -slang -test%" 1,994 kB Total: 1 package (1 upgrade), Size of downloads: 1,994 kB sunfire280r ~ # emerge -q mc >>> Emerging (1 of 1) app-misc/mc-4.8.0-r1 >>> Installing (1 of 1) app-misc/mc-4.8.0-r1 >>> Recording app-misc/mc in "world" favorites file... * Messages for package app-misc/mc-4.8.0-r1: * To enable exiting to latest working directory, * put this into your ~/.bashrc: * . /usr/libexec/mc/mc.sh * IMPORTANT: 6 config files in '/etc' need updating. * See the CONFIGURATION FILES section of the emerge * man page to learn how to update config files. sunfire280r ~ #
Sorry, CHOST is not x86_64-gentoo-linux-gnu but x86_64-pc-linux-gnu what I tested on. Otherwise the patch is works fine.
Applied in CVS. Thanks.
Please apply on all version os mc ebuild because this bug affects all of them.
(In reply to comment #9) > Please apply on all version os mc ebuild because this bug affects all of them. Applied to the other ebuilds.