util.get_platform()

Kubilay Kocak koobs at FreeBSD.org
Wed Sep 10 08:29:27 UTC 2014


On 10/09/2014 11:06 AM, Sean Bruno wrote:
> util.get_platform() returns this on our arm platform running current:
> 
> freebsd-11.0-CURRENT-arm
> 
> I think ports expect:
> 
> freebsd-11.0-CURRENT-armv6
> 
> e.g. devel/py-gobject3 wants a file in its pkg-plist:
>  %%PYTHON_SITELIBDIR%%/pygobject-%%VERSION%%-py%%PYTHON_VER%%-%%OPSYS%
> %-%%UNAME_R%%-%%ARCH%%.egg-info
> 
> Which is looking for:
> 
> pkg-static:
> lstat(/usr/ports/devel/py-gobject3/work/stage/usr/local/lib/python2.7/site-packages/pygobject-3.8.1-py2.7-freebsd-11.0-CURRENT-armv6.egg-info): No such file or directory
> 
> 
> but, the port is building it as:
> cp ./PKG-INFO /usr/ports/devel/py-gobject3/work/stage/usr/local/lib/python2.7/site-packages/pygobject-3.8.1-py2.7-freebsd-11.0-CURRENT-arm.egg-info
>  /bin/mkdir -p
> '/usr/ports/devel/py-gobject3/work/stage/usr/local/libdata/pkgconfig'
>  install  -o root -g wheel -m 0644 pygobject-3.0.pc
> '/usr/ports/devel/py-gobject3/work/stage/usr/local/libdata/pkgconfig'
> 
> This is a trivial change in the pkg-plist, but I wonder if this is
> something "more interesting" in our python distro?
> 
> sean
> 
> _______________________________________________
> freebsd-python at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-python
> To unsubscribe, send any mail to "freebsd-python-unsubscribe at freebsd.org"
> 

Likely related and relevant for you Sean:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188856

Ping me on IRC if you'd like to brainstorm root cause fix options :)

--

Koobs


More information about the freebsd-python mailing list