Opened 7 months ago

Closed 6 months ago

#69800 closed defect (fixed)

rnnoise @0.2: tar: This does not look like a tar archive

Reported by: barracuda156 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.9.3
Keywords: tiger Cc:
Port: rnnoise

Description

2024-04-22 19:02:36 (267 KB/s) - ‘rnnoise_data-0b50c45.tar.gz’ saved [22270507/22270507]

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 8747 bytes from rnnoise_data-0b50c45.tar.gz
tar: Error exit delayed from previous errors
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCTigerPorts_audio_rnnoise/rnnoise/work/rnnoise-0.2" && ./autogen.sh --install --verbose 
Exit code: 2

Change History (9)

comment:1 Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

There's no such port in MacPorts. In MacPorts, rnnoise has never been updated after it was added at version 0.0.0.

comment:2 in reply to:  1 Changed 7 months ago by barracuda156

Replying to ryandesign:

There's no such port in MacPorts. In MacPorts, rnnoise has never been updated after it was added at version 0.0.0.

https://github.com/macports/macports-ports/pull/23610

comment:3 in reply to:  1 ; Changed 7 months ago by barracuda156

Replying to ryandesign:

There's no such port in MacPorts. In MacPorts, rnnoise has never been updated after it was added at version 0.0.0.

So it is updated now (and I use it for abaddon port).

  1. S. On a side note, it needs this, only for x86:
    if {${configure.build_arch} in [list i386 x86_64]} {
        # vec_avx.h:171: error: expected '=', ',', ';', 'asm'
        # or '__attribute__' before 'real_m256i'
        compiler.blacklist-append \
                        *gcc-4.0 *gcc-4.2
    }
    

I will make a PR.

comment:4 in reply to:  3 ; Changed 7 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to barracuda156:

Replying to ryandesign:

There's no such port in MacPorts. In MacPorts, rnnoise has never been updated after it was added at version 0.0.0.

https://github.com/macports/macports-ports/pull/23610

Ah. It would have been good to mention that in your initial bug report to avoid confusion.

Replying to barracuda156:

2024-04-22 19:02:36 (267 KB/s) - ‘rnnoise_data-0b50c45.tar.gz’ saved [22270507/22270507]

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 8747 bytes from rnnoise_data-0b50c45.tar.gz
tar: Error exit delayed from previous errors
Command failed:  cd "/opt/local/var/macports/build/_opt_PPCTigerPorts_audio_rnnoise/rnnoise/work/rnnoise-0.2" && ./autogen.sh --install --verbose 
Exit code: 2

Hopefully this will be fixed by https://github.com/macports/macports-ports/pull/23775.

Replying to barracuda156:

  1. S. On a side note, it needs this, only for x86:
    if {${configure.build_arch} in [list i386 x86_64]} {
        # vec_avx.h:171: error: expected '=', ',', ';', 'asm'
        # or '__attribute__' before 'real_m256i'
        compiler.blacklist-append \
                        *gcc-4.0 *gcc-4.2
    }
    

Checking ${configure.build_arch} wouldn't help you in a universal build, of course.

Last edited 7 months ago by ryandesign (Ryan Carsten Schmidt) (previous) (diff)

comment:5 in reply to:  4 Changed 7 months ago by barracuda156

Replying to ryandesign:

Checking ${configure.build_arch} wouldn't help you in a universal build, of course.

Thank you. Then platform i386 with work (no concern for arm64 here, and presumably no one ever tried to cross-compile this from ppc to i386).

Version 0, edited 7 months ago by barracuda156 (next)

comment:6 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

${configure.build_arch} refers the the architecture you're building for when not building universal.

This port supports the universal variant. When building universal, you need to check ${configure.universal_archs} instead.

Or you can check [get_canonical_archs], provided that a universal variant (even an empty one) has been declared beforehand.

Compiling universal for ppc+i386 on ppc or i386 is a supported MacPorts use case.

A platform i386 block (which is equivalent to a if {${os.arch} eq "i386"} block) refers to the architecture of the machine doing the build and does not relate to the architecture for which the build is being done.

comment:7 in reply to:  description ; Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Replying to barracuda156:

2024-04-22 19:02:36 (267 KB/s) - ‘rnnoise_data-0b50c45.tar.gz’ saved [22270507/22270507]

tar: This does not look like a tar archive
tar: Skipping to next header
tar: Archive contains obsolescent base-64 headers
tar: Read 8747 bytes from rnnoise_data-0b50c45.tar.gz
tar: Error exit delayed from previous errors

As of [16135ad44f04ea64fb45f93471a4ac5856a1a8b6/macports-ports] this data tarball is no longer downloaded and extracted at build time so it's possible this fixed this problem. On the other hand, it now downloads a release tarball; it's possible that the release tarball was created with the same method as the data tarball and that you won't be able to extract it on Tiger either.

comment:8 in reply to:  7 Changed 6 months ago by barracuda156

Replying to ryandesign:

Can be closed, thank you!

36-142:~ svacchanda$ port -v installed rnnoise
The following ports are currently installed:
  rnnoise @0.0.0_0 requested_variants='' platform='darwin 8' archs='ppc' date='2024-04-22T19:11:39+0800'
  rnnoise @0.2_1 (active) requested_variants='' platform='darwin 8' archs='ppc' date='2024-05-07T04:13:53+0800'

comment:9 Changed 6 months ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: newclosed
Summary: rnnoise 0.2 fails on 10.4: This does not look like a tar archivernnoise @0.2: tar: This does not look like a tar archive
Note: See TracTickets for help on using tickets.