pkgsrc-Users archive

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

scons error for a new wip package



Attempting to build wip/py-cantera (committed to seek help on this)

I am not familiar with scons based builds. Getting the following on trying
to build:

stdout:

===> Building for py312-cantera-3.1.0a4
cd /usr/pkgsrc/work/wip/py-cantera/work/cantera-3.1.0a4 && cd . && /usr/bin/env USETOOLS=no PTHREAD_CFLAGS=
\ -pthread\  PTHREAD_LDFLAGS=\ -pthread PTHREAD_LIBS= PTHREADBASE=/usr PYTHON=/usr/pkg/bin/python3.12 CC=gc
c CFLAGS=-O2\ -I/usr/include\ -I/usr/pkg/include CPPFLAGS=-I/usr/include\ -I/usr/pkg/include CXX=c++ CXXFLA
GS=-O2\ -I/usr/include\ -I/usr/pkg/include COMPILER_RPATH_FLAG=-Wl,-R F77=gfortran FC=gfortran FFLAGS=-O LA
NG=C LC_ALL=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C LC_TIME=C LDFLAGS=-Wl,-zrelr
o\ -L/usr/lib\ -Wl,-R/usr/lib\ -L/usr/pkg/lib\ -Wl,-R/usr/pkg/lib LINKER_RPATH_FLAG=-R PATH=/usr/pkgsrc/wor
k/wip/py-cantera/work/.cwrapper/bin:/usr/pkgsrc/work/wip/py-cantera/work/.buildlink/bin:/usr/pkgsrc/work/wi
p/py-cantera/work/.ccache/bin:/usr/pkgsrc/work/wip/py-cantera/work/.gfortran/bin:/usr/pkgsrc/work/wip/py-ca
ntera/work/.gcc/bin:/usr/pkgsrc/work/wip/py-cantera/work/.tools/bin:/usr/pkg/bin:/sbin:/usr/sbin:/bin:/usr/
bin:/usr/pkg/sbin:/usr/pkg/bin:/usr/X11R7/bin:/usr/local/sbin:/usr/local/bin:/usr/pkg/bin:/usr/pkg/bin PREF
IX=/usr/pkg MAKELEVEL=0 CONFIG_SITE= ftp_proxy=downloads-forbidden-except-during-fetch http_proxy=downloads
-forbidden-except-during-fetch https_proxy=downloads-forbidden-except-during-fetch no_proxy= PKG_SYSCONFDIR
=/usr/pkg/etc HOME=/usr/pkgsrc/work/wip/py-cantera/work/.home CWRAPPERS_CONFIG_DIR=/usr/pkgsrc/work/wip/py-
cantera/work/.cwrapper/config CPP=cpp LOCALBASE=/usr/pkg X11BASE=/usr/pkg PKGMANDIR=man PKGINFODIR=info PKG
GNUDIR=gnu/ MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no BSD_INSTALL_PROGRAM=/usr/bin/install\ -c\ -s\ -o\
 root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL
_LIB=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_DATA=/usr/bin/install\ -c\ -o\ root\ -g
\ wheel\ -m\ 644 BSD_INSTALL_MAN=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 644 BSD_INSTALL=/usr/bin/in
stall BSD_INSTALL_PROGRAM_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_SCRIPT_DIR=/us
r/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_LIB_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ whe
el\ -m\ 755 BSD_INSTALL_DATA_DIR=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_MAN_DIR=/us
r/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 755 BSD_INSTALL_GAME=/usr/bin/install\ -c\ -s\ -o\ root\ -g\ wh
eel\ -m\ 2555 BSD_INSTALL_GAME_DATA=/usr/bin/install\ -c\ -o\ root\ -g\ wheel\ -m\ 664 BSD_INSTALL_GAME_DIR
=/usr/bin/install\ -d\ -o\ root\ -g\ wheel\ -m\ 775 INSTALL_INFO= MAKEINFO=/usr/pkgsrc/work/wip/py-cantera/
work/.tools/bin/makeinfo FLEX= BISON= ITSTOOL=/usr/pkgsrc/work/wip/py-cantera/work/.tools/bin/itstool GDBUS
_CODEGEN=/usr/pkgsrc/work/wip/py-cantera/work/.tools/bin/gdbus-codegen PKG_CONFIG=/usr/pkgsrc/work/wip/py-c
antera/work/.tools/bin/pkg-config PKG_CONFIG_LIBDIR=/usr/pkgsrc/work/wip/py-cantera/work/.buildlink/lib/pkg
config:/usr/pkgsrc/work/wip/py-cantera/work/.buildlink/share/pkgconfig PKG_CONFIG_LOG=/usr/pkgsrc/work/wip/
py-cantera/work/.pkg-config.log PKG_CONFIG_PATH= DL_CFLAGS=\ -pthread\  DL_LDFLAGS=\ -pthread DL_LIBS= CWRA
PPERS_CONFIG_DIR=/usr/pkgsrc/work/wip/py-cantera/work/.cwrapper/config scons-3.12 PREFIX=/usr/pkg -j4 build
scons: Reading SConscript files ...
SCons 4.8.1 is using the following Python interpreter:
    /usr/pkg/bin/python3.12 (Python 3.12)
WARNING: Unrecognized C compiler 'cc'


stderr:

gcc: CWRAPPERS_CONFIG_DIR is missing from environment 
g++: CWRAPPERS_CONFIG_DIR is missing from environment
g++: CWRAPPERS_CONFIG_DIR is missing from environment
gcc: CWRAPPERS_CONFIG_DIR is missing from environment
ERROR: Encountered unexpected command line option: 'PREFIX'

From scons --help, the option name appears to be `prefix', though pkgsrc
is passing `PREFIX'. Besides it's not clear why it says
CWRAPPERS_CONFIG_DIR is missing. Can see it being passed in the command
above.

Any suggestions?

-- 
Mayuresh


Home | Main Index | Thread Index | Old Index