Ticket #14412 (closed defect: fixed)
cracklib-words 1.2 Install error - malformed install path
|Reported by:||ged@…||Owned by:||macports-tickets@…|
|Keywords:||cracklib cracklib-words xinstall cannot stat||Cc:|
When installing the latest cracklib-words port, it built successfully, but failed in the install phase:
$ sudo port -v install cracklib-words ---> Fetching cracklib-words ---> cracklib-words-1.2.gz doesn't seem to exist in /opt/local/var/macports/distfiles/cracklib-words ---> Attempting to fetch cracklib-words-1.2.gz from http://downloads.sourceforge.net/cracklib % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 4350k 100 4350k 0 0 229k 0 0:00:18 0:00:18 --:--:-- 333k ---> Verifying checksum(s) for cracklib-words ---> Checksumming cracklib-words-1.2.gz ---> Extracting cracklib-words ---> Extracting cracklib-words-1.2.gz ---> Configuring cracklib-words ---> Building cracklib-words with target all ---> Staging cracklib-words into destroot [...] ./var/macports/receipts missing (created) ./var/macports/registry missing (created) ./www missing (created) xinstall: mkdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cracklib-words/work/destroot/opt/local/share/dict Error: Target org.macports.destroot returned: xinstall: Cannot stat: /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_security_cracklib-words/work/cracklib-words-1.2cracklib-words, No such file or directory Warning: the following items did not execute (for cracklib-words): org.macports.activate org.macports.destroot org.macports.install Error: Status 1 encountered during processing.
This is due to a path in the Portfile in the invocation of xinstall missing a directory separator, and can be fixed with the attached patch.
Note: See TracTickets for help on using tickets.