Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 77349 - sysstat-5.0.2 emerge error
Summary: sysstat-5.0.2 emerge error
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Tim Yamin (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks:
 
Reported: 2005-01-10 01:03 UTC by pilhoon
Modified: 2005-01-22 14:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description pilhoon 2005-01-10 01:03:41 UTC
When I try to emerge sysstat, I get errors about the pipe.(pipe broken)

root # emerge sysstat
Calculating dependencies ...done!
>>> emerge (1 of 1) app-admin/sysstat-5.0.2 to /
>>> md5 src_uri ;-) sysstat-5.0.2.tar.gz
>>> Unpacking source...
>>> Unpacking sysstat-5.0.2.tar.gz to /var/tmp/portage/sysstat-5.0.2/work
>>> Source unpacked.
rm -f sadc sa1 sa2 sysstat sar iostat mpstat *.o *.a core TAGS crontab
rm -f sapath.h version.h
find nls -name "*.mo" -exec rm -f {} \;
 
 
You can enter a ? to display a help message at any time...
 
Installation directory: [/usr/local] System activity directory: [/var/log/sa] INFO: Directory /var/log/sa will be created during installation stage.
Clean system activity directory? [n] Enable National Language Support (NLS)? [y] Linux SMP race in serial driver workaround? [n] sa2 uses daily data file of previous day? [n] Number of daily data files to keep: [7] Group for manual pages: [man] Set crontab to start sar automatically? [n] 
 man directory is /usr/local/share/man
  rc directory is /etc
init directory is /etc/init.d
 
Creating CONFIG file now... Done.
 
Now enter "make" to build sysstat commands.
The last step is to log in as root and enter "make install"
to perform installation process.
yes: standard output: Broken pipe                         <----------- right here.(I think)
yes: write error
nls
sed s+VERSION_NUMBER+5.0.2+g version.in > version.h
gcc -c -o common.o -Wall -Wstrict-prototypes -pipe -O2 -march=i686 -pipe -fno-strength-reduce  -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" common.c
common.c: In function `print_gal_header':
etc................


although that pipe error, emerge ends peacefully.
But when I type 'sar', system says,

Cannot open /var/log/sa/sa10: No such file or directory


I cannot know the reason.
Any ideas about this?

Reproducible: Always
Steps to Reproduce:
1. emerge sysstat
2. sar
3.




http://perso.wanadoo.fr/sebastien.godard/
(sysstat homepage)
Comment 1 Tim Yamin (RETIRED) gentoo-dev 2005-01-10 09:13:29 UTC
If you do mkdir /var/log/sa ?
Comment 2 pilhoon 2005-01-10 17:12:41 UTC
No change.(I see same errors)
Comment 3 Tim Yamin (RETIRED) gentoo-dev 2005-01-22 14:04:35 UTC
Ok, the issue is that you can't just run 'sar' without any arguments. As the manpage states, it needs at least a interval and a count variable...