I recently discovered that my system had some gvim~ temp files and a failed merged esound file in it. This caused depscan.sh -u to report: /var/lib/init.d/depcache: line 6382: syntax error: unexpected end of file Removing the crufty files seemed to fix it. Reproducible: Couldn't Reproduce Steps to Reproduce: 1. echo "particleman" > /etc/init.d/foo; depscan.sh -u #no failure 2. head -n 43 /etc/init.d/nfs > /etc/init.d/foo; depscan.sh -u # no failure 3. cat /etc/init.d/nfs > /etc/init.d/foo; (add random <<<<< and >>>> to file); depscan.sh -u #no failure I tried. I deleted the files and don't have a backup of them.
we've had this in the past and i thought we addressed it can you post `emerge --info` please
Depends on how crufty the file in /etc/init.d is I guess. Pretty hard to fix as the reporter cannot reproduce and thus cannot give us enough information. baselayout-2 should be more robust in this regard btw and I've committed a path to make it even harder incase something in the init script spits to stdout something it shouldn't. But we need more info to fix your exact issue.