DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2007-10-31 16:40:05

orvtech
Member
From: http://tinyurl.com/25uspy
Registered: 2007-10-31
Posts: 12
Website

Gentoo probme Emergin in DSM-G600

so i am trying to emerge some packages but i am having some trouble.  here is the error, i get the same 'kind' of error with the other 4 packages

Code:

>>> Emerging (1 of 4) sys-apps/setarch-2.0 to /
Adjusting permissions recursively: '/var/tmp/ccache'
 * setarch-2.0.tar.gz MD5 ;-) ...                                                                                      [ ok ]
 * setarch-2.0.tar.gz RMD160 ;-) ...                                                                                   [ ok ]
 * setarch-2.0.tar.gz SHA1 ;-) ...                                                                                     [ ok ]
 * setarch-2.0.tar.gz SHA256 ;-) ...                                                                                   [ ok ]
 * setarch-2.0.tar.gz size ;-) ...                                                                                     [ ok ]
 * checking ebuild checksums ;-) ...                                                                                   [ ok ]
 * checking auxfile checksums ;-) ...                                                                                  [ ok ]
 * checking miscfile checksums ;-) ...                                                                                 [ ok ]
 * checking setarch-2.0.tar.gz ;-) ...                                                                                 [ ok ]
>>> Unpacking source...
>>> Unpacking setarch-2.0.tar.gz to /var/tmp/portage/sys-apps/setarch-2.0/work
 * Applying setarch-1.8-linux-headers.patch ...                                                                        [ ok ]
 * Applying setarch-1.9-links.patch ...                                                                                [ ok ]
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/sys-apps/setarch-2.0/work/setarch-2.0 ...
cc -Os -pipe -mcpu=603e -mtune=603e  -Wl,-z,relro  setarch.c   -o setarch
setarch.c: In function 'show_help':
setarch.c:51: error: 'program_invocation_short_name' undeclared (first use in this function)
setarch.c:51: error: (Each undeclared identifier is reported only once
setarch.c:51: error: for each function it appears in.)
setarch.c: In function 'show_usage':
setarch.c:69: error: 'program_invocation_short_name' undeclared (first use in this function)
setarch.c: In function 'main':
setarch.c:163: error: 'program_invocation_short_name' undeclared (first use in this function)
make: *** [setarch] Error 1
 * 
 * ERROR: sys-apps/setarch-2.0 failed.
 * Call stack:
 *   ebuild.sh, line 1695:  Called dyn_compile
 *   ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   ebuild.sh, line  705:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/setarch-2.0/temp/build.log'.
 * 

 * Messages for package sys-apps/setarch-2.0:

 * 
 * ERROR: sys-apps/setarch-2.0 failed.
 * Call stack:
 *   ebuild.sh, line 1695:  Called dyn_compile
 *   ebuild.sh, line 1033:  Called qa_call 'src_compile'
 *   ebuild.sh, line   44:  Called src_compile
 *   ebuild.sh, line  705:  Called die
 * The specific snippet of code:
 *              emake || die "emake failed"
 *  The die message:
 *   emake failed
 * 
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/setarch-2.0/temp/build.log'.
 *

the other packages are:

Code:

DSM-G600 ~ # emerge -uDvpN world

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

Calculating world dependencies... done!
[ebuild  N    ] sys-apps/setarch-2.0  0 kB 
[ebuild     U ] sys-apps/busybox-1.5.1 [1.2.1] USE="-debug -make-symlinks -savedconfig (-selinux) -static (-netboot%)" 0 kB 
[ebuild     U ] sys-apps/gawk-3.1.5-r5 [3.1.5-r2] USE="(-nls)" 0 kB 
[ebuild     U ] sys-devel/gcc-4.1.2 [4.1.1] USE="mudflap* -altivec -bootstrap -build -d% -doc -fortran -gcj -gtk -hardened -ip28 -ip32r10k (-multilib) -multislot (-n32) (-n64) (-nls) -nocxx -objc -objc++ -objc-gc -test -vanilla" 0 kB 

Total: 4 packages (3 upgrades, 1 new), Size of downloads: 0 kB

My 'emerge --info' is:

Code:

DSM-G600 ~ # emerge --info
Portage 2.1.3.16 (uclibc/ppc/2.4, gcc-4.1.1, uclibc-0.9.28.3-r0, 2.4.21-pre4 ppc)
=================================================================
System uname: 2.4.21-pre4 ppc 82xx
Timestamp of tree: Sun, 28 Oct 2007 01:47:01 +0000
app-shells/bash:     3.2_p17
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 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.4.26-r1
ACCEPT_KEYWORDS="ppc"
CBUILD="powerpc-pc-linux-uclibc"
CFLAGS="-Os -pipe -mcpu=603e -mtune=603e"
CHOST="powerpc-pc-linux-uclibc"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-Os -pipe -mcpu=603e -mtune=603e"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://64.50.238.52/ http://open-systems.ufl.edu/mirrors/gentoo http://mirror.utdlug.org/linux/distributions/gentoo/ http://gentoo.netnitco.net"
LDFLAGS="-Wl,-z,relro"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--exclude-from=/etc/portage/rsync_excludes"
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"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="bzip2 cracklib gzip logrotate mudflap ncurses openmp pcre ppc rar readline session spl syslog uclibc unicode zlib" ELIBC="uclibc" KERNEL="linux" USERLAND="GNU" VIDEO_CARDS="dummy fbdev"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTDIR_OVERLAY

let me know if you have had this problem before, ive tried 'emerge -e system' and skipping the packages that give problems (like busybox) with no luck.

Offline

 

#2 2007-11-01 08:52:52

sala
Member / Site Admin
From: Estonia
Registered: 2006-07-28
Posts: 731
Website

Re: Gentoo probme Emergin in DSM-G600

This gentoo embedded is still experimental project. I can only suggest you to not update all your system and avoid installing programs which need kernel source (and/or kernel headers).
If you still want to proceed then you should report your error output to Gentoo forums.


DSM-G600 - NetBSD hdd-boot - 80GB Samsung SP0802N
NSA-220 - Gentoo armv5tel 20110121 hdd-boot - 2x 2TB WD WD20EADS

Offline

 

#3 2007-11-01 18:42:18

orvtech
Member
From: http://tinyurl.com/25uspy
Registered: 2007-10-31
Posts: 12
Website

Re: Gentoo probme Emergin in DSM-G600

Ok, i solved my problems by addning this:

Code:

DSM-G600 tmp # cat /etc/portage/package.mask 
>=sys-devel/gcc-4.0
>=sys-apps/setarch-2.0
>=sys-apps/gawk-3.1.5-r5

and this:

Code:

DSM-G600 tmp # cat /etc/portage/package.keywords 
sys-libs/uclibc ~ppc
~sys-devel/gcc-3.4.6-r2 ~ppc

i now have a stable base system with the 2006 image.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB