ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Pavlov Konstantin <thresh@altlinux.ru>
To: devel@lists.altlinux.org
Subject: [devel] fixup-pkgconfig падает на правильной конструкции в .pc
Date: Fri, 4 Jul 2008 00:19:09 +0400
Message-ID: <20080703201909.GC18715@cryo.net.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 1014 bytes --]

Всем привет.

[builder@hasher pkgconfig]$ cat vlc-plugin.pc 
prefix=/usr
exec_prefix=/usr
libdir=/usr/lib
includedir=/usr/include

Name: VLC plugin API
Description: VLC media player plugin interface
Version: 0.9.0-test1
Cflags: -I${includedir} -I${includedir}/vlc/plugins \
    -D_FILE_OFFSET_BITS=64 \
    -D__USE_UNIX98 \
    -D_LARGEFILE64_SOURCE \
     \
    -D_REENTRANT \
    -D_THREAD_SAFE
Libs: -L${libdir} -lvlccore

builder@hasher pkgconfig]$ RPM_BUILD_ROOT="/usr/src/RPM/BUILD/vlc-0.9.0" sh
-exuf /usr/lib/rpm/fixup-pkgconfig vlc-plugin.pc
...
...
...
+ subst -p 's|^Cflags: .*|Cflags: -I${includedir}/vlc/plugins \|g' -- vlc-plugin.pc
subst: sed: -e expression #1, char 53: unterminated `s' command
subst: fork
+ return 1


С точки зрения pkg-config конструкция в Cflags вполне валидна.

Запатчить fixup-pkgconfig у меня не хватит душевных сил :(

-- 
The first half of our lives is ruined by our parents and the second half
by our children.
		-- Clarence Darrow

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2008-07-03 20:19 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-03 20:19 Pavlov Konstantin [this message]
2008-07-03 21:06 ` Dmitry V. Levin
2008-07-03 22:09   ` Alexey I. Froloff
2008-07-03 22:10     ` Dmitry V. Levin
2008-07-03 22:23       ` Alexey I. Froloff
2008-07-07 14:35   ` Pavlov Konstantin
2008-07-07 17:25     ` Dmitry V. Levin

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=20080703201909.GC18715@cryo.net.ru \
    --to=thresh@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /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