Re: [E-devel] Eina is broken (patrch submit)

2009-10-14 Thread Vincent Torri


On Wed, 14 Oct 2009, Brett Nash wrote:

 On Wed, 14 Oct 2009 07:52:08 +0200 (CEST)
 Vincent Torri vto...@univ-evry.fr wrote:



 On Wed, 14 Oct 2009, Brett Nash wrote:


 The easier fix is to upgrade your automake to 1.10 or later.  It
 works fine then.

 1.9 gives the error reported below.

 Can you give  the value of builddir and abs_builddir in Makefile (in
 src/lib) with automake 1.9 ?

 Nothing... Not assigned to anywhere.

ok. The answer of a dev is : remove $(builddir)/ so the patch of cantona 
seems good.

Can you check if make distcheck is working with the versions of automake 
you have, if you remove all the $(buildddir)/ in Makefile.am ?

Vincent

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina is broken (patrch submit)

2009-10-14 Thread Brett Nash
On Wed, 14 Oct 2009 07:52:08 +0200 (CEST)
Vincent Torri vto...@univ-evry.fr wrote:

 
 
 On Wed, 14 Oct 2009, Brett Nash wrote:
 
 
  The easier fix is to upgrade your automake to 1.10 or later.  It
  works fine then.
 
  1.9 gives the error reported below.
 
 Can you give  the value of builddir and abs_builddir in Makefile (in 
 src/lib) with automake 1.9 ?

Nothing... Not assigned to anywhere.

grep finds me this gem:
$(builddir)/ eina_amalgamation.c: $(sources_used) Makefile

grep abs_builddir **/Makefile
returns nothing

For grep abs_builddir **/*(.)
autom4te.cache/output.0:ac_abs_builddir=$ac_pwd$ac_dir_suffix
autom4te.cache/output.0:ac_abs_builddir=$ac_pwd$ac_dir_suffix
autom4te.cache/output.0:s@abs_builddir@$ac_abs_builddir;t t
autom4te.cache/output.1:ac_abs_builddir=$ac_pwd$ac_dir_suffix
autom4te.cache/output.1:ac_abs_builddir=$ac_pwd$ac_dir_suffix
autom4te.cache/output.1:s@abs_builddir@$ac_abs_builddir;t t
autom4te.cache/traces.1:m4trace:configure.ac:445: -1-
AC_SUBST_TRACE([abs_builddir])
config.status:ac_abs_builddir=$ac_pwd$ac_dir_suffix
config.status:s@abs_builddir@$ac_abs_builddir;t t
configure:ac_abs_builddir=$ac_pwd$ac_dir_suffix
configure:ac_abs_builddir=$ac_pwd$ac_dir_suffix
configure:s@abs_builddir@$ac_abs_builddir;t t

top_builddir is set in each makefile to be a ../ repeated enough to get
back to .

Regards,
nash


 
 Vincent
 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina is broken (patrch submit)

2009-10-13 Thread Brett Nash

The easier fix is to upgrade your automake to 1.10 or later.  It works
fine then.

1.9 gives the error reported below.

Regards,
nash
[Sending patch shortly]

On Tue, 13 Oct 2009 11:25:46 +0800
cantona cant...@cantona.no-ip.org wrote:

 Hi all,
 
 Eina is broken...I attached a patch which fixed the problem.
 
 - cantona
 ---
 cd .  /bin/sh /home/cantona/e17_src/eina/missing --run autoheader
 rm -f stamp-h1
 touch config.h.in
 cd .  /bin/sh ./config.status config.h
 config.status: creating config.h
 config.status: config.h is unchanged
 make  all-recursive
 make[1]: Entering directory `/home/cantona/e17_src/eina'
 Making all in src
 make[2]: Entering directory `/home/cantona/e17_src/eina/src'
 Making all in lib
 make[3]: Entering directory `/home/cantona/e17_src/eina/src/lib'
 rm -f /eina_amalgamation.c
 /bin/sh: /eina_amalgamation.c: Permission denied
 make[3]: *** [eina_amalgamation.c] Error 1
 make[3]: Leaving directory `/home/cantona/e17_src/eina/src/lib'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/cantona/e17_src/eina/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/cantona/e17_src/eina'
 make: *** [all] Error 2
 
 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart
 your developing skills, take BlackBerry mobile applications to market
 and stay ahead of the curve. Join us from November 9 - 12, 2009.
 Register now! http://p.sf.net/sfu/devconference
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina is broken (patrch submit)

2009-10-13 Thread Brett Nash
Hello All,

Attached is a patch to check the automake minor version.

Yes, I'm sure there are more versions that need checking, but
this tripped me, and apparently cantona up.. so it's probably worth the
check.

Tested against automake 1.4, 1.9 and 1.10 (debian).

Regards,
nash


On Tue, 13 Oct 2009 11:25:46 +0800
cantona cant...@cantona.no-ip.org wrote:

 Hi all,
 
 Eina is broken...I attached a patch which fixed the problem.
 
 - cantona
 ---
 cd .  /bin/sh /home/cantona/e17_src/eina/missing --run autoheader
 rm -f stamp-h1
 touch config.h.in
 cd .  /bin/sh ./config.status config.h
 config.status: creating config.h
 config.status: config.h is unchanged
 make  all-recursive
 make[1]: Entering directory `/home/cantona/e17_src/eina'
 Making all in src
 make[2]: Entering directory `/home/cantona/e17_src/eina/src'
 Making all in lib
 make[3]: Entering directory `/home/cantona/e17_src/eina/src/lib'
 rm -f /eina_amalgamation.c
 /bin/sh: /eina_amalgamation.c: Permission denied
 make[3]: *** [eina_amalgamation.c] Error 1
 make[3]: Leaving directory `/home/cantona/e17_src/eina/src/lib'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/cantona/e17_src/eina/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/cantona/e17_src/eina'
 make: *** [all] Error 2
 
 --
 Come build with us! The BlackBerry(R) Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart
 your developing skills, take BlackBerry mobile applications to market
 and stay ahead of the curve. Join us from November 9 - 12, 2009.
 Register now! http://p.sf.net/sfu/devconference
 ___
 enlightenment-devel mailing list
 enlightenment-devel@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
 


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__Index: autogen.sh
===
--- autogen.sh	(revision 42995)
+++ autogen.sh	(working copy)
@@ -3,6 +3,16 @@
 rm -rf autom4te.cache
 rm -f aclocal.m4 ltmain.sh
 
+# Ignore the major version for now
+AUTOMAKE_MINOR_NEEDED=10
+
+AUTOMAKE_MINOR_VER=`automake --version |
+	sed -n 's,^automake (GNU automake) 1\.\([0-9]*\).*,\1,p'`
+if [ $AUTOMAKE_MINOR_VER -lt  $AUTOMAKE_MINOR_NEEDED ]; then
+	echo Need automake 1.10 or later;
+	exit 1
+fi
+
 echo Running aclocal... ; aclocal $ACLOCAL_FLAGS -I m4 || exit 1
 echo Running autoheader... ; autoheader || exit 1
 echo Running autoconf... ; autoconf || exit 1
--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina is broken (patrch submit)

2009-10-13 Thread Vincent Torri


On Wed, 14 Oct 2009, Brett Nash wrote:

 Hello All,

   Attached is a patch to check the automake minor version.

   Yes, I'm sure there are more versions that need checking, but
 this tripped me, and apparently cantona up.. so it's probably worth the
 check.

   Tested against automake 1.4, 1.9 and 1.10 (debian).

I'll ask the autotools devs to know what the problem is, before committing 
such patch

Vincent

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina is broken (patrch submit)

2009-10-13 Thread Vincent Torri


On Wed, 14 Oct 2009, Brett Nash wrote:


 The easier fix is to upgrade your automake to 1.10 or later.  It works
 fine then.

 1.9 gives the error reported below.

Can you give  the value of builddir and abs_builddir in Makefile (in 
src/lib) with automake 1.9 ?

Vincent

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


[E-devel] Eina is broken (patrch submit)

2009-10-12 Thread cantona
Hi all,

Eina is broken...I attached a patch which fixed the problem.

- cantona
---
cd .  /bin/sh /home/cantona/e17_src/eina/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd .  /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/home/cantona/e17_src/eina'
Making all in src
make[2]: Entering directory `/home/cantona/e17_src/eina/src'
Making all in lib
make[3]: Entering directory `/home/cantona/e17_src/eina/src/lib'
rm -f /eina_amalgamation.c
/bin/sh: /eina_amalgamation.c: Permission denied
make[3]: *** [eina_amalgamation.c] Error 1
make[3]: Leaving directory `/home/cantona/e17_src/eina/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cantona/e17_src/eina/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cantona/e17_src/eina'
make: *** [all] Error 2

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina is broken (patrch submit)

2009-10-12 Thread cantona
oops, forgot to attach.

On Tue, Oct 13, 2009 at 11:25 AM, cantona cant...@cantona.net wrote:
 Hi all,

 Eina is broken...I attached a patch which fixed the problem.

 - cantona
 ---
 cd .  /bin/sh /home/cantona/e17_src/eina/missing --run autoheader
 rm -f stamp-h1
 touch config.h.in
 cd .  /bin/sh ./config.status config.h
 config.status: creating config.h
 config.status: config.h is unchanged
 make  all-recursive
 make[1]: Entering directory `/home/cantona/e17_src/eina'
 Making all in src
 make[2]: Entering directory `/home/cantona/e17_src/eina/src'
 Making all in lib
 make[3]: Entering directory `/home/cantona/e17_src/eina/src/lib'
 rm -f /eina_amalgamation.c
 /bin/sh: /eina_amalgamation.c: Permission denied
 make[3]: *** [eina_amalgamation.c] Error 1
 make[3]: Leaving directory `/home/cantona/e17_src/eina/src/lib'
 make[2]: *** [all-recursive] Error 1
 make[2]: Leaving directory `/home/cantona/e17_src/eina/src'
 make[1]: *** [all-recursive] Error 1
 make[1]: Leaving directory `/home/cantona/e17_src/eina'
 make: *** [all] Error 2

Index: src/lib/Makefile.am
===
--- src/lib/Makefile.am	(revision 43047)
+++ src/lib/Makefile.am	(working copy)
@@ -67,49 +67,49 @@
 eina_sources_used = eina_amalgamation.c
 BUILT_SOURCES = eina_amalgamation.c
 
-$(builddir)/ eina_amalgamation.c: $(sources_used) Makefile
-	-rm -f $(builddir)/eina_amalgamation.c
+eina_amalgamation.c: $(sources_used) Makefile
+	-rm -f eina_amalgamation.c
 
-	@echo #ifdef HAVE_CONFIG_H  $(builddir)/eina_amalgamation.c
-	@echo #include \config.h\  $(builddir)/eina_amalgamation.c
-	@echo #endif  $(builddir)/eina_amalgamation.c
+	@echo #ifdef HAVE_CONFIG_H  eina_amalgamation.c
+	@echo #include \config.h\  eina_amalgamation.c
+	@echo #endif  eina_amalgamation.c
 
-	@echo #ifndef _WIN32  $(builddir)/eina_amalgamation.c
-	@echo #define _GNU_SOURCE  $(builddir)/eina_amalgamation.c
-	@echo #endif  $(builddir)/eina_amalgamation.c
+	@echo #ifndef _WIN32  eina_amalgamation.c
+	@echo #define _GNU_SOURCE  eina_amalgamation.c
+	@echo #endif  eina_amalgamation.c
 
-	@echo #ifdef HAVE_ALLOCA_H  $(builddir)/eina_amalgamation.c
-	@echo # include alloca.h  $(builddir)/eina_amalgamation.c
-	@echo #elif defined __GNUC__  $(builddir)/eina_amalgamation.c
-	@echo # define alloca __builtin_alloca  $(builddir)/eina_amalgamation.c
-	@echo #elif defined _AIX  $(builddir)/eina_amalgamation.c
-	@echo # define alloca __alloca  $(builddir)/eina_amalgamation.c
-	@echo #elif defined _MSC_VER  $(builddir)/eina_amalgamation.c
-	@echo # include malloc.h  $(builddir)/eina_amalgamation.c
-	@echo # define alloca _alloca  $(builddir)/eina_amalgamation.c
-	@echo #else  $(builddir)/eina_amalgamation.c
-	@echo # include stddef.h  $(builddir)/eina_amalgamation.c
-	@echo # ifdef __cplusplus  $(builddir)/eina_amalgamation.c
-	@echo #extern \C\  $(builddir)/eina_amalgamation.c
-	@echo # endif  $(builddir)/eina_amalgamation.c
-	@echo #void *alloca (size_t);  $(builddir)/eina_amalgamation.c
-	@echo #endif  $(builddir)/eina_amalgamation.c
+	@echo #ifdef HAVE_ALLOCA_H  eina_amalgamation.c
+	@echo # include alloca.h  eina_amalgamation.c
+	@echo #elif defined __GNUC__  eina_amalgamation.c
+	@echo # define alloca __builtin_alloca  eina_amalgamation.c
+	@echo #elif defined _AIX  eina_amalgamation.c
+	@echo # define alloca __alloca  eina_amalgamation.c
+	@echo #elif defined _MSC_VER  eina_amalgamation.c
+	@echo # include malloc.h  eina_amalgamation.c
+	@echo # define alloca _alloca  eina_amalgamation.c
+	@echo #else  eina_amalgamation.c
+	@echo # include stddef.h  eina_amalgamation.c
+	@echo # ifdef __cplusplus  eina_amalgamation.c
+	@echo #extern \C\  eina_amalgamation.c
+	@echo # endif  eina_amalgamation.c
+	@echo #void *alloca (size_t);  eina_amalgamation.c
+	@echo #endif  eina_amalgamation.c
 
-	@echo #include stdio.h  $(builddir)/eina_amalgamation.c
-	@echo #include stdlib.h  $(builddir)/eina_amalgamation.c
-	@echo #include string.h  $(builddir)/eina_amalgamation.c
-	@echo #include dlfcn.h  $(builddir)/eina_amalgamation.c
-	@echo #include sys/types.h  $(builddir)/eina_amalgamation.c
-	@echo #include dirent.h  $(builddir)/eina_amalgamation.c
+	@echo #include stdio.h  eina_amalgamation.c
+	@echo #include stdlib.h  eina_amalgamation.c
+	@echo #include string.h  eina_amalgamation.c
+	@echo #include dlfcn.h  eina_amalgamation.c
+	@echo #include sys/types.h  eina_amalgamation.c
+	@echo #include dirent.h  eina_amalgamation.c
 
-	@echo #ifdef HAVE_EVIL  $(builddir)/eina_amalgamation.c
-	@echo # include Evil.h  $(builddir)/eina_amalgamation.c
-	@echo #endif  $(builddir)/eina_amalgamation.c
+	@echo #ifdef HAVE_EVIL  eina_amalgamation.c
+	@echo # include Evil.h  eina_amalgamation.c
+	@echo #endif  eina_amalgamation.c
 
-	@echo #include \eina_config.h\  $(builddir)/eina_amalgamation.c
-	@echo #include \eina_private.h\  $(builddir)/eina_amalgamation.c
-	@echo #include \eina_safety_checks.h\  $(builddir)/eina_amalgamation.c
-	@echo #include \Eina.h\ 

Re: [E-devel] Eina is broken (patrch submit)

2009-10-12 Thread Vincent Torri



On Tue, 13 Oct 2009, cantona wrote:


oops, forgot to attach.


with your patch, is make distcheck working ?

Vincent


On Tue, Oct 13, 2009 at 11:25 AM, cantona cant...@cantona.net wrote:

Hi all,

Eina is broken...I attached a patch which fixed the problem.

- cantona
---
cd .  /bin/sh /home/cantona/e17_src/eina/missing --run autoheader
rm -f stamp-h1
touch config.h.in
cd .  /bin/sh ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make  all-recursive
make[1]: Entering directory `/home/cantona/e17_src/eina'
Making all in src
make[2]: Entering directory `/home/cantona/e17_src/eina/src'
Making all in lib
make[3]: Entering directory `/home/cantona/e17_src/eina/src/lib'
rm -f /eina_amalgamation.c
/bin/sh: /eina_amalgamation.c: Permission denied
make[3]: *** [eina_amalgamation.c] Error 1
make[3]: Leaving directory `/home/cantona/e17_src/eina/src/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/cantona/e17_src/eina/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/cantona/e17_src/eina'
make: *** [all] Error 2

--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel


Re: [E-devel] Eina is broken (patrch submit)

2009-10-12 Thread The Rasterman
On Tue, 13 Oct 2009 06:50:05 +0200 (CEST) Vincent Torri vto...@univ-evry.fr
said:

it looks wrong to me. that smells of distcheck and cross-compiling breaking.

 
 
 On Tue, 13 Oct 2009, cantona wrote:
 
  oops, forgot to attach.
 
 with your patch, is make distcheck working ?
 
 Vincent
 
  On Tue, Oct 13, 2009 at 11:25 AM, cantona cant...@cantona.net wrote:
  Hi all,
 
  Eina is broken...I attached a patch which fixed the problem.
 
  - cantona
  ---
  cd .  /bin/sh /home/cantona/e17_src/eina/missing --run autoheader
  rm -f stamp-h1
  touch config.h.in
  cd .  /bin/sh ./config.status config.h
  config.status: creating config.h
  config.status: config.h is unchanged
  make  all-recursive
  make[1]: Entering directory `/home/cantona/e17_src/eina'
  Making all in src
  make[2]: Entering directory `/home/cantona/e17_src/eina/src'
  Making all in lib
  make[3]: Entering directory `/home/cantona/e17_src/eina/src/lib'
  rm -f /eina_amalgamation.c
  /bin/sh: /eina_amalgamation.c: Permission denied
  make[3]: *** [eina_amalgamation.c] Error 1
  make[3]: Leaving directory `/home/cantona/e17_src/eina/src/lib'
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory `/home/cantona/e17_src/eina/src'
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory `/home/cantona/e17_src/eina'
  make: *** [all] Error 2
 
 


-- 
- Codito, ergo sum - I code, therefore I am --
The Rasterman (Carsten Haitzler)ras...@rasterman.com


--
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
___
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel