From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 4D27513881F for ; Sun, 3 Feb 2013 10:10:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D900D21C024; Sun, 3 Feb 2013 10:10:45 +0000 (UTC) Received: from mail-qe0-f45.google.com (mail-qe0-f45.google.com [209.85.128.45]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F006E03E4 for ; Sun, 3 Feb 2013 10:10:44 +0000 (UTC) Received: by mail-qe0-f45.google.com with SMTP id b4so2446644qen.18 for ; Sun, 03 Feb 2013 02:10:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:mime-version:from:date:message-id:subject:to :content-type:content-transfer-encoding:x-gm-message-state; bh=tMOEQ3Ycg8YgCsrYmRMAeHRtPic4/fiy8ESGa1oQiPE=; b=K5EZxwKJnNEstpr6QaVD+rA+XdNzg1oyZJZHCL4kw/nwXvjU2HqaojUn9y+8Zan75F GN+c7mwYsLPcuegxxQLhiwP1NSFT/o6WGI+J1nhnmDh07Cu1/ee6oJwzTIllq7CD6KO6 dBwydK5raZSI19EHjcsD7bCdUkXTvud4WRrVvKS4XCvmhbwanLcM5Fctqd/PdVIMaBDB v5JC1Stu+fmRh0QQ2XR5N/KOqW8QhgyKSRnN1W/jEzWlg3DHq2fiApFLxrREoXtfW0xw MQtKZsSRShjiq4FiBjjBrs7I34C0+nwuRsYMrCcbaXerSMHGyqz8jckuFX4Uh+4AjlL/ NmEQ== X-Received: by 10.49.62.39 with SMTP id v7mr19470752qer.15.1359886243246; Sun, 03 Feb 2013 02:10:43 -0800 (PST) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.49.104.197 with HTTP; Sun, 3 Feb 2013 02:10:03 -0800 (PST) From: Nilesh Govindrajan Date: Sun, 3 Feb 2013 15:40:03 +0530 Message-ID: Subject: Re: [gentoo-user] Compiling Gentoo for Raspberry Pi (Was: List of base system packages) To: Gentoo User Mailing List Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Gm-Message-State: ALoCoQkKvIzr4M5R2yr85IeVRE/5O+ln4XYk+8yh9yxhduXAUfGU63jLdqQBi7dsSqJJvKqYKJUK X-Archives-Salt: 3d239eb0-7380-4119-8a35-e989a0be7388 X-Archives-Hash: 57a824a04712d3ee188352282b3b9292 On Sun, Feb 3, 2013 at 7:28 AM, Dustin C. Hatch wro= te: > On 2/2/2013 19:43, Nilesh Govindrajan wrote: >> >> On Sat, Feb 2, 2013 at 11:07 PM, Dustin C. Hatch >> wrote: >>> >>> I encountered these types of errors when building as well. It is becaus= e >>> the >>> "embedded" profile, which is the profile crossdev selects by default, i= s >>> missing a huge amount of information. I tried defining it all in >>> ${PORTAGE_CONFIG_ROOT}/profile but it got to be a chore. I ended up >>> switching to the default Linux profile for ARM, which worked much bette= r. >>> >>> -- >>> =E2=99=ABDustin >>> >> >> Which means /usr/armv6j-hardfloat-linux-gnueabi/etc/portage/make.profile= ? >> >> -- >> Nilesh Govindrajan >> http://nileshgr.com >> > Yeah, change that to point to /usr/portage/profiles/default/linux/arm/10.= 0 > > -- > =E2=99=ABDustin > Okay that solved the ebuild problem, but I'm stuck with another problem now= -_- make[3]: Entering directory `/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/wor= k/Linux-PAM-1.1.6/modules/pam_userdb' /bin/sh ../../libtool --tag=3DCC --mode=3Dcompile armv6j-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libpam/include -I../../libpamc/include -O2 -pipe -march=3Darmv6zk -mtune=3Darm1176jzf-s -mfpu=3Dvfp -mfloat-abi=3Dhard -W -W= all -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -c -o pam_userdb.lo pam_userdb.c libtool: compile: armv6j-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../libpam/include -I../../libpamc/include -O2 -pipe -march=3Darmv6zk -mtune=3Darm1176jzf-s -mfpu=3Dvfp -mfloat-abi=3Dhard -W -W= all -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -c pam_userdb.c -fPIC -DPIC -o .libs/pam_userdb.o /bin/sh ../../libtool --tag=3DCC --mode=3Dlink armv6j-hardfloat-linux-gnueabi-gcc -I../../libpam/include -I../../libpamc/include -O2 -pipe -march=3Darmv6zk -mtune=3Darm1176jzf-s -mfpu=3Dvfp -mfloat-abi=3Dhard -W -Wall -Wbad-function-cast -Wcast-align -Wcast-qual -Wmissing-declarations -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wstrict-prototypes -Wwrite-strings -Winline -Wshadow -no-undefined -avoid-version -module -ldb-4.8 -lcrypt -Wl,--version-script=3D./../modules.map -Wl,-O1 -Wl,--as-needed -Wl,--as-needed -Wl,--no-undefined -Wl,-O1 -o pam_userdb.la -rpath /lib/security pam_userdb.lo ../../libpam/libpam.la libtool: link: armv6j-hardfloat-linux-gnueabi-gcc -shared -fPIC -DPIC .libs/pam_userdb.o -Wl,-rpath -Wl,/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/= work/Linux-PAM-1.1.6/libpam/.libs /usr/lib/libdb-4.8.so -lpthread -lcrypt -Wl,--as-needed ../../libpam/.libs/libpam.so -ldl -O2 -march=3Darmv6zk -mtune=3Darm1176jzf-s -mfpu=3Dvfp -mfloat-abi=3Dhard -Wl,--version-script=3D./../modules.map -Wl,-O1 -Wl,--no-undefined -Wl,-O1 -Wl,-soname -Wl,pam_userdb.so -o .libs/pam_userdb.so /usr/lib/libdb-4.8.so: file not recognized: File format not recognized collect2: error: ld returned 1 exit status make[3]: *** [pam_userdb.la] Error 1 make[3]: Leaving directory `/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/wor= k/Linux-PAM-1.1.6/modules/pam_userdb' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/wor= k/Linux-PAM-1.1.6/modules' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/wor= k/Linux-PAM-1.1.6' make: *** [all] Error 2 * ERROR: sys-libs/pam-1.1.6-r2 failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=3Dsys-libs/pam-1.1.6-r2'`, * the complete build log and the output of `emerge -pqv '=3Dsys-libs/pam-1.1.6-r2'`. * The complete build log is located at '/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/tem= p/build.log'. * The ebuild environment file is located at '/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/tem= p/environment'. * Working directory: '/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-r2/wor= k/Linux-PAM-1.1.6' * S: '/home/armv6j-hardfloat-linux-gnueabi/tmp/portage/sys-libs/pam-1.1.6-= r2/work/Linux-PAM-1.1.6' [PS: It's a symlink in /usr, so you see /home in the output] -- Nilesh Govindrajan http://nileshgr.com