View previous topic :: View next topic |
Author |
Message |
ecstasylove n00b
Joined: 05 Aug 2007 Posts: 8 Location: ditchling, e. sussex, uk
|
Posted: Sun Aug 05, 2007 5:59 pm Post subject: Portage on Solaris (Nexenta amd64 opteron) ARCH is not set |
|
|
Hi,
I want to install portage on Nexenta Alpha 7 (2x amd64 opteron 275) but I get as far (in http://www.gentoo.org/proj/en/gentoo-alt/prefix/bootstrap-solaris.xml guide) as entering:
emerge --oneshot "=sys-apps/sed-4.1.4*"
and get:
root@server:/export/home/ecstasy# emerge --oneshot "=sys-apps/sed-4.1.4*"
!!! /root/gentoo/etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /root/gentoo/usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete?
I don't have a /root/gentoo/etc/make.profile
Do I need a snapshot? Where do I get one?
can anyone help?
e
Last edited by ecstasylove on Sun Aug 05, 2007 7:15 pm; edited 1 time in total |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Sun Aug 05, 2007 6:04 pm Post subject: |
|
|
Moved from Gentoo on AMD64 to Gentoo on Alternative Architectures.
[mod]This is not an AMD64 issues, but instead a Gentoo-ALT issue. Thus, I've moved this thread to GAA.[/mod] _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Sun Aug 05, 2007 7:38 pm Post subject: |
|
|
Don't know to what extent the prefix branch differ from mainline portage. Anyway, ${EPREFIX}/etc/make.profile must be a symlink to a valid profile directory, which in your case should probably be something under ${EPREFIX}/usr/portage/profiles/default-prefix/sunos/solaris/. As far as I can tell, the bootstrap-prefix script should download a snapshot automatically.
Also, I suspect having /root/gentoo as your ${EPREFIX} might not be the best idea if you want to run stuff installed via portage as a non-root user. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
ecstasylove n00b
Joined: 05 Aug 2007 Posts: 8 Location: ditchling, e. sussex, uk
|
Posted: Mon Aug 06, 2007 5:14 pm Post subject: |
|
|
Thanks but I get the same error. I don't think a snapshot was downloaded.
root@server:/export/home/ecstasy# ln -s /root/gentoo/usr/portage/profiles/default-prefix/sunos/solaris/5.10/x86/make.defaults /root/gentoo/etc/make.profile
root@server:/export/home/ecstasy# emerge --oneshot "=sys-apps/sed-4.1.4*"
!!! ARCH is not set... Are you missing the '/etc/make.profile' symlink?
!!! Is the symlink correct? Is your portage tree complete?
My make.defaults contains:
ARCH="x86-solaris"
CHOST="i386-pc-solaris2.10"
ACCEPT_KEYWORDS="x86-solaris"
How would I bootstrap for a non root user? Do I have to delete /root/gentoo only?
e |
|
Back to top |
|
|
kallamej Administrator
Joined: 27 Jun 2003 Posts: 4983 Location: Gothenburg, Sweden
|
Posted: Tue Aug 07, 2007 7:57 pm Post subject: |
|
|
As I said, make.profile should point to a directory (e.g. /foo/../5.10/x86), not a file. As for bootstrapping for non-root users, ${EPREFIX} needs to be accessible for non-root users; /root/gentoo typically isn't. _________________ Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat |
|
Back to top |
|
|
ecstasylove n00b
Joined: 05 Aug 2007 Posts: 8 Location: ditchling, e. sussex, uk
|
Posted: Tue Aug 07, 2007 8:53 pm Post subject: |
|
|
wow thanks it worked.
I now get
root@server:/export/home/ecstasy# emerge --oneshot "=sys-apps/sed-4.1.4*"
Calculating dependencies
!!! All ebuilds that could satisfy "=sys-apps/sed-4.1.4*" have been masked.
!!! One of the following masked packages is required to complete your request:
- sys-apps/sed-4.1.4-r1 (masked by: ~x86-solaris keyword)
For more information, see MASKED PACKAGES section in the emerge man page or
refer to the Gentoo Handbook.
Do you know where to look/what to do for this?
e |
|
Back to top |
|
|
adsmith Veteran
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
|
Back to top |
|
|
ecstasylove n00b
Joined: 05 Aug 2007 Posts: 8 Location: ditchling, e. sussex, uk
|
Posted: Tue Aug 07, 2007 9:17 pm Post subject: |
|
|
Thanks. I've created a package.keywords in /root/gentoo/etc/ with =sys-apps/sed-4.1.4-r1 ~x86-solaris in but still get error,
e |
|
Back to top |
|
|
adsmith Veteran
Joined: 26 Sep 2004 Posts: 1386 Location: NC, USA
|
Posted: Tue Aug 07, 2007 9:20 pm Post subject: |
|
|
should be $ROOT/etc/portage/package.keywords, not $ROOT/etc/package.keywords.
(Maybe you have it right, but I can't tell from what you wrote. Worth checking.)
edit: typo |
|
Back to top |
|
|
ecstasylove n00b
Joined: 05 Aug 2007 Posts: 8 Location: ditchling, e. sussex, uk
|
Posted: Tue Aug 07, 2007 9:31 pm Post subject: |
|
|
YES. It worked, thanks |
|
Back to top |
|
|
ecstasylove n00b
Joined: 05 Aug 2007 Posts: 8 Location: ditchling, e. sussex, uk
|
Posted: Tue Aug 07, 2007 10:41 pm Post subject: |
|
|
getting this error emerging sys-devel/gcc:
configure: error: can not run /root/gentoo/var/tmp/portage/sys-devel/gcc-4.2.0/work/gcc-4.2.0/config.sub
*
* ERROR: sys-devel/gcc-4.2.0 failed.
* Call stack:
* ebuild.sh, line 1595: Called dyn_compile
* ebuild.sh, line 929: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* gcc-4.2.0.ebuild, line 94: Called gcc_src_compile
* toolchain.eclass, line 1549: Called gcc_do_configure
* toolchain.eclass, line 1347: Called die
*
* failed to run configure
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/root/gentoo/var/tmp/portage/sys-devel/gcc-4.2.0/temp/build.log'.
*
* Messages for package sys-devel/gcc-4.2.0:
* Can't read /config.sub, skipping..
* Can't read /config.guess, skipping..
*
* ERROR: sys-devel/gcc-4.2.0 failed.
* Call stack:
* ebuild.sh, line 1595: Called dyn_compile
* ebuild.sh, line 929: Called qa_call 'src_compile'
* ebuild.sh, line 44: Called src_compile
* gcc-4.2.0.ebuild, line 94: Called gcc_src_compile
* toolchain.eclass, line 1549: Called gcc_do_configure
* toolchain.eclass, line 1347: Called die
*
* failed to run configure
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/root/gentoo/var/tmp/portage/sys-devel/gcc-4.2.0/temp/build.log'.
there was something earlier about updating cfg files:
* Please be sure to update all pending '._cfg*' files in /etc,
* else things might break! You can use 'etc-update'
* to accomplish this:
*
* # etc-update |
|
Back to top |
|
|
jmbsvicetto Moderator
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Wed Aug 08, 2007 2:55 am Post subject: |
|
|
Please upload the /root/gentoo/var/tmp/portage/sys-devel/gcc-4.2.0/temp/build.log file somewhere on the Internet and put a link here. If you can't do that, please attach the relevant sections here. _________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
|
ecstasylove n00b
Joined: 05 Aug 2007 Posts: 8 Location: ditchling, e. sussex, uk
|
Posted: Sat Aug 11, 2007 2:37 pm Post subject: |
|
|
I've done a clean nexenta install.
Where's the best place to install the prexfix for a non root user?
update
I installed into my home dir but had used a root shell and locked the files. I fixed it with Code: | chown -R ecstasy:staff gentoo |
and put sudo back on bin's group (not sure about that)
I've got as far as Code: | emerge --oneshot bash | and it fails. can you have a look? I've uploaded the build.log here https://ecstasylove.org/dl/errors/build.log |
|
Back to top |
|
|
|