* [Buildroot] 2009.05-rc1: fix rsync build with config cache
@ 2009-05-06 10:20 Olaf Rempel
2009-05-08 3:22 ` Thiago A. Corrêa
2009-10-07 16:41 ` Bernhard Reutner-Fischer
0 siblings, 2 replies; 4+ messages in thread
From: Olaf Rempel @ 2009-05-06 10:20 UTC (permalink / raw)
To: buildroot
Hi,
building rsync (x86 target) fails with config cache turned on
(at least with my attached .config).
With config cache during .configure:
checking for struct addrinfo... yes
checking for struct sockaddr_storage... (cached) no
checking whether defines needed by getaddrinfo exist... yes
checking for getaddrinfo... (cached) yes
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in6.sin6_scope_id... yes
/home/development/buildroot/build_i686/staging_dir/usr/bin/i686-linux-uclibc-gcc -Os -pipe -Os -I/home/development/buildroot/build_i686/staging_dir/usr/include -I/home/development/buildroot/build_i686/staging_dir/include --sysroot=/home/development/buildroot/build_i686/staging_dir/ -isysroot /home/development/buildroot/build_i686/staging_dir -mtune=i686 -march=i686 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -std=gnu99 -I. -I. -Os -pipe -Os -I/home/development/buildroot/build_i686/staging_dir/usr/include -I/home/development/buildroot/build_i686/staging_dir/include --sysroot=/home/development/buildroot/build_i686/staging_dir/ -isysroot /home/development/buildroot/build_i686/staging_dir -mtune=i686 -march=i686 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H -Wall -W -I./popt -Wno-unused-parameter -c rsync.c -o rsync.o
In file included from rsync.h:886,
from rsync.c:22:
lib/addrinfo.h:141: error: redefinition of 'struct sockaddr_storage'
After disabling config cache:
checking for struct addrinfo... yes
checking for struct sockaddr_storage... yes
checking whether defines needed by getaddrinfo exist... yes
checking for getaddrinfo... yes
checking for struct sockaddr.sa_len... no
checking for struct sockaddr_in.sin_len... no
checking for struct sockaddr_un.sun_len... no
checking for struct sockaddr_in6.sin6_scope_id... yes
$ grep storage project_build_i686/uclibc/tgt-config.cache
ac_cv_have_struct_sockaddr_storage=${ac_cv_have_struct_sockaddr_storage=yes}
ac_cv_member_struct_sockaddr_storage_ss_family=${ac_cv_member_struct_sockaddr_storage_ss_family=yes}
ac_cv_type_struct_sockaddr_storage=${ac_cv_type_struct_sockaddr_storage=no}
Regards
Olaf
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 20259 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090506/ff15de41/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-rsync-fix-build-with-config-cache.patch
Type: text/x-patch
Size: 770 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20090506/ff15de41/attachment-0001.bin>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] 2009.05-rc1: fix rsync build with config cache
2009-05-06 10:20 [Buildroot] 2009.05-rc1: fix rsync build with config cache Olaf Rempel
@ 2009-05-08 3:22 ` Thiago A. Corrêa
2009-05-08 20:30 ` Thiago A. Corrêa
2009-10-07 16:41 ` Bernhard Reutner-Fischer
1 sibling, 1 reply; 4+ messages in thread
From: Thiago A. Corrêa @ 2009-05-08 3:22 UTC (permalink / raw)
To: buildroot
Hi,
On Wed, May 6, 2009 at 7:20 AM, Olaf Rempel <razzor@kopf-tisch.de> wrote:
> Hi,
>
> building rsync (x86 target) fails with config cache turned on
> (at least with my attached .config).
>
Also happens in avr32 with atngw100_defconfig
Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
Kind Regards,
Thiago A. Correa
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] 2009.05-rc1: fix rsync build with config cache
2009-05-08 3:22 ` Thiago A. Corrêa
@ 2009-05-08 20:30 ` Thiago A. Corrêa
0 siblings, 0 replies; 4+ messages in thread
From: Thiago A. Corrêa @ 2009-05-08 20:30 UTC (permalink / raw)
To: buildroot
2009/5/8 Thiago A. Corr?a <thiago.correa@gmail.com>:
> Hi,
>
> On Wed, May 6, 2009 at 7:20 AM, Olaf Rempel <razzor@kopf-tisch.de> wrote:
>> Hi,
>>
>> building rsync (x86 target) fails with config cache turned on
>> (at least with my attached .config).
>>
>
> Also happens in avr32 with atngw100_defconfig
>
> Signed-off-by: Thiago A. Correa <thiago.correa@gmail.com>
>
I've pushed this patch to my tree
git://git.buildroot.net/~correa/buildroot
It should go into the upstream in the next pull request :)
Now atngw100_defconfig builds completely :)
Thanks,
Thiago A. Correa
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] 2009.05-rc1: fix rsync build with config cache
2009-05-06 10:20 [Buildroot] 2009.05-rc1: fix rsync build with config cache Olaf Rempel
2009-05-08 3:22 ` Thiago A. Corrêa
@ 2009-10-07 16:41 ` Bernhard Reutner-Fischer
1 sibling, 0 replies; 4+ messages in thread
From: Bernhard Reutner-Fischer @ 2009-10-07 16:41 UTC (permalink / raw)
To: buildroot
On Wed, May 06, 2009 at 12:20:33PM +0200, Olaf Rempel wrote:
>Hi,
>
>building rsync (x86 target) fails with config cache turned on
>(at least with my attached .config).
>
>With config cache during .configure:
>checking for struct addrinfo... yes
>checking for struct sockaddr_storage... (cached) no
which package did set this to no?
Please retest.
TIA,
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-10-07 16:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-06 10:20 [Buildroot] 2009.05-rc1: fix rsync build with config cache Olaf Rempel
2009-05-08 3:22 ` Thiago A. Corrêa
2009-05-08 20:30 ` Thiago A. Corrêa
2009-10-07 16:41 ` Bernhard Reutner-Fischer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox