Opened 5 years ago

Closed 4 years ago

#60087 closed defect (duplicate)

gcc47 @4.7.4: error: non-local symbol required in directive

Reported by: alaingirault Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: Cc:
Port: gcc47

Description (last modified by mf2k (Frank Schima))

Hi

Texinputs/cleveref> sudo port rev-upgrade
Password:
--->  Updating database of binaries
--->  Updating database of C++ stdlib usage
--->  Scanning binaries for linking errors
--->  Found 14 broken files, matching files to ports     
--->  Found 2 broken ports, determining rebuild order
You can always run 'port rev-upgrade' again to fix errors.
The following ports will be rebuilt:
 gcc47 @4.7.4
 gcc5 @5.5.0
Continue? [Y/n]: Y
--->  Computing dependencies for gcc47
--->  Fetching archive for gcc47
--->  Attempting to fetch gcc47-4.7.4_11.darwin_16.x86_64.tbz2 from http://nue.de.packages.macports.org/gcc47
--->  Attempting to fetch gcc47-4.7.4_11.darwin_16.x86_64.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/gcc47
--->  Attempting to fetch gcc47-4.7.4_11.darwin_16.x86_64.tbz2 from https://packages.macports.org/gcc47
--->  Building gcc47
Error: Failed to build gcc47: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/main.log for details.
Error: rev-upgrade failed: Error rebuilding gcc47
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Attachments (1)

main.log.zip (1.9 MB) - added by alaingirault 5 years ago.
_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/main.log

Download all attachments as: .zip

Change History (12)

comment:1 Changed 5 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: gcc47 removed
Port: gcc47 added

comment:2 Changed 5 years ago by mf2k (Frank Schima)

Summary: {{{Error: Failed to build gcc47: command execution failed}}}gcc47: build failure

comment:3 Changed 5 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

You have provided no useful information to debug your problem. Please attach the main.log file after cleaning the port (sudo port clean gcc47) and re-open the ticket.

Last edited 5 years ago by mf2k (Frank Schima) (previous) (diff)

comment:4 Changed 5 years ago by alaingirault

Resolution: invalid
Status: closedreopened

As suggested, I ran the command:

sudo port clean source-highlight

Then the command:

port rev-upgrade

But the file:

/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/main.log

is 80M big, while the upload limit is 10M. Should I cut the file in 8 or are you interested only in the beginning or the end of the file? Thanks for your help. best regards Alain

comment:5 Changed 5 years ago by mf2k (Frank Schima)

compress (zip) it and attach it.

Last edited 5 years ago by mf2k (Frank Schima) (previous) (diff)

Changed 5 years ago by alaingirault

Attachment: main.log.zip added

_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/main.log

comment:6 Changed 5 years ago by alaingirault

Added the ziped file main.log. Thanks.

comment:7 Changed 5 years ago by kencu (Ken)

If you sudo port -v rev-upgrade you’ll see what is broken and calling for this.

Uninstall that, then reinstall it with sudo port install and you should get some more up to date and useful variants.

gcc versions < 6 are sketchy on newer systems.

comment:8 Changed 5 years ago by alaingirault

I did and found two ports broken, gcc47 and gcc5. I uninstalled gcc47 and kept gcc5. Seems to work fine. Thanks a lot. Alain

comment:9 in reply to:  6 Changed 5 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: gcc47: build failuregcc47 @4.7.4: error: non-local symbol required in directive

Replying to alaingirault:

Added the ziped file main.log.

The log shows the error is:

:info:build <stdin>:42:17: error: non-local symbol required in directive
:info:build         .no_dead_strip L_OBJC_Module
:info:build                        ^
:info:build make[2]: *** [NXConstStr.lo] Error 1
:info:build make[2]: *** Waiting for unfinished jobs....

...whatever that means...

comment:10 Changed 5 years ago by kencu (Ken)

comment:11 Changed 4 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: duplicate
Status: reopenedclosed
Note: See TracTickets for help on using tickets.