Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 243446

Summary: x11-libs/wxGTK-2.8.8.1 collides with symlinks created by eselect-wxwidgets
Product: Gentoo Linux Reporter: David Leverton <levertond>
Component: [OLD] LibraryAssignee: Gentoo wxWidgets project <wxwidgets>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description David Leverton 2008-10-23 17:58:42 UTC
x11-libs/wxGTK-2.8.8.1 attempts to install the files
    /usr/share/bakefile/presets/wx.bkl
    /usr/share/bakefile/presets/wx_unix.bkl
    /usr/share/bakefile/presets/wx_win32.bkl
which are created by eselect wxwidgets as symlinks to their versioned equivalents.

This appears to be caused by the following difference between wxGTK-2.8.4-collision.patch and wxGTK-2.8.8-collision.patch:

        $(INSTALL_DIR) $(DESTDIR)$(datadir)/bakefile/presets
--      (cd $(srcdir)/build/bakefiles/wxpresets/presets/ ; $(INSTALL_DATA)  wx.bkl wx_unix.bkl wx_win32.bkl $(DESTDIR)$(datadir)/bakefile/presets)
+       (cd $(srcdir)/build/bakefiles/wxpresets/presets ; $(INSTALL_DATA)  wx.bkl wx_unix.bkl wx_win32.bkl $(DESTDIR)$(datadir)/bakefile/presets)
 +      (cd $(srcdir)/build/bakefiles/wxpresets/presets/ ; for i in wx.bkl wx_unix.bkl wx_win32.bkl; \
 +      do $(INSTALL_DATA)  $$i $(DESTDIR)$(datadir)/bakefile/presets/wx$(WX_RELEASE_NODOT)$${i##wx} ; done)
        $(INSTALL_DIR) $(DESTDIR)$(libdir)/wx/include/$(TOOLCHAIN_FULLNAME)/wx

Notice that the removal of the installation of the unversioned files has itself been removed from the newer patch, presumably inadvertently when updating it to account for the missing trailing slash.
Comment 1 Ryan Hill (RETIRED) gentoo-dev 2008-10-27 07:26:54 UTC
looks like portage doesn't do config-protect on symlinks, which is why i don't hit this.  will fix tomorrow.
Comment 2 Ryan Hill (RETIRED) gentoo-dev 2008-10-28 22:52:35 UTC
Fixed, thanks.