Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 238855 - media-sound/ogg2mp3 doesn't produce valid mp3s anymore
Summary: media-sound/ogg2mp3 doesn't produce valid mp3s anymore
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-09-27 13:15 UTC by Boris Petersen
Modified: 2009-05-12 11:33 UTC (History)
1 user (show)

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


Attachments
Diff to prevent endian swapping (ogg2mp3-0.5-endian.diff,771 bytes, patch)
2008-09-28 11:22 UTC, Boris Petersen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Boris Petersen 2008-09-27 13:15:00 UTC
media-sound/ogg2mp3-0.5 is in the tree since 3 years. It doesn't produce valid mp3s anymore. The resulting mp3s sound like /dev/urandom. I guess something with lame changes but since i can't read or write perl i dunno how to fix this. I can remember that is worked a while ago.

Reproducible: Always

Steps to Reproduce:
1. ogg2mps example.ogg
Actual Results:  
the resulting mp3 is just noice

Expected Results:  
the resulting mp3 should play as the original ogg

Portage 2.2_rc10 (default/linux/x86/2008.0/desktop, gcc-4.2.4, glibc-2.8_p20080602-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: Linux-2.6.26-gentoo-r1-i686-Intel-R-_Core-TM-2_Quad_CPU_Q6700_@_2.66GHz-with-glibc2.0
Timestamp of tree: Fri, 26 Sep 2008 09:45:05 +0000
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7, 2.1.6-r1
dev-lang/python:     2.5.2-r8
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.2.5
sys-apps/sandbox:    1.2.18.1-r3
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.26
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=prescott -fomit-frame-pointer -pipe"
DISTDIR="/media/distfiles"
FEATURES="collision-protect distlocks parallel-fetch preserve-libs protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LANG="de_DE.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j12"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/portage/local/layman/centerim /usr/portage/local/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X X509 Xaw3d a52 aac aalib acl acpi additions alsa amr apache2 ares asf audacious auth bash-completion berkdb bitmap-fonts bittorrent bluetooth branding bzip2 cairo cdb cddb cdparanoia cdr cdrom chardet cli clock-screen cracklib crypt css curl curlwrappers custom-optimization d dbus directfb dvb dvd dvdnav dvdr dvdread enca encode escreen evo exif extras fam fame fbcon fbcondecor ffmpeg firefox flac fortran ftp gd gif git glib glitz gnutls gpgme gpm gstreamer gtk gtk2 gtkhtml hal hddtemp http iconv icq id3 id3tag idn imagemagick imap imlib injection innkeywords ipv6 isdnlog jabber java javascript jpeg jpeg2k key-screen lame lcms libcaca libnotify libwww logrotate lzo mad madwifi maildir matroska mbrola md5sum mikmod mjpeg mmx mmxext mng modplug motif mouse mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap multiuser musepack musicbrainz nagios-ping nagios-ssh nas ncurses network nls no-suexec nptl nptlonly nsplugin nss ntfs nvidia offensive ogg openal opengl pam pcre pdf perl plugins png ppds python qt3 qt3support qt4 quicktime rar readline real recode reflection replytolist rplay rtsp sasl sdl search-screen session sftplogging sidebar silc slang smime smp smtp speex spell spl srt sse sse2 ssh ssl ssse3 startup-notification stroke svg symlink sysfs tcl tcltk theora tiff tk tordns trayicon truetype truetype-fonts type1-fonts unicode urandom usb userlocales utils v4l v4l2 vcd verbose vidix vim-pager vim-syntax vim-with-x vorbis win32codecs wma wmf x264 x86 xanim xattr xhtml xine xinerama xml xorg xpm xulrunner xv xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Andreas "th0br0" Osowski 2008-09-27 14:54:33 UTC
Hey,
I can not confirm this.
ogg2mp3 works fine here running LAME 3.97

Portage 2.1.4.4 (default-linux/x86/2007.0, gcc-4.3.1, glibc-2.6.1-r0, 2.6.26-gentoo-r1 i686)
=================================================================
System uname: 2.6.26-gentoo-r1 i686 Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz
Timestamp of tree: Fri, 26 Sep 2008 04:05:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.6
dev-lang/python:     2.4.4-r6, 2.5.2-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r2
sys-devel/automake:  1.4_p6, 1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1-r1
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O3 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo/"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise /usr/local/portage /usr/local/overlays/crossdev"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="(-selinux) X a52 aac acl acpi alsa avahi bash-completion berkdb branding cddb cdinstall cdparanoia cdr cli cracklib crypt css cups curl curlwrappers cxx dbus dga dri dvb dvd dvdr dvdread ffmpeg firefox fortran ftp gdbm gimp glut gnome gnutls gpm gtk hal hddtemp iconv icq ieee1394 ipv6 isdnlog jabber java6 jpeg kde lame latex libnotifiy libwww lm_sensors matroska midi mime mmx mmx2 mono mp3 mpeg mudflap mysql mysqli ncurses nls nptl nptlonly nsplugin ogg openal opengl openmp oscar pam pcmcia pcre pdf perl png pppd python qt3 qt3support qt4 quicktime readline reflection rss ruby samba scanner sdl session sndfile snmp sockets source speex spl sqlite3 sse2 ssl subversion svg tcl tcpd theora tidy tiff timidity tk truetype unicode usb v4l2 vcd vnc vorbis wifi win32codecs x264 x86 xcb xcomposite xine xorg xulrunner xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Boris Petersen 2008-09-28 11:22:53 UTC
Created attachment 166671 [details, diff]
Diff to prevent endian swapping

This patch removes the -x switch from the script. Now it produces valid mp3s again.
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2009-05-12 11:33:33 UTC
+*ogg2mp3-0.5-r1 (12 May 2009)
+
+  12 May 2009; Samuli Suominen <ssuominen@gentoo.org>
+  +ogg2mp3-0.5-r1.ebuild, +files/ogg2mp3-0.5-prevent_endian_swapping.patch:
+  Patch to prevent endian swapping by Boris Petersen wrt #238855.