Opened 3 years ago

Closed 3 years ago

#63070 closed defect (worksforme)

Failed to build gcc9 on Mac OS X 10.7.5

Reported by: YesNo801 Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: gcc9 Cc:
Port: gcc9

Description

gcc9 fail to build on 10.7.5

:info:build perl /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/gcc9/work/gcc-9.4.0/libstdc++-v3/scripts/make_exports.pl \ :info:build libstdc++-symbols.ver \ :info:build .libs/compatibility.o .libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o .libs/compatibility-atomic-c++0x.o .libs/compatibility-thread-c++0x.o .libs /compatibility-chrono.o .libs/compatibility-condvar.o \ :info:build `echo ../libsupc++/libsupc++convenience.la ../src/c++98/libc++98convenience.la ../src/c++11/libc++11convenience.la ../src/c++17/libc++17convenience.la | \ :info:build sed 's,/\([/.]*\)\.la,/.libs/\1.a,g'` \

:info:build > libstdc++-symbols.explist
(rm -f libstdc++-symbols.explist ; exit 1)

:info:build /opt/local/bin/nm -P .libs/compatibility.o .libs/compatibility-debug_list.o .libs/compatibility-debug_list-2.o .libs/compatibility-c++0x.o .libs/compatibility-atomic-c++0x.o .libs/compatibility-threa d-c++0x.o .libs/compatibility-chrono.o .libs/compatibility-condvar.o ../libsupc++/.libs/libsupc++convenience.a ../src/c++98/.libs/libc++98convenience.a ../src/c++11/.libs/libc++11convenience.a ../src/c++17/.libs /libc++17convenience.a|Can't exec "c++filt": No such file or directory at /opt/local/lib/perl5/5.28/IPC/Open3.pm line 281. :info:build open2: exec of c++filt -_ failed: No such file or directory at /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_lang_gcc9/gcc9/work/gcc -9.4.0/libstdc++-v3/scripts/make_exports.pl line 95. :info:build warning: /opt/local/bin/nm: no name list :info:build warning: /opt/local/bin/nm: no name list :info:build make[6]: * [libstdc++-symbols.explist] Error 1

Attachments (1)

main.log.gz (1.6 MB) - added by YesNo801 3 years ago.
gcc9 build log

Download all attachments as: .zip

Change History (7)

Changed 3 years ago by YesNo801

Attachment: main.log.gz added

gcc9 build log

comment:1 Changed 3 years ago by kencu (Ken)

You got this again, eh?

I don't see this, nor do the buildbots.

Can you please show me the output of this command?

$ port select --summary

thanks! (BTW, the buildbot has served this up now, so you should soon be able to just download the prebuilt version from MacPorts' servers and then you won't have to worry about building it.

http://packages.macports.org/gcc9/gcc9-9.4.0_0.darwin_11.x86_64.tbz2

comment:2 Changed 3 years ago by kencu (Ken)

Don't be too frustrated. Building compilers like gcc or clang is about the most difficult thing you could ever ask of your system. It has to be perfect, pretty much -- all tools at the correct right versions, the right Xcode, the matching command line tools, the current correct versions of cctools and ld64, and nothing sudo port select'ed to screw up the right helper programs being found at the right time during the build.

If even one little thing is out of proper order or position -- BOOM. No gcc build.

comment:3 Changed 3 years ago by YesNo801

Hi, The current version of gcc9 @9.4.0_0 was found now in the repo for 10.7.5 and was installed without compiling from sources. The output of the command "port select --summary" $ sudo port select --summary Password: Name Selected Options

======== ===

autopep8 none autopep8-38 none clang none mp-clang-10 mp-clang-11 mp-clang-3.4 mp-clang-3.7 mp-clang-5.0 mp-clang-7.0 mp-clang-9.0 none cython none cython27 cython37 cython38 cython39 none docutils none py27-docutils py37-docutils py38-docutils py39-docutils none flake8 none flake8-38 flake8-39 none gcc none apple-gcc42 llvm-gcc42 mp-gcc10 mp-gcc11 mp-gcc5 mp-gcc9 none ipython none py38-ipython py39-ipython none ipython3 none py38-ipython py39-ipython none isort none isort38 none llvm none mp-llvm-10 mp-llvm-11 mp-llvm-3.4 mp-llvm-3.7 mp-llvm-5.0 mp-llvm-7.0 mp-llvm-9.0 none mypy none mypy37 none mysql none none nosetests none nosetests27 nosetests37 nosetests38 nosetests39 none pip none pip27 pip37 pip38 pip39 none pip2 none pip27 none pip3 none pip37 pip38 pip39 none postgresql none postgresql13 none pycodestyle none pycodestyle-py38 pycodestyle-py39 none pydocstyle none py38-pydocstyle none pyflakes none py38-pyflakes py39-pyflakes none pygments none py27-pygments py37-pygments py38-pygments py39-pygments none pylint none pylint38 none pytest none pytest27 none python none python25-apple python26-apple python27 python27-apple python37 python38 python39 none python-language-server none none python2 none python25-apple python26-apple python27 python27-apple none python3 none python37 python38 python39 none ruby none ruby18 none sphinx none py38-sphinx py39-sphinx none wxWidgets none wxPython-3.0 wxWidgets-3.0 wxWidgets-3.2 wxgtk-3.0 none yapf none py38-yapf none

Thank you!

comment:4 in reply to:  3 Changed 3 years ago by kencu (Ken)

Replying to YesNo801:

Hi, The current version of gcc9 @9.4.0_0 was found now in the repo for 10.7.5 and was installed without compiling from sources. The output of the command "port select --summary"

> $ sudo port select --summary
> Password:
> Name                    Selected  Options
> ====                    ========  =======
> autopep8                none      autopep8-38 none
> clang                   none      mp-clang-10 mp-clang-11 mp-clang-3.4 mp-clang-3.7 mp-clang-5.0 mp-clang-7.0 mp-clang-9.0 none
> cython                  none      cython27 cython37 cython38 cython39 none
> docutils                none      py27-docutils py37-docutils py38-docutils py39-docutils none
> flake8                  none      flake8-38 flake8-39 none
> gcc                     none      apple-gcc42 llvm-gcc42 mp-gcc10 mp-gcc11 mp-gcc5 mp-gcc9 none
> ipython                 none      py38-ipython py39-ipython none
> ipython3                none      py38-ipython py39-ipython none
> isort                   none      isort38 none
> llvm                    none      mp-llvm-10 mp-llvm-11 mp-llvm-3.4 mp-llvm-3.7 mp-llvm-5.0 mp-llvm-7.0 mp-llvm-9.0 none
> mypy                    none      mypy37 none
> mysql                   none      none
> nosetests               none      nosetests27 nosetests37 nosetests38 nosetests39 none
> pip                     none      pip27 pip37 pip38 pip39 none
> pip2                    none      pip27 none
> pip3                    none      pip37 pip38 pip39 none
> postgresql              none      postgresql13 none
> pycodestyle             none      pycodestyle-py38 pycodestyle-py39 none
> pydocstyle              none      py38-pydocstyle none
> pyflakes                none      py38-pyflakes py39-pyflakes none
> pygments                none      py27-pygments py37-pygments py38-pygments py39-pygments none
> pylint                  none      pylint38 none
> pytest                  none      pytest27 none
> python                  none      python25-apple python26-apple python27 python27-apple python37 python38 python39 none
> python-language-server  none      none
> python2                 none      python25-apple python26-apple python27 python27-apple none
> python3                 none      python37 python38 python39 none
> ruby                    none      ruby18 none
> sphinx                  none      py38-sphinx py39-sphinx none
> wxWidgets               none      wxPython-3.0 wxWidgets-3.0 wxWidgets-3.2 wxgtk-3.0 none
> yapf                    none      py38-yapf none

well, it's none of those....

Let's leave it for now...gcc9 is just too hard to use to debug your system.

If you notice other build failures we can work on those instead I think.

comment:5 Changed 3 years ago by YesNo801

Hi, When the precompiled package for 10.7.5 was not found in the repositories, the compilation from sources was automatically launched and this operation was successful even if it took many hours to complete. Next time if necessary. Thank you!

comment:6 Changed 3 years ago by kencu (Ken)

Resolution: worksforme
Status: newclosed

oh, so it did work in the end. very good!

Note: See TracTickets for help on using tickets.