Bug 231694

Summary: graphics/mesa-dri: uninstall error with portupgrade
Product: Ports & Packages Reporter: hardy.schumacher
Component: Individual Port(s)Assignee: Bryan Drewery <bdrewery>
Status: New ---    
Severity: Affects Some People CC: arrowd, me, x11, zeising
Priority: --- Flags: bugzilla: maintainer-feedback? (x11)
Version: Latest   
Hardware: amd64   
OS: Any   
See Also: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237069
Bug Depends on: 223943    
Bug Blocks:    

Description hardy.schumacher 2018-09-24 20:36:54 UTC
Upgrading of port [graphics/mesa-dri] from v18.1.8 to v18.1.8_1 fails on deinstallation task.

Following error could be detected:
--->  Deinstalling 'mesa-dri-18.1.8'
--->  Preserving /usr/local/lib/libXvMCr600.so.1 as /usr/local/lib/compat/pkg/libXvMCr600.so.1
cp: symlink: libXvMCr600.so.1.0.0: File exists
Copy failed!
Comment 1 Niclas Zeising freebsd_committer 2018-09-26 09:38:57 UTC
Are you using portmaster or something similar?
Comment 2 hardy.schumacher 2018-09-26 21:10:50 UTC
Error occurs on using portupgrade.
Comment 3 Jan Beich freebsd_committer 2018-10-28 05:02:32 UTC
Probably a bug in portupgrade --preserve. I don't see anything wrong with symlinks created by mesa-dri.