Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 507494 - net-misc/curl-7.36.0 - build fails on Gentoo/FreeBSD. hostcheck.c:64:23: error: storage size of 'si6' isn't known
Summary: net-misc/curl-7.36.0 - build fails on Gentoo/FreeBSD. hostcheck.c:64:23: erro...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL: https://github.com/bagder/curl/commit...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-04-12 12:24 UTC by Yuta SATOH
Modified: 2014-04-13 00:43 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2014-04-12 12:24:21 UTC
The following message is displayed and fails to build.


/bin/sh ../libtool  --tag=CC   --mode=compile x86_64-gentoo-freebsd10.0-gcc -DHAVE_CONFIG_H   -I../include/curl -I../include -I../include -I../lib -I../lib  -DBUILDING_LIBCURL  -DCURL_HIDDEN_SYMBOLS   -fvisibility=hidden -O0 -pipe -ggdb -pthread  -c -o libcurl_la-hostcheck.lo `test -f 'hostcheck.c' || echo './'`hostcheck.c
libtool: compile:  x86_64-gentoo-freebsd10.0-gcc -DHAVE_CONFIG_H -I../include/curl -I../include -I../include -I../lib -I../lib -DBUILDING_LIBCURL -DCURL_HIDDEN_SYMBOLS -fvisibility=hidden -O0 -pipe -ggdb -pthread -c hostcheck.c  -fPIC -DPIC -o .libs/libcurl_la-hostcheck.o
hostcheck.c: In function 'hostmatch':
hostcheck.c:64:23: error: storage size of 'si6' isn't known
   struct sockaddr_in6 si6;
                       ^
Makefile:1763: recipe for target 'libcurl_la-hostcheck.lo' failed
gmake[2]: *** [libcurl_la-hostcheck.lo] Error 1
gmake[2]: Leaving directory '/var/tmp/portage/net-misc/curl-7.36.0/work/curl-7.36.0/lib'
Makefile:691: recipe for target 'all' failed
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory '/var/tmp/portage/net-misc/curl-7.36.0/work/curl-7.36.0/lib'
Makefile:676: recipe for target 'all-recursive' failed
gmake: *** [all-recursive] Error 1
 * ERROR: net-misc/curl-7.36.0::gentoo failed (compile phase):
 *   emake failed
 *
 * If you need support, post the output of `emerge --info '=net-misc/curl-7.36.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=net-misc/curl-7.36.0::gentoo'`.
 * The complete build log is located at '/var/tmp/portage/net-misc/curl-7.36.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/net-misc/curl-7.36.0/temp/environment'.
 * Working directory: '/var/tmp/portage/net-misc/curl-7.36.0/work/curl-7.36.0'
 * S: '/var/tmp/portage/net-misc/curl-7.36.0/work/curl-7.36.0'



Reproducible: Always

Steps to Reproduce:
1. emerge net-misc/curl
2.
3.




This issue fixed in upstream.
Patch is here.

https://github.com/bagder/curl/commit/a8c7cf62811d688efeff49f8f9ab942b525ebfd4.patch
Comment 1 Naohiro Aota gentoo-dev 2014-04-13 00:43:55 UTC
Appled. thanks