Shave ... shaving off too much

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Shave ... shaving off too much

Edward Hervey
Administrator
Hi all,

  I really live shave, but can we make sure it doesn't shave off... too
much ?

  This is current master as of now.

bilboed@putamadre ~/work/devel/gst-plugins-base.git $ make V=1
Making all in gst-libs
Making all in gst
Making all in interfaces
Making all in tag
Making all in audio
Making all in cdda
Making all in fft
Making all in floatcast
Making all in netbuffer
Making all in pbutils
Making all in riff
Making all in rtp
Making all in rtsp
/bin/sh ../../../libtool --tag=CC
--mode=compile /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H -I.
-I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
-fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
-g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
-MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c -o
libgstrtsp_0.10_la-gstrtspconnection.lo gstrtspconnection.c
--shave-mode=compile
libtool: compile:  /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H
-I. -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
-fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
-g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
-MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
gstrtspconnection.c --shave-mode=compile  -fPIC -DPIC
-o .libs/libgstrtsp_0.10_la-gstrtspconnection.o
gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../gst-libs
-I../../../gst-libs -pthread -I/usr/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
-I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla
-Wpointer-arith -Werror -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED
-march=athlon64 -pipe -g2 -O3 -msse3 -MT
libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
-MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
gstrtspconnection.c -fPIC -DPIC
-o .libs/libgstrtsp_0.10_la-gstrtspconnection.o
libtool: compile:  /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H
-I. -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
-I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
-I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
-Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
-fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
-g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
-MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
gstrtspconnection.c --shave-mode=compile -o
libgstrtsp_0.10_la-gstrtspconnection.o >/dev/null 2>&1
make[5]: *** [libgstrtsp_0.10_la-gstrtspconnection.lo] Error 1
make[4]: *** [all] Error 2
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
bilboed@putamadre ~/work/devel/gst-plugins-base.git $ git diff



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Shave ... shaving off too much

Edward Hervey
Administrator
And just to add to the weirdness... If I remove SHAVE_INIT from
configure.ac and re-autogen.sh ... it builds fine !?!?

  Failure to build is a big no-no to shave I'd say.

    Edward

On Wed, 2009-02-25 at 08:10 +0100, Edward Hervey wrote:

> Hi all,
>
>   I really live shave, but can we make sure it doesn't shave off... too
> much ?
>
>   This is current master as of now.
>
> bilboed@putamadre ~/work/devel/gst-plugins-base.git $ make V=1
> Making all in gst-libs
> Making all in gst
> Making all in interfaces
> Making all in tag
> Making all in audio
> Making all in cdda
> Making all in fft
> Making all in floatcast
> Making all in netbuffer
> Making all in pbutils
> Making all in riff
> Making all in rtp
> Making all in rtsp
> /bin/sh ../../../libtool --tag=CC
> --mode=compile /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H -I.
> -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
> -Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
> -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
> -g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
> -MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c -o
> libgstrtsp_0.10_la-gstrtspconnection.lo gstrtspconnection.c
> --shave-mode=compile
> libtool: compile:  /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H
> -I. -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
> -Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
> -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
> -g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
> -MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
> gstrtspconnection.c --shave-mode=compile  -fPIC -DPIC
> -o .libs/libgstrtsp_0.10_la-gstrtspconnection.o
> gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../gst-libs
> -I../../../gst-libs -pthread -I/usr/include/gstreamer-0.10
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla
> -Wpointer-arith -Werror -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED
> -march=athlon64 -pipe -g2 -O3 -msse3 -MT
> libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
> -MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
> gstrtspconnection.c -fPIC -DPIC
> -o .libs/libgstrtsp_0.10_la-gstrtspconnection.o
> libtool: compile:  /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H
> -I. -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
> -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
> -Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
> -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
> -g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
> -MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
> gstrtspconnection.c --shave-mode=compile -o
> libgstrtsp_0.10_la-gstrtspconnection.o >/dev/null 2>&1
> make[5]: *** [libgstrtsp_0.10_la-gstrtspconnection.lo] Error 1
> make[4]: *** [all] Error 2
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> bilboed@putamadre ~/work/devel/gst-plugins-base.git $ git diff
>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Shave ... shaving off too much

Jan Schmidt-6
On Wed, 2009-02-25 at 08:16 +0100, Edward Hervey wrote:
> And just to add to the weirdness... If I remove SHAVE_INIT from
> configure.ac and re-autogen.sh ... it builds fine !?!?
>
>   Failure to build is a big no-no to shave I'd say.

What we need to see is the output of that last command it runs, without
the redirection to /dev/null.

I suspect you might be hitting the issue we were talking about on
#gstreamer yesterday, where it ends up with a makefile style variable
declaration $(SHELL) in the libtool script in the toplevel.

It doesn't cause problems for us, but apparently does on MingW/MSyS, and
Marc-Andre says it's related to prelinking. Is gentoo attempting
pre-linking by default maybe?

J.

>
>     Edward
>
> On Wed, 2009-02-25 at 08:10 +0100, Edward Hervey wrote:
> > Hi all,
> >
> >   I really live shave, but can we make sure it doesn't shave off... too
> > much ?
> >
> >   This is current master as of now.
> >
> > bilboed@putamadre ~/work/devel/gst-plugins-base.git $ make V=1
> > Making all in gst-libs
> > Making all in gst
> > Making all in interfaces
> > Making all in tag
> > Making all in audio
> > Making all in cdda
> > Making all in fft
> > Making all in floatcast
> > Making all in netbuffer
> > Making all in pbutils
> > Making all in riff
> > Making all in rtp
> > Making all in rtsp
> > /bin/sh ../../../libtool --tag=CC
> > --mode=compile /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H -I.
> > -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
> > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
> > -Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
> > -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
> > -g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
> > -MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c -o
> > libgstrtsp_0.10_la-gstrtspconnection.lo gstrtspconnection.c
> > --shave-mode=compile
> > libtool: compile:  /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H
> > -I. -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
> > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
> > -Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
> > -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
> > -g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
> > -MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
> > gstrtspconnection.c --shave-mode=compile  -fPIC -DPIC
> > -o .libs/libgstrtsp_0.10_la-gstrtspconnection.o
> > gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../gst-libs
> > -I../../../gst-libs -pthread -I/usr/include/gstreamer-0.10
> > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> > -I/usr/include/libxml2 -pthread -I/usr/include/gstreamer-0.10
> > -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> > -I/usr/include/libxml2 -Wall -Wdeclaration-after-statement -Wvla
> > -Wpointer-arith -Werror -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED
> > -march=athlon64 -pipe -g2 -O3 -msse3 -MT
> > libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
> > -MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
> > gstrtspconnection.c -fPIC -DPIC
> > -o .libs/libgstrtsp_0.10_la-gstrtspconnection.o
> > libtool: compile:  /bin/sh ../../../common/shave cc gcc -DHAVE_CONFIG_H
> > -I. -I../../.. -I../../../gst-libs -I../../../gst-libs -pthread
> > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -pthread
> > -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0
> > -I/usr/lib64/glib-2.0/include -I/usr/include/libxml2 -Wall
> > -Wdeclaration-after-statement -Wvla -Wpointer-arith -Werror
> > -fno-strict-aliasing -g -DGST_DISABLE_DEPRECATED -march=athlon64 -pipe
> > -g2 -O3 -msse3 -MT libgstrtsp_0.10_la-gstrtspconnection.lo -MD -MP
> > -MF .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo -c
> > gstrtspconnection.c --shave-mode=compile -o
> > libgstrtsp_0.10_la-gstrtspconnection.o >/dev/null 2>&1
> > make[5]: *** [libgstrtsp_0.10_la-gstrtspconnection.lo] Error 1
> > make[4]: *** [all] Error 2
> > make[3]: *** [all-recursive] Error 1
> > make[2]: *** [all-recursive] Error 1
> > make[1]: *** [all-recursive] Error 1
> > make: *** [all] Error 2
> > bilboed@putamadre ~/work/devel/gst-plugins-base.git $ git diff
> >
>
>
> ------------------------------------------------------------------------------
> Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
> -Strategies to boost innovation and cut costs with open source participation
> -Receive a $600 discount off the registration fee with the source code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
--
Jan Schmidt <[hidden email]>


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Shave ... shaving off too much

Damien Lespiau
In reply to this post by Edward Hervey
> On Wed, 2009-02-25 at 08:10 +0100, Edward Hervey wrote:
>> Hi all,

Hi Edward,

>>   I really live shave, but can we make sure it doesn't shave off... too
>> much ?

This is exactly what I was trying to warn people about in my successive posts
(see http://damien.lespiau.name/blog/2009/02/24/still-some-hair-left/ )

That said, I'll spend some time and try to have a proper fix in shave/master.
So far, quite a few fixes have find their way into the master branch, but none
that would match your issue I'm afraid.

>>   This is current master as of now.

I tried to reproduce this on both a Debian Lenny machine and an Ubuntu 8.10
one, but no luck, gst-plugins-based HEAD compiled just fine here. That's quite
unfortunate as it will make

To debug those kind of things, you can edit gst-libs/gst/rtsp/Makefile
and remove
the MAKEFLAGS = -s line and run make V=1 again.

Now, I do have more input on this, if you can actually spend a bit of
your time to help
me fix this obviously:

    * the last thing we actually see in the log is libtool trying to
compile a PIC version
of the object. Note that the  '>/dev/null 2>&1' part is added by
libtool itself as he
infers "Oh, we already successfully build the non-PIC version of that
file, we can just
ignore any output when compiling the PIC version".
You could just edit your libtool script, locate and change
        suppress_output=' >/dev/null 2>&1'
or alternatively adding -no-suppress to the LDFLAGS should do the trick.

   * the command that is not echoed (-s!) after this is:
mv -f .deps/libgstrtsp_0.10_la-gstrtspconnection.Tpo
.deps/libgstrtsp_0.10_la-gstrtspconnection.Plo
I think we can not blame this mv

could you please try to get rid of this redirection to /dev/null ?

thanks for your time,

--
Damien

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Shave ... shaving off too much

Damien Lespiau
In reply to this post by Jan Schmidt-6
2009/2/25 Jan Schmidt <[hidden email]>:

> On Wed, 2009-02-25 at 08:16 +0100, Edward Hervey wrote:
>> And just to add to the weirdness... If I remove SHAVE_INIT from
>> configure.ac and re-autogen.sh ... it builds fine !?!?
>>
>>   Failure to build is a big no-no to shave I'd say.
>
> What we need to see is the output of that last command it runs, without
> the redirection to /dev/null.
>
> I suspect you might be hitting the issue we were talking about on
> #gstreamer yesterday, where it ends up with a makefile style variable
> declaration $(SHELL) in the libtool script in the toplevel.

I'm not quite sure. But the issue you are talking about is fixed in
shave master.

--
Damien

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel