/usr/ports/devel/py-gobject3: typo?

Antoine Brodin antoine at FreeBSD.org
Tue Nov 25 07:33:08 UTC 2014


On Tue, Nov 25, 2014 at 5:38 AM, Jia-Shiun Li <jiashiun at gmail.com> wrote:
> See if this is helpful to you..
>
> I encountered this in the middle of building gnome3-lite. On my case
> py-gobject3 builds fine alone but fails if built as dependency.
>
> When failing, there is no
>   pygobject-3.14.0-py2.7-freebsd-11.0-CURRENT-amd64.egg-info
> as requested in install phase, but there does have
>   pygobject-3.14.0-pypython2.7-freebsd-11.0-CURRENT-amd64.egg-info
> in the directory. looks something messed up PYTHON_VER for plist.
>
>
> The easier way to reproduce is
>   cd /usr/ports/accessibility/caribou && make
> vs.
>   cd /usr/ports/devel/py-gobject3 && make install
>
> config.log files from both do not differ. It is more likely 'make
> install' causing the problem.
>
>
> My temporary workaround is to rename the file as plist required and continue.

Hi mva@,

Could you have a look at this?
I believe that the DEPENDS_ARGS+=PYTHON_VERSION=${PYTHON_VERSION} in
python.mk can cause this kind of issue for some autoconf based
projects.
In python.mk,  PYTHON_VERSION=python2.7, but in some autoconf based
projects PYTHON_VERSION=2.7 (${PYTHON} -c "import sys;
sys.stdout.write(sys.version[:3])" 2>/dev/null)
So the DEPEND_ARGS may pollute the build of dependencies...

Cheers,

Antoine

> On Sat, Nov 22, 2014 at 2:45 AM, Antoine Brodin <antoine at freebsd.org> wrote:
>> On Fri, Nov 21, 2014 at 6:29 PM, Montgomery-Smith, Stephen
>> <stephen at missouri.edu> wrote:
>>> On 09/16/14 11:40, Janos Dohanics wrote:
>>>> Hello All,
>>>>
>>>> trying to build/install /usr/ports/devel/py-gobject3:
>>>>
>>>> # make install clean
>>>> ===>  Installing for py27-gobject3-3.8.1_2
>>>> ===>   py27-gobject3-3.8.1_2 depends on package: pygobject3-common>=0 - found
>>>> ===>   py27-gobject3-3.8.1_2 depends on file: /usr/local/libdata/pkgconfig/pycairo.pc - found
>>>> ===>   py27-gobject3-3.8.1_2 depends on file: /usr/local/bin/python2.7 - found
>>>> ===>   py27-gobject3-3.8.1_2 depends on executable: python2 - found
>>>> ===>   py27-gobject3-3.8.1_2 depends on shared library: libffi.so - found (/usr/local/lib/libffi.so.6) - found (/usr/local/lib/gcc47/libffi.so.4)
>>>> ===>   py27-gobject3-3.8.1_2 depends on shared library: libglib-2.0.so - found (/usr/local/lib/libglib-2.0.so.0)
>>>> ===>   py27-gobject3-3.8.1_2 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
>>>> ===>   py27-gobject3-3.8.1_2 depends on shared library: libgirepository-1.0.so - found (/usr/local/lib/libgirepository-1.0.so.1)
>>>> ===>  Checking if py27-gobject3 already installed
>>>> ===>   Registering installation for py27-gobject3-3.8.1_2
>>>> pkg-static: lstat(/usr/ports/devel/py-gobject3/work/stage/usr/local/lib/python2.7/site-packages/pygobject-3.8.1-py2.7-freebsd-10.1-BETA1-amd64.egg-info): No such file or directory
>>>> *** Error code 74
>>>>
>>>> Stop.
>>>> make: stopped in /usr/ports/devel/py-gobject3
>>>>
>>>> In /usr/ports/devel/py-gobject3/work/stage/usr/local/lib/python2.7/site-packages/
>>>> I have:
>>>>
>>>> pygobject-3.8.1-pypython2.7-freebsd-10.1-BETA1-amd64.egg-info but not
>>>> pygobject-3.8.1-py2.7-freebsd-10.1-BETA1-amd64.egg-info
>>>>
>>>> Seems like 'cp
>>>> pygobject-3.8.1-pypython2.7-freebsd-10.1-BETA1-amd64.egg-info
>>>> pygobject-3.8.1-py2.7-freebsd-10.1-BETA1-amd64.egg-info' fixes the
>>>> problem.
>>>>
>>>> Just a typo?
>>>>
>>>
>>> I just experienced the same problem.  Any plans to fix it?
>>
>> Hi,
>>
>> This bug report is a bit useless without full build log, config.log
>> and maybe make.conf (hint: it builds fine on all package builders, and
>> it's impossible to guess from the provided information why the version
>> of python is misdetected)
>>
>> Cheers,
>>
>> Antoine
>> _______________________________________________
>> freebsd-gnome at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome
>> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe at freebsd.org"


More information about the freebsd-gnome mailing list