#50838: Problem installing VLC - clean macports --------------------------------+------------------------- Reporter: onaforeignshore@… | Owner: rjvbertin@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: VLC gtk2 py-pygtk | --------------------------------+------------------------- Old description:
I am trying to install VLC, but I am running into errors... See ticket [https://trac.macports.org/ticket/45822] (summary below).
'''VLC +dbus+full+jack+qtkit+quartz+shout+smb+svg''' {{{ Error: Requested variants "+quartz" do not match those the build was started with: "+x11". Error: Please use the same variants again, or run 'port clean gtk2' first to remove the existing partially completed build. Error: Failed to install gtk2 }}}
After installing '''gtk2 +x11''' and restarting VLC install:
{{{ ---> Fetching archive for py27-pygtk Error: org.macports.archivefetch for port py27-pygtk returned: gtk2 must be installed with +quartz. Error: Failed to install py27-pygtk }}}
At this point I cleared the MacPorts out again and restarted with: '''port install VLC +dbus+full+jack+qtkit+quartz+shout+smb+svg''+x11''''' {{{ ---> Computing dependencies for VLCError: librsvg: Variant x11 conflicts with quartz Error: Unable to execute port: Error evaluating variants }}}
I will be willing to help fix the issue if required
New description: I am trying to install VLC, but I am running into errors... See ticket #45822 (summary below). '''VLC +dbus+full+jack+qtkit+quartz+shout+smb+svg''' {{{ Error: Requested variants "+quartz" do not match those the build was started with: "+x11". Error: Please use the same variants again, or run 'port clean gtk2' first to remove the existing partially completed build. Error: Failed to install gtk2 }}} After installing '''gtk2 +x11''' and restarting VLC install: {{{ ---> Fetching archive for py27-pygtk Error: org.macports.archivefetch for port py27-pygtk returned: gtk2 must be installed with +quartz. Error: Failed to install py27-pygtk }}} At this point I cleared the MacPorts out again and restarted with: '''port install VLC +dbus+full+jack+qtkit+quartz+shout+smb+svg''+x11''''' {{{ ---> Computing dependencies for VLCError: librsvg: Variant x11 conflicts with quartz Error: Unable to execute port: Error evaluating variants }}} I will be willing to help fix the issue if required -- Comment (by ryandesign@…): Replying to [comment:6 rjvbertin@…]:
{{{ Error: org.macports.destroot for port gtk2 returned: DEBUG: Error code: NONE DEBUG: Backtrace: while executing "system -nice 0 $fullcmdstring" ("eval" body line 1) invoked from within "eval system $notty $nice \$fullcmdstring" invoked from within "command_exec destroot" (procedure "portdestroot::destroot_main" line 2) invoked from within "portdestroot::destroot_main org.macports.destroot" ("eval" body line 1) invoked from within "eval $procedure $targetname" Warning: targets not executed for gtk2: org.macports.activate org.macports.destroot org.macports.install Error: Failed to install gtk2 DEBUG: could not read "/opt/local/share/man/man3p/warnings::register.3pm": no such file or directory while executing "::file type $file" Please see the log file for port gtk2 for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_gnome_gtk2/gtk2/main.log
}}}
That looks like an error in port:gtk2, possibly because the +quartz variant doesn't install certain files which are expected to be present in the destroot but more probably because a post-destroot block omits a `${destroot}` variable somewhere.
It seems extremely unlikely to me that a missing `${destroot}` would have gone unnoticed so long. I'm not sure what led you to this conclusion. Certainly not the portion of the main.log file quoted above, which contains no relevant information; the real error is earlier. -- Ticket URL: <https://trac.macports.org/ticket/50838#comment:8> MacPorts <https://www.macports.org/> Ports system for OS X