From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RdO8P-00011f-AC for garchives@archives.gentoo.org; Wed, 21 Dec 2011 15:31:13 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6939E21C20A; Wed, 21 Dec 2011 15:30:54 +0000 (UTC) Received: from mail-wi0-f181.google.com (mail-wi0-f181.google.com [209.85.212.181]) by pigeon.gentoo.org (Postfix) with ESMTP id 619E021C207 for ; Wed, 21 Dec 2011 15:30:25 +0000 (UTC) Received: by wibhq2 with SMTP id hq2so2359358wib.40 for ; Wed, 21 Dec 2011 07:30:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=XdHKbsS2oF+AtAqg8Y0/AfOY6UPeyRoAVwtxuwiQwvk=; b=GMGQ1QHZQvTQzEh4TBNuYs0vEyqRNUn93JmJVq+xWgbfTV2YKJ2UWL/C2M6EkxTqKb hmJPgI5snRV4s3Zk26MKhEvPPdNcxO6JN9NITsH8sYAa4NopD32lIUHBn5DW0jhFK4MM BPSItecnRA48PIFegqPFrOoRIe0pcFN0Jle9A= Received: by 10.180.106.165 with SMTP id gv5mr15062513wib.18.1324481424627; Wed, 21 Dec 2011 07:30:24 -0800 (PST) Received: from [192.168.1.2] (159-205-152-233.adsl.inetia.pl. [159.205.152.233]) by mx.google.com with ESMTPS id fg15sm6234270wbb.7.2011.12.21.07.30.22 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 21 Dec 2011 07:30:23 -0800 (PST) Message-ID: <4EF1FB8C.5000503@gmail.com> Date: Wed, 21 Dec 2011 16:30:20 +0100 From: Kacper Kowalik User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:8.0) Gecko/20111113 Thunderbird/8.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-science@lists.gentoo.org Reply-to: gentoo-science@lists.gentoo.org MIME-Version: 1.0 To: gentoo-science@lists.gentoo.org Subject: Re: [gentoo-science] sci-mathematics/reduce on amd64 (fwd) References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 02d65a09-89ae-44a8-9139-b12bb2806707 X-Archives-Hash: 6cc18cec82e9e721af65890e6e016571 On 21.12.2011 15:03, Andrey G. Grozin wrote: > On Wed, 21 Dec 2011, Kacper Kowalik wrote: >>> Could somebody with amd64 check if sci-mathematics/reduce-20110414 >>> compiles on this arch? You'll have to keyword it. Upstream says it >>> should compile. >> >> It does and passes test suite. Though it doesn't respect libdir: >> >> /dev/shm/portage/sci-mathematics/reduce-20110414/image/usr/lib/reduce/reduce.fonts/README >> >> >> Judging by the content it shouldn't be libdir in the first place, rather >> /usr/share... > Many thanks for checking. > > csl-based reduce, and csl, are really strange. reduce is a compiled > binary, and it needs to have reduce.img *in the same directory* (same > for csl). Both of them also want to see reduce.doc and reduce.fonts also > in the same directory, That's a snippet from a build log: gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/sci-mathematics/reduce-20110414/work/reduce-20110414/csl/cslbase -Dfontsdir=reduce.fonts -I/usr/include/freetype2 -DBINDIR=/usr/local/bin -DPKGDATADIR=/usr/local/share/reduce -march=core2 -mtune=generic -O2 -pipe -I/usr/include/freetype2 -fno-strict-aliasing -O2 -Wall -MT arith01.o -MD -MP -MF .deps/arith01.Tpo -c -o arith01.o /var/tmp/portage/sci-mathematics/reduce-20110414/work/reduce-20110414/csl/cslbase/arith01.c I haven't looked at the code but I have strong feeling that precompiler directives: fontsdir BINDIR PKGDATADIR may help you ;) It looks that removing 'local' is all you need. Then place everything which is not a binary and not a lib in usr/share/reduce > Should it be /usr/lib64/reduce on amd64? In principle you should always use /usr/$(get_libdir) from mutlilib.eclass. Cheers, Kacper