Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 426860 - mail-filter/opendkim-2.6.4 build failed: ar.c:2896:6: error: 'struct sockaddr_in6' has no member named 'sin6_len'
Summary: mail-filter/opendkim-2.6.4 build failed: ar.c:2896:6: error: 'struct sockaddr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Net-Mail Packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-16 15:35 UTC by Andreis Vinogradovs ( slepnoga )
Modified: 2016-10-15 10:53 UTC (History)
0 users

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


Attachments
build log (build.log,19.95 KB, text/plain)
2012-07-16 15:35 UTC, Andreis Vinogradovs ( slepnoga )
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreis Vinogradovs ( slepnoga ) 2012-07-16 15:35:35 UTC
Created attachment 318322 [details]
build log

mail-filter/opendkim-2.6.4 build failed and produce error:
ar.c:1303:12: warning: format '%06u' expects type 'unsigned int', but argument 4 has type '__suseconds_t'
/bin/sh ../libtool  --tag=CC   --mode=compile i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I..   -DCONFIG_BASE=\"/etc\" -pthread -O2 -march=native -pipe -c -o libar_la-ar-strl.lo `test -f 'ar-strl.c' || echo './'`ar-strl.c
ar.c: In function 'ar_resolvconf':
ar.c:2889:6: error: 'struct sockaddr_in' has no member named 'sin_len'
ar.c:2896:6: error: 'struct sockaddr_in6' has no member named 'sin6_len'
ar.c: In function 'ar_requeue':
ar.c:778:4: warning: ignoring return value of 'write', declared with attribute warn_unused_result
make[3]: *** [libar_la-ar.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
libtool: compile:  i686-pc-linux-gnu-gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I.. -DCONFIG_BASE=\"/etc\" -pthread -O2 -march=native -pipe -c ar-strl.c  -fPIC -DPIC -o .libs/libar_la-ar-strl.o
make[3]: Leaving directory `/var/tmp/portage/mail-filter/opendkim-2.6.4/work/opendkim-2.6.4/libar'
make[2]: *** [all-recursive] Error 1


####################

 emerge --info '=mail-filter/opendkim-2.6.4'
Portage 2.2.0_alpha110 (hardened/linux/x86, gcc-4.5.3, glibc-2.14.1-r3, 3.2.11-hardened-slep-1-grsec i686)
=================================================================
                        System Settings
=================================================================
System uname: Linux-3.2.11-hardened-slep-1-grsec-i686-Intel-R-_Pentium-R-_4_CPU_2.26GHz-with-gentoo-2.1
Timestamp of tree: Sat, 14 Jul 2012 00:45:01 +0000
app-shells/bash:          4.2_p20
dev-lang/python:          2.7.3-r2, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.8.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 3.1 (virtual/os-headers)
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo rion
Installed sets: 
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-march=i686 -O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles news parallel-fetch parse-eapi-ebuild-head preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS="-march=i686 -O2 -pipe"
GENTOO_MIRRORS="http://gentoo.tups.lv/source"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_COMPRESS="lzma"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/rion"
SYNC="rsync://gentoo.tups.lv/gentoo-portage"
USE="acl adns apache2 asyncdns berkdb bzip2 caps cdb cli cracklib creds crypt cups cxx dkim dlz dri gdbm git gpm hardened iconv idn ipv6 jpeg kerberos ldap mbox mercurial modules mudflap mysql ncurses netlink nls nptl openldap openmp pam pax_kernel pcre pic pppd razor readline session spamassassin sse2 ssl tcpd unicode upcall urandom vhosts x86 xorg zlib" ALSA_CARDS="intel-hda" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog apache apcups bind conntrack cpu curl json curl_xml disk email ethstat exec hddtemp iptables logfile match_empty_counter match_hashed match_regex match_timediff match_value md mysql netlink network notify_email ping processes protocols rrdcached sensors tail target_notification target_replace target_scale target_set tcpconns thermal uptime users uuid vmem" DRACUT_MODULES="caps lvm" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="synaptics evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="ru" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="i965 intel" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Eray Aslan gentoo-dev 2012-07-24 09:51:31 UTC
Should be fixed with >=mail-filter/opendkim-2.6.6.  From RELEASE_NOTES:

2.6.6           2012/07/18
        LIBAR: Fix bug #SF3544522: Not all systems define a "_len" member for
                the sockaddr structures.  Reported by Stevan Bajic.

Please reopen if upgrading to mail-filter/opendkim-2.6.7 does not solve the problem.