Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 376943 - app-misc/mc-4.7.5.2 fails to install
Summary: app-misc/mc-4.7.5.2 fails to install
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-29 14:50 UTC by Dmitri Bogomolov
Modified: 2011-11-11 13:28 UTC (History)
2 users (show)

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


Attachments
build.log (build.log,180.22 KB, text/plain)
2011-07-29 14:51 UTC, Dmitri Bogomolov
Details
emerge --info =app-misc/mc-4.7.5.2 (emerge.info,3.38 KB, text/plain)
2011-07-29 14:54 UTC, Dmitri Bogomolov
Details
mc-4.7.5.2.ebuild.patch (mc-4.7.5.2.ebuild.patch,599 bytes, patch)
2011-08-04 11:40 UTC, Naohiro Aota
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitri Bogomolov 2011-07-29 14:50:11 UTC
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
Comment 1 Dmitri Bogomolov 2011-07-29 14:51:43 UTC
Created attachment 281461 [details]
build.log
Comment 2 Dmitri Bogomolov 2011-07-29 14:54:27 UTC
Created attachment 281465 [details]
emerge --info =app-misc/mc-4.7.5.2
Comment 3 Dmitri Bogomolov 2011-07-29 14:55:22 UTC
# 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"
Comment 4 Rafał Mużyło 2011-07-29 18:02:44 UTC
cons.saver is only built if host_os is linux*, so an ebuild bug.
Comment 5 Naohiro Aota gentoo-dev 2011-08-04 11:40:10 UTC
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.
Comment 6 Tibor Vago 2011-11-06 10:56:11 UTC
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 ~ #
Comment 7 Tibor Vago 2011-11-06 10:58:31 UTC
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.
Comment 8 Naohiro Aota gentoo-dev 2011-11-08 11:46:23 UTC
Applied in CVS. Thanks.
Comment 9 Tibor Vago 2011-11-10 14:44:08 UTC
Please apply on all version os mc ebuild because this bug affects all of them.
Comment 10 Naohiro Aota gentoo-dev 2011-11-11 13:28:49 UTC
(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.