pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

audio/suil configure fails w/python36



Having set PYTHON_VERSION_DEFAULT=36 in my "/etc/mk.conf", building
"audio/suil" fails during configure phase with:

===> Configuring for suil-0.8.2nb5
/bin/cp -r /d0/build/pkgsrc/audio/suil/work/audacity-minsrc-2.1.2/lib-src/lv2/suil/waflib  /d0/build/pkgsrc/audio/suil/work/suil-0.8.2
=> Generating pkg-config file for builtin expat package.
=> Adding run-time search paths to pkg-config files.
cd /d0/build/pkgsrc/audio/suil/work/suil-0.8.2 && /usr/bin/env CC=gcc CFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/include\ -I/usr/X11R7/include/libdrm\ -I/usr/X11R7/include/freetype2\ -I/usr/pkg/include# mk.conf
/glib/glib-2.0\ -I/usr/pkg/include/glib/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/python3.6 CXX=c++ CXXFLAGS=-O2\ -D_FORTIFY_SOURCE=2\ -I/usr/pkg/include\ -I/usr/X11R7/include\ -I/usr/include\ -I/usr/X11R7/include/libdrm\ -I/usr/X11R7/include/freetype2\ -I/usr/pkg/include/glib/glib-2.0\ -I/usr/pkg/include/glib/gio-unix-2.0\ -I/usr/pkg/lib/glib-2.0/include\ -I/usr/pkg/include/python3.6 DESTDIR=/d0/build/pkgsrc/audio/suil/work/.destdir LINKFLAGS=\ \ \ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib\ -L/usr/X11R7/lib\ -Wl,-R/usr/X11R7/lib\ -L/usr/lib\ -Wl,-R/usr/lib PATH=/d0/build/pkgsrc/audio/suil/work/.cwrapper/bin:/d0/build/pkgsrc/audio/suil/work/.buildlink/bin:/d0/build/pkgsrc/audio/suil/work/.gcc/bin:/d0/build/pkgsrc/audio/suil/work/.tools/bin:/usr/pkg/bin:/var/home/sysop/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R7/bin:/usr/X11R6/bin:/usr/pkg/bin:/usr/pkg/sbin:/usr/games:/usr/local/bin:/usr/local/sbin PREFIX=/usr/pkg ./waf --mandir=/usr/pkg/man  configure
Traceback (most recent call last):
  File "./waf", line 162, in <module>
    from waflib import Scripting
  File "/d0/build/pkgsrc/audio/suil/work/suil-0.8.2/waflib/Scripting.py", line 88
    except Errors.WafError ,e:
                           ^
SyntaxError: invalid syntax
*** Error code 1

Stop.
make[1]: stopped in /d0/nbsd/pkgsrc/audio/suil
*** Error code 1

Stop.
make: stopped in /d0/nbsd/pkgsrc/audio/suil


Although the failure appears to be related to "devel/waf", that package
builds fine with python36.

When I make an exception to my PYTHON_VERSION_DEFAULT for "audio/suil",
it uses python27 and the build succeeds.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645



Home | Main Index | Thread Index | Old Index