Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#53806 closed defect (fixed)

graphene @1.6.0: fails to build without python3

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: dbevans (David B. Evans)
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: haspatch Cc:
Port: graphene

Description

https://build.macports.org/builders/ports-10.12_x86_64-builder/builds/23533/steps/install-port/logs/stdio

checking for gobject-introspection... yes
checking for python3... no
checking for python3.5... no
checking for python3.4... no
checking for python3.3... no
checking for python3.2... no
checking for python3.1,... no
checking for python3.0... no
configure: error: Cannot build introspection data without Python3
DEBUG: Privilege de-escalation not attempted as not running as root.
DEBUG: build phase started at Fri Mar 17 07:55:56 UTC 2017
--->  Building graphene
DEBUG: Executing proc-pre-org.macports.build-build-0
DEBUG: Executing org.macports.build (graphene)
DEBUG: Environment: 
CC_PRINT_OPTIONS='YES'
CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_graphene/graphene/work/.CC_PRINT_OPTIONS'
CPATH='/opt/local/include'
LIBRARY_PATH='/opt/local/lib'
MACOSX_DEPLOYMENT_TARGET='10.12'
Executing:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_graphene/graphene/work/graphene-1.6.0" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64" 
DEBUG: system:  cd "/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_graphene/graphene/work/graphene-1.6.0" && /usr/bin/make -j8 -w all CC="/usr/bin/clang -arch x86_64" 
make: Entering directory `/opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_graphics_graphene/graphene/work/graphene-1.6.0'
make: *** No rule to make target `all'.  Stop.

Attachments (1)

0001-graphene-Add-missing-dependency-on-Python-3.patch (1.2 KB) - added by raimue (Rainer Müller) 7 years ago.
Proposed patch

Download all attachments as: .zip

Change History (8)

Changed 7 years ago by raimue (Rainer Müller)

Proposed patch

comment:1 Changed 7 years ago by mf2k (Frank Schima)

Keywords: haspatch added

comment:2 Changed 7 years ago by Ionic (Mihai Moldovan)

Any reason why you don't select the latest and greatest - python 3.6?

I've just tested with 3.6 and it seems to build fine as well.

Last edited 7 years ago by Ionic (Mihai Moldovan) (previous) (diff)

comment:3 Changed 7 years ago by mf2k (Frank Schima)

While python 3.6 is the latest version of python, I think that python 3.5 is better supported in Macports currently.

$ port list py35-* | wc -l
     525
$ port list py36-* | wc -l
     336

and

$ port echo depends:python35 | wc -l
     508
$ port echo depends:python36 | wc -l
     323

Maybe making a policy of using the latest python version would help get more py36 modules added.

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

This ticket is about building graphene. It doesn't seem like the availability of python modules has any bearing on that. (graphene doesn't declare a dependency on any python modules, does it?)

comment:5 Changed 7 years ago by Ionic (Mihai Moldovan)

It's also only a build dependency, so once the port has been built it doesn't matter in the grand scheme of things.

The only dependency is on the interpreter itself, yeah.

comment:6 Changed 7 years ago by raimue (Rainer Müller)

Resolution: fixed
Status: newclosed

In 1b71df7243fdd1ee6c2272978d7c249fe7f202df/macports-ports:

graphene: Add missing dependency on Python 3

Closes: #53806

comment:7 Changed 7 years ago by raimue (Rainer Müller)

It is now using python36 as it makes sense to me to use the latest. There is also no other python3x port in the recursive dependencies, so it does not matter much.

Note: See TracTickets for help on using tickets.