<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>69512</bug_id>
          
          <creation_ts>2004-10-30 08:53 0000</creation_ts>
          <short_desc>mpg123-0.59s-r6 has the problem of decoding, and a problem on a play on PPC64</short_desc>
          <delta_ts>2005-01-07 07:10:06 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Applications</component>
          <version>2004.2</version>
          <rep_platform>PPC64</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>nigoro@gentoo.org</reporter>
          <assigned_to>ppc64@gentoo.org</assigned_to>
          <cc>ppc64@gentoo.org</cc>
    
    <cc>sound@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-10-30 08:53:49 0000</bug_when>
            <thetext>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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-10-30 08:56:12 0000</bug_when>
            <thetext>Created an attachment (id=42914)
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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-10-30 09:11:02 0000</bug_when>
            <thetext>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=&quot;ppc64&quot;
AUTOCLEAN=&quot;yes&quot;
CFLAGS=&quot;-O2 -pipe&quot;
CHOST=&quot;powerpc64-unknown-linux-gnu&quot;
COMPILER=&quot;&quot;
CONFIG_PROTECT=&quot;/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&quot;
CONFIG_PROTECT_MASK=&quot;/etc/gconf /etc/terminfo /etc/env.d&quot;
CXXFLAGS=&quot;-O2 -pipe&quot;
DISTDIR=&quot;/usr/portage/distfiles&quot;
FEATURES=&quot;autoaddcvs buildpkg ccache noclean sandbox&quot;
GENTOO_MIRRORS=&quot;http://mirror.gentoo.gr.jp/&quot;
MAKEOPTS=&quot;-j5&quot;
PKGDIR=&quot;/var/packages&quot;
PORTAGE_TMPDIR=&quot;/var/tmp&quot;
PORTDIR=&quot;/usr/portage&quot;
PORTDIR_OVERLAY=&quot;/usr/local/portage&quot;
SYNC=&quot;rsync://rsync.jp.gentoo.org/gentoo-portage&quot;
USE=&quot;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&quot;

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-11-02 07:51:43 0000</bug_when>
            <thetext>Created an attachment (id=43167)
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. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-11-02 13:48:14 0000</bug_when>
            <thetext>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?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-11-03 01:02:19 0000</bug_when>
            <thetext>Thank you for your hint.
I created the new patch to source.

I think that &quot;mpg123 -s hoge.mp3&quot; 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 &gt; 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 &gt; 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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-11-03 01:03:26 0000</bug_when>
            <thetext>Created an attachment (id=43206)
patch for mpg123-0.59s-r6.ebuild
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-11-03 01:04:54 0000</bug_when>
            <thetext>Created an attachment (id=43207)
patch for mpg123 on ppc64

A file name is mpg123-0.59s-ppc64.patch .</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-11-03 02:38:37 0000</bug_when>
            <thetext>ok, I&apos;ll take a look at that on my archs (x86, amd64, sparc)... well... just amd64 as it changes nothing on the other two...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2004-11-03 08:45:44 0000</bug_when>
            <thetext>commited that patch.

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

Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-11-03 14:27:50 0000</bug_when>
            <thetext>fixed in cvs.

corsair, please make sure to test an ebuild before committing.  Your patch name didn&apos;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.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-11-03 23:34:10 0000</bug_when>
            <thetext>eradicator: 
Although I tried the new version -r7, the following errors occurred.
Would you upload the new patch?

Thank you.


&gt;&gt;&gt; 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
           =&gt; `/usr/portage/distfiles/mpg123-0.59s-gentoo-1.2.tar.bz2&apos;
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&apos;t download mpg123-0.59s-gentoo-1.2.tar.bz2. Aborting.

</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2004-11-03 23:47:49 0000</bug_when>
            <thetext>damn.. I tested it, but I think didn&apos;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&apos;ll fix that this afternoon.

Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-11-04 02:22:57 0000</bug_when>
            <thetext>yuta: sorry about that... should be there now.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-11-04 02:44:33 0000</bug_when>
            <thetext>eradicator: 
Thank you!
I tried the new version and it confirmed that these problems did not occur.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2004-11-04 09:05:56 0000</bug_when>
            <thetext>So this bug is finaly closed?

Markus</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2004-11-04 13:02:17 0000</bug_when>
            <thetext>yes</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-11-14 03:56:28 0000</bug_when>
            <thetext>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.
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nigoro@gentoo.org</who>
            <bug_when>2004-11-14 03:58:00 0000</bug_when>
            <thetext>Created an attachment (id=43923)
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?
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>eradicator@gentoo.org</who>
            <bug_when>2005-01-07 00:54:07 0000</bug_when>
            <thetext>fixed in cvs.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>corsair@gentoo.org</who>
            <bug_when>2005-01-07 07:10:06 0000</bug_when>
            <thetext>closing</thetext>
          </long_desc>
      
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>42914</attachid>
            <date>2004-10-30 08:56 0000</date>
            <desc>patch for mpg123-0.59s-r6.ebuild</desc>
            <filename>mpg123-0.59s-r6.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG1wZzEyMy0wLjU5cy1yNi5lYnVpbGQub3JpZwkyMDA0LTEwLTMxIDAwOjAyOjIxLjAwMDAw
MDAwMCArMDkwMAorKysgbXBnMTIzLTAuNTlzLXI2LmVidWlsZAkyMDA0LTEwLTMxIDAwOjEyOjE0
LjAwMDAwMDAwMCArMDkwMApAQCAtNTEsNiArNTEsMTIgQEAKIAl1c2Ugb3NzICYmIHN0eWxlcz0i
JHtzdHlsZXN9IC1nZW5lcmljIgogCiAJY2FzZSAkQVJDSCBpbgorCQlwcGM2NCkKKwkJCXVzZSBl
c2QgJiYgc3R5bGVzPSIke3N0eWxlc30gLXBwYzY0LWVzZCIKKwkJCXVzZSBvc3MgJiYgc3R5bGVz
PSIke3N0eWxlc30gLXBwYzY0IgorCisJCQlbIC16ICIke3N0eWxlc30iIF0gJiYgc3R5bGVzPSIt
cHBjNjQiCisJCQk7OwogCQlwcGMqKQogCQkJdXNlIGVzZCAmJiBzdHlsZXM9IiR7c3R5bGVzfSAt
cHBjLWVzZCIKIAkJCXVzZSBvc3MgJiYgc3R5bGVzPSIke3N0eWxlc30gLXBwYyIK
</data>        

          </attachment>
          <attachment
              isobsolete="1"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43167</attachid>
            <date>2004-11-02 07:51 0000</date>
            <desc>patch for mpg123-0.59s-r6.ebuild</desc>
            <filename>mpg123-0.59s-r6.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG1wZzEyMy0wLjU5cy1yNi5lYnVpbGQub2xkCTIwMDQtMTEtMDMgMDA6MjI6MzEuMDAwMDAw
MDAwICswOTAwCisrKyBtcGcxMjMtMC41OXMtcjYuZWJ1aWxkCTIwMDQtMTEtMDMgMDA6NDQ6MzQu
MDAwMDAwMDAwICswOTAwCkBAIC0zNSw2ICszNSw5IEBACiBzcmNfdW5wYWNrKCkgewogCXVucGFj
ayAke0F9CiAKKwkjIGZpeGVzICM2OTUxMgorCXVzZSBwcGM2NCAmJiBybSAke1BBVENIRElSfS8w
MTBfYWxsX2xvbmcyaW50LnBhdGNoCisKIAljZCAke1N9CiAJCUVQQVRDSF9TVUZGSVg9InBhdGNo
IgogCWVwYXRjaCAke1BBVENIRElSfQpAQCAtNTIsNiArNTUsMTIgQEAKIAl1c2Ugb3NzICYmIHN0
eWxlcz0iJHtzdHlsZXN9IC1nZW5lcmljIgogCiAJY2FzZSAkQVJDSCBpbgorCQlwcGM2NCkKKwkJ
CXVzZSBlc2QgJiYgc3R5bGVzPSIke3N0eWxlc30gLXBwYzY0LWVzZCIKKwkJCXVzZSBvc3MgJiYg
c3R5bGVzPSIke3N0eWxlc30gLXBwYzY0IgorCisJCQlbIC16ICIke3N0eWxlc30iIF0gJiYgc3R5
bGVzPSItcHBjNjQiCisJCQk7OwogCQlwcGMqKQogCQkJdXNlIGVzZCAmJiBzdHlsZXM9IiR7c3R5
bGVzfSAtcHBjLWVzZCIKIAkJCXVzZSBvc3MgJiYgc3R5bGVzPSIke3N0eWxlc30gLXBwYyIK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43206</attachid>
            <date>2004-11-03 01:03 0000</date>
            <desc>patch for mpg123-0.59s-r6.ebuild</desc>
            <filename>mpg123-0.59s-r6.ebuild.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIG1wZzEyMy0wLjU5cy1yNi5lYnVpbGQub3JpZwkyMDA0LTExLTAzIDE2OjE1OjA2LjAwMDAw
MDAwMCArMDkwMAorKysgbXBnMTIzLTAuNTlzLXI2LmVidWlsZAkyMDA0LTExLTAzIDE2OjIwOjAw
LjAwMDAwMDAwMCArMDkwMApAQCAtNDAsNiArNDAsOSBAQAogCWVwYXRjaCAke1BBVENIRElSfQog
CiAJc2VkIC1pICJzOiR7UFZ9LW1oNDoke1BWUn06IiB2ZXJzaW9uLmgKKworCSMgZml4ZXMgIzY5
NTEyCisJdXNlIHBwYzY0ICYmIGVwYXRjaCAke0ZJTEVTRElSfS8ke1B9LXBwYzY0LnBhdGNoCiB9
CiAKIHNyY19jb21waWxlKCkgewpAQCAtNTIsNiArNTUsMTIgQEAKIAl1c2Ugb3NzICYmIHN0eWxl
cz0iJHtzdHlsZXN9IC1nZW5lcmljIgogCiAJY2FzZSAkQVJDSCBpbgorCQlwcGM2NCkKKwkJCXVz
ZSBlc2QgJiYgc3R5bGVzPSIke3N0eWxlc30gLXBwYzY0LWVzZCIKKwkJCXVzZSBvc3MgJiYgc3R5
bGVzPSIke3N0eWxlc30gLXBwYzY0IgorCisJCQlbIC16ICIke3N0eWxlc30iIF0gJiYgc3R5bGVz
PSItcHBjNjQiCisJCQk7OwogCQlwcGMqKQogCQkJdXNlIGVzZCAmJiBzdHlsZXM9IiR7c3R5bGVz
fSAtcHBjLWVzZCIKIAkJCXVzZSBvc3MgJiYgc3R5bGVzPSIke3N0eWxlc30gLXBwYyIK
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43207</attachid>
            <date>2004-11-03 01:04 0000</date>
            <desc>patch for mpg123 on ppc64</desc>
            <filename>mpg123-0.59s-ppc64.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">ZGlmZiAtTnVyIG1wZzEyMy5lcGF0Y2hlZC9sYXllcjMuYyBtcGcxMjMvbGF5ZXIzLmMKLS0tIG1w
ZzEyMy5lcGF0Y2hlZC9sYXllcjMuYwkyMDA0LTExLTAzIDE2OjE4OjE1LjAxNjk5NTQ4OCArMDkw
MAorKysgbXBnMTIzL2xheWVyMy5jCTIwMDQtMTEtMDMgMTY6MTg6MzguNjE4MDAzMjQwICswOTAw
CkBAIC02MjYsNyArNjI2LDcgQEAKICAgaW50ICptZTsKIAogICBpbnQgbnVtPWdldGJpdG9mZnNl
dCgmYnNpKTsKLSAgbG9uZyBtYXNrOworICBpbnQgbWFzazsKICAgLyogd2UgbXVzdCBzcGxpdCB0
aGlzLCBiZWNhdXNlIGZvciBudW09PTAgdGhlIHNoaWZ0IGlzIHVuZGVmaW5lZCBpZiB5b3UgZG8g
aXQgaW4gb25lIHN0ZXAgKi8KICAgbWFzayAgPSAoKHVuc2lnbmVkIGxvbmcpIGdldGJpdHMoJmJz
aSxudW0pKTw8QklUU0hJRlQ7CiAgIG1hc2sgPDw9IDgtbnVtOwo=
</data>        

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>43923</attachid>
            <date>2004-11-14 03:58 0000</date>
            <desc>patch for 001_all_Makefile.patch</desc>
            <filename>001_all_Makefile.patch.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">LS0tIDAwMV9hbGxfTWFrZWZpbGUucGF0Y2gub3JpZwkyMDA0LTExLTE0IDE4OjI4OjUxLjkzMjU1
OTMxNyArMDkwMAorKysgMDAxX2FsbF9NYWtlZmlsZS5wYXRjaAkyMDA0LTExLTE0IDE4OjMyOjQ1
LjM0OTgyNTQ2OSArMDkwMApAQCAtMjUxLDcgKzI1MSw3IEBACiArCSQoTUFLRSkgICBMREZMQUdT
PSBcCiArCQlPQkpFQ1RTPSdkZWNvZGUubyBkY3Q2NC5vIGF1ZGlvX29zcy5vJyBcCiArCQlDRkxB
R1M9JyQoQ0ZMQUdTKSAtRFJFQUxfSVNfRkxPQVQgLURMSU5VWCAtV2FsbCAgXAotKwkJCS1ET1NT
IC1EUFBDX0VORElBTiBcCisrCQkJLURPU1MgXAogKwkJCS1mb21pdC1mcmFtZS1wb2ludGVyIC1m
dW5yb2xsLWFsbC1sb29wcyBcCiArCQkJLWZpbmxpbmUtZnVuY3Rpb25zIC1mZmFzdC1tYXRoJyBc
CiArCQltcGcxMjMtbWFrZQpAQCAtMjYxLDcgKzI2MSw3IEBACiArCQlBVURJT19MSUI9Jy1sZXNk
IC1sYXVkaW9maWxlJyBcCiArCQlPQkpFQ1RTPSdkZWNvZGUubyBkY3Q2NC5vIGF1ZGlvX2VzZC5v
JyBcCiArCQlDRkxBR1M9JyQoQ0ZMQUdTKSAtRFJFQUxfSVNfRkxPQVQgLURMSU5VWCAtV2FsbCAg
XAotKwkJCS1ET1NTIC1EUFBDX0VORElBTiBcCisrCQkJLURPU1MgXAogKwkJCS1mb21pdC1mcmFt
ZS1wb2ludGVyIC1mdW5yb2xsLWFsbC1sb29wcyBcCiArCQkJLWZpbmxpbmUtZnVuY3Rpb25zIC1m
ZmFzdC1tYXRoJyBcCiArCQltcGcxMjMtbWFrZQo=
</data>        

          </attachment>
    </bug>

</bugzilla>