pkgsrc-Bugs archive

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

pkg/47709: devel/swig fails to build becouse MZDYNOBJ is not set



>Number:         47709
>Category:       pkg
>Synopsis:       devel/swig fails to build becouse MZDYNOBJ is not set
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Apr 02 17:40:01 +0000 2013
>Originator:     Litvinov Sergey
>Release:        SuSe Linux
>Organization:
>Environment:
>Description:
devel/swig fails to build with the following message

+ /usr/bin/env USETOOLS=no CC=gcc 'CFLAGS=-O2 -Wno-error' CPPFLAGS= CXX=g++ 
'CXXFLAGS=-O2 -Wno-error' COMPILER_RPATH_FLAG=-Wl,-R F77=f77 FC=f77 FFLAGS=-O 
LANG=C LC_COLLATE=C LC_CTYPE=C LC_MESSAGES=C LC_MONETARY=C LC_NUMERIC=C 
LC_TIME=C LDFLAGS=-Wl,-R/scratch/netbsd/lib LINKER_RPATH_FLAG=-R 
PATH=/scratch/src/pkgsrc/devel/swig/work/.wrapper/bin:/scratch/src/pkgsrc/devel/swig/work/.buildlink/bin:/scratch/src/pkgsrc/devel/swig/work/.ccache/bin:/scratch/src/pkgsrc/devel/swig/work/.gcc/bin:/scratch/src/pkgsrc/devel/swig/work/.tools/bin:/scratch/netbsd/bin:/scratch/netbsd/bin/:/scratch/netbsd/sbin:/opt/scilab/bin/:/home/litvinov/bin:/home/litvinov/.local/bin:/home/litvinov/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/X11R6/bin:/usr/games:/opt/kde3/bin:/usr/lib64/jvm/jre/bin:/usr/sbin:/scratch2/work/lammps-with-surface-tension/tools/moltemplate/src/:/scratch/src/QSTK//Bin:/scratch/netbsd/bin:/scratch/netbsd/bin
 PREFIX=/scratch/netbsd PKG_SYSCONFDIR=/scratch/netbsd/etc HOME=/scr
 atch/src/pkgsrc/devel/swig/work/.home CPP=cpp LINK_ALL_LIBGCC_HACK= 
LOCALBASE=/scratch/netbsd NO_WHOLE_ARCHIVE_FLAG=-Wl,--no-whole-archive 
WHOLE_ARCHIVE_FLAG=-Wl,--whole-archive X11BASE=/scratch/netbsd 
X11PREFIX=/scratch/netbsd PKGMANDIR=man PKGINFODIR=info PKGGNUDIR=gnu/ 
MAKECONF=/dev/null OBJECT_FMT=ELF USETOOLS=no 'LIBTOOL=libtool ' 
'BSD_INSTALL_PROGRAM=/usr/bin/install -c -s -o litvinov -g lehrstuhl -m 755' 
'BSD_INSTALL_SCRIPT=/usr/bin/install -c -o litvinov -g lehrstuhl -m 755' 
'BSD_INSTALL_LIB=/usr/bin/install -c -o litvinov -g lehrstuhl -m 755' 
'BSD_INSTALL_DATA=/usr/bin/install -c -o litvinov -g lehrstuhl -m 644' 
'BSD_INSTALL_MAN=/usr/bin/install -c -o litvinov -g lehrstuhl -m 644' 
BSD_INSTALL=/usr/bin/install 'BSD_INSTALL_PROGRAM_DIR=/usr/bin/install -d -o 
litvinov -g lehrstuhl -m 755' 'BSD_INSTALL_SCRIPT_DIR=/usr/bin/install -d -o 
litvinov -g lehrstuhl -m 755' 'BSD_INSTALL_LIB_DIR=/usr/bin/install -d -o 
litvinov -g lehrstuhl -m 755' 'BSD_INSTALL_DATA_DIR=/usr/bin/i
 nstall -d -o litvinov -g lehrstuhl -m 755' 
'BSD_INSTALL_MAN_DIR=/usr/bin/install -d -o litvinov -g lehrstuhl -m 755' 
'BSD_INSTALL_GAME=/usr/bin/install -c -s -o litvinov -g lehrstuhl -m 0755' 
'BSD_INSTALL_GAME_DATA=/usr/bin/install -c -o litvinov -g lehrstuhl -m 0644' 
'BSD_INSTALL_GAME_DIR=/usr/bin/install -d -o litvinov -g lehrstuhl -m 0755' 
INSTALL_INFO= MAKEINFO=/scratch/src/pkgsrc/devel/swig/work/.tools/bin/makeinfo 
FLEX= BISON= PKG_CONFIG= 
PKG_CONFIG_LIBDIR=/scratch/src/pkgsrc/devel/swig/work/.buildlink/lib/pkgconfig:/scratch/src/pkgsrc/devel/swig/work/.buildlink/share/pkgconfig
 PKG_CONFIG_LOG=/scratch/src/pkgsrc/devel/swig/work/.pkg-config.log 
PKG_CONFIG_PATH= WRAPPER_DEBUG=no WRAPPER_UPDATE_CACHE=yes 
VIEWBASE=/scratch/netbsd /usr/bin/make -j8 -f Makefile swig
make[1]: Entering directory 
`/scratch/src/pkgsrc/devel/swig/work/swig-1.3.36/Source'
Makefile:190: *** missing separator.  Stop.
make[1]: Leaving directory 
`/scratch/src/pkgsrc/devel/swig/work/swig-1.3.36/Source'
make: *** [source] Error 2
*** Error code 2

This file
devel/swig/work/swig-1.3.36/Source/Makefile

has a broken variable MZDYNOBJ

MZC = /scratch/netbsd/bin/mzc
MZDYNOBJ = /scratch/netbsd/bin/mzscheme: bad switch: --mute-banner
Use the --help or -h flag for help.
MZSCHEME = /scratch/netbsd/bin/mzscheme

It seems the test for MzScheme dynext object should be done in
different way for newer versions of MzScheme:
https://github.com/swig/swig/blob/e13e1cba9e6dd024f713821558ae084cc9dc3507/configure.ac#L1296-L1311

>How-To-Repeat:
make build in
devel/swig

with version 5.3.3 of lang/racket installed.
>Fix:



Home | Main Index | Thread Index | Old Index