Opened 16 years ago

Closed 14 years ago

#13883 closed defect (wontfix)

privoxy-3.0.6: install fails with "no files matched glob pattern" when prefix is /usr/local

Reported by: cilly@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: privoxy

Description (last modified by jmpp@…)

port install privoxy socks5
--->  Fetching privoxy
--->  Verifying checksum(s) for privoxy
--->  Extracting privoxy
--->  Applying patches to privoxy
--->  Configuring privoxy
--->  Building privoxy with target all
--->  Staging privoxy into destroot
Error: Target org.macports.destroot returned: no files matched glob pattern "/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_privoxy/work/destroot/usr/local/var/log/privoxy/*"
Error: Status 1 encountered during processing.

Change History (11)

comment:1 Changed 16 years ago by jmpp@…

Description: modified (diff)
Milestone: Port Bugs
Priority: HighNormal

comment:2 Changed 16 years ago by cilly@…

Now I get the following error:

sudo port -f install privoxy
--->  Staging privoxy into destroot
Error: Target org.macports.destroot returned: error renaming 

"/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_privoxy/work/destroot/usr/local/etc/privoxy/config" 

to 

"/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_privoxy/work/destroot/usr/local/etc/privoxy/config-dist": 

file already exists

Error: Status 1 encountered during processing.

comment:3 Changed 16 years ago by cilly@…

bump

comment:4 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

It installs just fine for me on Mac OS X 10.4.11 with Xcode 2.4.1 and MacPorts 1.7.0 from trunk on a Core 2 Duo MacBook Pro. Could you please let us know what version of Mac OS X, Xcode and MacPorts you have, and whether you're on an Intel or PowerPC Mac.

I wonder why it's talking about /usr/local. Is that your MacPorts prefix? If so, that is extremely not recommended and you should reinstall MacPorts in a different prefix. If that's not your prefix, then something is strange... is your ports tree up to date? Try again after "sudo port selfupdate" and "sudo port clean --work privoxy".

comment:5 Changed 16 years ago by cilly@…

System here: Leopard, latest Xcode, macports 1.6.0. PPC

May be it is fixed in macports 1.7.0 trunk, I don't know. I do not test unstable versions.

/usr/local is my macports prefix and I know what I am doing.

I can't use port selfupdate, otherwise the port binary would link against all stuff in /usr/local. A pretend-option would be nice to have, though.

comment:6 Changed 16 years ago by cilly@…

additional info:

It is not a compile-error. It has something to do with the renaming issue.

comment:7 Changed 15 years ago by cilly@…

# port install privoxy
--->  Fetching privoxy
--->  Attempting to fetch privoxy-3.0.10-stable-src.tar.gz from http://mesh.dl.sourceforge.net/ijbswa
--->  Verifying checksum(s) for privoxy
--->  Extracting privoxy
--->  Configuring privoxy
--->  Building privoxy
--->  Staging privoxy into destroot
Error: Target org.macports.destroot returned: no files matched glob pattern "/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_privoxy/work/destroot/usr/local/var/log/privoxy/*"
Error: Status 1 encountered during processing.

still not working

macports Version: 1.710 privoxy-3.0.10

comment:8 Changed 15 years ago by cilly@…

Creating logfiles in /usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_privoxy/work/destroot/var/log/privoxy
rm -f config.base config.tmp
Privoxy 3.0.10 stable installation succeeded!
The Privoxy configuration files have been installed in /usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_privoxy/work/destroot/usr/local/etc/privoxy
DEBUG: Executing proc-post-org.macports.destroot-destroot-0
xinstall: mkdir /usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_privoxy/work/destroot/usr/local/var/run
Error: Target org.macports.destroot returned: no files matched glob pattern "/usr/local/var/macports/build/_usr_local_var_macports_sources_rsync.macports.org_release_ports_www_privoxy/work/destroot/usr/local/var/log/privoxy/*"
Warning: the following items did not execute (for privoxy): org.macports.activate org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

comment:9 Changed 15 years ago by afb@…

When prefix is /usr/local, the logfiles are kept in /var/log/privoxy...

So you need to modify destroot.keepdirs accordingly, or set up symlinks.

comment:10 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:11 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Port: privoxy added
Resolution: wontfix
Status: newclosed
Summary: www/privoxy-3.0.6: install fails with "no files matched glob pattern"privoxy-3.0.6: install fails with "no files matched glob pattern" when prefix is /usr/local

Current versions of MacPorts prevent you from installing with prefix set to /usr/local so this is no longer an issue.

Note: See TracTickets for help on using tickets.