libatomic build failure 10.5/x86

Riccardo Mottola riccardo.mottola at libero.it
Wed Apr 25 08:46:43 UTC 2018


Hi Ken,

On 2018-04-25 03:08:43 +0200 Ken Cunningham 
<ken.cunningham.webuse at gmail.com> wrote:

> I just pushed a commit that should fix this for you.
> <https://github.com/macports/macports-ports/commit/b05704ac8e26a6540fd08696454a3d43033cc1bd>
> 
> After it propogates through, please
> sudo port sync  -or- sudo port selfupdate
> 
> and try your install again.

your fix works wonders, libatomic_ops upgraded!

Then I resume upgrading..  and something pulls in texlive-bin

--->  Computing dependencies for texlive-bin
--->  Building texlive-bin
Error: Failed to build texlive-bin: command execution failed
Error: See 
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/main.log 
for details.
Error: Problem while installing texlive-bin



I do not have it currently installed:

   texinfo @6.5_1 (active)
   texlive-common @2017.1_0 (active)


so it is not an upgraded but a new dependency?

The error is an interna compiler error, not very reassuring!

:info:build make[4]: Entering directory 
`/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_tex_texlive-bin/texlive-bin/work/texlive-source-20170604-stripped/libs/luajit'
:info:build depbase=`echo LuaJIT-src/src/lj_cconv.lo | sed 
's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build 	/bin/sh ./libtool  --tag=CC   --mode=compile 
/opt/local/bin/gcc-mp-6 -DHAVE_CONFIG_H -I.  -I./LuaJIT-src/src 
-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6 -U_FORTIFY_SOURCE 
-isystem/opt/local/include -fomit-frame-pointer -march=i686 -msse 
-msse2 -mfpmath=sse -fno-stack-protector  -Wall -pipe -Os -m32 -MT 
LuaJIT-src/src/lj_cconv.lo -MD -MP -MF $depbase.Tpo -c -o 
LuaJIT-src/src/lj_cconv.lo LuaJIT-src/src/lj_cconv.c &&\
:info:build 	mv -f $depbase.Tpo $depbase.Plo
:info:build depbase=`echo LuaJIT-src/src/lj_ctype.lo | sed 
's|[^/]*$|.deps/&|;s|\.lo$||'`;\
:info:build 	/bin/sh ./libtool  --tag=CC   --mode=compile 
/opt/local/bin/gcc-mp-6 -DHAVE_CONFIG_H -I.  -I./LuaJIT-src/src 
-DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6 -U_FORTIFY_SOURCE 
-isystem/opt/local/include -fomit-frame-pointer -march=i686 -msse 
-msse2 -mfpmath=sse -fno-stack-protector  -Wall -pipe -Os -m32 -MT 
LuaJIT-src/src/lj_ctype.lo -MD -MP -MF $depbase.Tpo -c -o 
LuaJIT-src/src/lj_ctype.lo LuaJIT-src/src/lj_ctype.c &&\
:info:build 	mv -f $depbase.Tpo $depbase.Plo
:info:build libtool: compile:  /opt/local/bin/gcc-mp-6 -DHAVE_CONFIG_H 
-I. -I./LuaJIT-src/src -DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6 
-U_FORTIFY_SOURCE -isystem/opt/local/include -fomit-frame-pointer 
-march=i686 -msse -msse2 -mfpmath=sse -fno-stack-protector -Wall -pipe 
-Os -m32 -MT LuaJIT-src/src/lj_ctype.lo -MD -MP -MF 
LuaJIT-src/src/.deps/lj_ctype.Tpo -c LuaJIT-src/src/lj_ctype.c  
-fno-common -DPIC -o LuaJIT-src/src/.libs/lj_ctype.o
:info:build libtool: compile:  /opt/local/bin/gcc-mp-6 -DHAVE_CONFIG_H 
-I. -I./LuaJIT-src/src -DLUAJIT_ENABLE_LUA52COMPAT -DLUAI_HASHLIMIT=6 
-U_FORTIFY_SOURCE -isystem/opt/local/include -fomit-frame-pointer 
-march=i686 -msse -msse2 -mfpmath=sse -fno-stack-protector -Wall -pipe 
-Os -m32 -MT LuaJIT-src/src/lj_cconv.lo -MD -MP -MF 
LuaJIT-src/src/.deps/lj_cconv.Tpo -c LuaJIT-src/src/lj_cconv.c  
-fno-common -DPIC -o LuaJIT-src/src/.libs/lj_cconv.o
:info:build LuaJIT-src/src/lj_cconv.c: In function 'lj_cconv_ct_ct':
:info:build LuaJIT-src/src/lj_cconv.c:368:1: internal compiler error: 
in gen_reg_rtx, at emit-rtl.c:1025
:info:build  }
:info:build  ^
:info:build libbacktrace could not find executable to open
:info:build Please submit a full bug report,
:info:build with preprocessed source if appropriate.
:info:build See <https://trac.macports.org/newticket> for instructions.
:info:build make[4]: *** [LuaJIT-src/src/lj_cconv.lo] Error 1
:info:build make[4]: *** Waiting for unfinished jobs....
:

Maybe the dependency can be avoided. Can you build texlive-bin? with 
which compiler? I would also have gcc7:

Koreander:~ multix$ port select gcc
Available versions for gcc:
	apple-gcc42
	gcc40
	gcc42
	llvm-gcc42
	mp-gcc48
	mp-gcc6
	mp-gcc7
	none (active)

But gcc6 is checked as a dependency, I attach the log.

I notice this:
:notice:configure --->  Configuring texlive-bin
:debug:configure Preferred compilers: gcc-4.2 apple-gcc-4.2 gcc-4.0 
macports-clang-3.4 macports-clang-3.3
:debug:configure Using compiler 'MacPorts GCC 6'

toes this mean I have none of the "preferred" compilers ? I actually 
have e.g. apple-gcc42 and also clang 3.4 from macports:

Koreander:~ multix$ port select clang
Available versions for clang:
	mp-clang-3.4
	none (active)

So why is it using  gcc6? (not that gcc6 should.... ICE, but well...)

Thank you!

Riccardo

<main.log.zip>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.log.zip
Type: application/zip
Size: 30972 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20180425/1c5e8a04/attachment.zip>


More information about the macports-users mailing list