Date: Fri, 4 Nov 2011 08:46:04 +0100 From: Marcus von Appen <mva@FreeBSD.org> To: Rob Messick <robmessick@gmail.com> Cc: python@FreeBSD.org Subject: Re: Building blender port in chroot/clean environment Message-ID: <20111104074604.GA1948@medusa.sysfault.org> In-Reply-To: <CADsoyDXqB1pOTTbnQQiP5LXXyhVVY6HjmsfTvO9tTz7QDvqGeQ@mail.gmail.com> References: <CADsoyDX6jSbXNGnPMF0_bWSTTtG2h%2BUkFvufkDH6XqhGQx_n7w@mail.gmail.com> <20111102193753.GA1912@medusa.sysfault.org> <CADsoyDXqB1pOTTbnQQiP5LXXyhVVY6HjmsfTvO9tTz7QDvqGeQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--EVF5PPMfhYS0aIcm Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi Rob, On, Wed Nov 02, 2011, Rob Messick wrote: > I'm building blender as part of the pbi build process. AFAIK this process > sets up a fresh chroot build environment and there is no make.conf within > the chroot. Was able to get blender to build by building and installing > libxcb in the chroot prior to building blender. If libxcb is not installed > prior to building blender (an unlikely scenario, I agree), ports attempts > to build libxcb with python 3.2. =46rom what I read, pbi is some PC-BSD build thing, correct? Did you get into touch with the relevant PC-BSD people on that matter already? If not, I think, it would make sense, if we involve them in this discussion later on, since it might be that either - pbi contains a bug of not using a clean environment or port build instructions or - FreeBSD's python port make system has a glitch to ignore libxcb's setting I'm CC'ing python@ here on that matter. From what I can see in bsd.python.mk is that the following might happen: =2Eif !defined(USE_PYTHON) # set by graphics/blender =2Eif defined(USE_PYTHON_BUILD) # usually set by x11/libxcb, but igno= red since blender sets USE_PYTHON =2E.. =2E.. python@: Can you confirm that this could occur (see below for the complete issue)? Best regards Marcus > On Wed, Nov 2, 2011 at 12:37 PM, Marcus von Appen <mva@freebsd.org> wrote: >=20 > > Hi Rob, > > > > On, Wed Nov 02, 2011, Rob Messick wrote: > > > > > If you build blender 2.60 in a chroot environment without libxcb > > installed > > > previously, as the build tries to execute python2 code with python3.2 > > > libxcb build will error like so: > > > > > > gmake[1]: Entering directory > > `/tmpfs/usr/ports/x11/libxcb/work/libxcb-1.7/src' > > > /usr/pbi/blender-amd64/bin/python3.2 ./c_client.py -p > > > /usr/pbi/blender-amd64/lib/python3.2/site-packages > > > /usr/pbi/blender-amd64/share/xcb/xproto.xml > > > File "./c_client.py", line 1013 > > > except getopt.GetoptError, err: > > > ^ > > > SyntaxError: invalid syntax > > > gmake[1]: *** [xproto.c] Error 1 > > > gmake[1]: Leaving directory > > `/tmpfs/usr/ports/x11/libxcb/work/libxcb-1.7/src' > > > gmake: *** [all-recursive] Error 1 > > > > > > > > > Not sure if this is a libxcb problem or a ports issue ( I haven't > > > looked at what "USE_PYTHON_BUILD=3D" is supposed to do). Let me know = if > > > I can help more. > > > > as it seems, your default python installation points to 3.2, for which > > the above "except ..., ..." is in fact not allowed anymore. > > > > x11/libxcb tries to stick to Python 2.5 to 2.7, so my best guess is that > > your chroot's /etc/make.conf (or whatever you use for your port > > settings) overrides the python build settings somehow. Can you check > > this and - if unsure - send me your /etc/make.conf (or other port > > option settings file)? > > > > Best regards > > Marcus > > --EVF5PPMfhYS0aIcm Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iEYEARECAAYFAk6zmDwACgkQi68/ErJnpkeZOwCgpYCruccwP4UH26erSz6Z5usd m0EAn39rCXTct3V2dGLV+A6gwJy0F0sX =1Zwm -----END PGP SIGNATURE----- --EVF5PPMfhYS0aIcm--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111104074604.GA1948>