First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 69512
Alias:
Product:
Component:
Status: CLOSED
Resolution: FIXED
Assigned To: ppc64 architecture team <ppc64@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Yuta SATOH (RETIRED) <nigoro@gentoo.org>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
mpg123-0.59s-r6.ebuild.patch patch for mpg123-0.59s-r6.ebuild patch Yuta SATOH (RETIRED) 2004-10-30 08:56 0000 447 bytes Details | Diff
mpg123-0.59s-r6.ebuild.patch patch for mpg123-0.59s-r6.ebuild patch Yuta SATOH (RETIRED) 2004-11-02 07:51 0000 624 bytes Details | Diff
mpg123-0.59s-r6.ebuild.patch patch for mpg123-0.59s-r6.ebuild patch Yuta SATOH (RETIRED) 2004-11-03 01:03 0000 621 bytes Details | Diff
mpg123-0.59s-ppc64.patch patch for mpg123 on ppc64 patch Yuta SATOH (RETIRED) 2004-11-03 01:04 0000 437 bytes Details | Diff
001_all_Makefile.patch.patch patch for 001_all_Makefile.patch patch Yuta SATOH (RETIRED) 2004-11-14 03:58 0000 713 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 69512 depends on: Show dependency tree
Bug 69512 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.




View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-10-30 08:53 0000
On ppc64 If 010_all_long2int.patch is applied, it cannot decode normally.
Please do not apply on ppc64.

Note:
010_all_long2int.patch is contained in mpg123-0.59s-gentoo-1.1.tar.bz2.


Reproducible: Always
Steps to Reproduce:

1. ACCEPT_KEYWORDS=~ppc64 emerge mpg123
2. mpg123 -w test.wav test.mp3
3. play a wav file.

------- Comment #1 From Yuta SATOH (RETIRED) 2004-10-30 08:56:12 0000 -------
Created an attachment (id=42914) [edit]
patch for mpg123-0.59s-r6.ebuild


mpg123-0.59s-r6 has the problem which plays only a noise.
The appended patch fixes the problem.

------- Comment #2 From Yuta SATOH (RETIRED) 2004-10-30 09:11:02 0000 -------
emerge info output:

Portage 2.0.50-r11 (default-ppc64-2004.2, gcc-3.4.1, glibc-2.3.4.20040808-r1, 2.6.8-gentoo-r3)
=================================================================
System uname: 2.6.8-gentoo-r3 ppc64 PPC970, altivec supported
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="ppc64"
AUTOCLEAN="yes"
CFLAGS="-O2 -pipe"
CHOST="powerpc64-unknown-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache noclean sandbox"
GENTOO_MIRRORS="http://mirror.gentoo.gr.jp/"
MAKEOPTS="-j5"
PKGDIR="/var/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage"
USE="X Xaw3d aalib alsa altivec apache2 arts berkdb bitmap-fonts cdr cjk crypt cups dga dvd dvdr emacs encode esd f77 flash foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib joystick jpeg kde libwww mad mitshm motif mozilla mpeg mule ncurses nls nogcj oggvorbis opengl oss pam pdflib perl png ppc64 python qt quicktime readline samba sdl slang ssl tcpd tetex tiff truetype usb xml xml2 xmms xprint xv zlib"


------- Comment #3 From Yuta SATOH (RETIRED) 2004-11-02 07:51:43 0000 -------
Created an attachment (id=43167) [edit]
patch for mpg123-0.59s-r6.ebuild

mpg123-0.59s-r6 has the problem which plays only a noise.
The appended patch fixes the problem.
And in the case of PPC64, 010_all_long2int.patch is delete. 

------- Comment #4 From Jeremy Huddleston (RETIRED) 2004-11-02 13:48:14 0000 -------
Use EPATCH_EXCLUDE rather than removing the patch... but this is not the proper
correction...  that patch is correct, but if it causes you problems, then it
means that there are more log/int bugs in the source that need to be fixed.

I wonder if this is related to bug #56765.  Can youu try different output
options to see if this is limited to just a couple please?

------- Comment #5 From Yuta SATOH (RETIRED) 2004-11-03 01:02:19 0000 -------
Thank you for your hint.
I created the new patch to source.

I think that "mpg123 -s hoge.mp3" is working normally on PPC64.
Because, PPC64 is the architecture of big endian and the output raw data is also byte order of big endian.
(mpg123 is output by the host byte order. Please see man if necessary.)


The procedure which I checked is as follows.

1. mpg123 -s test.mp3 > mpg123.raw
2. oggenc -r --raw-endianness 1 mpg123.raw
3. ogg123 mpg123.ogg

Also, mpg321 seems output by the byte order of little endian.

1. mpg321 -s test.mp3 > mpg321.raw
2. oggenc -r --raw-endianness 0 mpg321.raw
3. ogg123 mpg321.ogg


Note:
About option raw-endianness of oggenc...
When set to 1 : big endian
When set to 0 : little endian

Please see man for details.


Thank you.

------- Comment #6 From Yuta SATOH (RETIRED) 2004-11-03 01:03:26 0000 -------
Created an attachment (id=43206) [edit]
patch for mpg123-0.59s-r6.ebuild

------- Comment #7 From Yuta SATOH (RETIRED) 2004-11-03 01:04:54 0000 -------
Created an attachment (id=43207) [edit]
patch for mpg123 on ppc64

A file name is mpg123-0.59s-ppc64.patch .

------- Comment #8 From Jeremy Huddleston (RETIRED) 2004-11-03 02:38:37 0000 -------
ok, I'll take a look at that on my archs (x86, amd64, sparc)... well... just
amd64 as it changes nothing on the other two...

------- Comment #9 From Markus Rothe 2004-11-03 08:45:44 0000 -------
commited that patch.

@eradicator: Does this also affect amd64? If yes and you fixed that, please close.

Markus

------- Comment #10 From Jeremy Huddleston (RETIRED) 2004-11-03 14:27:50 0000 -------
fixed in cvs.

corsair, please make sure to test an ebuild before committing.  Your patch name didn't match what was being used by the ebuild  (you committed ${PF}-... whereas youu epatched ${P}-...)

I revbumped instead and kept it stable on amd64 and ppc64.

------- Comment #11 From Yuta SATOH (RETIRED) 2004-11-03 23:34:10 0000 -------
eradicator: 
Although I tried the new version -r7, the following errors occurred.
Would you upload the new patch?

Thank you.


>>> Downloading http://dev.gentoo.org/~eradicator/mpg123/mpg123-0.59s-gentoo-1.2.tar.bz2
--16:27:44--  http://dev.gentoo.org/%7Eeradicator/mpg123/mpg123-0.59s-gentoo-1.2.tar.bz2
           => `/usr/portage/distfiles/mpg123-0.59s-gentoo-1.2.tar.bz2'
Resolving dev.gentoo.org... 156.56.111.197
Connecting to dev.gentoo.org[156.56.111.197]:80... connected.
HTTP request sent, awaiting response... 404 Not Found
16:27:44 ERROR 404: Not Found.

!!! Couldn't download mpg123-0.59s-gentoo-1.2.tar.bz2. Aborting.


------- Comment #12 From Markus Rothe 2004-11-03 23:47:49 0000 -------
damn.. I tested it, but I think didn't copied the ebuild (to update it in CVS)
or that is to say I modified it once more.. :-/ sry..

Have to leave now.. school. I'll fix that this afternoon.

Markus

------- Comment #13 From Jeremy Huddleston (RETIRED) 2004-11-04 02:22:57 0000 -------
yuta: sorry about that... should be there now.

------- Comment #14 From Yuta SATOH (RETIRED) 2004-11-04 02:44:33 0000 -------
eradicator: 
Thank you!
I tried the new version and it confirmed that these problems did not occur.

------- Comment #15 From Markus Rothe 2004-11-04 09:05:56 0000 -------
So this bug is finaly closed?

Markus

------- Comment #16 From Jeremy Huddleston (RETIRED) 2004-11-04 13:02:17 0000 -------
yes

------- Comment #17 From Yuta SATOH (RETIRED) 2004-11-14 03:56:28 0000 -------
The problem of the sound in a wide range package was solved by Bug #71119 on
PPC64.
Consequently, the necessity of using the code for big endian contained in this
package itself was lost.

And the problem has occurred again now owing to the code.

------- Comment #18 From Yuta SATOH (RETIRED) 2004-11-14 03:58:00 0000 -------
Created an attachment (id=43923) [edit]
patch for 001_all_Makefile.patch

This patch solves the above-mentioned problem.


eradicator:
I am sorry to trouble you, but could you apply this patch?

------- Comment #19 From Jeremy Huddleston (RETIRED) 2005-01-07 00:54:07 0000 -------
fixed in cvs.

------- Comment #20 From Markus Rothe 2005-01-07 07:10:06 0000 -------
closing

First Last Prev Next    No search results available      Search page      Enter new bug