From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-3.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham version=3.2.5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=eIFBZscVNHJ1Pp7C/1kQT6I7L37UO41lc8wQNBW6vHo=; b=r0Iv2bDbzPGG6ycIKyfj4Fy0/TRx+enctryycRyE3lU9umgKOuwU0ec0MnZZvAEKMH OW1kh4y6E1aAdAoTc2a+escPVN0IxXyGhmtn8/yZ+KQ8bnOEVFcjJP7QoIdSlVjdf/7l OQZ0UnRDRiUtRUoAtFfHnCvrFUIzuSNu1txDRV9v+pf//bBFiza6jy9ye9PdO01WbqwK QrnWRrx9A4OMS71AuABR1FxuJBn99pDbIInYMc74hdhwSxSyW1/smGSz2gE7kg1iRQha clsoohIsmRGYZsNXZyMfl/v3SA81j/Mk3/9+H9m4QHYw1thqh5uuyQF19unW8ojYyuM0 VcIw== X-Received: by 10.112.181.36 with SMTP id dt4mr43621lbc.46.1375875195169; Wed, 07 Aug 2013 04:33:15 -0700 (PDT) Message-ID: <52023078.2040302@gmail.com> Date: Wed, 07 Aug 2013 14:33:12 +0300 From: Viacheslav Dubrovskyi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130630 Thunderbird/17.0.7 MIME-Version: 1.0 To: ALT Linux Team development discussions References: <20130805123100.4A5FCD7E06F@ssh.git.altlinux.org> <520179E9.5060201@gmail.com> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [devel] GraphicsMagick-1.3.18-alt1: Sisyphus/x86_64 test rebuild failed [7] X-BeenThere: devel@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Team development discussions List-Id: ALT Linux Team development discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Aug 2013 11:33:23 -0000 Archived-At: List-Archive: List-Post: 07.08.2013 09:51, Andrey Liakhovets wrote: > В чруте за 20130423 было так: > ----------------------------- > $ pkg-config freetype2 --variable exec_prefix > /usr > из libfreetype-devel-2.4.11-alt1.1 (/usr/lib/pkgconfig/freetype2.pc) > > А сейчас стало так: > ------------------- > $ pkg-config freetype2 --variable exec_prefix > "/usr" > из libfreetype-devel-2.4.12-alt1 (/usr/lib/pkgconfig/freetype2.pc) > > $ diff -Nau {g,G}/chroot/usr/lib/pkgconfig/freetype2.pc > --- g/chroot/usr/lib/pkgconfig/freetype2.pc 2013-03-19 18:56:06.000000000 +0400 > +++ G/chroot/usr/lib/pkgconfig/freetype2.pc 2013-06-15 20:31:20.000000000 +0400 > @@ -1,11 +1,11 @@ > -prefix=/usr > -exec_prefix=/usr > -libdir=/usr/lib > -includedir=/usr/include > +prefix="/usr" > +exec_prefix="/usr" > +libdir="/usr/lib" > +includedir="/usr/include" > > Name: FreeType 2 > Description: A free, high-quality, and portable font engine. > -Version: 16.0.10 > +Version: 16.1.10 > Requires: > Libs: -lfreetype > Libs.private: -lz > > Дальше получаем: > ---------------- > $ /usr/bin/freetype-config --exec-prefix > "/usr" > > $ grep -r freetype_exec_prefix . > ./configure: freetype_exec_prefix=`${freetype_config} --exec-prefix` > ./configure: LDFLAGS="$LDFLAGS -L${freetype_exec_prefix}/lib" > ./configure.ac: freetype_exec_prefix=`${freetype_config} --exec-prefix` > ./configure.ac: LDFLAGS="$LDFLAGS -L${freetype_exec_prefix}/lib" > > $ grep -r GM_BUILD_LDFLAGS . > ./config.status:D["GM_BUILD_LDFLAGS"]=" \"-L\"/usr\"/lib -L/usr/lib\"" > ./config.log:#define GM_BUILD_LDFLAGS "-L"/usr"/lib -L/usr/lib" > ./configure:#define GM_BUILD_LDFLAGS "${LDFLAGS}" > ./magick/magick_config.h:#define GM_BUILD_LDFLAGS "-L"/usr"/lib -L/usr/lib" > ./magick/magick_config.h.in:#undef GM_BUILD_LDFLAGS > ./magick/command.c:#if defined(GM_BUILD_LDFLAGS) > ./magick/command.c: (void) fprintf(stdout," LDFLAGS = %.1024s\n", GM_BUILD_LDFLAGS); > ./magick/command.c:#endif /* defined(GM_BUILD_LDFLAGS) */ > ./configure.ac:AC_DEFINE_UNQUOTED(GM_BUILD_LDFLAGS,"${LDFLAGS}",[LDFLAGS used for linking]) > > С дополнительными " везде всё хорошо (вроде бы), кроме magick/command.c, > где получаем внутри GM_BUILD_LDFLAGS вместо одной строки - деление > строки на неизвестную переменную usr и т.д.:) > > Не знаю, как правильно исправлять. > По-хорошему, в C с такими #define надо бы поаккуратнее. > Но по-быстрому можно поправить в /usr/lib/pkgconfig/freetype2.pc . Спасибо большое! Никогда бы сам не раскопал. Теперь такой вопрос: Это бага в freetype2? -- WBR, Viacheslav Dubrovskyi