Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#60880 closed defect (fixed)

py38-matplotlib 10.11 build failure

Reported by: dyne2meter Owned by: reneeotten (Renee Otten)
Priority: Normal Milestone:
Component: ports Version: 2.6.3
Keywords: Cc: chrstphrchvz (Christopher Chavez)
Port: py-matplotlib

Description

:info:build building 'matplotlib.backends._macosx' extension
:info:build /usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -pipe -Os -arch x86_64 -isysroot/ -I/opt/local/Library/Frameworks/Python.framework/Versions/3.8/include/python3.8 -c src/_macosx.m -o build/temp.macosx-10.11-x86_64-3.8/src/_macosx.o -fvisibility=hidden -flto
:info:build src/_macosx.m:1211:9: error: unexpected '@' in program
:info:build     if (@available(macOS 10.11, *)) {
:info:build         ^
:info:build 1 error generated.
:info:build error: command '/usr/bin/clang' failed with exit status 1
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-matplotlib/py38-matplotlib/work/matplotlib-3.3.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8 setup.py --no-user-cfg build 
:info:build Exit code: 1
:error:build Failed to build py38-matplotlib: command execution failed
:debug:build Error code: CHILDSTATUS 2238 1
:debug:build Backtrace: command execution failed
:debug:build     while executing
:debug:build "system {*}$notty {*}$nice $fullcmdstring"
:debug:build     invoked from within
:debug:build "command_exec build"
:debug:build     (procedure "portbuild::build_main" line 8)
:debug:build     invoked from within
:debug:build "$procedure $targetname"
:error:build See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-matplotlib/py38-matplotlib/main.log for details.

Attachments (1)

main.log.gz (8.7 KB) - added by dyne2meter 4 years ago.
main.log

Download all attachments as: .zip

Change History (7)

Changed 4 years ago by dyne2meter

Attachment: main.log.gz added

main.log

comment:1 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

The same error is observed on the 10.8-10.11 builders.

comment:2 Changed 4 years ago by chrstphrchvz (Christopher Chavez)

Cc: chrstphrchvz added

comment:3 Changed 4 years ago by reneeotten (Renee Otten)

Owner: set to reneeotten
Resolution: fixed
Status: newclosed

In 610ea8645926cb047b4ab5aad50c66936a0c278c/macports-ports (master):

py-matplotlib: atempt to fix build on macOS <= 10.11

See: b07e0eb6440b1499bfd2157e19db86fc79984471/macports-ports#commitcomment-40732959

Closes: #60880

comment:4 Changed 4 years ago by dyne2meter

It looks like the offending (to 10.11) @available is still lurking there.

comment:5 in reply to:  4 Changed 4 years ago by reneeotten (Renee Otten)

Replying to dyne2meter:

It looks like the offending (to 10.11) @available is still lurking there.

no, it's not or at least it shouldn't... It's probably just that the 10.11 buildbot hasn't finished yet (or you didn't do a selfupdate before trying again.

comment:6 Changed 4 years ago by dyne2meter

OK, it updated for me. My system gets a pre-built port, now, waiting another minute or two would have helped.

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