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 1QMPV2-0007OC-AV for garchives@archives.gentoo.org; Tue, 17 May 2011 19:00:08 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20CF81C00F; Tue, 17 May 2011 18:59:54 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id C10211C00F for ; Tue, 17 May 2011 18:59:54 +0000 (UTC) Received: from [192.168.1.3] (ppp85-141-142-103.pppoe.mtu-net.ru [85.141.142.103]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: pva) by smtp.gentoo.org (Postfix) with ESMTPSA id 264FB1B4030; Tue, 17 May 2011 18:59:52 +0000 (UTC) Subject: Re: [gentoo-devhelp] Re: How do I make scons use correct CFLAGS/CXXFLAGS/LDFLAGS? From: Peter Volkov To: Nikos Chantziaras Cc: gentoo-devhelp@lists.gentoo.org In-Reply-To: References: <20110517051428.GL31702@ohnopublishing.net> <1305614715.23203.4.camel@tablet> <1305622668.23203.21.camel@tablet> Content-Type: text/plain; charset="UTF-8" Date: Tue, 17 May 2011 22:58:59 +0400 Message-ID: <1305658739.19924.2.camel@tablet> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Development-related help X-BeenThere: gentoo-devhelp@gentoo.org X-BeenThere: gentoo-devhelp@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 9bfa7f54dc500c09f5ead1e6ecaefb01 =D0=92 =D0=92=D1=82=D1=80, 17/05/2011 =D0=B2 18:40 +0300, Nikos Chantziar= as =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > On 05/17/2011 11:57 AM, Peter Volkov wrote: > > =D0=92 =D0=92=D1=82=D1=80, 17/05/2011 =D0=B2 10:18 +0300, Nikos Chant= ziaras =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >> On 05/17/2011 09:45 AM, Peter Volkov wrote: > >>> =D0=92 =D0=92=D1=82=D1=80, 17/05/2011 =D0=B2 08:23 +0300, Nikos Cha= ntziaras =D0=BF=D0=B8=D1=88=D0=B5=D1=82: > >>>> scons: *** Path for option install_path does not exist: > >>>> /var/tmp/portage/dev-util/gpuocelot-9999/image > >>> > >>> Please, post full ebuild. > > > >> src_compile() { > >> tc-export CC CXX > >> escons install_path=3D"${D}"/usr test_level=3Dnone || die > > > > You don't need install_path here, only in src_install(). >=20 > Removing it brings us back to the original problem: >=20 > g++ -o .release_build/OcelotConfig -L/usr/lib64/llvm -lpthread -lffi=20 > -ldl -lm .release_build/ocelot/tools/OcelotConfig.o -L/usr/lib=20 > -L/usr/lib64/llvm -L. -locelot > /usr/lib/gcc/x86_64-pc-linux-gnu/4.5.2/../../../../x86_64-pc-linux-gnu/= bin/ld:=20 > cannot find -locelot > collect2: ld returned 1 exit status Looks like this is bug in build system not in ebuild. Try to build manually and if that fails then either fix it or report upstream. -- Peter.