smake at 1.2.5 fails to build on Snow Leopard

Ken Cunningham ken.cunningham.webuse at gmail.com
Sun Sep 3 17:24:11 UTC 2017


The configure section generates an executable to test some system functions. It is segfaulting, and not finishing writing avoffset.h.

The comments at the top of avoffset.h allude to this.

No idea why it works for me and not for you, though.

Maybe have to ask the smake developer for help here.

Ken




creating xconfig.h
	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/conf"
	==> MAKING "all" ON SUBDIRECTORY "SRCROOT/inc"
	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/align_test.mk"
	==> MAKING DIRECTORY "OBJ/i386-darwin-cc"
	==> MAKING DEPENDENCIES "align_test.d"
	==> COMPILING "align_test.o"
	==> LINKING "OBJ/i386-darwin-cc/align_test"
ld: warning: directory not found for option '-L../libs/i386-darwin-cc'
ld: warning: directory not found for option '-L../libs/i386-darwin-cc'
	==> GENERATING include file "../incs/i386-darwin-cc/align.h"
	==> MAKING "all" ON SUBCOMPONENT "SRCROOT/inc/avoffset.mk"
	==> MAKING DEPENDENCIES "avoffset.d"
	==> COMPILING "avoffset.o"
	==> LINKING "OBJ/i386-darwin-cc/avoffset"
ld: warning: directory not found for option '-L../libs/i386-darwin-cc'
ld: warning: directory not found for option '-L../libs/i386-darwin-cc'
	==> GENERATING include file "../incs/i386-darwin-cc/avoffset.h"
sh: line 2: 37140 Segmentation fault      OBJ/i386-darwin-cc/avoffset > ../incs/i386-darwin-cc/avoffset.h
sh: line 2: 37142 Segmentation fault      OBJ/i386-darwin-cc/avoffset > ../incs/i386-darwin-cc/avoffset.h
smake: Unknown error: 139. *** Code 139 from command line for target '../incs/i386-darwin-cc/avoffset.h'.
smake: The following command caused the error:
echo "	==> GENERATING include file \"../incs/i386-darwin-cc/avoffset.h\""; \
		OBJ/i386-darwin-cc/avoffset > ../incs/i386-darwin-cc/avoffset.h || \
		 OBJ/i386-darwin-cc/avoffset > ../incs/i386-darwin-cc/avoffset.h
smake: Couldn't make 'all'.
smake: Leaving  '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/smake-1.2.5/./psmake/smake'[2] from directory '/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/smake-1.2.5/inc'
smake: Default commandline target: 'all'
smake: Doing                       exit(1)
smake: Operation not permitted. *** Code 1 from command line for target 'all'.
smake: The following command caused the error:
for MK in align_test.mk avoffset.mk ;					\
	do								\
		(							\
		if [ -r ./$MK ] ; then					\
			echo "	==> MAKING \"all\" ON SUBCOMPONENT \"SRCROOT/inc/$MK\""; "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_devel_smake/smake/work/smake-1.2.5/./psmake/smake" -f $MK  XARCH=i386-darwin-cc all;\
		else							\
			echo "NOTICE: Partial source (SRCROOT/inc/$MK) missing";\
		fi							\
		);							\
	done



More information about the macports-users mailing list