Opened 18 years ago

Closed 14 years ago

#11854 closed defect (duplicate)

BUG: wxwidgets leaves files behind after uninstall

Reported by: roederja Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jyrkiwahlstedt, kballard (Lily Ballard), markd@…, ryandesign (Ryan Carsten Schmidt)
Port: wxwidgets

Description

The wxwdigets port seems to install files outside of destroot. At least it leaves files behind after uninstall. One example of such a file is wx-config.

Change History (13)

comment:1 Changed 18 years ago by kballard (Lily Ballard)

Cc: eridius@… added

Are you sure it doesn't simply create that file during usage?

comment:2 Changed 18 years ago by roederja

Well I've never run a wxwidget application as root, so that seems unlikely. It might be a weird db bug, though. You can simply check by uninstalling wxwidget and installing wxwidget26 or vice versa.

comment:3 Changed 17 years ago by markd@…

Cc: markd@… added

The problem can be seen by installing with the -t option. You get: "Command output: ln: wx-config: Permission denied"

system "cd ${destroot}${prefix}/bin && \

ln -sf ${prefix}/lib/wx/config/mac-unicode-release-2.8 wx-config"

This command writes directly to ${prefix} during destroot.

comment:4 Changed 17 years ago by jyrkiwahlstedt

How does 'ln' work? The first argument is source, the second is target, hence the command shown does not write to ${prefix}, it just creates a name wx-config in ${destroot}${prefix}/bin containing ${prefix}. However, wx-config should be removed, because it is in the filemap. There may be problems due to several wxWidgets ports, though personally I have not experienced any so far.

comment:5 Changed 17 years ago by markd@…

Yes I see what you mean. I wonder why port errors using '-t'? Also, I had no other 'wx' ports installed.

comment:6 Changed 17 years ago by nox@…

Priority: ImportantHigh
Version: 1.4.3

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

Perhaps this is a duplicate of #11759. (Perhaps you did "sudo port uninstall wxwidgets" instead of "sudo port uninstall wxWidgets"?)

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

Cc: ryandesign@… added

comment:9 Changed 16 years ago by mf2k (Frank Schima)

Port: wxwidgets26 wxwidgets added

comment:10 Changed 16 years ago by mf2k (Frank Schima)

Port: wxwidgets26 removed

comment:11 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:12 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:13 Changed 14 years ago by jmroot (Joshua Root)

Cc: mww@… removed
Resolution: duplicate
Status: newclosed

Assuming this was a dupe of #11759. Works fine now anyway.

Note: See TracTickets for help on using tickets.