Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 03 Apr 2009 13:10:13 -0400
From:      Richard Kuhns <rjk@wintek.com>
To:        Boris Samorodov <bsam@ipt.ru>
Cc:        freebsd-emulation@freebsd.org, Andriy Gapon <avg@icyb.net.ua>, freebsd-ports@freebsd.org
Subject:   Re: USE_LINUX_APPS=scimgtk vs OVERRIDE_LINUX_BASE_PORT=f7
Message-ID:  <49D642F5.5080809@wintek.com>
In-Reply-To: <03779878@bb.ipt.ru>
References:  <49D6180F.5@icyb.net.ua> <69851296@bb.ipt.ru>	<49D61C8E.1030806@icyb.net.ua> <03779878@bb.ipt.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
Boris Samorodov wrote:
> On Fri, 03 Apr 2009 17:26:22 +0300 Andriy Gapon wrote:
>> on 03/04/2009 17:19 Boris Samorodov said the following:
>>> On Fri, 03 Apr 2009 17:07:11 +0300 Andriy Gapon wrote:
>>>
>>>> For instance: acroread8 has USE_LINUX_APPS=scimgtk.
>>>> bsd.linux-apps.mk translates this to dependency on libscim-1.0.so.8.1.0.
>>>> But I have:
>>>> $ pkg_which /usr/compat/linux/usr/lib/libscim-1.0.so.8.1.1
>>>> linux-scim-libs-fc7-1.4.5_2
>>>> And yes, I have  OVERRIDE_LINUX_BASE_PORT=f7.
>>> Please, read my HEADSUP message from April, 01. Well, it was not
>>> a joke. ;-)
> 
>> Could you please explain it to me?
> 
> The variable OVERRIDE_LINUX_BASE_PORT should mean override linux
> base port. Hrs@ (as a maintainer of textproc/linux-scim-libs)
> did his best to give everyone an opportunity to use new linux
> libs when there was no other linux infrastructure ports.
> 
>> I didn't see anything related to f7 in the message and I don't plan to upgrade to
>> f8 soon.
> 
> As for ports, there is no difference between f7 and f8 ones. Except
> f8 linux infrastructure ports are fully presented at the portstree.
> 
>> So how am I affected by your changes?
> 
> You are affected by a side effect of the fact that hrs@ gave you
> an opportunity to use newer linux libs when there was no other
> infrastructure ports. And he decided (it was the only one right
> decision) to use OVERRIDE_LINUX_BASE_PORT to distinguish between
> different versions of ports/packages.
> 

So if I'm reading this correctly, if I want to upgrade acroread8 I'll need to
delete all linux ports and reinstall, even though I'm running -f8? I've had no
problems until trying to upgrade acroread8, which failed as described above.
When I added OVERRIDE_LINUX_NON_BASE_PORTS=f8 to /etc/make.conf and tried to
upgrade, I end up with multiple versions of several linux libraries until I hit
the following error:

===>  Checking if x11-fonts/linux-f8-fontconfig already installed
cd /usr/ports/x11-fonts/linux-f8-fontconfig/work && /usr/bin/find * -type d
-exec /bin/mkdir -p "/compat/linux/{}" \;
cd /usr/ports/x11-fonts/linux-f8-fontconfig/work && /usr/bin/find * ! -type d |
/usr/bin/cpio -pm -R root:wheel /compat/linux
/usr/bin/cpio: /compat/linux/usr/lib/libfontconfig.so.1 not created: newer or
same age version exists
/usr/bin/cpio: /compat/linux/usr/lib/libfontconfig.so.1.2.0 not created: newer
or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/doc/fontconfig-2.4.2/AUTHORS not created:
newer or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/doc/fontconfig-2.4.2/COPYING not created:
newer or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/doc/fontconfig-2.4.2/README not created:
newer or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/doc/fontconfig-2.4.2/fontconfig-user.html
not created: newer or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/doc/fontconfig-2.4.2/fontconfig-user.txt
not created: newer or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/man/man1/fc-cat.1.gz not created: newer
or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/man/man1/fc-list.1.gz not created: newer
or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/man/man1/fc-match.1.gz not created: newer
or same age version exists
/usr/bin/cpio: /compat/linux/usr/share/man/man5/fonts-conf.5.gz not created:
newer or same age version exists
42 blocks
ln: /compat/linux/etc//fonts: File exists
*** Error code 1

Stop in /usr/ports/x11-fonts/linux-f8-fontconfig.

	- Rich


-- 
Richard Kuhns                   Wintek Corporation
E-mail: rjk@wintek.com          427 N 6th Street STE C
Receptionist: 765-742-8428      Lafayette, IN 47901-2211
Direct Line:  765-269-8541      United States of America



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