Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#61804 closed defect (fixed)

Failed to build py38-cffi 10.5_ppc

Reported by: bryancn Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version: 2.6.4
Keywords: powerpc leopard Cc:
Port: py-cffi

Description

On sudo port selfupdate & port upgrade outdated:

G5:~ bryan$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.6.4 installed,
MacPorts base version 2.6.4 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you should run
  port upgrade outdated
BingleyG5:~ bryan$ sudo port upgrade outdated
--->  Computing dependencies for sqlite3
--->  Fetching archive for sqlite3
--->  Attempting to fetch sqlite3-3.34.0_0.darwin_9.ppc.tbz2 from http://jog.id.packages.macports.org/macports/packages/sqlite3
--->  Attempting to fetch sqlite3-3.34.0_0.darwin_9.ppc.tbz2 from http://pek.cn.packages.macports.org/macports/packages/sqlite3
--->  Attempting to fetch sqlite3-3.34.0_0.darwin_9.ppc.tbz2 from http://kmq.jp.packages.macports.org/sqlite3
--->  Fetching distfiles for sqlite3
--->  Attempting to fetch sqlite-autoconf-3340000.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/sqlite3
--->  Verifying checksums for sqlite3
--->  Extracting sqlite3
--->  Configuring sqlite3
--->  Building sqlite3
--->  Staging sqlite3 into destroot
--->  Installing sqlite3 @3.34.0_0
--->  Cleaning sqlite3
--->  Computing dependencies for sqlite3
--->  Deactivating sqlite3 @3.33.0_0
--->  Cleaning sqlite3
--->  Activating sqlite3 @3.34.0_0
--->  Cleaning sqlite3
--->  Computing dependencies for py38-cffi
--->  Fetching archive for py38-cffi
--->  Attempting to fetch py38-cffi-1.14.4_0.darwin_9.ppc.tbz2 from http://jog.id.packages.macports.org/macports/packages/py38-cffi
--->  Attempting to fetch py38-cffi-1.14.4_0.darwin_9.ppc.tbz2 from http://pek.cn.packages.macports.org/macports/packages/py38-cffi
--->  Attempting to fetch py38-cffi-1.14.4_0.darwin_9.ppc.tbz2 from http://kmq.jp.packages.macports.org/py38-cffi
--->  Fetching distfiles for py38-cffi
--->  Attempting to fetch cffi-1.14.4.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/py-cffi
--->  Verifying checksums for py38-cffi
--->  Extracting py38-cffi
--->  Applying patches to py38-cffi
--->  Configuring py38-cffi
--->  Building py38-cffi
Error: Failed to build py38-cffi: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cffi/py38-cffi/main.log for details.

Attachments (1)

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

Download all attachments as: .zip

Change History (6)

Changed 4 years ago by bryancn

Attachment: main.log added

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

info:build c/_cffi_backend.c:6352: error: #pragma GCC diagnostic not allowed inside functions

gcc-4.2 is a bit too old for this construction...

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

Keywords: ppc added; 10.5_ppc py38 G5 removed
Owner: set to stromnov
Port: py-cffi added; py38-cffi removed
Status: newassigned

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

Version 0, edited 4 years ago by kencu (Ken) (next)

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

Resolution: fixed
Status: assignedclosed

In ea9528e1a577fce8ccbcec8f8a86e3197be5831a/macports-ports (master):

py-cffi: fix build on older systems

blacklist older gcc versions that don't allow

pragmas inside functions

remove a -iwithisysroot command that points to

/usr/include/libffi, which we never want,
and which is not accepted by gcc

closes: #61804

comment:5 Changed 4 years ago by mf2k (Frank Schima)

Keywords: powerpc added; ppc removed
Note: See TracTickets for help on using tickets.