public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] alsa-driver error
@ 2002-05-02 13:59 Rigo Ketelings
  2002-05-02 19:52 ` Arcady Genkin
  2002-05-03 10:30 ` [gentoo-dev] " Rigo Ketelings
  0 siblings, 2 replies; 5+ messages in thread
From: Rigo Ketelings @ 2002-05-02 13:59 UTC (permalink / raw
  To: gentoo-dev

Got the error:

fi
install: cannot create regular file 
`/var/tmp/portage/alsa-driver-0.9.0_rc1-r3/image//etc/rc.d/init.d/alsasound': 
No such file or directory
make: *** [install-scripts] Error 1

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_install, Line 3, Exitcode 2
!!! (no error message)

!!! emerge aborting on  
/usr/portage/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r3.ebuild .

To correct the error I:

* changed 'dodir /etc/init.d' to 'dodir /etc/rc.d/init.d'

Is this correct ?? (*like, yesterday I was playing with Debian, and suddenly I 
had the urge to.... *) I have actually have no idea what I'm doing (yet ;-)

Back to the manuals I guess ;-)

By the way, why isn't 'dodir' in the dev-docs on gentoo.org ?

Regards,

Rigo


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] alsa-driver error
  2002-05-02 13:59 [gentoo-dev] alsa-driver error Rigo Ketelings
@ 2002-05-02 19:52 ` Arcady Genkin
  2002-05-02 23:38   ` Nils Ohlmeier
  2002-05-03 10:30 ` [gentoo-dev] " Rigo Ketelings
  1 sibling, 1 reply; 5+ messages in thread
From: Arcady Genkin @ 2002-05-02 19:52 UTC (permalink / raw
  To: gentoo-dev

Rigo Ketelings <rigo@home.nl> writes:

> install: cannot create regular file 
> `/var/tmp/portage/alsa-driver-0.9.0_rc1-r3/image//etc/rc.d/init.d/alsasound': 
> No such file or directory
> make: *** [install-scripts] Error 1
>
> !!! ERROR: The ebuild did not complete successfully.
> !!! Function src_install, Line 3, Exitcode 2
> !!! (no error message)
>
> !!! emerge aborting on  
> /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r3.ebuild .

That's weird; somehow alsa's installer wants to install the init
script in /etc/rc.d/init.d (the redhat's way) instead of /etc/init.d.
Dou you happen to have a directory /etc/rc.d on your system, and what
does it contain, and how did it get to be there?

Could you please open a bug report about this?  I won't have time to
look into it until the weekend, though.

> To correct the error I:
>
> * changed 'dodir /etc/init.d' to 'dodir /etc/rc.d/init.d'
>
> Is this correct ?? 

Well, it would solve your problem in the meanwhile, but on the large
scale, this is not the right thing to do.

Thanks,
-- 
Arcady Genkin
Thanks God I'm still an atheist! -- Luis Bunuel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] alsa-driver error
  2002-05-02 19:52 ` Arcady Genkin
@ 2002-05-02 23:38   ` Nils Ohlmeier
  2002-05-03  0:40     ` Arcady Genkin
  0 siblings, 1 reply; 5+ messages in thread
From: Nils Ohlmeier @ 2002-05-02 23:38 UTC (permalink / raw
  To: gentoo-dev; +Cc: Arcady Genkin

On Thursday 02 May 2002 21:52, Arcady Genkin wrote:
> Rigo Ketelings <rigo@home.nl> writes:
> > install: cannot create regular file
> > `/var/tmp/portage/alsa-driver-0.9.0_rc1-r3/image//etc/rc.d/init.d/alsasou
> >nd': No such file or directory
> > make: *** [install-scripts] Error 1
> >
> > !!! ERROR: The ebuild did not complete successfully.
> > !!! Function src_install, Line 3, Exitcode 2
> > !!! (no error message)
> >
> > !!! emerge aborting on
> > /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r3.ebuild .
>
> That's weird; somehow alsa's installer wants to install the init
> script in /etc/rc.d/init.d (the redhat's way) instead of /etc/init.d.
> Dou you happen to have a directory /etc/rc.d on your system, and what
> does it contain, and how did it get to be there?
>
> Could you please open a bug report about this?  I won't have time to
> look into it until the weekend, though.

I just encountered the same prob. On my laptop exists a directory 
/etc/rc.d/init.d which belongs to the irda-utils. The install of alsa checks 
with an if-elseif-elseif for the existence of the directorys /sbin/init.d, 
/etc/rc.d/init.d and /etc/init.d in this order. And it fails because it tryes 
to install the alsasound startscript into /etc/rc.d/init.d.

I haven't opened a bug report, because to me it seems more like a bug in the 
irda-utils (which intalls itno the wrong init.d dir). And i'm not shure if 
irda-utils is the only package which causes this prob.

Regards
   Nils Ohlmeier



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [gentoo-dev] alsa-driver error
  2002-05-02 23:38   ` Nils Ohlmeier
@ 2002-05-03  0:40     ` Arcady Genkin
  0 siblings, 0 replies; 5+ messages in thread
From: Arcady Genkin @ 2002-05-03  0:40 UTC (permalink / raw
  To: gentoo-dev

Nils Ohlmeier <lists@ohlmeier.de> writes:

> I just encountered the same prob. On my laptop exists a directory 
> /etc/rc.d/init.d which belongs to the irda-utils. The install of alsa checks 
> with an if-elseif-elseif for the existence of the directorys /sbin/init.d, 
> /etc/rc.d/init.d and /etc/init.d in this order. And it fails because it tryes 
> to install the alsasound startscript into /etc/rc.d/init.d.
>
> I haven't opened a bug report, because to me it seems more like a bug in the 
> irda-utils (which intalls itno the wrong init.d dir). And i'm not shure if 
> irda-utils is the only package which causes this prob.

I very much agree.  Please file bug reports agains any ebuilds which
install into /etc/rc.d/init.d.

That said, I've added a hack to -r4 of alsa-driver to work around this
problem.
-- 
Arcady Genkin
Thanks God I'm still an atheist! -- Luis Bunuel


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [gentoo-dev] Re: alsa-driver error
  2002-05-02 13:59 [gentoo-dev] alsa-driver error Rigo Ketelings
  2002-05-02 19:52 ` Arcady Genkin
@ 2002-05-03 10:30 ` Rigo Ketelings
  1 sibling, 0 replies; 5+ messages in thread
From: Rigo Ketelings @ 2002-05-03 10:30 UTC (permalink / raw
  To: gentoo-dev

Found irda there also, but found jakarta there too :(

Any advice on the best way how to fix this ?


Rigo

Op donderdag 2 mei 2002 15:59, schreef u:
> Got the error:
>
> fi
> install: cannot create regular file
> `/var/tmp/portage/alsa-driver-0.9.0_rc1-r3/image//etc/rc.d/init.d/alsasound
>': No such file or directory
> make: *** [install-scripts] Error 1
>
> !!! ERROR: The ebuild did not complete successfully.
> !!! Function src_install, Line 3, Exitcode 2
> !!! (no error message)
>
> !!! emerge aborting on
> /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.0_rc1-r3.ebuild .
>
> To correct the error I:
>
> * changed 'dodir /etc/init.d' to 'dodir /etc/rc.d/init.d'
>
> Is this correct ?? (*like, yesterday I was playing with Debian, and
> suddenly I had the urge to.... *) I have actually have no idea what I'm
> doing (yet ;-)
>
> Back to the manuals I guess ;-)
>
> By the way, why isn't 'dodir' in the dev-docs on gentoo.org ?
>
> Regards,
>
> Rigo



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-03 10:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-02 13:59 [gentoo-dev] alsa-driver error Rigo Ketelings
2002-05-02 19:52 ` Arcady Genkin
2002-05-02 23:38   ` Nils Ohlmeier
2002-05-03  0:40     ` Arcady Genkin
2002-05-03 10:30 ` [gentoo-dev] " Rigo Ketelings

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox