I am attempting to install the application net-www/awstats. It depends on dev-perl/Time-Local. Portage attempts to bring this file in and dies with in IOError. I copied the file from /usr/portage/distfiles and verified that I was able to extract the contents manually to rule out a corrupt archive. I also manually verified the md5sum's matched. Calculating dependencies ...done! [ebuild N ] dev-perl/Time-Local-1.10 [ebuild N ] net-www/awstats-6.3-r2 Do you want me to merge these packages? [Yes/No] y >>> emerge (1 of 2) dev-perl/Time-Local-1.10 to / >>> Downloading ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/Time-Local-1.10.tar.gz --11:47:34-- ftp://ftp.ussg.iu.edu/pub/linux/gentoo/distfiles/Time-Local-1.10.tar.gz => `/usr/portage/distfiles/Time-Local-1.10.tar.gz' Resolving ftp.ussg.iu.edu... 156.56.247.193 Connecting to ftp.ussg.iu.edu[156.56.247.193]:21... connected. Logging in as anonymous ... Logged in! ==> SYST ... done. ==> PWD ... done. ==> TYPE I ... done. ==> CWD /pub/linux/gentoo/distfiles ... done. ==> PASV ... done. ==> RETR Time-Local-1.10.tar.gz ... done. Length: 16,246 (unauthoritative) 100%[============================================>] 16,246 --.--K/s 11:47:35 (206.47 KB/s) - `/usr/portage/distfiles/Time-Local-1.10.tar.gz' saved [16246] Traceback (most recent call last): File "/usr/bin/emerge", line 3074, in ? mydepgraph.merge(mydepgraph.altlist()) File "/usr/bin/emerge", line 1848, in merge retval=portage.doebuild(y,"merge",myroot,self.pkgsettings,edebug) File "/usr/lib/portage/pym/portage.py", line 2613, in doebuild for mykey in self.get_provide(node): File "/usr/lib/portage/pym/portage.py", line 2201, in digestcheck elif re.search(".*/-MERGING-(.*)",mypath): File "/usr/lib/portage/pym/portage.py", line 2110, in digestParseFile def match(self,origdep,use_cache=1): File "/usr/lib/portage/pym/portage_util.py", line 24, in grabfile mylines=myfile.readlines() IOError: [Errno 5] Input/output error Reproducible: Always Steps to Reproduce: emerge Time-Local Actual Results: IOError: [Errno5] Input/output error Expected Results: Installation of package emerge info in attachment
Created attachment 56529 [details] emerge info output
I did some further testing and I get the same error message when I try any of the versions of dev-perl/Time-Local in portage.
Have you tried emerging anything else? This isn't output from a perl module build - this is from portage itself. Please try emerging something else (Digest-MD5 is nice and small and fast if you dont' have anything else handy) and let me know if this still spews. If it does, I'll add the portage team to this bug.
`emerge info` please? at a guess, you have a /var/db/pkg/dev-perl/-MERGING* file that was left behind after a merge that failed during the actual move-files-to-filesystem process. Can't make sense of the traceback, but would like to see what your configuration is so as to try and reproduce it.
Jason: The emerge info is included as an attachment. I figured it would be better than spamming the body of the bug report. My apologies for the confusion. Digest-MD5 installed correctly and without errors (it was already installed). I was also able to successfully install dev-perl/Net-DNS and dev-perl/CDDB.
So no /var/db/pkg/dev-perl/-MERGING* file exists then?
needs root # ls /var/db/pkg/dev-perl/-MERGING* ls: /var/db/pkg/dev-perl/-MERGING*: No such file or directory
Does it work with FEATURES="-strict" ?
Worked successfully with no errors: needs root # FEATURES="-strict" emerge -a dev-perl/Time-Local These are the packages that I would merge, in order: Calculating dependencies ...done! [ebuild N ] dev-perl/Time-Local-1.10 Do you want me to merge these packages? [Yes/No] y [...] >>> Recording dev-perl/Time-Local in "world" favorites file... >>> clean: No packages selected for removal. >>> Auto-cleaning packages ... >>> No outdated packages were found on your system. * GNU info directory index is up-to-date. needs root #
Does anything look strange at all about the files in /usr/portage/dev-perl/Time-Local? What about its Manifest file? Does that look abnormal in any way? Merging with FEATURES="strict" works fine here...
Everything looks fine in the files. For fun, I moved the /usr/portage/dev-perl/Time-Local folder out of the portage tree, synched, deleted the contents of /usr/portage/distfiles, and attempted to emerge the package and it installed successfully. I am no longer able to generate the error condition.
yay!(?)
Since I cannot reproduce this error anymore, and no one else could in the first place, shall we close the ticket as INVALID?
Just in case it happens again..
Closing due to old age