#43465: libusb: Cannot mkdir: Operation not permitted -------------------------+-------------------------------- Reporter: jmailman@… | Owner: macports-tickets@… Type: defect | Status: closed Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: invalid | Keywords: Port: libusb | -------------------------+-------------------------------- Changes (by ryandesign@…): * cc: rwilcox@…, toby@…, ryandesign@… (added) * status: new => closed * resolution: => invalid Comment: Has duplicate #43470. The log says: {{{ :debug:extract Executing command line: cd "/opt/local/var/macports/build/_private_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libusb/libusb/work" && /usr/bin/bzip2 -dc '/opt/local/var/macports/distfiles/libusb/libusb-1.0.18.tar.bz2' | /usr/bin/gnutar --no-same-owner -xf - :info:extract /usr/bin/gnutar: libusb-1.0.18: Cannot mkdir: Operation not permitted [snip] }}} We can see from the "_private_opt" portion of the above path that your opt is not at the root of your hard drive but inside the private folder. This should not be, and could have occurred if years ago you installed a version of the Cisco VPN client. We used to have a FAQ entry about this: wiki:FAQ?version=1#IjustinstalledMacPorts1.2fromthe.dmgandIseemtohavelostallmyinstalledportsakaCiscoVPNatemyMacPorts but it was deleted many years ago because Cisco fixed the problem in later versions of their installer. Please remove the /opt symlink pointing to /private/opt and put /private/opt back at /opt where it belongs. -- Ticket URL: <https://trac.macports.org/ticket/43465#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X