Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 88095 - libsndfile-1.0.11 ebuild crashes while merging
Summary: libsndfile-1.0.11 ebuild crashes while merging
Status: RESOLVED INVALID
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Mac OSX (show other bugs)
Hardware: PPC All
: High blocker (vote)
Assignee: Gentoo for Mac OS X
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-05 15:31 UTC by Scott Alfter
Modified: 2006-04-12 10:53 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 Scott Alfter 2005-04-05 15:31:29 UTC
The final part of the merge process for libsndfile-1.0.11 crashes with a bad file descriptor error:

>>> Completed installing libsndfile-1.0.11 into /var/tmp/portage/libsndfile-1.0.11/image/

* checking 33 files for package collisions
* spent 0.039803981781 seconds checking for file collisions
>>> Merging media-libs/libsndfile-1.0.11 to /
--- /usr/
--- /usr/bin/
>>> /usr/bin/sndfile-convert
>>> /usr/bin/sndfile-info
>>> /usr/bin/sndfile-play
--- /usr/include/
>>> /usr/include/sndfile.h
--- /usr/lib/
>>> /usr/lib/libsndfile.1.0.11.dylib
>>> /usr/lib/libsndfile.1.dylib -> libsndfile.1.0.11.dylib
>>> /usr/lib/libsndfile.dylib -> libsndfile.1.0.11.dylib
>>> /usr/lib/libsndfile.la
--- /usr/lib/pkgconfig/
>>> /usr/lib/pkgconfig/sndfile.pc
--- /usr/share/
--- /usr/share/doc/
--- /usr/share/doc/libsndfile-1.0.11/
>>> /usr/share/doc/libsndfile-1.0.11/AUTHORS.gz
>>> /usr/share/doc/libsndfile-1.0.11/ChangeLog.gz
--- /usr/share/doc/libsndfile-1.0.11/html/
>>> /usr/share/doc/libsndfile-1.0.11/html/api.html
>>> /usr/share/doc/libsndfile-1.0.11/html/bugs.html
>>> /usr/share/doc/libsndfile-1.0.11/html/command.html
>>> /usr/share/doc/libsndfile-1.0.11/html/dither.html
>>> /usr/share/doc/libsndfile-1.0.11/html/embedded_files.html
>>> /usr/share/doc/libsndfile-1.0.11/html/FAQ.html
>>> /usr/share/doc/libsndfile-1.0.11/html/index.html
>>> /usr/share/doc/libsndfile-1.0.11/html/libsndfile.css
>>> /usr/share/doc/libsndfile-1.0.11/html/libsndfile.jpg
>>> /usr/share/doc/libsndfile-1.0.11/html/lists.html
>>> /usr/share/doc/libsndfile-1.0.11/html/new_file_type.HOWTO
>>> /usr/share/doc/libsndfile-1.0.11/html/octave.html
>>> /usr/share/doc/libsndfile-1.0.11/html/pkgconfig.html
>>> /usr/share/doc/libsndfile-1.0.11/html/sndfile_info.html
>>> /usr/share/doc/libsndfile-1.0.11/html/win32.html
>>> /usr/share/doc/libsndfile-1.0.11/NEWS.gz
>>> /usr/share/doc/libsndfile-1.0.11/README.gz
>>> /usr/share/doc/libsndfile-1.0.11/TODO.gz
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/sndfile-convert.1.gz
>>> /usr/share/man/man1/sndfile-info.1.gz
>>> /usr/share/man/man1/sndfile-play.1.gz
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 2651, in doebuild
    return merge(mysettings["CATEGORY"],mysettings["PF"],mysettings["D"],mysettings["BUILDDIR"]+"/build-info",myroot,mysettings,myebuild=mysettings["EBUILD"])
  File "/usr/lib/portage/pym/portage.py", line 2823, in merge
    return mylink.merge(pkgloc,infloc,myroot,myebuild)
  File "/usr/lib/portage/pym/portage.py", line 6834, in merge
    return self.treewalk(mergeroot,myroot,inforoot,myebuild,cleanup=cleanup)
  File "/usr/lib/portage/pym/portage.py", line 6447, in treewalk
    if self.mergeme(srcroot,destroot,outfile,secondhand,"",cfgfiledict,mymtime):
  File "/usr/lib/portage/pym/portage.py", line 6699, in mergeme
    if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):
  File "/usr/lib/portage/pym/portage.py", line 6699, in mergeme
    if self.mergeme(srcroot,destroot,outfile,secondhand,offset+x+"/",cfgfiledict,thismtime):
  File "/usr/lib/portage/pym/portage.py", line 6691, in mergeme
    os.mkdir(mydest)
OSError: [Errno 9] Bad file descriptor: '/usr/share/octave'

This leaves an incomplete merge that needs to be cleaned up manually (by trying to emerge libsndfile again and making note of what file conflicts come up).

Reproducible: Always
Steps to Reproduce:
1. emerge libsndfile
Comment 1 Scott Alfter 2005-04-05 15:55:38 UTC
I seem to have some sort of filesystem weirdness going on..."ls /usr/share" lists nothing, but "ls /usr/share/doc" (for instance) lists the contents of that directory.  "mkdir /usr/share/octave" returns a bad file descriptor error, and fsck_hfs says there are errors.