#46731: variant weirdness doing incremental destroot of port:pulseaudio -------------------------+-------------------------------- Reporter: rjvbertin@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.3 Keywords: | Port: pulseaudio -------------------------+-------------------------------- I'm tinkering with the pulseaudio 5.0 code, so I do my usual dance of making point edits in the Portfile (e.g. adding a patch file) and then rewinding the state in .macports.pulseaudio.state to be able to do a `port destroot` and have it do a build first. Here's what I see: {{{ #> port -nvko -d destroot pulseaudio +jack+openssl configure.optflags="-O3 -march=native -g" DEBUG: Changing to port directory: /Volumes/Debian/MP9/site- ports/audio/pulseaudio DEBUG: OS darwin/13.4.0 (Mac OS X 10.9) arch i386 DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: adding the default universal variant DEBUG: Executing variant x11 provides x11 DEBUG: Executing variant jack provides jack DEBUG: Executing variant openssl provides openssl DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Privilege de-escalation not attempted as not running as root. Error: Requested variants "+jack+openssl+x11" do not match original selection "+jack+openssl". Please use the same variants again, perform 'port clean pulseaudio' or specify the force option (-f). To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port pulseaudio failed Exit 1 }}} OK, let's add the (default!) X11 variant even though it's not listed as a variant in the state file: {{{ #> port -nvko -d destroot pulseaudio +jack+openssl+x11 configure.optflags="-O3 -march=native -g" DEBUG: Changing to port directory: /Volumes/Debian/MP9/site- ports/audio/pulseaudio DEBUG: OS darwin/13.4.0 (Mac OS X 10.9) arch i386 DEBUG: Reading variant descriptions from /opt/local/var/macports/sources/rsync.macports.org/release/ports/_resources/port1.0/variant_descriptions.conf DEBUG: adding the default universal variant DEBUG: Executing variant x11 provides x11 DEBUG: Executing variant jack provides jack DEBUG: Executing variant openssl provides openssl DEBUG: Running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Finished running callback portconfigure::add_automatic_compiler_dependencies DEBUG: Running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Finished running callback portbuild::add_automatic_buildsystem_dependencies DEBUG: Privilege de-escalation not attempted as not running as root. Error: Requested variants "+jack+openssl+x11" do not match original selection "+jack+openssl". Please use the same variants again, perform 'port clean pulseaudio' or specify the force option (-f). To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port pulseaudio failed Exit 1 }}} ...There's a hole in my bucket, dear Lisa... -- Ticket URL: <https://trac.macports.org/ticket/46731> MacPorts <https://www.macports.org/> Ports system for OS X