smake at 1.2.5 fails to build on Snow Leopard
Richard L. Hamilton
rlhamil at smart.net
Sun Sep 3 20:05:35 UTC 2017
Well, I have a workaround, anyway. I noticed that when I forcibly built it from source on another system (alas, running Sierra), it used clang. So I ran it as
myeye:ports root# port -v install smake configure.compiler=macports-clang-3.8
(which had been helpful before for gnutls) and it built fine on the Snow Leopard system.
I had to do the same for upgrading cdrtools to succeed.
> On Sep 3, 2017, at 13:24, Ken Cunningham <ken.cunningham.webuse at gmail.com> wrote:
>
> 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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170903/30a25527/attachment.sig>
More information about the macports-users
mailing list