All of lore.kernel.org
 help / color / mirror / Atom feed
* CentOS 7 yum-builddep fails on %if
@ 2015-03-25 17:55 Loic Dachary
  2015-03-25 18:37 ` Ken Dreyer
  0 siblings, 1 reply; 3+ messages in thread
From: Loic Dachary @ 2015-03-25 17:55 UTC (permalink / raw)
  To: Ken Dreyer; +Cc: Ceph Development

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

Hi Ken,

yum-builddep fails on CentOS 7 on the latest ceph.spec.in with the following error:

error: parse error in expression
error: /tmp/install-deps.52/ceph.spec:50: bad %if condition
Bad spec: /tmp/install-deps.52/ceph.spec

which is

%if 0%{_with_systemd}

https://github.com/ceph/ceph/blob/master/ceph.spec.in#L50

It looks good to me though. Any idea why it happens ?

Cheers

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CentOS 7 yum-builddep fails on %if
  2015-03-25 17:55 CentOS 7 yum-builddep fails on %if Loic Dachary
@ 2015-03-25 18:37 ` Ken Dreyer
  2015-03-25 20:51   ` Loic Dachary
  0 siblings, 1 reply; 3+ messages in thread
From: Ken Dreyer @ 2015-03-25 18:37 UTC (permalink / raw)
  To: Loic Dachary; +Cc: Ceph Development

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/25/2015 11:55 AM, Loic Dachary wrote:
> Hi Ken,
> 
> yum-builddep fails on CentOS 7 on the latest ceph.spec.in with the
> following error:
> 
> error: parse error in expression error:
> /tmp/install-deps.52/ceph.spec:50: bad %if condition Bad spec:
> /tmp/install-deps.52/ceph.spec
> 
> which is
> 
> %if 0%{_with_systemd}
> 
> https://github.com/ceph/ceph/blob/master/ceph.spec.in#L50
> 
> It looks good to me though. Any idea why it happens ?
> 
> Cheers
> 

As we discussed in #ceph-devel this afternoon, the problem was a
syntax error in my RPM conditionals. The fix is in
https://github.com/ceph/ceph/pull/4181

- - Ken
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBAgAGBQJVEwB0AAoJEEeKlH94IJasmJQP+wWNQZi3MykY73A2oso5fSEn
fDT7sciapbsspflIu8TETO77l2Xht8WuE9BV1W6Bi8Q9h1FottaYUJfLx3BLiLfG
maouHmpTh4NT4AKzLertMKp3RDbCIv/vF/EaANbDe6CDSO5i2LuB6IqhyR6O5g/L
4lyW4VgniFD98oxhwQv0s2f0SyIbvXJEbS7P0keUSSMW3rYutQwkINXkJAXSru44
EUql2UJcUf5AMZ4tVr01NlxDt85Qalgy/fDA5ojMTMva+wtIpKIWoQFDbusF8KWP
/85Nq9avTgr5D28lJmdXSW3cLe2P+9rcY3eRYDS0qFl7FgI+5WyVdQHKSex2hmwH
oajbLNBsXerROtbfp9Q/m7Zmsz2FianDFD+QZBQ3TPGOugWgIondDAa7WcOo2y5c
YNasvayJ5v/Ic3E+JtcZ72uQq0zyzu9CD0pfYZWuXuIsKOo1Olj4Lofyf3E3PGla
YDth8ZykLiE0eieh0toMxrOMxbhY9o0ulsekYLQxlJ2MOm6II/3/8jYb6KcU4iTU
9ywX2O0aWhR8Hl9nN+xghu4fPpVbI7NhslNcp54aAfvcPZ7EKDXOhT+K8zo6LFAF
6F5DEUeBsiQsdx2FAU/GKxkyigEBh0BR+WmWvNYejUce86O/P0L47wvsLU2iQszF
A+SIs8RcGH3jdUQ4L+8K
=Bwy3
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: CentOS 7 yum-builddep fails on %if
  2015-03-25 18:37 ` Ken Dreyer
@ 2015-03-25 20:51   ` Loic Dachary
  0 siblings, 0 replies; 3+ messages in thread
From: Loic Dachary @ 2015-03-25 20:51 UTC (permalink / raw)
  To: Ken Dreyer; +Cc: Ceph Development

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



On 25/03/2015 19:37, Ken Dreyer wrote:
> On 03/25/2015 11:55 AM, Loic Dachary wrote:
>> Hi Ken,
> 
>> yum-builddep fails on CentOS 7 on the latest ceph.spec.in with the
>> following error:
> 
>> error: parse error in expression error:
>> /tmp/install-deps.52/ceph.spec:50: bad %if condition Bad spec:
>> /tmp/install-deps.52/ceph.spec
> 
>> which is
> 
>> %if 0%{_with_systemd}
> 
>> https://github.com/ceph/ceph/blob/master/ceph.spec.in#L50
> 
>> It looks good to me though. Any idea why it happens ?
> 
>> Cheers
> 
> 
> As we discussed in #ceph-devel this afternoon, the problem was a
> syntax error in my RPM conditionals. The fix is in
> https://github.com/ceph/ceph/pull/4181

Thanks for the quick fix. I learnt one more thing about spec files today ;-)

Cheers

> 
> - Ken
> --
> To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
> 

-- 
Loïc Dachary, Artisan Logiciel Libre


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-03-25 20:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-03-25 17:55 CentOS 7 yum-builddep fails on %if Loic Dachary
2015-03-25 18:37 ` Ken Dreyer
2015-03-25 20:51   ` Loic Dachary

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.