#36445 closed defect (fixed)
atlas @3.10.0+universal fails to install after apparently compiling
Reported by: | jsalort (Julien Salort) | Owned by: | Veence (Vincent) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.1.2 |
Keywords: | Cc: | ||
Port: | atlas |
Description (last modified by mf2k (Frank Schima))
Installing atlas for x86_64 worked. However, I want a universal version. So I did:
% sudo port install atlas +universal Password: ---> Computing dependencies for atlas ---> Fetching archive for atlas ---> Attempting to fetch atlas-3.10.0_0+gcc45+universal.darwin_12.i386-x86_64.tbz2 from http://lil.fr.packages.macports.org/atlas ---> Attempting to fetch atlas-3.10.0_0+gcc45+universal.darwin_12.i386-x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/atlas ---> Attempting to fetch atlas-3.10.0_0+gcc45+universal.darwin_12.i386-x86_64.tbz2 from http://packages.macports.org/atlas ---> Fetching distfiles for atlas Warning: GCC compilers on OS X do not support AVX instructions. ---> Verifying checksum(s) for atlas ---> Extracting atlas ---> Applying patches to atlas ---> Configuring atlas ---> Building atlas Error: reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0/build/lib/Makefile": no such file or directory Error: org.macports.build for port atlas returned: reinplace sed(1) failed Please see the log file for port atlas for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port atlas failed
The log file says:
:info:build ATLAS install complete. Examine :info:build ATLAS/bin/<arch>/INSTALL_LOG/SUMMARY.LOG for details. :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0-i386/build' :info:build /usr/bin/make clean :info:build make[1]: Entering directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0-i386/build' :info:build rm -rf *.dSYM :info:build rm -rf *.o x* config?.out *core* :info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0-i386/build' :info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0-i386/build' :debug:build Executing proc-post-org.macports.build-build-0 :debug:build Executing reinplace: /usr/bin/sed {s|^LIBTOOL=.*$|LIBTOOL=$(GCC) $(GCCFLAGS)|} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0/build/lib/Makefile >@ file10 :debug:build couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0/build/lib/Makefile": no such file or directory while executing "exec /usr/bin/sed {s|^LIBTOOL=.*$|LIBTOOL=$(GCC) $(GCCFLAGS)|} < /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_rele..." ("eval" body line 1) invoked from within "eval exec $cmdline" :error:build reinplace: couldn't read file "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_math_atlas/atlas/work/atlas-3.10.0/build/lib/Makefile": no such file or directory :error:build org.macports.build for port atlas returned: reinplace sed(1) failed :debug:build Error code: NONE :debug:build Backtrace: reinplace sed(1) failed
(full log file attached)
So it seems that the actual compilation went fine...
Attachments (2)
Change History (12)
Changed 12 years ago by jsalort (Julien Salort)
comment:1 Changed 12 years ago by jsalort (Julien Salort)
comment:2 follow-up: 3 Changed 12 years ago by Veence (Vincent)
Your gcc has not been compiled with the universal flag set, which triggers the multilib option. In other words, your gfortran library is x86_64 only, wherefore you cannot build an i386 version. You must rebuild gcc.
comment:3 Changed 12 years ago by jsalort (Julien Salort)
Replying to vince@…:
Your gcc has not been compiled with the universal flag set, which triggers the multilib option. In other words, your gfortran library is x86_64 only, wherefore you cannot build an i386 version. You must rebuild gcc.
I have compiled gcc45 with the universal variant:
port installed gcc* The following ports are currently installed: gcc45 @4.5.4_6+universal (active) gcc47 @4.7.2_1+universal (active) gcc_select @0.1_7 (active) gccmakedep @1.0.2_3 (active)
And I have this:
ls /opt/local/lib/gcc45/i386/*gfortran* /opt/local/lib/gcc45/i386/libgfortran.3.dylib /opt/local/lib/gcc45/i386/libgfortran.a /opt/local/lib/gcc45/i386/libgfortran.dylib /opt/local/lib/gcc45/i386/libgfortran.la
Therefore, I don't think this is the answer...
comment:4 Changed 12 years ago by Veence (Vincent)
Hmmm… Pretty weird. There was some patch committed recently by someone else, I have to find out if this issue does not proceed from this.
comment:5 Changed 12 years ago by mf2k (Frank Schima)
Description: | modified (diff) |
---|---|
Owner: | changed from macports-tickets@… to vince@… |
Port: | atlas added |
In the future, please use WikiFormatting, fill in the Port field and Cc the port maintainer(s).
comment:6 Changed 12 years ago by Veence (Vincent)
It is definitely tied to the patch that was committed a while ago. I’m diving into it, but it takes more time than I expected: since I had no time to work on Macports during the last few weeks, I have to catch up and it takes a while. I hope to be able to get something neat tonight.
comment:7 follow-up: 9 Changed 12 years ago by Veence (Vincent)
Should be fixed in r98544. Try again and tell me.
comment:8 Changed 12 years ago by Veence (Vincent)
Resolution: | → fixed |
---|---|
Status: | new → closed |
No response. I close the bug, please reopen it if anything is still wrong.
Additionnally, if I build for i386 only, I get another error, in relation with gfortran:
Full log attached.