* [gentoo-dev] rc-update and /etc/rc.d/config/functions
@ 2001-09-03 19:00 Ben Beuchler
2001-09-03 20:49 ` Daniel Robbins
0 siblings, 1 reply; 6+ messages in thread
From: Ben Beuchler @ 2001-09-03 19:00 UTC (permalink / raw
To: Gentoo Dev List
I attempted to merge an updated openssh ebuild that Daniel Robbins made to fix
some of the init scripts. However, now it gives me these errors after it's
done compiling:
>>> original instance of package unmerged safely.
>>> /usr/sbin/ebuild.sh: /etc/rc.d/config/functions: No such file or directory
>>> /usr/sbin/ebuild.sh: einfo: command not found
>>> /usr/sbin/ebuild.sh: //usr/sbin/rc-update: No such file or directory
>>> !!! pkg_postinst() script failed; exiting.
>>>
Anyone know what that means and what I can do about it?
-Ben
--
Ben Beuchler There is no spoon.
insyte@emt-p.org -- The Matrix
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions 2001-09-03 19:00 [gentoo-dev] rc-update and /etc/rc.d/config/functions Ben Beuchler @ 2001-09-03 20:49 ` Daniel Robbins 2001-09-03 20:52 ` Ben Beuchler 0 siblings, 1 reply; 6+ messages in thread From: Daniel Robbins @ 2001-09-03 20:49 UTC (permalink / raw To: gentoo-dev On Mon, Sep 03, 2001 at 07:58:47PM -0500, Ben Beuchler wrote: > I attempted to merge an updated openssh ebuild that Daniel Robbins made to fix > some of the init scripts. However, now it gives me these errors after it's > done compiling: > > >>> original instance of package unmerged safely. > >>> /usr/sbin/ebuild.sh: /etc/rc.d/config/functions: No such file or directory > >>> /usr/sbin/ebuild.sh: einfo: command not found > >>> /usr/sbin/ebuild.sh: //usr/sbin/rc-update: No such file or directory > >>> !!! pkg_postinst() script failed; exiting. > >>> > > Anyone know what that means and what I can do about it? If you are running Gentoo Linux 1.0_rc5 as you said, then both those files should exist. Since they don't, I'm guessing that you are actually using 1.0_rc6 but somehow have the /etc/make.profile symlink set up incorrectly? -- Daniel Robbins <drobbins@gentoo.org> Chief Architect/President http://www.gentoo.org Gentoo Technologies, Inc. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions 2001-09-03 20:49 ` Daniel Robbins @ 2001-09-03 20:52 ` Ben Beuchler 2001-09-03 20:57 ` Daniel Robbins 0 siblings, 1 reply; 6+ messages in thread From: Ben Beuchler @ 2001-09-03 20:52 UTC (permalink / raw To: gentoo-dev On Mon, Sep 03, 2001 at 08:48:53PM -0600, Daniel Robbins wrote: > On Mon, Sep 03, 2001 at 07:58:47PM -0500, Ben Beuchler wrote: > > I attempted to merge an updated openssh ebuild that Daniel Robbins made to fix > > some of the init scripts. However, now it gives me these errors after it's > > done compiling: > > > > >>> original instance of package unmerged safely. > > >>> /usr/sbin/ebuild.sh: /etc/rc.d/config/functions: No such file or directory > > >>> /usr/sbin/ebuild.sh: einfo: command not found > > >>> /usr/sbin/ebuild.sh: //usr/sbin/rc-update: No such file or directory > > >>> !!! pkg_postinst() script failed; exiting. > > >>> > > > > Anyone know what that means and what I can do about it? > > If you are running Gentoo Linux 1.0_rc5 as you said, then both those files should > exist. Since they don't, I'm guessing that you are actually using 1.0_rc6 but somehow > have the /etc/make.profile symlink set up incorrectly? I'm definitely using 1.0_rc6. I don't recall saying differently, but perhaps we miscommunicated. /etc/make.profile is symlinked to /usr/portage/profiles/insyte-1.0_rc6 Thanks, Ben -- Ben Beuchler There is no spoon. insyte@emt-p.org -- The Matrix ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions 2001-09-03 20:52 ` Ben Beuchler @ 2001-09-03 20:57 ` Daniel Robbins 2001-09-03 21:28 ` Ben Beuchler 0 siblings, 1 reply; 6+ messages in thread From: Daniel Robbins @ 2001-09-03 20:57 UTC (permalink / raw To: gentoo-dev On Mon, Sep 03, 2001 at 09:51:38PM -0500, Ben Beuchler wrote: > I'm definitely using 1.0_rc6. I don't recall saying differently, but perhaps > we miscommunicated. /etc/make.profile is symlinked to > /usr/portage/profiles/insyte-1.0_rc6 OK; I may have thought you were someone else :) Do an emerge rsync, and merge openssh-2.9_p2-r2, and you shouldn't have problems except having rc-update not being able to run. This is normal. Best Regards, -- Daniel Robbins <drobbins@gentoo.org> Chief Architect/President http://www.gentoo.org Gentoo Technologies, Inc. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions 2001-09-03 20:57 ` Daniel Robbins @ 2001-09-03 21:28 ` Ben Beuchler 2001-09-03 22:53 ` Daniel Robbins 0 siblings, 1 reply; 6+ messages in thread From: Ben Beuchler @ 2001-09-03 21:28 UTC (permalink / raw To: gentoo-dev On Mon, Sep 03, 2001 at 08:56:48PM -0600, Daniel Robbins wrote: > On Mon, Sep 03, 2001 at 09:51:38PM -0500, Ben Beuchler wrote: > > > I'm definitely using 1.0_rc6. I don't recall saying differently, but perhaps > > we miscommunicated. /etc/make.profile is symlinked to > > /usr/portage/profiles/insyte-1.0_rc6 > > OK; I may have thought you were someone else :) Do an emerge rsync, and merge > openssh-2.9_p2-r2, and you shouldn't have problems except having rc-update not > being able to run. This is normal. I did an emerge rsync earlier today prior to mergeing openssh-2.9_p2-r2, right after you updated it. But I just did another one for good measure. Anyway, I thought you had told me earlier to do openssh-2.0_p2 (without the r2) but that may have been my spongy brain cells. So I did an emerge on openssh-2.9_p2-r2, which gave me this: ================ mazer openssh # emerge openssh-2.9_p2-r2.ebuild Calculating dependencies. !!! Portage had a problem processing this file: !!! /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild /usr/sbin/ebuild.sh: /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild: line 57: syntax error near unexpected token `}' /usr/sbin/ebuild.sh: /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild: line 57: `}' !!! aborting. !!! emerge aborting. ================ Just for the hell of it, I also did an emerge on 'openssh-2.0_p2', which failed the same way it did earlier, which gave me this: ================ >>> original instance of package unmerged safely. >>> /usr/sbin/ebuild.sh: /etc/rc.d/config/functions: No such file or directory >>> /usr/sbin/ebuild.sh: einfo: command not found >>> /usr/sbin/ebuild.sh: //usr/sbin/rc-update: No such file or directory >>> !!! pkg_postinst() script failed; exiting. >>> ================ And, of course, the init scripts don't actually work as /etc/rc.d/config/functions doesn't exist. Nor does /usr/sbin/rc-update, but I guess that doesn't matter. Right? What is the current status with init scripts? I understand they're in considerable flux these days. For example, which location is correct for the 'functions' file? /etc/rc.d/config/functions or /etc/init.d/functions.sh? Thanks, Ben -- Ben Beuchler There is no spoon. insyte@emt-p.org -- The Matrix ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-dev] rc-update and /etc/rc.d/config/functions 2001-09-03 21:28 ` Ben Beuchler @ 2001-09-03 22:53 ` Daniel Robbins 0 siblings, 0 replies; 6+ messages in thread From: Daniel Robbins @ 2001-09-03 22:53 UTC (permalink / raw To: gentoo-dev On Mon, Sep 03, 2001 at 10:27:08PM -0500, Ben Beuchler wrote: > ================ > mazer openssh # emerge openssh-2.9_p2-r2.ebuild > Calculating dependencies. > > !!! Portage had a problem processing this file: > !!! /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild > > /usr/sbin/ebuild.sh: /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild: > line 57: syntax error near unexpected token `}' > /usr/sbin/ebuild.sh: /usr/portage/net-misc/openssh/openssh-2.9_p2-r2.ebuild: > line 57: `}' OK, openssh-2.9_p2-r2 had yet another bug (empty function, thanks to commenting) out a line, and bash doesn't like empty functions. Now fixed on rsync and cvs. > What is the current status with init scripts? I understand they're in > considerable flux these days. For example, which location is correct for the > 'functions' file? /etc/rc.d/config/functions or /etc/init.d/functions.sh? For 1.0_rc6+, /etc/init.d/functions.sh Best Regards, -- Daniel Robbins <drobbins@gentoo.org> Chief Architect/President http://www.gentoo.org Gentoo Technologies, Inc. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-09-04 4:52 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2001-09-03 19:00 [gentoo-dev] rc-update and /etc/rc.d/config/functions Ben Beuchler 2001-09-03 20:49 ` Daniel Robbins 2001-09-03 20:52 ` Ben Beuchler 2001-09-03 20:57 ` Daniel Robbins 2001-09-03 21:28 ` Ben Beuchler 2001-09-03 22:53 ` Daniel Robbins
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox