Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

ln: creating symbolic link

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
InsaneHamster
Guru
Guru
Posts: 435
Joined: Fri May 02, 2003 1:27 pm

ln: creating symbolic link

  • Quote

Post by InsaneHamster » Fri Jul 14, 2006 8:34 am

Code: Select all


Running action sequence: config_profile_link
Configuring profile link...
ln: creating symbolic link `/var/tmp/catalyst2/tmp/default/livecd-stage2-x86-200                                                                                                  
6.0//etc/make.profile' to `../usr/portage/profiles/default-linux/x86/2006.0': No                                                                                                  
 such file or directory

!!! catalyst: Error creating profile link

im trying to compile something and it comes out with this i think i tracked down the script to this if theres any errors

Code: Select all

 # Setup "ROOT in chroot" dir
                install -d ${clst_chroot_path}/${clst_root_path}/etc

                # Setup make.conf and make.profile link in "ROOT in chroot":
                 copy_to_chroot ${clst_chroot_path}/etc/make.conf /${clst_root_path}/etc \
                 copy_to_chroot ${clst_chroot_path}/etc/make.profile /${clst_root_path}/etc \

                # Enter chroot, execute our build script
                exec_in_chroot \





but right now when i try to chroot my computer goes

Code: Select all

etc ~ # chroot testfolder /bin/bash
chroot: cannot run command `/bin/bash': No such file or directory
but bash works fine can any one recommend if theres any errors with the script or if its with my chroot problem i think prolly cause of kernel worse case guess
---------------------
Verified
Top
radagast
Apprentice
Apprentice
User avatar
Posts: 217
Joined: Sat Mar 20, 2004 1:54 am
Location: sydney, .au
Contact:
Contact radagast
Website

  • Quote

Post by radagast » Sun Jul 16, 2006 1:41 am

Code: Select all

ln: creating symbolic link `/var/tmp/catalyst2/tmp/default/livecd-stage2-x86-200                                                                                                 
6.0//etc/make.profile' to `../usr/portage/profiles/default-linux/x86/2006.0': No                                                                                                 
 such file or directory 
there are two slashes before etc.
i think ${clst_chroot_path} includes the trailing slash, and the copy_to_chroot line has a slash before the etc. try changing the two copy lines to

Code: Select all

copy_to_chroot ${clst_chroot_path}etc/make.conf /${clst_root_path}/etc \
                 copy_to_chroot ${clst_chroot_path}etc/make.profile /${clst_root_path}/etc \
of course, i could be completely wrong...
andrew
Top
mahdi
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 128
Joined: Mon May 05, 2003 4:51 pm
Location: Dallas TX
Contact:
Contact mahdi
Website

  • Quote

Post by mahdi » Wed Nov 22, 2006 4:29 am

I'm running into this problem also and it looks like the problem is in /usr/lib/catalyst/modules/generic_stage_target.py on line 719

Code: Select all

print "Configuring profile link..."
cmd("rm -f "+self.settings["chroot_path"]+"/etc/make.profile",\
Somewhere along the way either it doesn't effect anything or a trailing / gets added to the chroot_path instead of a space. Adding a space before the /etc/make.profile gets by it but dies on the next line when it tries to remove the link since it sees it as a directory instead of a link because of that trailing /.

Seems like every time I try to make a livecd something goes wrong with the processes...and this one is right away :cry:

Should also note that change nuked my /etc/make.profile link so I suggest not to try this at home :lol:
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic