Re: New npapi-vlc available

Paulo Cavalcanti <[email protected]> Sat, 27 Jul 2013 11:12:42 -0300
Newsgroups gmane.linux.redhat.rpm.atrpms.devel
Message-ID <CAMgUmnnKNQcr8O-Pf7rS-QrCSMz5wcSCeqzKLjUU_4XwDG+RkA@mail.gmail.com>
--===============1408673352247090235==
Content-Type: multipart/alternative; boundary=089e0160ac8847e70404e27eda74

--089e0160ac8847e70404e27eda74
Content-Type: text/plain; charset=ISO-8859-1

I do not know. Here I get:

checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
./configure: line 5529: AC_PROG_OBJCXX: command not found
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/bin/ld

The patch adds an

m4_pattern_allow(AC_PROG_OBJCXX)

so the configure proceeds.

Maybe some dependencies are missing. I just require libtool. Do you need
to add autoconf and automake in your environment?



On Sat, Jul 27, 2013 at 2:59 AM, Axel Thimm <[email protected]> wrote:

> Hi,
>
> On Thu, Jul 25, 2013 at 09:04:51AM -0300, Paulo Cavalcanti wrote:
> > Hi Axel,
> >
> > I have just downloaded
> >
> >
> http://dl.atrpms.net/src/el6-i386/atrpms/stable/npapi-vlc-2.0.6-0.2git47ea8c7.src.rpm
> >
> > and it builds fine here with mock.
> >
> > The patch is being applied conditionally this way:
> >
> > # RHEL6 fix
> > %if 0%{?rhel} > 5
> > %patch0 -p1 -b .el6
> > %endif
> >
> > I can use --with rhel if you prefer ...
>
> I had used --define rhel\ 6 and the patch had been applied:
>
> + cd npapi-vlc-47ea8c7
> + /bin/chmod -Rf a+rX,u+w,g-w,o-w .
> + echo 'Patch #0 (npapi-vlc-47ea8c7-el6.patch):'
> Patch #0 (npapi-vlc-47ea8c7-el6.patch):
> + /bin/cat /var/tmp/repot-build/SOURCES/npapi-vlc-47ea8c7-el6.patch
>
> What else could be causing this?
>
> > On Thu, Jul 25, 2013 at 8:34 AM, Axel Thimm <[email protected]>
> wrote:
> >
> > > Hi,
> > >
> > > On Wed, Jul 03, 2013 at 01:10:11PM -0300, Paulo Cavalcanti wrote:
> > > > Sorry, Axel, my bad.
> > > >
> > > > I patched for rhel6, and it built there, but the patch broke
> > > > the other Fedora systems.
> > > >
> > > > I re-uploaded the same .src.rpm and the patch is only applied on
> rhel6
> > > now.
> > >
> > > it now breaks on RHEL6 with:
> > >
> > > checking for g++... g++
> > > checking whether we are using the GNU C++ compiler... yes
> > > checking whether g++ accepts -g... yes
> > > checking dependency style of g++... gcc3
> > > configure: WARNING: using cross tools not prefixed with host triplet
> > > ./configure: line 5382: syntax error near unexpected token `;;'
> > > ./configure: line 5382: `ac_tool_warned=yes ;;'
> > > error: Bad exit status from /var/tmp/rpm-tmp.WWo60t (%build)
> > >
> > > > On Wed, Jul 3, 2013 at 2:14 AM, Axel Thimm <[email protected]>
> > > wrote:
> > > >
> > > > > Hi,
> > > > >
> > > > > On Sun, Jun 30, 2013 at 11:41:02AM -0300, Paulo Cavalcanti wrote:
> > > > > >
> > > > >
> > >
> http://people.atrpms.net/~pcavalcanti/srpms/npapi-vlc-2.0.6-0.2git47ea8c7.fc17.src.rpm
> > > > >
> > > > > This doesn't build on any platform. For f17 for example it fails
> with:
> > > > >
> > > > > checking for g++... g++
> > > > > checking whether we are using the GNU C++ compiler... yes
> > > > > checking whether g++ accepts -g... yes
> > > > > checking dependency style of g++... none
> > > > > configure: WARNING: using cross tools not prefixed with host
> triplet
> > > > > ./configure: line 5302: syntax error near unexpected token `;;'
> > > > > ./configure: line 5302: `ac_tool_warned=yes ;;'
> > > > > error: Bad exit status from /var/tmp/rpm-tmp.QbkvsR (%build)
> > > > >
> > > > >
> > > > > --
> > > > > Axel.Thimm at ATrpms.net
> > > > >
> > > > > _______________________________________________
> > > > > atrpms-devel mailing list
> > > > > [email protected]
> > > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> > > > >
> > > >
> > > >
> > > >
> > > > --
> > > > Paulo Roma Cavalcanti
> > > > DCC - UFRJ
> > >
> > > > _______________________________________________
> > > > atrpms-devel mailing list
> > > > [email protected]
> > > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> > >
> > >
> > > --
> > > Axel.Thimm at ATrpms.net
> > >
> > > _______________________________________________
> > > atrpms-devel mailing list
> > > [email protected]
> > > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
> > >
> >
> >
> >
> > --
> > Paulo Roma Cavalcanti
> > DCC - UFRJ
>
> > _______________________________________________
> > atrpms-devel mailing list
> > [email protected]
> > http://lists.atrpms.net/mailman/listinfo/atrpms-devel
>
>
> --
> Axel.Thimm at ATrpms.net
>
> _______________________________________________
> atrpms-devel mailing list
> [email protected]
> http://lists.atrpms.net/mailman/listinfo/atrpms-devel
>



-- 
Paulo Roma Cavalcanti
DCC - UFRJ

--089e0160ac8847e70404e27eda74
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">I do not know. Here I get:<br><div><br>checking for g++...=
 g++<br>checking whether we are using the GNU C++ compiler... yes<br>checki=
ng whether g++ accepts -g... yes<br>checking dependency style of g++... gcc=
3<br>
./configure: line 5529: AC_PROG_OBJCXX: command not found<br>checking for a=
 sed that does not truncate output... /bin/sed<br>checking for fgrep... /bi=
n/grep -F<br>checking for ld used by gcc -std=3Dgnu99... /usr/bin/ld<br><br=
>
</div><div>The patch adds an<br><br>m4_pattern_allow(AC_PROG_OBJCXX)<br><br=
></div><div>so the configure proceeds.<br><br></div><div>Maybe some depende=
ncies are missing. I just require libtool. Do you need<br></div><div>to add=
 autoconf and automake in your environment?<br>
<br></div></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quot=
e">On Sat, Jul 27, 2013 at 2:59 AM, Axel Thimm <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">[email protected]<=
/a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">Hi,<br>
<div class=3D"im"><br>
On Thu, Jul 25, 2013 at 09:04:51AM -0300, Paulo Cavalcanti wrote:<br>
&gt; Hi Axel,<br>
&gt;<br>
&gt; I have just downloaded<br>
&gt;<br>
&gt; <a href=3D"http://dl.atrpms.net/src/el6-i386/atrpms/stable/npapi-vlc-2=
.0.6-0.2git47ea8c7.src.rpm" target=3D"_blank">http://dl.atrpms.net/src/el6-=
i386/atrpms/stable/npapi-vlc-2.0.6-0.2git47ea8c7.src.rpm</a><br>
&gt;<br>
&gt; and it builds fine here with mock.<br>
&gt;<br>
&gt; The patch is being applied conditionally this way:<br>
&gt;<br>
&gt; # RHEL6 fix<br>
&gt; %if 0%{?rhel} &gt; 5<br>
&gt; %patch0 -p1 -b .el6<br>
&gt; %endif<br>
&gt;<br>
&gt; I can use --with rhel if you prefer ...<br>
<br>
</div>I had used --define rhel\ 6 and the patch had been applied:<br>
<br>
+ cd npapi-vlc-47ea8c7<br>
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .<br>
+ echo &#39;Patch #0 (npapi-vlc-47ea8c7-el6.patch):&#39;<br>
Patch #0 (npapi-vlc-47ea8c7-el6.patch):<br>
+ /bin/cat /var/tmp/repot-build/SOURCES/npapi-vlc-47ea8c7-el6.patch<br>
<br>
What else could be causing this?<br>
<div class=3D"HOEnZb"><div class=3D"h5"><br>
&gt; On Thu, Jul 25, 2013 at 8:34 AM, Axel Thimm &lt;<a href=3D"mailto:Axel=
[email protected]">[email protected]</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; On Wed, Jul 03, 2013 at 01:10:11PM -0300, Paulo Cavalcanti wrote:=
<br>
&gt; &gt; &gt; Sorry, Axel, my bad.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I patched for rhel6, and it built there, but the patch broke=
<br>
&gt; &gt; &gt; the other Fedora systems.<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; I re-uploaded the same .src.rpm and the patch is only applie=
d on rhel6<br>
&gt; &gt; now.<br>
&gt; &gt;<br>
&gt; &gt; it now breaks on RHEL6 with:<br>
&gt; &gt;<br>
&gt; &gt; checking for g++... g++<br>
&gt; &gt; checking whether we are using the GNU C++ compiler... yes<br>
&gt; &gt; checking whether g++ accepts -g... yes<br>
&gt; &gt; checking dependency style of g++... gcc3<br>
&gt; &gt; configure: WARNING: using cross tools not prefixed with host trip=
let<br>
&gt; &gt; ./configure: line 5382: syntax error near unexpected token `;;&#3=
9;<br>
&gt; &gt; ./configure: line 5382: `ac_tool_warned=3Dyes ;;&#39;<br>
&gt; &gt; error: Bad exit status from /var/tmp/rpm-tmp.WWo60t (%build)<br>
&gt; &gt;<br>
&gt; &gt; &gt; On Wed, Jul 3, 2013 at 2:14 AM, Axel Thimm &lt;<a href=3D"ma=
ilto:[email protected]">[email protected]</a>&gt;<br>
&gt; &gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; Hi,<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; On Sun, Jun 30, 2013 at 11:41:02AM -0300, Paulo Cavalca=
nti wrote:<br>
&gt; &gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; <a href=3D"http://people.atrpms.net/~pcavalcanti/srpms/npapi-vlc-=
2.0.6-0.2git47ea8c7.fc17.src.rpm" target=3D"_blank">http://people.atrpms.ne=
t/~pcavalcanti/srpms/npapi-vlc-2.0.6-0.2git47ea8c7.fc17.src.rpm</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; This doesn&#39;t build on any platform. For f17 for exa=
mple it fails with:<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; checking for g++... g++<br>
&gt; &gt; &gt; &gt; checking whether we are using the GNU C++ compiler... y=
es<br>
&gt; &gt; &gt; &gt; checking whether g++ accepts -g... yes<br>
&gt; &gt; &gt; &gt; checking dependency style of g++... none<br>
&gt; &gt; &gt; &gt; configure: WARNING: using cross tools not prefixed with=
 host triplet<br>
&gt; &gt; &gt; &gt; ./configure: line 5302: syntax error near unexpected to=
ken `;;&#39;<br>
&gt; &gt; &gt; &gt; ./configure: line 5302: `ac_tool_warned=3Dyes ;;&#39;<b=
r>
&gt; &gt; &gt; &gt; error: Bad exit status from /var/tmp/rpm-tmp.QbkvsR (%b=
uild)<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; --<br>
&gt; &gt; &gt; &gt; Axel.Thimm at ATrpms.net<br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; &gt; atrpms-devel mailing list<br>
&gt; &gt; &gt; &gt; <a href=3D"mailto:[email protected]">atrpms-devel=
@atrpms.net</a><br>
&gt; &gt; &gt; &gt; <a href=3D"http://lists.atrpms.net/mailman/listinfo/atr=
pms-devel" target=3D"_blank">http://lists.atrpms.net/mailman/listinfo/atrpm=
s-devel</a><br>
&gt; &gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; --<br>
&gt; &gt; &gt; Paulo Roma Cavalcanti<br>
&gt; &gt; &gt; DCC - UFRJ<br>
&gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; atrpms-devel mailing list<br>
&gt; &gt; &gt; <a href=3D"mailto:[email protected]">atrpms-devel@atrp=
ms.net</a><br>
&gt; &gt; &gt; <a href=3D"http://lists.atrpms.net/mailman/listinfo/atrpms-d=
evel" target=3D"_blank">http://lists.atrpms.net/mailman/listinfo/atrpms-dev=
el</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; --<br>
&gt; &gt; Axel.Thimm at ATrpms.net<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; atrpms-devel mailing list<br>
&gt; &gt; <a href=3D"mailto:[email protected]">[email protected]=
t</a><br>
&gt; &gt; <a href=3D"http://lists.atrpms.net/mailman/listinfo/atrpms-devel"=
 target=3D"_blank">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a=
><br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Paulo Roma Cavalcanti<br>
&gt; DCC - UFRJ<br>
<br>
&gt; _______________________________________________<br>
&gt; atrpms-devel mailing list<br>
&gt; <a href=3D"mailto:[email protected]">[email protected]</a>=
<br>
&gt; <a href=3D"http://lists.atrpms.net/mailman/listinfo/atrpms-devel" targ=
et=3D"_blank">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a><br>
<br>
<br>
--<br>
Axel.Thimm at ATrpms.net<br>
<br>
_______________________________________________<br>
atrpms-devel mailing list<br>
<a href=3D"mailto:[email protected]">[email protected]</a><br>
<a href=3D"http://lists.atrpms.net/mailman/listinfo/atrpms-devel" target=3D=
"_blank">http://lists.atrpms.net/mailman/listinfo/atrpms-devel</a><br>
</div></div></blockquote></div><br><br clear=3D"all"><br>-- <br>Paulo Roma =
Cavalcanti<br>DCC - UFRJ
</div>

--089e0160ac8847e70404e27eda74--


--===============1408673352247090235==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline