Summary: | When emerging: "awk: cmd. line:2: (FILENAME=/etc/init.d/xfs FNR=290) warning: ... " | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Jean Jordaan <jean> |
Component: | Unclassified | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | haim |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jean Jordaan
2003-10-03 13:23:18 UTC
Please run 'depscan.sh' as root, and report output. Should be fixed by -r15 of portage. klippie jean # emerge --version Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.2, glibc-2.3.1-r2, 2.4.20-gentoo-r1) klippie jean # emerge xmmsctrl Calculating dependencies ...done! >>> emerge (1 of 1) media-sound/xmmsctrl-1.6-r1 to / >>> md5 src_uri ;-) xmmsctrl-1.6.tar.gz >>> Unpacking source... [...] >>> original instance of package unmerged safely. >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... awk: cmd. line:2: (FILENAME=/etc/init.d/xfs FNR=290) warning: error writing standard output (Broken pipe) [ ok ] >>> media-sound/xmmsctrl-1.6-r1 merged. >>> clean: No packages selected for removal. >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... awk: cmd. line:2: (FILENAME=/etc/init.d/xfs FNR=290) warning: error writing standard output (Broken pipe) [ ok ] >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. klippie jean # depscan.sh * Caching service dependencies... [ ok ] Nick, ideas will be welcome ? I updated portage yesterday. After emerging Python-2.3.2-r1, I see some "Broken pipe" errors that look related to the awk ones .. >>> Regenerating /etc/ld.so.cache... * Caching service dependencies... cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe cat: write error: Broken pipe [ ok ] >>> dev-lang/python-2.3.2-r1 merged. ['dev-lang/python', '2.1.1', 'r0'] ['dev-lang/python-2.1.3-r1', 'dev-lang/python-2.2.3-r1', 'dev-lang/python-2.3.2-r1', 'dev-lang/python-2.1.1'] !!! COUNTER file is missing for dev-lang/python-2.1.1 in /var/db. !!! Please run /usr/lib/portage/bin/fix-db.pl or !!! Please run /usr/lib/portage/bin/fix-db.py or !!! remerge the package. I don't actually have any ideas on this. Only thing I can assume is something in the environment from portage is affecting it. It's not running within sandbox, so I don't know what might be causing the problems. Could try replacing settings with 'os.environ.copy()' in the spawn call for depscan.sh. Hi all, I am running portage-2.0.49-r21 and have exactly the same problem. And: Since this error started, I get a 2nd error with esearch-0.5.2: haim@itchy haim $ esearch Traceback (most recent call last): File "/usr/bin/esearch", line 3, in ? from output import bold, red, green, darkgreen, turquoise, nocolor ImportError: No module named output Is there any solution to this issue yet, or at least a workaround? Greetings, Matthias update: I upgraded to portage version 2.0.50_pre21 and still have the same problem :( ... same error with "final" portage-2.0.50. Two things: 1.) Problem with esearch was due an error in a PATH setting in esearch program. 2.) Workaround for portage bug is to remove /etc/init.d/xfs (found in Gentoo forums). Greetings, Matthias After trying an emerge system and updating python I got similar problems: awk: cmd. line:1: (FILENAME=/etc/init.d/net.wlan0 FNR=333) fatal: print to "standard output" failed (Broken pipe) awk: cmd. line:1: (FILENAME=/etc/init.d/xfs FNR=295) warning: error writing standard output (Broken pipe) emerge --version gives: Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 2.4.22-gentoo-r3) Running depscan.sh did not resolve the problem unfortunately. After a updating several packages, including awk and python (from 2.2.3 to 2.3.3) the error dissapeared. Hope this helps as a potential fix. Closing. This can't be a portage bug- no awk usage. You're hitting a complaint from the awk scripts that do caching of inter-dependencies for init scripts (I've seen this on occasion, and it's a royal pita to track down :) |