Projects
New Ticket     Wiki     Browse Source     Timeline     Roadmap     Bug Reports     Search

Ticket #11854 (new defect)

Opened 17 months ago

Last modified 6 weeks ago

BUG: wxwidgets leaves files behind after uninstall

Reported by: jann@… Owned by: mww@…
Priority: High Milestone: Port Bugs
Component: ports Version:
Keywords: Cc: mww@…, jwa@…, eridius@…, markd@…, ryandesign@…
Port:

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

Changed 17 months ago by eridius@…

  • cc eridius@… added

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

Changed 17 months ago by jann@…

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.

Changed 15 months 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.

Changed 15 months ago by jwa@…

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.

Changed 15 months ago by markd@…

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

Changed 13 months ago by nox@…

  • priority changed from Important to High
  • version 1.4.3 deleted

Changed 6 weeks ago by ryandesign@…

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

Changed 6 weeks ago by ryandesign@…

  • cc ryandesign@… added
Note: See TracTickets for help on using tickets.