[MacPorts] #49382: qt3 and port 1
#49382: qt3 and port 1 --------------------------------+-------------------------------- Reporter: chiara.giroletti@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: qt3 | Port: qt3, 1 --------------------------------+-------------------------------- Hello, I tried to install gtkwave on Yosemite 10.10.5 but I had this error (also I have it with upgrade outdate) sudo port install gtkwave ---> Computing dependencies for gtkwave ---> Cleaning gtkwave ---> Scanning binaries for linking errors ---> Found 21 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order qt3 @3.3.8 ---> Computing dependencies for qt3 ---> Cleaning qt3 ---> Scanning binaries for linking errors ---> Found 21 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order qt3 @3.3.8 ---> Computing dependencies for qt3 ---> Fetching distfiles for qt3 ---> Verifying checksums for qt3 ---> Extracting qt3 ---> Configuring qt3 ---> Building qt3 Error: org.macports.build for port qt3 returned: command execution failed Please see the log file for port qt3 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/qt3/main.log Error: Unable to upgrade port: 1 Error rebuilding qt3 while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 395) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 103) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 5268) -- Ticket URL: <https://trac.macports.org/ticket/49382> MacPorts <https://www.macports.org/> Ports system for OS X
#49382: qt3 and port 1 ---------------------------------+-------------------------------- Reporter: chiara.giroletti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt3 | ---------------------------------+-------------------------------- Changes (by ryandesign@…): * keywords: qt3 => * type: enhancement => defect * port: qt3, 1 => qt3 Old description:
Hello, I tried to install gtkwave on Yosemite 10.10.5 but I had this error (also I have it with upgrade outdate)
sudo port install gtkwave ---> Computing dependencies for gtkwave ---> Cleaning gtkwave ---> Scanning binaries for linking errors ---> Found 21 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order qt3 @3.3.8 ---> Computing dependencies for qt3 ---> Cleaning qt3 ---> Scanning binaries for linking errors ---> Found 21 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order qt3 @3.3.8 ---> Computing dependencies for qt3 ---> Fetching distfiles for qt3 ---> Verifying checksums for qt3 ---> Extracting qt3 ---> Configuring qt3 ---> Building qt3 Error: org.macports.build for port qt3 returned: command execution failed Please see the log file for port qt3 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/qt3/main.log Error: Unable to upgrade port: 1 Error rebuilding qt3 while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 395) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 103) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } {
# If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 5268)
New description: Hello, I tried to install gtkwave on Yosemite 10.10.5 but I had this error (also I have it with upgrade outdate) {{{ sudo port install gtkwave ---> Computing dependencies for gtkwave ---> Cleaning gtkwave ---> Scanning binaries for linking errors ---> Found 21 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order qt3 @3.3.8 ---> Computing dependencies for qt3 ---> Cleaning qt3 ---> Scanning binaries for linking errors ---> Found 21 broken file(s), matching files to ports ---> Found 1 broken port(s), determining rebuild order ---> Rebuilding in order qt3 @3.3.8 ---> Computing dependencies for qt3 ---> Fetching distfiles for qt3 ---> Verifying checksums for qt3 ---> Extracting qt3 ---> Configuring qt3 ---> Building qt3 Error: org.macports.build for port qt3 returned: command execution failed Please see the log file for port qt3 for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_x11_qt3/qt3/main.log Error: Unable to upgrade port: 1 Error rebuilding qt3 while executing "error "Error rebuilding $portname"" (procedure "revupgrade_scanandrebuild" line 395) invoked from within "revupgrade_scanandrebuild broken_port_counts $opts" (procedure "macports::revupgrade" line 5) invoked from within "macports::revupgrade $opts" (procedure "action_revupgrade" line 2) invoked from within "action_revupgrade $action $portlist $opts" (procedure "action_target" line 96) invoked from within "$action_proc $action $portlist [array get global_options]" (procedure "process_cmd" line 103) invoked from within "process_cmd $remaining_args" invoked from within "if { [llength $remaining_args] > 0 } { # If there are remaining arguments, process those as a command set exit_status [process_cmd $remaining..." (file "/opt/local/bin/port" line 5268) }}} -- Comment: Please attach the main.log file. -- Ticket URL: <https://trac.macports.org/ticket/49382#comment:1> MacPorts <https://www.macports.org/> Ports system for OS X
#49382: qt3: error: ranlib: file: /opt/local/lib/libqassistantclient.a is not writable (Operation not permitted) ---------------------------------+-------------------------------- Reporter: chiara.giroletti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt3 | ---------------------------------+-------------------------------- Changes (by ryandesign@…): * cc: ryandesign@… (added) Comment: Thanks. The log says the problem is: {{{ :debug:build Executing proc-pre-org.macports.build-build-1 :info:build error: ranlib: file: /opt/local/lib/libqassistantclient.a is not writable (Operation not permitted) }}} This happens because the portfile contains this block of code: {{{ #workaround for upgrade problem. pre-build { if {[file exists ${prefix}/lib/libqassistantclient.a]} { system "ranlib ${prefix}/lib/libqassistantclient.a" } } }}} This was added in r16914, back in 2006. Since that time, MacPorts has changed, and no longer permits ports to modify files outside of their own work directory during a build, which is what this block is trying to do. I'm going to hope that whatever "upgrade problem" prompted the addition of this code (the commit message does not elaborate) no longer exists, so I've removed this block in r141611. Wait 30 minutes, then you can receive the fix by running: {{{ sudo port selfupdate }}} The problem began for you when MacPorts determined that the qt3 port you have installed is broken, and tried to rebuild it. Ports should not be broken, so that might be a separate problem, and I'd like to know why MacPorts thinks qt3 is broken on your system. The following command will try again to rebuild qt3 and any other broken ports, which will hopefully succeed, and will generate a log file "rev-upgrade.log" on your desktop which you could please attach to this ticket; it might explain why the port was broken in the first place. {{{ sudo port -d rev-upgrade 2>&1 | tee ~/Desktop/rev-upgrade.log }}} If the file is large, please compress it prior to attaching. -- Ticket URL: <https://trac.macports.org/ticket/49382#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X
#49382: qt3: error: ranlib: file: /opt/local/lib/libqassistantclient.a is not writable (Operation not permitted) ---------------------------------+-------------------------------- Reporter: chiara.giroletti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt3 | ---------------------------------+-------------------------------- Comment (by chiara.giroletti@…): Many thanks, unlucky it is not work -- Ticket URL: <https://trac.macports.org/ticket/49382#comment:3> MacPorts <https://www.macports.org/> Ports system for OS X
#49382: qt3: error: ranlib: file: /opt/local/lib/libqassistantclient.a is not writable (Operation not permitted) ---------------------------------+-------------------------------- Reporter: chiara.giroletti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt3 | ---------------------------------+-------------------------------- Comment (by ryandesign@…): Thanks. The log says the reason qt3 is broken is: {{{ Could not open /opt/local/lib/libGLU.1.dylib: Error opening or reading file (referenced from /opt/local/lib/qt3/bin/assistant) }}} libGLU used to be part of mesa (which qt3 declares a dependency on), but was separated out into its own port awhile ago. I added the libGLU dependency to the qt3 port in r141619. Please wait 30 minutes, then run "sudo port selfupdate" and then try again. -- Ticket URL: <https://trac.macports.org/ticket/49382#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X
#49382: qt3: error: ranlib: file: /opt/local/lib/libqassistantclient.a is not writable (Operation not permitted) ---------------------------------+-------------------------------- Reporter: chiara.giroletti@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: qt3 | ---------------------------------+-------------------------------- Comment (by chiara.giroletti@…): Here the file response -- Ticket URL: <https://trac.macports.org/ticket/49382#comment:5> MacPorts <https://www.macports.org/> Ports system for OS X
#49382: qt3: error: ranlib: file: /opt/local/lib/libqassistantclient.a is not writable (Operation not permitted) ---------------------------------+-------------------------------- Reporter: chiara.giroletti@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: fixed | Keywords: Port: qt3 | ---------------------------------+-------------------------------- Changes (by ryandesign@…): * status: new => closed * resolution: => fixed Comment: Great, that log shows "No broken files found". I assume all of your issues relating to qt3 are now resolved? -- Ticket URL: <https://trac.macports.org/ticket/49382#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts