New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #11854 (closed defect: duplicate)

Opened 5 years ago

Last modified 17 months ago

BUG: wxwidgets leaves files behind after uninstall

Reported by: jann@… Owned by: mww@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jwa@…, eridius@…, markd@…, ryandesign@…
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

Changed 5 years ago by eridius@…

  • cc eridius@… added

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

Changed 5 years 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 5 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.

Changed 5 years 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 5 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.

Changed 5 years ago by nox@…

  • priority changed from Important to High
  • version 1.4.3 deleted

Changed 4 years ago by ryandesign@…

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

Changed 4 years ago by ryandesign@…

  • cc ryandesign@… added

Changed 3 years ago by macsforever2000@…

  • port set to wxwidgets26 wxwidgets

Changed 3 years ago by macsforever2000@…

  • port changed from wxwidgets26 wxwidgets to wxwidgets

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 3 years ago by toby@…

  • priority changed from High to Normal

Changed 17 months ago by jmr@…

  • status changed from new to closed
  • cc mww@… removed
  • resolution set to duplicate

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

Note: See TracTickets for help on using tickets.