Opened 7 years ago

Closed 7 years ago

#56194 closed defect (fixed)

PEV looks for data on /usr/local, not from /opt/local

Reported by: Lisias (Lisias) Owned by: g5pw (Aljaž Srebrnič)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: pev

Description

PEV is looking for plugins on /usr/local/lib/pev/plugins. This is an error, as MacPorts uses /opt/local as prefix.

How to reproduce:

macmini:~ su$ sudo port install pev
--->  Computing dependencies for pev
--->  Fetching archive for pev
--->  Attempting to fetch pev-0.80_0.darwin_16.x86_64.tbz2 from https://packages.macports.org/pev
--->  Attempting to fetch pev-0.80_0.darwin_16.x86_64.tbz2 from http://ywg.ca.packages.macports.org/mirror/macports/packages/pev
--->  Attempting to fetch pev-0.80_0.darwin_16.x86_64.tbz2 from http://sea.us.packages.macports.org/macports/packages/pev
--->  Fetching distfiles for pev
--->  Verifying checksums for pev
--->  Extracting pev
--->  Applying patches to pev
--->  Configuring pev
--->  Building pev
--->  Staging pev into destroot
--->  Installing pev @0.80_0
--->  Activating pev @0.80_0
--->  Cleaning pev
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
macmini:~ su$ peres

Current (erroneous) result:

plugins: could not open directory '/usr/local/lib/pev/plugins' -- No such file or directory

Expected result:

peres should not exit in error.

Change History (4)

comment:1 Changed 7 years ago by kencu (Ken)

Issue is here, it appears:

src/config.c
58:#define DEFAULT_PLUGINS_PATH "/usr/local/lib/pev/plugins"

comment:2 Changed 7 years ago by kencu (Ken)

Owner: set to g5pw
Port: pev added; PEV removed
Status: newassigned

comment:4 Changed 7 years ago by ken-cunningham-webuse

Resolution: fixed
Status: assignedclosed

In e3efa09e65164511e3dd8516856d96cdbd6a1021/macports-ports:

pev: fix hard-coded library path

also errors intermittently when building parallel
so disable parallel building
bump revision

closes: #56194

Note: See TracTickets for help on using tickets.