mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH 1/2] apr-util: version bump apr-util
@ 2015-02-18 10:49 Oliver Graute
  2015-02-18 10:49 ` [ptxdist] [PATCH 2/2] added 0001-apu-config-add-SYSROOT.patch Oliver Graute
  2015-02-19 16:17 ` [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Michael Olbrich
  0 siblings, 2 replies; 8+ messages in thread
From: Oliver Graute @ 2015-02-18 10:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Oliver Graute

This is a apr-util version bump from 0.9.19 to 1.5.4 
this is necessary for the Apache2 version bump 

Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
 rules/apr-util.in   |    1 -
 rules/apr-util.make |   14 +++++++++-----
 2 files changed, 9 insertions(+), 6 deletions(-)

diff --git a/rules/apr-util.in b/rules/apr-util.in
index aaacfad..6e53726 100644
--- a/rules/apr-util.in
+++ b/rules/apr-util.in
@@ -3,7 +3,6 @@
 config APR_UTIL
 	tristate
 	select APR
-	select HOST_APR_UTIL
 	select EXPAT
 	prompt "apr-util"
 	help
diff --git a/rules/apr-util.make b/rules/apr-util.make
index 821a838..86aa107 100644
--- a/rules/apr-util.make
+++ b/rules/apr-util.make
@@ -1,6 +1,7 @@
 # -*-makefile-*-
 #
 # Copyright (C) 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
+# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany,  Oliver Graute <oliver.graute@neuhaus.de>
 #
 # See CREDITS for details about who has contributed to this project.
 #
@@ -16,8 +17,8 @@ PACKAGES-$(PTXCONF_APR_UTIL) += apr-util
 #
 # Paths and names
 #
-APR_UTIL_VERSION	:= 0.9.19
-APR_UTIL_MD5		:= 927a200513018a579cc9936c05d35206
+APR_UTIL_VERSION	:= 1.5.4
+APR_UTIL_MD5		:= 866825c04da827c6e5f53daff5569f42
 APR_UTIL		:= apr-util-$(APR_UTIL_VERSION)
 APR_UTIL_SUFFIX		:= tar.bz2
 APR_UTIL_URL		:= http://archive.apache.org/dist/apr/$(APR_UTIL).$(APR_UTIL_SUFFIX)
@@ -29,14 +30,17 @@ APR_UTIL_LICENSE	:= APLv2
 # Prepare
 # ----------------------------------------------------------------------------
 
+APR_UTIL_CONF_ENV	:= $(CROSS_ENV)
+
 #
 # autoconf
 #
 APR_UTIL_CONF_TOOL := autoconf
 APR_UTIL_CONF_OPT := \
 	$(CROSS_AUTOCONF_USR) \
-	--with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
-	--with-expat=$(PTXDIST_SYSROOT_TARGET)/usr
+	--with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-1-config \
+	--with-expat=$(PTXDIST_SYSROOT_TARGET)/usr/include/apr-1
+
 
 # ----------------------------------------------------------------------------
 # Target-Install
@@ -51,7 +55,7 @@ $(STATEDIR)/apr-util.targetinstall:
 	@$(call install_fixup, apr-util,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
 	@$(call install_fixup, apr-util,DESCRIPTION,missing)
 
-	@$(call install_lib, apr-util, 0, 0, 0644, libaprutil-0)
+	@$(call install_lib, apr-util, 0, 0, 0644, libaprutil-1)
 
 	@$(call install_finish, apr-util)
 
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] [PATCH 2/2] added 0001-apu-config-add-SYSROOT.patch
  2015-02-18 10:49 [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Oliver Graute
@ 2015-02-18 10:49 ` Oliver Graute
  2015-02-19 16:17 ` [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Michael Olbrich
  1 sibling, 0 replies; 8+ messages in thread
From: Oliver Graute @ 2015-02-18 10:49 UTC (permalink / raw)
  To: ptxdist; +Cc: Oliver Graute


Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
---
 .../0001-apu-config-add-SYSROOT.patch              |   39 ++++++++++++++++++++
 patches/apr-util-1.5.4/series                      |    1 +
 2 files changed, 40 insertions(+)
 create mode 100644 patches/apr-util-1.5.4/0001-apu-config-add-SYSROOT.patch
 create mode 100644 patches/apr-util-1.5.4/series

diff --git a/patches/apr-util-1.5.4/0001-apu-config-add-SYSROOT.patch b/patches/apr-util-1.5.4/0001-apu-config-add-SYSROOT.patch
new file mode 100644
index 0000000..d8a594c
--- /dev/null
+++ b/patches/apr-util-1.5.4/0001-apu-config-add-SYSROOT.patch
@@ -0,0 +1,39 @@
+diff -rupN AM/apu-config.in AN/apu-config.in
+--- AM/apu-config.in	2010-09-29 16:21:25.000000000 +0200
++++ AN/apu-config.in	2015-02-13 12:58:30.942178404 +0100
+@@ -84,7 +84,7 @@ if test $# -eq 0; then
+ fi
+ 
+ if test "$location" = "installed"; then
+-    LA_FILE="$libdir/lib${APRUTIL_LIBNAME}.la"
++    LA_FILE="${SYSROOT}$libdir/lib${APRUTIL_LIBNAME}.la"
+ 
+     LIBS=`echo "$LIBS" | sed -e "s $APU_BUILD_DIR/xml/expat $prefix g" -e "s $prefix/libexpat.la -lexpat g"`
+     LDFLAGS=`echo "$LDFLAGS" | sed -e "s $APU_BUILD_DIR/xml/expat $prefix g"`
+@@ -132,7 +132,7 @@ while test $# -gt 0; do
+     ;;
+     --includedir)
+     if test "$location" = "installed"; then
+-        flags="$includedir"
++        flags="${SYSROOT}$includedir"
+     elif test "$location" = "source"; then
+         flags="$APU_SOURCE_DIR/include"
+     else
+@@ -144,7 +144,7 @@ while test $# -gt 0; do
+     ;;
+     --includes)
+     if test "$location" = "installed"; then
+-        flags="$flags -I$includedir $INCLUDES"
++        flags="$flags -I${SYSROOT}$includedir $INCLUDES"
+     elif test "$location" = "source"; then
+         flags="$flags -I$APU_SOURCE_DIR/include $INCLUDES"
+     else
+@@ -166,7 +166,7 @@ while test $# -gt 0; do
+     --link-ld)
+     if test "$location" = "installed"; then
+         ### avoid using -L if libdir is a "standard" location like /usr/lib
+-        flags="$flags -L$libdir -l$APRUTIL_LIBNAME"
++        flags="$flags -L${SYSROOT}$libdir -l$APRUTIL_LIBNAME"
+     else
+         flags="$flags -L$APU_BUILD_DIR -l$APRUTIL_LIBNAME"
+     fi
diff --git a/patches/apr-util-1.5.4/series b/patches/apr-util-1.5.4/series
new file mode 100644
index 0000000..4773caa
--- /dev/null
+++ b/patches/apr-util-1.5.4/series
@@ -0,0 +1 @@
+0001-apu-config-add-SYSROOT.patch
-- 
1.7.9.5


-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH 1/2] apr-util: version bump apr-util
  2015-02-18 10:49 [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Oliver Graute
  2015-02-18 10:49 ` [ptxdist] [PATCH 2/2] added 0001-apu-config-add-SYSROOT.patch Oliver Graute
@ 2015-02-19 16:17 ` Michael Olbrich
  2015-02-19 19:00   ` Marc Kleine-Budde
  2015-02-23 14:09   ` [ptxdist] Antwort: " Oliver.Graute
  1 sibling, 2 replies; 8+ messages in thread
From: Michael Olbrich @ 2015-02-19 16:17 UTC (permalink / raw)
  To: ptxdist

On Wed, Feb 18, 2015 at 11:49:20AM +0100, Oliver Graute wrote:
> This is a apr-util version bump from 0.9.19 to 1.5.4 
> this is necessary for the Apache2 version bump 
> 
> Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
> ---
>  rules/apr-util.in   |    1 -
>  rules/apr-util.make |   14 +++++++++-----
>  2 files changed, 9 insertions(+), 6 deletions(-)
> 
> diff --git a/rules/apr-util.in b/rules/apr-util.in
> index aaacfad..6e53726 100644
> --- a/rules/apr-util.in
> +++ b/rules/apr-util.in
> @@ -3,7 +3,6 @@
>  config APR_UTIL
>  	tristate
>  	select APR
> -	select HOST_APR_UTIL
>  	select EXPAT
>  	prompt "apr-util"
>  	help
> diff --git a/rules/apr-util.make b/rules/apr-util.make
> index 821a838..86aa107 100644
> --- a/rules/apr-util.make
> +++ b/rules/apr-util.make
> @@ -1,6 +1,7 @@
>  # -*-makefile-*-
>  #
>  # Copyright (C) 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
> +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany,  Oliver Graute <oliver.graute@neuhaus.de>
>  #
>  # See CREDITS for details about who has contributed to this project.
>  #
> @@ -16,8 +17,8 @@ PACKAGES-$(PTXCONF_APR_UTIL) += apr-util
>  #
>  # Paths and names
>  #
> -APR_UTIL_VERSION	:= 0.9.19
> -APR_UTIL_MD5		:= 927a200513018a579cc9936c05d35206
> +APR_UTIL_VERSION	:= 1.5.4
> +APR_UTIL_MD5		:= 866825c04da827c6e5f53daff5569f42
>  APR_UTIL		:= apr-util-$(APR_UTIL_VERSION)
>  APR_UTIL_SUFFIX		:= tar.bz2
>  APR_UTIL_URL		:= http://archive.apache.org/dist/apr/$(APR_UTIL).$(APR_UTIL_SUFFIX)
> @@ -29,14 +30,17 @@ APR_UTIL_LICENSE	:= APLv2
>  # Prepare
>  # ----------------------------------------------------------------------------
>  
> +APR_UTIL_CONF_ENV	:= $(CROSS_ENV)
> +
>  #
>  # autoconf
>  #
>  APR_UTIL_CONF_TOOL := autoconf
>  APR_UTIL_CONF_OPT := \
>  	$(CROSS_AUTOCONF_USR) \
> -	--with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
> -	--with-expat=$(PTXDIST_SYSROOT_TARGET)/usr
> +	--with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-1-config \

This seems strange (the original, not just your change): I don't think
there is a $(PTXDIST_SYSROOT_CROSS)/bin/apr-config, it should be in
PTXDIST_SYSROOT_TARGET. Can you check what configure does here?

> +	--with-expat=$(PTXDIST_SYSROOT_TARGET)/usr/include/apr-1

No, I'm pretty sure, that's not where expat is found.

Michael

> +
>  
>  # ----------------------------------------------------------------------------
>  # Target-Install
> @@ -51,7 +55,7 @@ $(STATEDIR)/apr-util.targetinstall:
>  	@$(call install_fixup, apr-util,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
>  	@$(call install_fixup, apr-util,DESCRIPTION,missing)
>  
> -	@$(call install_lib, apr-util, 0, 0, 0644, libaprutil-0)
> +	@$(call install_lib, apr-util, 0, 0, 0644, libaprutil-1)
>  
>  	@$(call install_finish, apr-util)
>  
> -- 
> 1.7.9.5
> 
> 
> -- 
> ptxdist mailing list
> ptxdist@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] [PATCH 1/2] apr-util: version bump apr-util
  2015-02-19 16:17 ` [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Michael Olbrich
@ 2015-02-19 19:00   ` Marc Kleine-Budde
  2015-02-23 14:09   ` [ptxdist] Antwort: " Oliver.Graute
  1 sibling, 0 replies; 8+ messages in thread
From: Marc Kleine-Budde @ 2015-02-19 19:00 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 3271 bytes --]

On 02/19/2015 05:17 PM, Michael Olbrich wrote:
> On Wed, Feb 18, 2015 at 11:49:20AM +0100, Oliver Graute wrote:
>> This is a apr-util version bump from 0.9.19 to 1.5.4 
>> this is necessary for the Apache2 version bump 
>>
>> Signed-off-by: Oliver Graute <oliver.graute@neuhaus.de>
>> ---
>>  rules/apr-util.in   |    1 -
>>  rules/apr-util.make |   14 +++++++++-----
>>  2 files changed, 9 insertions(+), 6 deletions(-)
>>
>> diff --git a/rules/apr-util.in b/rules/apr-util.in
>> index aaacfad..6e53726 100644
>> --- a/rules/apr-util.in
>> +++ b/rules/apr-util.in
>> @@ -3,7 +3,6 @@
>>  config APR_UTIL
>>  	tristate
>>  	select APR
>> -	select HOST_APR_UTIL
>>  	select EXPAT
>>  	prompt "apr-util"
>>  	help
>> diff --git a/rules/apr-util.make b/rules/apr-util.make
>> index 821a838..86aa107 100644
>> --- a/rules/apr-util.make
>> +++ b/rules/apr-util.make
>> @@ -1,6 +1,7 @@
>>  # -*-makefile-*-
>>  #
>>  # Copyright (C) 2012 by Marc Kleine-Budde <mkl@pengutronix.de>
>> +# Copyright (C) 2015 Dr. Neuhaus Telekommunikation GmbH, Hamburg Germany,  Oliver Graute <oliver.graute@neuhaus.de>
>>  #
>>  # See CREDITS for details about who has contributed to this project.
>>  #
>> @@ -16,8 +17,8 @@ PACKAGES-$(PTXCONF_APR_UTIL) += apr-util
>>  #
>>  # Paths and names
>>  #
>> -APR_UTIL_VERSION	:= 0.9.19
>> -APR_UTIL_MD5		:= 927a200513018a579cc9936c05d35206
>> +APR_UTIL_VERSION	:= 1.5.4
>> +APR_UTIL_MD5		:= 866825c04da827c6e5f53daff5569f42
>>  APR_UTIL		:= apr-util-$(APR_UTIL_VERSION)
>>  APR_UTIL_SUFFIX		:= tar.bz2
>>  APR_UTIL_URL		:= http://archive.apache.org/dist/apr/$(APR_UTIL).$(APR_UTIL_SUFFIX)
>> @@ -29,14 +30,17 @@ APR_UTIL_LICENSE	:= APLv2
>>  # Prepare
>>  # ----------------------------------------------------------------------------
>>  
>> +APR_UTIL_CONF_ENV	:= $(CROSS_ENV)
>> +
>>  #
>>  # autoconf
>>  #
>>  APR_UTIL_CONF_TOOL := autoconf
>>  APR_UTIL_CONF_OPT := \
>>  	$(CROSS_AUTOCONF_USR) \
>> -	--with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
>> -	--with-expat=$(PTXDIST_SYSROOT_TARGET)/usr
>> +	--with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-1-config \
> 
> This seems strange (the original, not just your change): I don't think
> there is a $(PTXDIST_SYSROOT_CROSS)/bin/apr-config, it should be in
> PTXDIST_SYSROOT_TARGET. Can you check what configure does here?

*-config is installed automatically to PTXDIST_SYSROOT_CROSS

from scripts/lib/ptxd_make_world_install.sh:

> ptxd_make_world_install_post
...
>     find "${pkg_pkg_dir}" ! -type d -name "${pkg_binconfig_glob}" | while read config; do
>         sed -i -e "s:@SYSROOT@:${pkg_sysroot_dir}:g" "${config}" &&
>         if [ "${pkg_type}" = "target" ]; then
>             cp -P -- "${config}" "${PTXDIST_SYSROOT_CROSS}/bin" || return
>         fi
>     done &&
with
> pkg_binconfig_glob="${pkg_binconfig_glob:-*-config}"

And the*-config scripts are also automatically mangeld in
ptxd_make_world_install_pack()

Marc
-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


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

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] Antwort: Re: [PATCH 1/2] apr-util: version bump apr-util
  2015-02-19 16:17 ` [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Michael Olbrich
  2015-02-19 19:00   ` Marc Kleine-Budde
@ 2015-02-23 14:09   ` Oliver.Graute
  2015-02-23 14:27     ` Marc Kleine-Budde
  1 sibling, 1 reply; 8+ messages in thread
From: Oliver.Graute @ 2015-02-23 14:09 UTC (permalink / raw)
  To: ptxdist; +Cc: ptxdist-bounces


[-- Attachment #1.1.1: Type: text/plain, Size: 5619 bytes --]


> > +APR_UTIL_CONF_ENV   := $(CROSS_ENV)
> > +
> >  #
> >  # autoconf
> >  #
> >  APR_UTIL_CONF_TOOL := autoconf
> >  APR_UTIL_CONF_OPT := \
> >     $(CROSS_AUTOCONF_USR) \
> > -   --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
> > -   --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr
> > +   --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-1-config \
>
> This seems strange (the original, not just your change): I don't think
> there is a $(PTXDIST_SYSROOT_CROSS)/bin/apr-config, it should be in
> PTXDIST_SYSROOT_TARGET. Can you check what configure does here?
>
> > +   --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr/include/apr-1
>
> No, I'm pretty sure, that's not where expat is found.
>

but what is then the right here?

if I change it to PTXDIST_SYSROOT_TARGET then I get:

checking for APR... configure: error: the --with-apr parameter is
incorrect.
It must specify an install prefix, a build directory, or an apr-config
file.

my sysroot-cross/bin/ contains these files

platform/sysroot-cross/bin$ ll
-rwxr-xr-x 1 dnt dnt  7128 Feb 18 13:44 apr-1-config*
-rwxr-xr-x 1 dnt dnt  6752 Feb 20 14:09 apu-1-config*

if I use PTXDIST_SYSROOT_CROSS configure:

------------------------
target: apr-util.prepare
------------------------
checking build system type... i686-host-linux-gnu
checking host system type... arm-v5te-linux-gnueabi
checking target system type... arm-v5te-linux-gnueabi
checking for a BSD-compatible
install... /usr/local/lib/ptxdist-2013.06.0/bin/install -c
checking for working mkdir -p... yes
APR-util Version: 1.5.4
checking for chosen layout... apr-util
checking for arm-v5te-linux-gnueabi-gcc... arm-v5te-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether arm-v5te-linux-gnueabi-gcc accepts -g... yes
checking for arm-v5te-linux-gnueabi-gcc option to accept ISO C89... none
needed
Applying apr-util hints file rules for arm-v5te-linux-gnueabi
checking for APR... yes
  setting CPPFLAGS to " -DLINUX -D_REENTRANT -D_GNU_SOURCE"
checking how to run the C preprocessor... arm-v5te-linux-gnueabi-cpp
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for ldap support...
checking for default DBM... sdbm (default)
checking for pg_config... no
checking libpq-fe.h usability... no
checking libpq-fe.h presence... no
checking for libpq-fe.h... no
checking postgresql/libpq-fe.h usability... no
checking postgresql/libpq-fe.h presence... no
checking for postgresql/libpq-fe.h... no
checking sqlite3.h usability... no
checking sqlite3.h presence... no
checking for sqlite3.h... no
checking sqlite.h usability... no
checking sqlite.h presence... no
checking for sqlite.h... no
checking sybdb.h usability... no
checking sybdb.h presence... no
checking for sybdb.h... no
checking freetds/sybdb.h usability... no
checking freetds/sybdb.h presence... no
checking for freetds/sybdb.h... no
checking for odbc_config... no
checking sql.h usability... no
checking sql.h presence... no
checking for sql.h... no
checking odbc/sql.h usability... no
checking odbc/sql.h presence... no
checking for odbc/sql.h... no
  setting LDFLAGS to
"-L/media/data/bsp/dnt8209ptxdist_git/platform-dnt3202/sysroot-target/usr/include/apr-1/lib"
  adding
"-I/media/data/bsp/dnt8209ptxdist_git/platform-dnt3202/sysroot-target/usr/include/apr-1/include"
 to CPPFLAGS
  setting APRUTIL_INCLUDES to
"-I/media/data/bsp/dnt8209ptxdist_git/platform-dnt3202/sysroot-target/usr/include/apr-1/include"
  setting APRUTIL_LDFLAGS to
"-L/media/data/bsp/dnt8209ptxdist_git/platform-dnt3202/sysroot-target/usr/include/apr-1/lib"
checking Expat 1.95.x... yes
  setting APRUTIL_EXPORT_LIBS to "-lexpat"
  setting APRUTIL_LIBS to "-lexpat"
checking iconv.h usability... yes
checking iconv.h presence... yes
checking for iconv.h... yes
checking for type of inbuf parameter to iconv... char **
checking for iconv.h... (cached) yes
checking langinfo.h usability... yes
checking langinfo.h presence... yes
checking for langinfo.h... yes
checking for nl_langinfo... yes
checking for CODESET in langinfo.h... yes
checking whether APR has DSO support... yes
checking for library containing crypt... -lcrypt
checking if system crypt() function is threadsafe... no
checking for crypt_r... yes
checking style of crypt_r... struct_crypt_data
  adding "/usr/lib/libapr-1.la" to APRUTIL_LIBS
  adding "-luuid" to APRUTIL_LIBS
  adding "-lrt" to APRUTIL_LIBS
  adding "-lcrypt" to APRUTIL_LIBS
  adding "-lpthread" to APRUTIL_LIBS
  adding "-ldl" to APRUTIL_LIBS
configure: creating ./config.status
config.status: creating Makefile
config.status: creating export_vars.sh
config.status: creating build/pkg/pkginfo
config.status: creating apr-util.pc
config.status: creating apu-1-config
config.status: creating include/private/apu_select_dbm.h
config.status: creating include/apr_ldap.h
config.status: creating include/apu.h
config.status: creating include/apu_want.h
config.status: creating test/Makefile
config.status: creating include/private/apu_config.h
config.status: executing default commands
finished target apr-util.prepare

[-- Attachment #1.1.2: Type: text/html, Size: 7625 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Antwort: Re: [PATCH 1/2] apr-util: version bump apr-util
  2015-02-23 14:09   ` [ptxdist] Antwort: " Oliver.Graute
@ 2015-02-23 14:27     ` Marc Kleine-Budde
  2015-02-23 15:21       ` [ptxdist] Antwort: " Oliver.Graute
  0 siblings, 1 reply; 8+ messages in thread
From: Marc Kleine-Budde @ 2015-02-23 14:27 UTC (permalink / raw)
  To: ptxdist; +Cc: ptxdist-bounces


[-- Attachment #1.1: Type: text/plain, Size: 1585 bytes --]

On 02/23/2015 03:09 PM, Oliver.Graute@neuhaus.de wrote:
> 
>> > +APR_UTIL_CONF_ENV   := $(CROSS_ENV)
>> > +
>> >  #
>> >  # autoconf
>> >  #
>> >  APR_UTIL_CONF_TOOL := autoconf
>> >  APR_UTIL_CONF_OPT := \
>> >     $(CROSS_AUTOCONF_USR) \
>> > -   --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-config \
>> > -   --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr
>> > +   --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-1-config \
>>
>> This seems strange (the original, not just your change): I don't think
>> there is a $(PTXDIST_SYSROOT_CROSS)/bin/apr-config, it should be in
>> PTXDIST_SYSROOT_TARGET. Can you check what configure does here?
>>
>> > +   --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr/include/apr-1
                ^^^^^                                       ^^^
>>
>> No, I'm pretty sure, that's not where expat is found.
                                         ^^^^^
>>
> 
> but what is then the right here?
> 
> if I change it to PTXDIST_SYSROOT_TARGET then I get:
> 
> checking for APR... configure: error: the --with-apr parameter is
                                                   ^^^
> incorrect.
> It must specify an install prefix, a build directory, or an apr-config file.

Michael pointed out that "exapt" is probably not found in an "apr-1" dir.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


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

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* [ptxdist] Antwort: Re: Antwort: Re: [PATCH 1/2] apr-util: version bump apr-util
  2015-02-23 14:27     ` Marc Kleine-Budde
@ 2015-02-23 15:21       ` Oliver.Graute
  2015-02-23 15:30         ` Marc Kleine-Budde
  0 siblings, 1 reply; 8+ messages in thread
From: Oliver.Graute @ 2015-02-23 15:21 UTC (permalink / raw)
  To: ptxdist; +Cc: ptxdist-bounces


[-- Attachment #1.1.1: Type: text/plain, Size: 1144 bytes --]


> >> > -   --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr
> >> > +   --with-apr=$(PTXDIST_SYSROOT_CROSS)/bin/apr-1-config \
> >>
> >> This seems strange (the original, not just your change): I don't think
> >> there is a $(PTXDIST_SYSROOT_CROSS)/bin/apr-config, it should be in
> >> PTXDIST_SYSROOT_TARGET. Can you check what configure does here?
> >>
> >> > +   --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr/include/apr-1
>                 ^^^^^                                       ^^^
> >>
> >> No, I'm pretty sure, that's not where expat is found.
>                                          ^^^^^
> >>
> >
> > but what is then the right here?
> >
> > if I change it to PTXDIST_SYSROOT_TARGET then I get:
> >
> > checking for APR... configure: error: the --with-apr parameter is
>                                                    ^^^
> > incorrect.
> > It must specify an install prefix, a build directory, or an apr-config
file.
>
> Michael pointed out that "exapt" is probably not found in an "apr-1" dir.

oh sorry, is it sufficant to set it only to /usr or /usr/include?

  --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr/

Best Regards,

Oliver

[-- Attachment #1.1.2: Type: text/html, Size: 1932 bytes --]

[-- Attachment #1.2: smime.p7s --]
[-- Type: application/x-pkcs7-signature, Size: 2446 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

* Re: [ptxdist] Antwort: Re: Antwort: Re: [PATCH 1/2] apr-util: version bump apr-util
  2015-02-23 15:21       ` [ptxdist] Antwort: " Oliver.Graute
@ 2015-02-23 15:30         ` Marc Kleine-Budde
  0 siblings, 0 replies; 8+ messages in thread
From: Marc Kleine-Budde @ 2015-02-23 15:30 UTC (permalink / raw)
  To: ptxdist; +Cc: ptxdist-bounces


[-- Attachment #1.1: Type: text/plain, Size: 687 bytes --]

On 02/23/2015 04:21 PM, Oliver.Graute@neuhaus.de wrote:
>> Michael pointed out that "exapt" is probably not found in an "apr-1" dir.
> 
> oh sorry, is it sufficant to set it only to /usr or /usr/include?
> 
>   --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr/

If it's needed at all, --with-expat=$(PTXDIST_SYSROOT_TARGET)/usr should
be enough. I think you don't have to modify that switch at all.

Marc

-- 
Pengutronix e.K.                  | Marc Kleine-Budde           |
Industrial Linux Solutions        | Phone: +49-231-2826-924     |
Vertretung West/Dortmund          | Fax:   +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686  | http://www.pengutronix.de   |


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

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

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

end of thread, other threads:[~2015-02-23 15:30 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-18 10:49 [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Oliver Graute
2015-02-18 10:49 ` [ptxdist] [PATCH 2/2] added 0001-apu-config-add-SYSROOT.patch Oliver Graute
2015-02-19 16:17 ` [ptxdist] [PATCH 1/2] apr-util: version bump apr-util Michael Olbrich
2015-02-19 19:00   ` Marc Kleine-Budde
2015-02-23 14:09   ` [ptxdist] Antwort: " Oliver.Graute
2015-02-23 14:27     ` Marc Kleine-Budde
2015-02-23 15:21       ` [ptxdist] Antwort: " Oliver.Graute
2015-02-23 15:30         ` Marc Kleine-Budde

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox