Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 281667 - Stable =app-misc/mc-4.7.0_pre1
Summary: Stable =app-misc/mc-4.7.0_pre1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Alex Alexander (RETIRED)
URL:
Whiteboard:
Keywords: STABLEREQ
Depends on:
Blocks:
 
Reported: 2009-08-16 12:21 UTC by Samuli Suominen (RETIRED)
Modified: 2009-10-10 16:33 UTC (History)
4 users (show)

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 Samuli Suominen (RETIRED) gentoo-dev 2009-08-16 12:21:06 UTC
It's a bit early but it's the first usable version in years. Unicode support should be included with and without USE slang unlike in current one. .lzma and .tbz2 support etc., closed some dozen of bugs
Comment 1 Andreas Thalhammer 2009-08-20 18:35:36 UTC
Requires sys-devel/libtool-2, but neighter libtool-2.2.4 nor libtool-2.2.6a are stable at the moment. I've used 2.2.6a.

One issue I have here on x86:

# mc
bash: /usr/share/mc/bin/mc-wrapper.sh: command not found

I had to link this directory to the actually used one, /usr/libexec/mc:
# ln -s ../../libexec/mc /usr/share/mc/bin

Now it's working.

On ppc64: didn't compile at first. :-( Don't know what I changed, but it finally did compile.

The x86-issue is not present on my ppc64 machine. The path /usr/share/mc/bin is not existant, it works anyway.
Strange.


I plea for quickly making stable. It really is the first usable version in years. It's just great!
Comment 2 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-20 18:52:20 UTC
(In reply to comment #1)

> I plea for quickly making stable. It really is the first usable version in
> years. It's just great!

Can't until libtool-2 is stable, see depending bug. 

Comment 3 Andreas Thalhammer 2009-08-20 19:14:37 UTC
Found the reason for "file not found":
For my previous mc-4.6.1-r2 I had the Chdir Enhancement enabled:

# less ~/.bashrc
...
if [ -f /usr/share/mc/mc.gentoo ]; then
 . /usr/share/mc/mc.gentoo
fi
...

Since I didn't login once again, I had the file still sourced, which aliases mc to /usr/share/mc/bin/mc-wrapper.sh


BTW, where is this feature for this release? It seems to be gone.

@stabilizing: as soon as libtool-2 becomes stable...
Comment 4 Samuli Suominen (RETIRED) gentoo-dev 2009-08-21 07:51:00 UTC
(In reply to comment #3)
> BTW, where is this feature for this release? It seems to be gone.

It's now here, http://www.midnight-commander.org/ticket/1554

I started from empty table as current ebuild(s) was full of hacks I didn't want to carry around anymore.
Comment 5 Andreas Thalhammer 2009-08-21 14:07:40 UTC
It's not so hard really. Since it's still all there, you just need add the following line to your ~/.bashrc:

. /usr/libexec/mc/mc.sh

In order to make it safe, I did it like in app-misc/mc-4.6.1-r4 suggested:

# cat ~/.bashrc
...
# Midnight Commander chdir enhancement
if [ -x /usr/libexec/mc/mc.sh ]; then
    . /usr/libexec/mc/mc.sh
fi
...

That's it. Works well.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2009-08-21 17:18:46 UTC
Arch's, feel free to try this:

rm -f m4/{libtool,lt*}.m4 || die "libtool fix failed"

and dropping the need for libtool 2.x from deps

it might work with libtool 1.x
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2009-08-21 17:19:45 UTC
(In reply to comment #5)
> It's not so hard really. Since it's still all there, you just need add the
> following line to your ~/.bashrc:

Thanks, it's now USE chdir.
Comment 8 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2009-08-23 01:06:18 UTC
+  23 Aug 2009; Jeremy Olexa <darkside@gentoo.org> mc-4.7.0_pre1.ebuild:
+  Drop dep on libtool-2, bug 281667 Comment #6

+  23 Aug 2009; Jeremy Olexa <darkside@gentoo.org> mc-4.7.0_pre1.ebuild:
+  amd64 stable, early stable due to usability issues. bug 281667.
Comment 9 Zdenek Herman 2009-08-25 18:39:46 UTC
I have problem to view bigger files - logs etc. If I press F3 to view and then PG DOWN or END, then CPU usage grow to 100%. Version mc-4.6.1-r4 working great.


Portage 2.1.6.13 (default/linux/amd64/2008.0, gcc-4.3.2, glibc-2.9_p20081201-r2, 2.6.30-gentoo-r4 x86_64)                                                         
=================================================================                
System uname: Linux-2.6.30-gentoo-r4-x86_64-AMD_Opteron-tm-_Processor_250-with-gentoo-1.12.11.1                                                                   
Timestamp of tree: Tue, 25 Aug 2009 18:00:01 +0000                               
app-shells/bash:     3.2_p39                                                     
dev-lang/python:     2.6.2-r1                                                    
dev-python/pycrypto: 2.0.1-r8                                                    
sys-apps/baselayout: 1.12.11.1                                                   
sys-apps/sandbox:    1.6-r2                                                      
sys-devel/autoconf:  2.13, 2.63-r1                                               
sys-devel/automake:  1.5, 1.6.3, 1.7.9-r1, 1.9.6-r2, 1.10.2                      
sys-devel/binutils:  2.18-r3                                                     
sys-devel/gcc-config: 1.4.1                                                      
sys-devel/libtool:   1.5.26                                                      
virtual/os-headers:  2.6.27-r2                                                   
ACCEPT_KEYWORDS="amd64"                                                          
CBUILD="x86_64-pc-linux-gnu"                                                     
CFLAGS="-march=opteron -O2 -pipe"                                                
CHOST="x86_64-pc-linux-gnu"                                                      
CONFIG_PROTECT="/etc /usr/share/genkernel/x86_64/modules_load /usr/share/logwatch/scripts/services/secure /var/bind"                                              
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d"                                                                        
CXXFLAGS="-march=opteron -O2 -pipe"                                              
DISTDIR="/usr/portage/distfiles"                                                 
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"                                                    
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"                                                             
LANG="en_US.UTF-8"                                                               
LDFLAGS="-Wl,-O1"                                                                
LINGUAS="cs en de sk ru"                                                         
PKGDIR="/usr/portage/packages"                                                   
PORTAGE_CONFIGROOT="/"                                                           
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"            
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                     
PORTAGE_TMPDIR="/var/tmp"                                                        
PORTDIR="/usr/portage"                                                           
PORTDIR_OVERLAY="/usr/local/portage"                                             
SYNC="rsync://rsync.gentoo.org/gentoo-portage"                                   
USE="X509 accessibility acl acpi adns aim amd64 apache2 apm berkdb bzip2 bzlib calendar chroot cli cracklib crypt cscope ctype curl curlwrappers dba dbm dbx dedicated dio dri erandom exif fam fastcgi fftw flatfile foomaticdb fortran freedts ftp gd gdbm gif gps imap imlib inifile innodb ipv6 isdnlog ithreads jabber jikes jpeg justify kerberos libedit libwww maildir mailwrapper mbox mcal mcve memlimit mhash mime ming mmap mmx mng msession mudflap multilib mysql mysqli ncurses nis nls nocardbus nptl nptlonly odbc offensive openmp pam pcntl pcre pdflib perl php png posix pppd prelude pwdb python readline recode reflection sasl session sftplogging simplexml skey slang snmp sockets spell spl sse sse2 ssl sysfs sysvipc szip tcpd threads tidy tiff tokensizer unicode usb vhosts wmf xml xml-rpc xml2 xorg xsl zeo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="cs en de sk ru" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS
Comment 10 Tobias Klausmann (RETIRED) gentoo-dev 2009-08-29 19:30:56 UTC
Stable on alpha.
Comment 11 nixnut (RETIRED) gentoo-dev 2009-08-29 19:42:49 UTC
ppc stable
Comment 12 Jeroen Roovers (RETIRED) gentoo-dev 2009-09-01 14:43:11 UTC
Stable for HPPA.
Comment 13 Markus Meier gentoo-dev 2009-09-22 11:28:59 UTC
x86 stable
Comment 14 Ondrej Machulda 2009-09-25 01:38:35 UTC
(In reply to comment #7)
> Thanks, it's now USE chdir.

Well, but the patch is copied into /etc/profile.d/mc-edit.sh, so that it affects only login-shell, unlike ~/.bashrc and /etc/bash/bashrc, which affects both login and interactive shells - that means this USE flag is right now useless for Konsole etc.

I suggest moving this somehow into /etc/bash/bashrc... 

Workaround:
# cat /etc/profile.d/mc-chdir.sh >>/etc/bash/bashrc

Comment 15 Brent Baude (RETIRED) gentoo-dev 2009-09-26 13:38:28 UTC
ppc64 done
Comment 16 Markus Meier gentoo-dev 2009-10-04 20:45:28 UTC
arm stable
Comment 17 Raúl Porcel (RETIRED) gentoo-dev 2009-10-10 16:33:25 UTC
ia64/s390/sh/sparc stable, closing