[MacPorts] #64875: julia does not build with gcc, forcing clang
MacPorts
noreply at macports.org
Thu Mar 31 13:38:27 UTC 2022
#64875: julia does not build with gcc, forcing clang
---------------------------+-----------------------
Reporter: barracuda156 | Owner: essandess
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.7.2
Resolution: | Keywords: powerpc
Port: julia |
---------------------------+-----------------------
Comment (by barracuda156):
Replying to [comment:1 ryandesign]:
> The julia port has variants for selecting gcc compilers. One of them is
selected by default. Are you using one of those? And it's still not using
gcc?
This is what happens:
{{{
---> Building julia
xinstall: mkdir
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/bin
Executing: cd
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0"
&& /usr/bin/make -j4 -w
File "<string>", line 1
SyntaxError: future feature print_function is not defined
Warning: git information unavailable; versioning information limited
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
make: clang: Command not found
make: Entering directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0'
/bin/sh: clang: command not found
/bin/sh: clang: command not found
/bin/sh: clang: command not found
File "<string>", line 1
SyntaxError: future feature print_function is not defined
/bin/sh: clang++: command not found
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/install.sh
755
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib
/julia-config.jl
/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/usr/share/julia/
Creating usr/etc/julia/startup.jl
Copying in usr/share/man/man1/julia.1
File "<string>", line 1
SyntaxError: future feature print_function is not defined
Warning: git information unavailable; versioning information limited
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
make[1]: clang: Command not found
make[1]: Entering directory
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/deps'
/bin/sh: clang: command not found
/bin/sh: clang: command not found
/bin/sh: clang: command not found
File "<string>", line 1
SyntaxError: future feature print_function is not defined
/bin/sh: clang++: command not found
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
Traceback (most recent call last):
File
"/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/contrib/relative_path.py",
line 10, in <module>
sys.stdout.write(os.path.relpath(sys.argv[2],
sys.argv[1]).replace(os.path.sep, '/'))
AttributeError: 'module' object has no attribute 'relpath'
cp: /opt/local/lib/gcc7/gcc/ppc-apple-
darwin10/7.5.0/../../..//libgfortran.4.dylib: No such file or directory
env: python2: No such file or directory
env: python2: No such file or directory
rm: scratch/dsfmt-2.2.4/: No such file or directory
checking for a BSD-compatible install... /opt/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /opt/local/bin/gmkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking build system type... powerpc-apple-darwin10.0.0d2
checking host system type... powerpc-apple-darwin10.0.0d2
checking for gcc... clang -mmacosx-version-min=10.10
checking whether the C compiler works... no
configure: error: in
`/opt/local/var/macports/build/_opt_PPCSnowLeopardPorts_lang_julia/julia/work/julia-1.7.0/deps/scratch
/libuv-3a63bf71de62c64097989254e4f03212e3bf5fc8':
configure: error: C compiler cannot create executables
See `config.log' for more details
make[1]: *** [scratch/libuv-3a63bf71de62c64097989254e4f03212e3bf5fc8
/build-configured] Error 77
}}}
P. S. Due to the port error reported above, I can only test it on 10A190
at the moment.
--
Ticket URL: <https://trac.macports.org/ticket/64875#comment:5>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list