Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[mondo-rescue] problem przy instalacji mindi-busybox-1.2.2
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt
View previous topic :: View next topic  
Author Message
shido
n00b
n00b


Joined: 09 Sep 2006
Posts: 60
Location: Sopot

PostPosted: Tue Nov 06, 2007 10:33 pm    Post subject: [mondo-rescue] problem przy instalacji mindi-busybox-1.2.2 Reply with quote

Witam, mam następujący problem:

...ale najpierw
System aktualny
emerge --sync
emerge -auDN world
etc-update
emerge --depclean
revdeb-rebuild

teraz w /etc/make.conf ustawiona zmienna (standardowo):
PORTDIR_OVERLAY=/usr/local/portage

ebuildy pobrane ze strony projektu: ftp://ftp.mondorescue.org/gentoo/1.6
mindi-1.2.4.ebuild
mindi-busybox-1.2.2.ebuild
mondo-2.2.4.ebuild

ok, teraz umieszczam ebuildy w /usr/local/portage/ w odpowiednich folderach:
app-backup/mondo-rescue
sys-apps/mindi
sys-apps/mindi-busybox

następnie odpowiednio:
ebuild mindi-1.2.4.ebuild digest
i tak dalej

jeszcze tylko w /etc/portage/package.unmask odmaskowuje:
app-backup/mondo-rescue

ok, wszystko przygotowane teraz zaczynam instalacje:
Code:
acer / # emerge -av mondo-rescue

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild  N    ] dev-libs/newt-0.51.6-r1  USE="gpm" 153 kB
[ebuild  N    ] sys-block/buffer-1.19-r2  35 kB
[ebuild  N    ] sys-fs/mtools-3.9.10  USE="X" 379 kB
[ebuild  N    ] app-arch/afio-2.5  175 kB
[ebuild  N    ] sys-apps/mindi-busybox-1.2.2  0 kB [1]
[ebuild  N    ] sys-boot/syslinux-3.31  1,584 kB
[ebuild  N    ] sys-apps/mindi-1.2.4  0 kB [1]
[ebuild  N    ] app-backup/mondo-rescue-2.2.4  3,127 kB [1]

Total: 8 packages (8 new), Size of downloads: 5,450 kB
Portage tree and overlays:
 [0] /usr/portage
 [1] /usr/local/portage

Would you like to merge these packages? [Yes/No]


I tu dochodzimy do sedna sprawy, podczas instalacji mindi-busybox wygląda to tak:
Code:
>>> Emerging (5 of 8) sys-apps/mindi-busybox-1.2.2 to /
 * mindi-busybox-1.2.2.tar.gz MD5 ;-) ...                                                                                                            [ ok ]
 * mindi-busybox-1.2.2.tar.gz RMD160 ;-) ...                                                                                                         [ ok ]
 * mindi-busybox-1.2.2.tar.gz SHA1 ;-) ...                                                                                                           [ ok ]
 * mindi-busybox-1.2.2.tar.gz SHA256 ;-) ...                                                                                                         [ ok ]
 * mindi-busybox-1.2.2.tar.gz size ;-) ...                                                                                                           [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                                 [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                                [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                               [ ok ]
 * checking mindi-busybox-1.2.2.tar.gz ;-) ...                                                                                                       [ ok ]
>>> Unpacking source...
>>> Unpacking mindi-busybox-1.2.2.tar.gz to /var/tmp/portage/sys-apps/mindi-busybox-1.2.2/work
.config:6: trying to assign nonexistent symbol CONFIG_HAVE_DOT_CONFIG
.config:16: trying to assign nonexistent symbol CONFIG_DESKTOP
.config:28: trying to assign nonexistent symbol CONFIG_FEATURE_PIDFILE
.config:33: trying to assign nonexistent symbol CONFIG_FEATURE_PREFER_APPLETS
.config:35: trying to assign nonexistent symbol CONFIG_FEATURE_SYSLOG
.config:36: trying to assign nonexistent symbol CONFIG_FEATURE_HAVE_RPC
.config:52: trying to assign nonexistent symbol CONFIG_WERROR
.config:56: trying to assign nonexistent symbol CONFIG_INCLUDE_SUSv2
.config:65: trying to assign nonexistent symbol CONFIG_PREFIX
.config:70: trying to assign nonexistent symbol CONFIG_PASSWORD_MINLEN
.config:72: trying to assign nonexistent symbol CONFIG_FEATURE_FAST_TOP
.config:73: trying to assign nonexistent symbol CONFIG_FEATURE_ETC_NETWORKS
.config:74: trying to assign nonexistent symbol CONFIG_FEATURE_EDITING
.config:75: trying to assign nonexistent symbol CONFIG_FEATURE_EDITING_MAX_LEN
.config:76: trying to assign nonexistent symbol CONFIG_FEATURE_EDITING_FANCY_KEYS
.config:77: trying to assign nonexistent symbol CONFIG_FEATURE_EDITING_VI
.config:78: trying to assign nonexistent symbol CONFIG_FEATURE_EDITING_HISTORY
.config:79: trying to assign nonexistent symbol CONFIG_FEATURE_EDITING_SAVEHISTORY
.config:80: trying to assign nonexistent symbol CONFIG_FEATURE_TAB_COMPLETION
.config:81: trying to assign nonexistent symbol CONFIG_FEATURE_USERNAME_COMPLETION
.config:82: trying to assign nonexistent symbol CONFIG_FEATURE_EDITING_FANCY_PROMPT
.config:83: trying to assign nonexistent symbol CONFIG_MONOTONIC_SYSCALL
.config:84: trying to assign nonexistent symbol CONFIG_IOCTL_HEX2STR_ERROR
.config:105: trying to assign nonexistent symbol CONFIG_FEATURE_RPM_BZ2
.config:114: trying to assign nonexistent symbol CONFIG_FEATURE_TAR_OLDSUN_COMPATIBILITY
.config:160: trying to assign nonexistent symbol CONFIG_EXPAND
.config:161: trying to assign nonexistent symbol CONFIG_FEATURE_EXPAND_LONG_OPTIONS
.config:208: trying to assign nonexistent symbol CONFIG_SPLIT
.config:209: trying to assign nonexistent symbol CONFIG_FEATURE_SPLIT_FANCY
.config:228: trying to assign nonexistent symbol CONFIG_UNEXPAND
.config:229: trying to assign nonexistent symbol CONFIG_FEATURE_UNEXPAND_LONG_OPTIONS
.config:235: trying to assign nonexistent symbol CONFIG_FEATURE_WC_LARGE
.config:271: trying to assign nonexistent symbol CONFIG_RESIZE
.config:272: trying to assign nonexistent symbol CONFIG_FEATURE_RESIZE_PRINT
.config:285: trying to assign nonexistent symbol CONFIG_FEATURE_RUN_PARTS_FANCY
.config:305: trying to assign nonexistent symbol CONFIG_FEATURE_VI_MAX_LEN
.config:316: trying to assign nonexistent symbol CONFIG_FEATURE_ALLOW_EXEC
.config:328: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_MAXDEPTH
.config:332: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_USER
.config:333: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_GROUP
.config:334: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_NOT
.config:335: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_DEPTH
.config:336: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_PAREN
.config:337: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_SIZE
.config:338: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_PRUNE
.config:339: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_DELETE
.config:340: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_PATH
.config:341: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_REGEX
.config:342: trying to assign nonexistent symbol CONFIG_FEATURE_FIND_CONTEXT
.config:360: trying to assign nonexistent symbol CONFIG_FEATURE_INIT_SYSLOG
.config:374: trying to assign nonexistent symbol CONFIG_FEATURE_ADDUSER_TO_GROUP
.config:376: trying to assign nonexistent symbol CONFIG_FEATURE_DEL_USER_FROM_GROUP
.config:383: trying to assign nonexistent symbol CONFIG_PAM
.config:384: trying to assign nonexistent symbol CONFIG_LOGIN_SCRIPTS
.config:385: trying to assign nonexistent symbol CONFIG_FEATURE_NOLOGIN
.config:388: trying to assign nonexistent symbol CONFIG_FEATURE_PASSWD_WEAK_CHECK
.config:389: trying to assign nonexistent symbol CONFIG_CRYPTPW
.config:390: trying to assign nonexistent symbol CONFIG_CHPASSWD
.config:392: trying to assign nonexistent symbol CONFIG_FEATURE_SU_SYSLOG
.config:393: trying to assign nonexistent symbol CONFIG_FEATURE_SU_CHECKS_SHELLS
.config:418: trying to assign nonexistent symbol CONFIG_FEATURE_MODPROBE_FANCY_ALIAS
.config:432: trying to assign nonexistent symbol CONFIG_FEATURE_DMESG_PRETTY
.config:439: trying to assign nonexistent symbol CONFIG_FDISK_SUPPORT_LARGE_DISKS
.config:461: trying to assign nonexistent symbol CONFIG_FEATURE_MDEV_LOAD_FIRMWARE
.config:468: trying to assign nonexistent symbol CONFIG_FEATURE_MOUNT_CIFS
.config:469: trying to assign nonexistent symbol CONFIG_FEATURE_MOUNT_FLAGS
.config:470: trying to assign nonexistent symbol CONFIG_FEATURE_MOUNT_FSTAB
.config:491: trying to assign nonexistent symbol CONFIG_CHRT
.config:505: trying to assign nonexistent symbol CONFIG_FEATURE_LESS_MAXLINES
.config:523: trying to assign nonexistent symbol CONFIG_RAIDAUTORUN
.config:524: trying to assign nonexistent symbol CONFIG_READAHEAD
.config:530: trying to assign nonexistent symbol CONFIG_FEATURE_TASKSET_FANCY
.config:532: trying to assign nonexistent symbol CONFIG_TTYSIZE
.config:539: trying to assign nonexistent symbol CONFIG_VERBOSE_RESOLUTION_ERRORS
.config:540: trying to assign nonexistent symbol CONFIG_ARP
.config:550: trying to assign nonexistent symbol CONFIG_FEATURE_HTTPD_USE_SENDFILE
.config:560: trying to assign nonexistent symbol CONFIG_FEATURE_HTTPD_ERROR_PAGES
.config:568: trying to assign nonexistent symbol CONFIG_IFUPDOWN_IFSTATE_PATH
.config:571: trying to assign nonexistent symbol CONFIG_FEATURE_IFUPDOWN_IFCONFIG_BUILTIN
.config:575: trying to assign nonexistent symbol CONFIG_FEATURE_IFUPDOWN_EXTERNAL_DHCP
.config:588: trying to assign nonexistent symbol CONFIG_FEATURE_IP_RULE
.config:594: trying to assign nonexistent symbol CONFIG_IPRULE
.config:600: trying to assign nonexistent symbol CONFIG_NC_SERVER
.config:601: trying to assign nonexistent symbol CONFIG_NC_EXTRA
.config:603: trying to assign nonexistent symbol CONFIG_FEATURE_NETSTAT_WIDE
.config:607: trying to assign nonexistent symbol CONFIG_PSCAN
.config:610: trying to assign nonexistent symbol CONFIG_SLATTACH
.config:615: trying to assign nonexistent symbol CONFIG_FEATURE_TELNETD_STANDALONE
.config:626: trying to assign nonexistent symbol CONFIG_APP_DHCPRELAY
.config:628: trying to assign nonexistent symbol CONFIG_FEATURE_UDHCPD_WRITE_LEASES_EARLY
.config:631: trying to assign nonexistent symbol CONFIG_FEATURE_RFC3397
.config:646: trying to assign nonexistent symbol CONFIG_KILLALL5
.config:647: trying to assign nonexistent symbol CONFIG_NMETER
.config:657: trying to assign nonexistent symbol CONFIG_FEATURE_TOP_CPU_GLOBAL_PERCENTS
.config:658: trying to assign nonexistent symbol CONFIG_FEATURE_TOP_DECIMALS
.config:690: trying to assign nonexistent symbol CONFIG_HUSH_HELP
.config:691: trying to assign nonexistent symbol CONFIG_HUSH_INTERACTIVE
.config:692: trying to assign nonexistent symbol CONFIG_HUSH_JOB
.config:693: trying to assign nonexistent symbol CONFIG_HUSH_TICK
.config:694: trying to assign nonexistent symbol CONFIG_HUSH_IF
.config:695: trying to assign nonexistent symbol CONFIG_HUSH_LOOPS
.config:703: trying to assign nonexistent symbol CONFIG_FEATURE_SH_STANDALONE
.config:704: trying to assign nonexistent symbol CONFIG_CTTYHACK
.config:722: trying to assign nonexistent symbol CONFIG_RUNSV
.config:723: trying to assign nonexistent symbol CONFIG_RUNSVDIR
.config:724: trying to assign nonexistent symbol CONFIG_SV
.config:725: trying to assign nonexistent symbol CONFIG_SVLOGD
.config:726: trying to assign nonexistent symbol CONFIG_CHPST
.config:727: trying to assign nonexistent symbol CONFIG_SETUIDGID
.config:728: trying to assign nonexistent symbol CONFIG_ENVUIDGID
.config:729: trying to assign nonexistent symbol CONFIG_ENVDIR
.config:730: trying to assign nonexistent symbol CONFIG_SOFTLIMIT
.config:731: trying to assign nonexistent symbol CONFIG_CHCON
.config:732: trying to assign nonexistent symbol CONFIG_FEATURE_CHCON_LONG_OPTIONS
.config:733: trying to assign nonexistent symbol CONFIG_GETENFORCE
.config:734: trying to assign nonexistent symbol CONFIG_GETSEBOOL
.config:735: trying to assign nonexistent symbol CONFIG_LOAD_POLICY
.config:736: trying to assign nonexistent symbol CONFIG_MATCHPATHCON
.config:737: trying to assign nonexistent symbol CONFIG_RESTORECON
.config:738: trying to assign nonexistent symbol CONFIG_RUNCON
.config:739: trying to assign nonexistent symbol CONFIG_FEATURE_RUNCON_LONG_OPTIONS
.config:740: trying to assign nonexistent symbol CONFIG_SELINUXENABLED
.config:741: trying to assign nonexistent symbol CONFIG_SETENFORCE
.config:742: trying to assign nonexistent symbol CONFIG_SETFILES
.config:743: trying to assign nonexistent symbol CONFIG_FEATURE_SETFILES_CHECK_OPTION
.config:748: trying to assign nonexistent symbol CONFIG_TCPSVD
.config:749: trying to assign nonexistent symbol CONFIG_UDPSVD


i tyle, myśli sobie i nic.

Na bugzilli znalazłem coś takiego https://bugs.gentoo.org/show_bug.cgi?id=176738
Quote:
The 2.2.4 version is usable with a little tweaking, those are the things I
remember are needed:

1) rename mondo ebuild to mondo-rescue (already reported upstream and scheduled
for next release)

2) replace app-cdr/cdrtools with virtual/cdrtools

3) add parted in RDEPEND for mondo-archive (reported upstream, IIRC was then
added to mindi ebuild)

4) modify mindi-busybox to make it compile with recent sys-apps/util-linux.
It needs page.h, is affected by bug 168599 (see comment 2).

In x86 arch it can compile, backup and restore (not tested by me), in amd64 it
can compile and backup, but ISO created are a little tricky to use due to a
bug, many symlinks aren't recreated, so many binaries fail to run. I wasn't
able to debug this (yet).

Created an attachment (id=133233) [edit]
Modified mindi-busybox ebuild to link page.h to /usr/src/linux


Posprawdzałem i wszystkie punkty są już domyślnie poprawione,
zmodyfikowałem tylko ebuild'a mindi-busybox do wersji takiej jak w bugzilli
Code:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

inherit eutils flag-o-matic

DESCRIPTION="The rescue part of a program that creates emergency boot disks/CDs using your kernel, tools and modules."
HOMEPAGE="http://www.mondorescue.org"
SRC_URI="ftp://ftp.mondorescue.org/src/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ia64 -*"
DEPEND="virtual/libc"
RDEPEND=">=app-arch/bzip2-0.9
      sys-devel/binutils"

src_unpack() {
   unpack ${A} || die "Failed to unpack ${A}"
        cd ${P}
#   create a link to page.h in kernel dir   
   mkdir include/asm
   mkdir include/linux
   ln -s /usr/src/linux/include/asm/page.h include/asm/page.h
   ln -s /usr/src/linux/include/linux/const.h include/linux/const.h
   make oldconfig > /dev/null
}

src_compile() {
   # work around broken ass powerpc compilers
   emake EXTRA_CFLAGS="${CFLAGS}" busybox || die "build failed"
}

src_install() {
   # bundle up the symlink files for use later
   emake PREFIX="${D}/usr/lib/mindi/rootfs" install || die
}


Niestety nic to nie zmieniło :/


Mam nadzieje że to ja coś źle robie, bo używam mondo na innych dystrybucjach i moim zdaniem jest bezkonkurencyjne.

Poczytałem na forum i parę osób używa mondo do buckup'ów. Więc może miał już ktoś taki problem i sobie poradził?

Z góry dzięki i pozdrawiam.

Na koniec jeszcze emerge --info

Code:
Portage 2.1.3.16 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 i686)
=================================================================
System uname: 2.6.22-gentoo-r5 i686 Intel(R) Pentium(R) M processor 1.73GHz
Timestamp of tree: Tue, 06 Nov 2007 18:47:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium-m -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium-m -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.prz.rzeszow.pl http://src.gentoo.pl http://gentoo.zie.pg.gda.pl http://gentoo.mirror.pw.edu.pl/ "
LINGUAS="en pl"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi alsa apm arts avi berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus divx dri dvd dvdnav dvdr dvdread eds emboss encode esd evo fam firefox flac fortran gdbm gif gmedia gpm gstreamer hal iconv ipv6 isdnlog java jpeg kde kerberos ldap lm_sensors mad midi mikmod mmx mmxext mp3 mpeg mudflap ncurses nls nptl nptlonly nsplugin ogg oggvorbis opengl openmp oss pam pcre pdf perl pmu png pppd python qt3 qt3support qt4 quicktime readline real realmedia reflection sdl session slang spell spl sse ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode v4l v4l2 vorbis win32codecs wmp x86 xml xorg xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en pl" USERLAND="GNU" VIDEO_CARDS="fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS

_________________
Acer 4102WLMi [Pentium M 1.73GHz] [FSB 533MHz] [ATI X700 64MB VRAM] [2 GB DDR2]
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Polskie forum (Polish) Instalacja i sprzęt All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum