Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61819 closed defect (duplicate)

Failed to build py38-flit_core 10.5_ppc

Reported by: bryancn Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: powerpc leopard Cc:
Port: py38-flit_core

Description

On sudo port selfupdate & port upgrade outdated:

G5:~ bryan$ sudo port install py38-flit_core--->  Computing dependencies for py38-flit_core--->  Fetching archive for py38-flit_core
--->  Attempting to fetch py38-flit_core-3.0.0_0.darwin_9.noarch.tbz2 from http://jog.id.packages.macports.org/macports/packages/py38-flit_core
--->  Attempting to fetch py38-flit_core-3.0.0_0.darwin_9.noarch.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/py38-flit_core
--->  Attempting to fetch py38-flit_core-3.0.0_0.darwin_9.noarch.tbz2 from http://pek.cn.packages.macports.org/macports/packages/py38-flit_core
--->  Fetching distfiles for py38-flit_core
--->  Verifying checksums for py38-flit_core
--->  Extracting py38-flit_core
--->  Configuring py38-flit_core
--->  Building py38-flit_core
Error: Failed to build py38-flit_core: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-flit_core/py38-flit_core/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets to report a bug.
Error: Processing of port py38-flit_core failed

Attachments (1)

main.log (40.0 KB) - added by bryancn 4 years ago.

Download all attachments as: .zip

Change History (8)

Changed 4 years ago by bryancn

Attachment: main.log added

comment:1 Changed 4 years ago by jmroot (Joshua Root)

Strange, the log appears to be cut off mid-line. I don't see the "implausibly old time stamp" warnings on 10.15. The PKG-INFO file is the only one that actually has a 1 Jan 1970 timestamp; the rest seems fine, for example flit_core/__init__.py is 6 Sep 2020. It's very unclear what actually failed here.

comment:2 Changed 4 years ago by bryancn

This seems to be the same issue as #61276

comment:3 Changed 4 years ago by kencu (Ken)

I don't know the elegant fix for this yet, but the brute-force fix is to do this:

Install gnutar sudo port install gnutar

Edit /opt/local/libexec/macports/lib/port1.0/port_autoconf.tcl

and change the variable tar_command from /usr/bin/gnutar --no-same-owner to gnutar --no-same-owner

and you're in business -- it will use the first gnutar in the path, which is your new version you just installed:

$ port -v installed py38-flit_core
The following ports are currently installed:
  py38-flit_core @3.0.0_0 (active) platform='darwin 9' archs='noarch' date='2020-12-15T17:47:10-0800'
Last edited 4 years ago by kencu (Ken) (previous) (diff)

comment:4 Changed 4 years ago by kencu (Ken)

This, maybe:

if { ${os.platform} eq "darwin" && ${os.major} < 10 } {
    depends_extract-append port:gnutar
    extract.post_args {| ${prefix}/bin/gnutar --no-same-owner -xf -}
}
Last edited 4 years ago by kencu (Ken) (previous) (diff)

comment:5 Changed 4 years ago by kencu (Ken)

I can confirm that adding that block to the Portfile (without editing port_autoconf.tcl) does allow the build to finish.

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

Resolution: duplicate
Status: newclosed

comment:7 Changed 4 years ago by kencu (Ken)

this is stlll broken, but I have a nicer fix perhaps.

see #61276

Last edited 4 years ago by kencu (Ken) (previous) (diff)
Note: See TracTickets for help on using tickets.