An attempt to unmerge sox 12.17.4.r1 results in a crash. Possibly a broken ebuild. I've emerge sync'd a few times (over a few days) to make sure it wasn't just something on my computer but it's not changed. Always been the same crash. I apologize in advance if it's something I'm doing wrong. Reproducible: Always Steps to Reproduce: Attempt to unmerge sox-12.17.4.r1 as root. It also fails as part of a world update. amy ~ # emerge unmerge sox-12.17.4-r1 Actual Results: media-sound/sox selected: 12.17.4-r1 protected: none omitted: 12.17.7-r2 >>> 'Selected' packages are slated for removal. >>> 'Protected' and 'omitted' packages will not be removed. >>> Waiting 5 seconds before starting... >>> (Control-C to abort)... >>> Unmerging in: 5 4 3 2 1 >>> Unmerging media-sound/sox-12.17.4-r1... No package files given... Grabbing a set. /var/db/pkg/media-sound/sox-12.17.4-r1/sox-12.17.4-r1.ebuild: line 28: unexpected EOF while looking for matching `"' /var/db/pkg/media-sound/sox-12.17.4-r1/sox-12.17.4-r1.ebuild: line 48: syntax error: unexpected end of file Expected Results: Safely unmerged the older version of sox (12.17.4-r1). Portage 2.0.53_rc6 (default-linux/x86/2005.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.7-gentoo-r6 i686) ================================================================= System uname: 2.6.7-gentoo-r6 i686 Unknown CPU Typ Gentoo Base System version 1.12.0_pre9 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.2.3-r5, 2.3.5, 2.4.2 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O3 -march=athlon-xp -fprefetch-loop-arrays -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-O3 -march=athlon-xp -fprefetch-loop-arrays -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 3dnow X aalib acpi alsa apm arts avi berkdb bitmap-fonts bonobo bootsplash c++ cdda cddb cdinstall cdparanoia cdr cdrom chroot clamav cracklib crypt css ctype cups curl dba dbase dbm directfb dvd dvdr dvdread dxr3 editor eds emboss encode esd ethereal fam fb fbdev flac foomaticdb fortran ftp gd gdbm ggi gif gimp gimpprint gnome gpm gsl gstreamer gtk gtk2 gtkhtml guile h323 ieee1394 imagemagick imap imlib ipv6 jack java javacomm javadoc javascript joystick jpeg junit kde libg++ libwww lm_sensors logitech-mouse lzw mad mailwrapper mhash mikmod milter mmx motif mozctl mozilla mp3 mpeg mpeg4 mplayer music mysql ncurses net netbeans nethack nls nptl nptlonly nsplugin nvidia offensive ogg oggvorbis opengl openssh oss pam pam_chroot pdf pdfkit pdflib perl php png pnp posix ppds profile python qt quicktime readline real rplay samba sdl slang sox speex spell sql sse sse2 ssl svga tcltk tcpd tetex tga tiff timidity tokenizer truetype truetype-fonts type1-fonts udev usb v4l v4l2 vcd vcdimager vdesktop videos vidix virus-scan vorbis win32codecs wmf xine xml xml2 xmms xosd xrandr xscreensaver xsl xv xvid yahoo zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY It's also my understanding that ebuilds are essentially bash scripts, so here's my version of bash installed in case taht's relevant. * app-shells/bash Latest version available: 3.0-r13 Latest version installed: 3.0-r13 Size of downloaded files: 2,401 kB Homepage: http://cnswww.cns.cwru.edu/~chet/bash/bashtop.html Description: The standard GNU Bourne again shell License: GPL-2
manually edit /var/db/pkg/media-sound/sox-12.17.4-r1/sox-12.17.4-r1.ebuild so that the quotes match. If you have trouble attach this ebuild and I'll tell you where to fix it.
You need to fix it on your end sorry. Changing the ebuild on the gentoo's servers won't help you to unmerge your slightly broken version. - Reopen if you need help.