4.1.x mc branch Reproducible: Always Steps to Reproduce: 1. 2. 3.
Created attachment 21677 [details] app-misc/mc-mp ebuild
dmitry, please do NOT attach tarballs to bugzilla, just plain text files -- the ebuilds and any necessary patches (NO digests!) Thanks
Dmitry, you have not reattached plain text files to this bug, please do so immediately.
Created attachment 38735 [details] app-misc/mc-mp-4.1.40_pre9.ebuild New version
Created attachment 38736 [details] files/extra/etc/majorversion/4.1/pam.d/mcserv mcserv pam file
Created attachment 38737 [details] files/extra/init/gentoo-sysv/majorversion/4.1/init.d/mcserv mcserv init file
Created attachment 38738 [details] files/patch/version/4.1.40_pre9/mc.menu.patch.bz2
Created attachment 38739 [details] files/patch/version/4.1.40_pre9/u7z.patch.bz2 7zip support
*** Bug 83348 has been marked as a duplicate of this bug. ***
Created attachment 55334 [details] /app-misc/mc-mp-4.1.40_pre9-r1.ebuild
Created attachment 55335 [details, diff] app-misc/mc-mp/files/4.1.40_pre9/ebuild-syntax.patch
Created attachment 55336 [details, diff] app-misc/mc-mp/files/4.1.40_pre9/mc.menu.patch
Created attachment 55337 [details, diff] app-misc/mc-mp/files/4.1.40_pre9/u7z.patch
Created attachment 55338 [details] app-misc/mc-mp/files/mcserv.rc
Created attachment 55339 [details] app-misc/mc-mp/files/mcserv.pamd
Created attachment 55340 [details] app-misc/mc-mp/files/ebuild.syntax
After switching from gcc-3.3.6 to gcc-3.4.4-r1: gcc -c -I.. -I./../slang -I./../vfs -I./.. -I.. -DBINDIR=\""/usr/bin/"\" -DLIBD IR=\""/usr/lib/mc/"\" -DLOCALEDIR=\""/usr/share/locale/"\" -DWANT_PARSE -DREGEX _MALLOC -DHAVE_CONFIG_H -O2 -march=athlon-xp -pipe -ftracer -fprefetch-loop-arra ys cons.handler.c cons.handler.c: In function `handle_console_linux': cons.handler.c:208: error: label at end of compound statement make[1]: *** [cons.handler.o] Error 1 make[1]: Leaving directory `/var/tmp/portage/mc-mp-4.1.40_pre9-r1/work/mc-4.1.40 -pre9/src' make: *** [all] Error 1 !!! ERROR: app-misc/mc-mp-4.1.40_pre9-r1 failed. !!! Function src_compile, Line 70, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message.
Created attachment 74366 [details, diff] files/4.1.40_pre9/gcc-3.4.patch Fix to compile with gcc-3.4.4.
/etc/init.d/mcserv need portmap add to DEPEND="... net-nds/portmap" in mc-mp-4.1.40_pre9-r1.ebuild?
Failed on amd64: undelfs.c: In function `undelfs_loaddel': undelfs.c:185: warning: passing arg 2 of `ext2fs_get_next_inode' from incompatible pointer type undelfs.c:234: warning: passing arg 2 of `ext2fs_get_next_inode' from incompatible pointer type undelfs.c: At top level: undelfs.c:365: error: field `get_current' declared as a function undelfs.c: In function `dump_read': undelfs.c:461: error: invalid lvalue in assignment undelfs.c:489: error: invalid lvalue in assignment undelfs.c: In function `undelfs_read': undelfs.c:503: error: invalid lvalue in assignment make[1]: *** [undelfs.o] Error 1 make[1]: Leaving directory `/usr/var/tmp/portage/mc-mp-4.1.40_pre9-r1/work/mc-4.1.40-pre9/vfs' make: *** [all] Error 1 Emerge --info: Portage 2.1_pre7-r5 (default-linux/amd64/2005.1, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo x86_64) ================================================================= System uname: 2.6.16-gentoo x86_64 AMD Athlon(tm) 64 Processor 3000+ Gentoo Base System version 1.12.0_pre17 ccache version 2.4 [disabled] dev-lang/python: 2.3.5-r2, 2.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O2 -march=opteron -fomit-frame-pointer -pipe -momit-leaf-frame-pointer -funit-at-a-time -ftracer -fprefetch-loop-arrays" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -s" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/usr/var/tmp/" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 7zip X Xaw3d a52 aac acl acpi alsa ansi apache2 ape asf audiofile avi bash-completion berkdb bitmap-fonts browserplugin bzip2 cdda cddb cdparanoia crypt css cups dlloader dri dvb dvd dvdr dvdread eds effects emboss encode exif fastcgi ffmpeg flac foomaticdb fortran freetype fuse gdbm gettext gif gimp gimp-print gimpprint gphoto2 gpm gstreamer gtk gtk2 hal imagemagick imlib isdnlog javascript jpeg jpeg2k kde kdeenablefinal kerberos kqemu krb4 lame ldap libvisual lzw lzw-tiff mad matroska mng mozilla mp3 mpeg mplayer musepack musicbrainz ncurses nfs nptl nsplugin nvidia offensive ogg openal opengl oss pam pascal pcre pdflib perl php pic plotutils png ppds pppd python qt quicktime rar readline ruby samba sdl sensord server skins speedo speex spell sql ssl subtitles svg tcltk tcpd theora tidy tiff truetype truetype-fonts type1-fonts unicode usb userlocales utf8 vcd vim-with-x visualization vorbis wmf wxgtk1 xcomposite xine xml xml2 xmlreader xmlwriter xpm xrandr xscreensaver xv xvid zip zlib elibc_glibc kernel_linux userland_GNU video_cards_nvidia" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, MAKEOPTS
I have sticked a modified ebuild into Sunrise Project overlay (in package.mask). See http://overlays.gentoo.org/proj/sunrise/browser/app-misc/mc-mp or check out via subversion: svn co http://overlays.gentoo.org/svn/proj/sunrise Marking this UPSTREAM, not going into portage, as last upstream release is almost two years old. Reopen if upstream gets alive again. Thanks.
New link: http://www.gentoo-sunrise.org/sunrise/browser/reviewed/app-misc/mc-mp emerge -va layman echo "source /usr/portage/local/layman/make.conf" >> /etc/make.conf layman -f -a sunrise
Created attachment 167059 [details, diff] fix compile error when LINGUAS contain "ru"
btw, is anybody knows how to get mc-mp to support large files (>2GB)? afaik it's based on amc. source tree even contain amc's README.A12 file. and that file says support for large files was added in release A4: New features in rel.4: 64-bit filesizes ~~~~~~~~~~~~~~~~~~~~~~ General: - type of panel->total changed to 64-bit 'long long' from 'long int' => summared size is correct selecting more than 2GB now! - directory sizes also uses _internal_ 64-bit numbers - new 64-bit fsize field into struct file_entry and every 'buf.st-size' changed to 'fsize' => full 64-bit filesize calculation (up to 8,589 million gigabyte!) but looks like it either removed from mc-mp or broken. :(