From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Cc: Michael Shigorin <mike@osdn.org.ua>
Subject: Re: [devel] %buildroot check
Date: Wed, 13 Oct 2010 23:52:39 +0300
Message-ID: <20101013205238.GA3645@dad.imath.kiev.ua> (raw)
In-Reply-To: <20101013202627.GW24246@osdn.org.ua>
On Wed, Oct 13, 2010 at 11:26:28PM +0300, Michael Shigorin wrote:
> > > > Уважаемые коллеги, обращаю ваше внимание, что заново включен
> > > > тест на упоминания %buildroot.
> > например, lasi.pc файл вышел крив:
> > ------ Файл: lasi.pc ------------------
> > libdir=/usr/src/tmp/liblasi-buildroot/usr/lib64
> > > В спеке:
> > > %build
> > > cmake \
> > > -DCMAKE_INSTALL_PREFIX=%buildroot%_prefix \
> > > -DCMAKE_INSTALL_LIBDIR=%buildroot%_libdir
> > Надо пользоваться %cmake вместо голого cmake. флаги с
> > %buildroot убрать, а для install воспользоваться DESTDIR
>
> Хм. Огрёб CMAKE_INSTALL_LIBDIR: /usr/lib
> и соответственно установку в /usr/lib вместо /usr/lib64.
> cmake всегда такое или где учиться его готовить?
в случае с liblaci CMAKE_INSTALL_LIBDIR -- это самодеятельность
кривого модуля в исходниках, cmake/modules/instdirs.cmake,
откуда только его апстрим откопал :(
Т.е. простейший костыль имеет вид
-DCMAKE_INSTALL_LIBDIR=%_libdir
не
-DCMAKE_INSTALL_LIBDIR=%buildroot%_libdir
--
Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine
next prev parent reply other threads:[~2010-10-13 20:52 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-08-19 19:33 Igor Vlasenko
2010-08-19 20:44 ` Michael Shigorin
2010-08-20 5:23 ` Igor Vlasenko
2010-10-13 20:26 ` Michael Shigorin
2010-10-13 20:28 ` Michael Shigorin
2010-10-14 5:41 ` REAL
2010-10-13 20:52 ` Igor Vlasenko [this message]
2010-10-13 21:22 ` Michael Shigorin
2010-08-23 4:28 ` Ildar Mulyukov
2010-08-23 6:44 ` Igor Vlasenko
2010-08-23 16:00 ` Vitaly Lipatov
2010-08-24 4:04 ` Ildar Mulyukov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101013205238.GA3645@dad.imath.kiev.ua \
--to=vlasenko@imath.kiev.ua \
--cc=devel@lists.altlinux.org \
--cc=mike@osdn.org.ua \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git