Summary: | depscan.sh problem | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Maurizio Disimino <kevin> |
Component: | Current packages | Assignee: | Martin Schlemmer (RETIRED) <azarah> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kevin |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
net.ppp0 file
/sbin/depscan.sh |
>>> /usr/kde/3/share/applnk/Applications/VMwareWorkstation.desktop
* Updating /etc/vmware/locations
* Activating vmware init scripts...
* vmware added to runlevel default...
* Caching service dependencies...
cat: write error: Broken pipe
[ ok ]
* rc-update complete.
same problem with vmware-workstation
Maurizio Disimino
Try baselayout-1.8.0, and let me know. already using 1.8.0 I'm trying to track down this problem. The problem seems to belong to the check_rcscript() function in depscan.sh I've added a " (( ++kl )) && echo $kl $x" before line 196 to debug. 29 /etc/init.d/net.eth0 30 /etc/init.d/net.lo 31 /etc/init.d/net.ppp0 cat: write error: Broken pipe 32 /etc/init.d/netmount 33 /etc/init.d/nscd It always occurs with net.ppp0 If you remove net.ppp0 from /etc/init.d the problem disappear. I should look better those scripts to solve this problem. Hope this could help you (and prevent you from wasting time :)) Maurizio Disimino Ok, this makes sense. It is prob something that is not within a function. Check if there is any call to cat outside a function .. I will be away for weekend in a few hours, so wont be able to check it out. Thanks. Fine this side. Please include a copy of your net.ppp0 please. Created attachment 2921 [details]
net.ppp0 file
my net.ppp0 file.
I haven't modified it.
btw .. this problem occurs only when depscan.sh is launched from an ebuild.
(ie courier-imap or vmware-workstation)
Maurizio Disimino.
Created attachment 2999 [details]
/sbin/depscan.sh
This version of depscan.sh should fix it. Basically was if some of the
functions that use a '(cat $1) | read...' combination quit too early,
you got a broken pipe. Test and let me know.
yeah :) works fine here. I've just tried with the vmware-workstation ebuild. |
using 2.0.23 but i always got this (portage .13,14,..and so on) emerge courier-imap [......] >>> /usr/share/man/man7/authmysql.7.gz -> authlib.7.gz >>> /usr/share/man/man8/vchkpw2userdb.8.gz -> makeuserdb.8.gz >>> /usr/share/man/man8/pw2userdb.8.gz -> makeuserdb.8.gz * Caching service dependencies... cat: write error: Broken pipe [ ok ] Maurizio Disimino