Date: Tue, 25 Nov 2014 08:33:07 +0100 From: Antoine Brodin <antoine@FreeBSD.org> To: Marcus von Appen <mva@freebsd.org> Cc: "Montgomery-Smith, Stephen" <stephen@missouri.edu>, "gnome@FreeBSD.org" <gnome@freebsd.org>, Janos Dohanics <web@3dresearch.com> Subject: Re: /usr/ports/devel/py-gobject3: typo? Message-ID: <CAALwa8kHs4g2WbRqo-mWFbWiHZoczu3RzzAgE1AFk1h3w2LKpg@mail.gmail.com> In-Reply-To: <CAHNYxxM8ooo7%2BXNUNROoivBx1kg_8sAaGZmN3tsbG5tw%2BqjCug@mail.gmail.com> References: <20140916124035.2217ba67f72bce56e56eb677@3dresearch.com> <546F767B.4070702@missouri.edu> <CAALwa8=Oee7CUB%2Bojme3MVEzzhWjGF1Ru_pEOMHQyzfb68SOww@mail.gmail.com> <CAHNYxxM8ooo7%2BXNUNROoivBx1kg_8sAaGZmN3tsbG5tw%2BqjCug@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Nov 25, 2014 at 5:38 AM, Jia-Shiun Li <jiashiun@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@freebsd.org> wrote: >> On Fri, Nov 21, 2014 at 6:29 PM, Montgomery-Smith, Stephen >> <stephen@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@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-gnome >> To unsubscribe, send any mail to "freebsd-gnome-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAALwa8kHs4g2WbRqo-mWFbWiHZoczu3RzzAgE1AFk1h3w2LKpg>