Re: [Gtkpod-devel] Release of gtkpod 2.0.1

phantomjinx <[email protected]> Sat, 14 May 2011 23:22:31 +0100
Newsgroups gmane.comp.ipod.gtkpod.user,gmane.comp.ipod.gtkpod
Message-ID <[email protected]>
On 14/05/11 19:48, Götz Waschk wrote:
> On Sat, May 14, 2011 at 12:56 AM, phantomjinx
> <[email protected]> wrote:
>> I have just posted the 2.0.1 release.
> Hi phantomjinx,
> 
> unlike 2.0.1rc this one does not build fine on Mandriva Cooker:
> 
> 
> /bin/sh ../libtool  --tag=CC   --mode=link gcc -g -O2 -Wall
> -Wno-pointer-sign -std=gnu99 -Werror-implicit-function-declaration
> -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12   -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include    -pthread -I/usr/include/gpod-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12   -DORBIT2=1
> -pthread -I/usr/include/libanjuta-1.0 -I/usr/include/gconf/2
> -I/usr/include/gtk-2.0 -I/usr/include/orbit-2.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread
> -I/usr/include/libgdl-1.0 -I/usr/include/gtk-2.0
> -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12   -I/usr/include/libxml2
> -DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
> -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I.. -I.. -I.
> -DMOUNT_BIN=\""/bin/mount\"" -DUMOUNT_BIN=\""/bin/umount\""
> -DPACKAGE_DATA_DIR=\""/usr/local/share"\"
> -DPACKAGE_LOCALE_DIR=\""/usr/local/share/locale"\"
> -DPACKAGE_PLUGIN_DIR=\""/usr/local/lib"\" -DPACKAGE_SRC_DIR=\""."\"
> -DGTKPOD_PLUGIN_DIR=\""/usr/local/lib/gtkpod"\"
> -DGTKPOD_DATA_DIR=\""/usr/local/share/gtkpod/data"\"
> -DGTKPOD_DOC_DIR=\""/usr/local/share/gtkpod/doc"\"
> -DGTKPOD_UI_DIR=\""/usr/local/share/gtkpod/data/ui"\"
> -DGTKPOD_GLADE_DIR=\""/usr/local/share/gtkpod/data/glade"\"
> -DGTKPOD_IMAGE_DIR=\""/usr/local/share/gtkpod/icons"\"
> -DGTKPOD_SCRIPT_DIR=\""/usr/local/share/gtkpod/scripts"\" -g -O2 -Wall
> -Wno-pointer-sign -std=gnu99 -Werror-implicit-function-declaration
> -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12   -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include   -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include    -pthread -I/usr/include/gpod-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12   -DORBIT2=1
> -pthread -I/usr/include/libanjuta-1.0 -I/usr/include/gconf/2
> -I/usr/include/gtk-2.0 -I/usr/include/orbit-2.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12   -pthread
> -I/usr/include/libgdl-1.0 -I/usr/include/gtk-2.0
> -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12   -I/usr/include/libxml2
> -DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
> -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE  -no-undefined --as-needed -o
> gtkpod anjuta-about.o anjuta-action-callbacks.o anjuta-app.o gtkpod.o
> main.o ../libgtkpod/libgtkpod.la  -ldl -pthread -lgtk-x11-2.0
> -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
> -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 -lpango-1.0 -lfreetype
> -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
>   -lglib-2.0   -Wl,--export-dynamic -pthread -lgmodule-2.0 -lrt
> -lglib-2.0   -pthread -lgthread-2.0 -lrt -lglib-2.0    -pthread -lgpod
> -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lpng12 -lgthread-2.0
> -lrt -lglib-2.0   -pthread -lanjuta -lgconf-2 -lgtk-x11-2.0
> -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0
> -lgdk_pixbuf-2.0 -lm -lcairo -lpng12 -lpango-1.0 -lfreetype
> -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
>   -pthread -lgdl-1 -lgtk-x11-2.0 -lxml2 -lgdk-x11-2.0 -latk-1.0
> -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lm -lcairo
> -lpng12 -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0
> -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0   -lxml2
> libtool: link: gcc -g -O2 -Wall -Wno-pointer-sign -std=gnu99
> -Werror-implicit-function-declaration -pthread -I/usr/include/gtk-2.0
> -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread
> -I/usr/include/gpod-1.0 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/libpng12 -DORBIT2=1 -pthread
> -I/usr/include/libanjuta-1.0 -I/usr/include/gconf/2
> -I/usr/include/gtk-2.0 -I/usr/include/orbit-2.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread
> -I/usr/include/libgdl-1.0 -I/usr/include/gtk-2.0
> -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/libxml2
> -DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
> -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -I.. -I.. -I.
> -DMOUNT_BIN=\"/bin/mount\" -DUMOUNT_BIN=\"/bin/umount\"
> -DPACKAGE_DATA_DIR=\"/usr/local/share\"
> -DPACKAGE_LOCALE_DIR=\"/usr/local/share/locale\"
> -DPACKAGE_PLUGIN_DIR=\"/usr/local/lib\" -DPACKAGE_SRC_DIR=\".\"
> -DGTKPOD_PLUGIN_DIR=\"/usr/local/lib/gtkpod\"
> -DGTKPOD_DATA_DIR=\"/usr/local/share/gtkpod/data\"
> -DGTKPOD_DOC_DIR=\"/usr/local/share/gtkpod/doc\"
> -DGTKPOD_UI_DIR=\"/usr/local/share/gtkpod/data/ui\"
> -DGTKPOD_GLADE_DIR=\"/usr/local/share/gtkpod/data/glade\"
> -DGTKPOD_IMAGE_DIR=\"/usr/local/share/gtkpod/icons\"
> -DGTKPOD_SCRIPT_DIR=\"/usr/local/share/gtkpod/scripts\" -g -O2 -Wall
> -Wno-pointer-sign -std=gnu99 -Werror-implicit-function-declaration
> -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/glib-2.0
> -I/usr/lib64/glib-2.0/include -pthread -I/usr/include/gpod-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng12 -DORBIT2=1
> -pthread -I/usr/include/libanjuta-1.0 -I/usr/include/gconf/2
> -I/usr/include/gtk-2.0 -I/usr/include/orbit-2.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/lib64/gtk-2.0/include -I/usr/include/atk-1.0
> -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
> -I/usr/include/pango-1.0 -I/usr/include/pixman-1
> -I/usr/include/freetype2 -I/usr/include/libpng12 -pthread
> -I/usr/include/libgdl-1.0 -I/usr/include/gtk-2.0
> -I/usr/include/libxml2 -I/usr/lib64/gtk-2.0/include
> -I/usr/include/atk-1.0 -I/usr/include/cairo
> -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
> -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
> -I/usr/include/pixman-1 -I/usr/include/freetype2
> -I/usr/include/libpng12 -I/usr/include/libxml2
> -DG_DISABLE_SINGLE_INCLUDES -DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES
> -DGTK_DISABLE_SINGLE_INCLUDES -DG_DISABLE_DEPRECATED
> -DGDK_PIXBUF_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED
> -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE --as-needed -o .libs/gtkpod
> anjuta-about.o anjuta-action-callbacks.o anjuta-app.o gtkpod.o main.o
> -pthread -Wl,--export-dynamic -pthread -pthread -pthread -pthread
> -pthread  ../libgtkpod/.libs/libgtkpod.so -L/usr//usr/lib64
> -L/usr/lib64 /usr/lib64/libgpod.so /usr/lib64/libsqlite3.so
> /usr/lib64/libimobiledevice.so /usr/lib64/libgnutls.so
> /usr/lib64/libtasn1.so -lplist -lusbmuxd /usr/lib64/libgcrypt.so
> /usr/lib64/libgpg-error.so -lanjuta /usr/lib64/libgconf-2.so
> /usr/lib64/libORBit-2.so /usr/lib64/libgdl-1.so
> /usr/lib64/libgtk-x11-2.0.so /usr/lib64/libgdk-x11-2.0.so
> /usr/lib64/libatk-1.0.so /usr/lib64/libpangocairo-1.0.so
> /usr/lib64/libpangoft2-1.0.so /usr/lib64/../lib64/libstdc++.so
> /usr/lib64/libgdk_pixbuf-2.0.so /usr/lib64/libgio-2.0.so -lresolv
> /usr/lib64/libcairo.so /usr/lib64/libpixman-1.so
> /usr/lib64/libXrender.so /usr/lib64/libX11.so /usr/lib64/libxcb.so
> /usr/lib64/libXau.so /usr/lib64/libXdmcp.so -lpng12
> /usr/lib64/libpango-1.0.so /usr/lib64/libfontconfig.so
> /usr/lib64/libfreetype.so /usr/lib64/libgobject-2.0.so
> /usr/lib64/libgmodule-2.0.so /usr/lib64/libgthread-2.0.so -lpthread
> /usr/lib64/libglib-2.0.so /usr/lib64/libpcre.so -lrt
> /usr/lib64/libxml2.so -ldl -lz -lm -pthread -Wl,-rpath
> -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/lib64/../lib64
> gcc: error: unrecognized option '--as-needed'
> 
> 
> That's caused by LDFLAGS missing the -Wl,
> 
> Regards, Götz

Hmm... yes, that's my mistake.

Oddly, it did not seem to affect test builds on Fedora 13/14 or Ubuntu
Natty. No idea why.

Might have to do a 2.0.2 release to rectify it ...

I will do a 2.0.2 unstable to for the applied commit.

Thanks for spotting it.

Cheers

PGR





-- 
"I know exactly who reads the papers ...

The Daily Mirror is read by people who think they run the country.

The Guardian is read by people who think they ought to run the country.

The Times is read by people who do actually run the country.

The Daily Mail is read by the wives of the people who run the country.

The Financial Times is read by the people who own the country.

The Morning Star is read by the people who think the country ought to be
run by another country.

The Daily Telegraph is read by the people who think it is."

Jim Hacker, Yes Minister


------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay