Opened 8 years ago

Closed 8 years ago

#53405 closed defect (duplicate)

gcc47 build fails

Reported by: gkdgoutam Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.5
Keywords: Cc:
Port: gcc47

Description (last modified by mf2k (Frank Schima))

After migrating to macos sierra macport build fails.

sudo  port upgrade outdated

--->  Computing dependencies for gcc47
--->  Building gcc47
Error: org.macports.build for port gcc47 returned: command execution failed
Please see the log file for port gcc47 for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_lang_gcc47/gcc47/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:

Attachments (1)

main.log (100.5 KB) - added by gkdgoutam 8 years ago.
error file1

Download all attachments as: .zip

Change History (9)

Changed 8 years ago by gkdgoutam

Attachment: main.log added

error file1

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

Keywords: gcc47 removed
Owner: set to mww@…
Status: newassigned

In the future, please use WikiFormatting and Cc the port maintainers (port info --maintainers gcc47), if any.

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

Description: modified (diff)

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

Did you follow the migration instructions?

comment:4 Changed 8 years ago by gkdgoutam

Hi, previously I did not. But after seeing the migration webpage I did exactly what is told there. However I am still getting the error while building the gcc47.

comment:5 Changed 8 years ago by gkdgoutam

The error I am getting is following:

         sudo ./restore_ports.tcl myports.txt

The error is the following:

--->  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.
--->  Computing dependencies for 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: Requested variants "" do not match those the build was started with: "+universal".
Error: Please use the same variants again, or run 'port clean gcc47' first to remove the existing partially completed build.
can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2": permission denied
    while executing
"file mkdir $workpath/.home"
    (procedure "open_statefile" line 7)
    invoked from within
"open_statefile"
    (procedure "check_variants" line 28)
    invoked from within
"check_variants install"
    invoked from within
"$workername eval "check_variants $target""
    (procedure "mportexec" line 7)
    invoked from within
"mportexec $workername $install_target"
Unable to execute target 'install' for port 'gd2': can't create directory "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_graphics_gd2": permission denied
    while executing
"install_ports $operationList"
    (file "./restore_ports.tcl" line 287)
Version 0, edited 8 years ago by gkdgoutam (next)

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

Hi -- you're running into this error 53076 which has not been fixed yet.

I worked around it by downgrading texinfo as per the post I made. It needs a more comprehensive fix, though, and that hasn't yet been done.

comment:7 Changed 8 years ago by kurthindenburg (Kurt Hindenburg)

Owner: changed from mww@… to macports-tickets@…

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

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