Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 19 Sep 2008 08:36:37 -0600
From:      John Hein <jhein@timing.com>
To:        Ion-Mihai Tetcu <itetcu@freebsd.org>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: x11-themes/linux-hicolor-icon-theme fails to install if sysutils/linux-nero
Message-ID:  <18643.47349.732101.661496@gromit.timing.com>
In-Reply-To: <20080919102216.389c930f@it.buh.tecnik93.com>
References:  <20080919102216.389c930f@it.buh.tecnik93.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Ion-Mihai Tetcu wrote at 10:22 +0300 on Sep 19, 2008:
 > While trying to portupgrade acroreader I run into the following problem:
 > 
 > [...]
 > ===>   acroread8-8.1.2_2 depends on file: /usr/local/lib/linux-nvu/libgtkembedmoz.so - not found
 > ===>    Verifying reinstall for /usr/local/lib/linux-nvu/libgtkembedmoz.so in /usr/ports/www/linux-nvu
 > [...]
 > ===>  Installing for linux-nvu-1.0
 > [...]
 > ===>   linux-nvu-1.0 depends on file: /compat/linux/usr/share/icons/hicolor/index.theme - not found
 > ===>    Verifying reinstall for /compat/linux/usr/share/icons/hicolor/index.theme in /usr/ports/x11-themes/linux-hicolor-icon-theme
 > [...]
 > 
 > ===>  Installing for linux-hicolor-icon-theme-0.5_1
 > ===>   linux-hicolor-icon-theme-0.5_1 depends on file: /usr/local/share/icons/hicolor/index.theme - found
 > ===>   linux-hicolor-icon-theme-0.5_1 depends on file: /compat/linux/bin/sh - found
 > ===>   Generating temporary packing list
 > install -d /compat/linux/usr/share/icons
 > /bin/ln -fs /usr/local/share/icons/hicolor /compat/linux/usr/share/icons
 > ln: /compat/linux/usr/share/icons/hicolor: Operation not permitted
 > *** Error code 1
 > 
 > 
 > This happens because I already have
 > /compat/linux/usr/share/icons/hicolor with sysutils/linux-nero's icons.
 > 
 > Installing x11-themes/linux-hicolor-icon-theme first then
 > sysutils/linux-nero's "fixes" the problem.
 > 
 > While I'm not sure this is the right fix, making sysutils/linux-nero's
 > RUN_DEPEND on x11-themes/linux-hicolor-icon-theme will fix this.

Won't that cause the linux-nero port to install it's icon files into
/usr/local/share/icons (through the sym link), but leave the plist
relative to LINUXBASE?

The problem is that linux-hicolor-icon-theme assumes it owns
everything under share/icons/hicolor.

Has anyone ever considered using unionfs for /compat/linux/usr/share?

One problem I can see is that 'share' is not the only directory
that should be shared.  etc?

I'm not sure unionfs is up to the job, but I'm wondering if any has
considered it or even tried it.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?18643.47349.732101.661496>