Your message dated Sun, 13 Mar 2016 23:07:10 +0100 with message-id <[email protected]> and subject line Bug#545888: libc0.3-dev: struct ether_addr defined twice has caused the Debian Bug report #545888, regarding libc0.3-dev: struct ether_addr defined twice to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 545888: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545888 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Subject: libc0.3-dev: struct ether_addr defined twice Package: libc0.3-dev Version: 2.9-25 Severity: normal On Hurd (tested on strauss.debian.net) both /usr/include/net/ethernet.h and /usr/include/netinet/if_ether.h define a struct ether_addr: /usr/include/net/ethernet.h: struct ether_addr { u_int8_t ether_addr_octet[ETH_ALEN]; }; /usr/include/netinet/if_ether.h: struct ether_addr { u_int8_t ether_addr_octet[6]; } __attribute__ ((__packed__)); This causes problems with software that includes both header files. e.g. see: http://buildd.debian-ports.org/fetch.php?pkg=nss-pam-ldapd&arch=hurd-i386&ver=0.7.0&stamp=1252363928&file=log&as=raw With Glibc on Linux (i386) only /usr/include/net/ethernet.h defines the struct. Sorry to not have more details (no reportbug on strauss). A minimal C program to reproduce: #include <net/ethernet.h> #include <netinet/if_ether.h> int main(int argc,char *argv[]){return 0;} Thanks. -- -- arthur - [email protected] - http://people.debian.org/~adejong --
signature.asc
Description: This is a digitally signed message part
--- End Message ---
--- Begin Message ---Version: 2.10.2-6 On 2009-09-09 21:21, Arthur de Jong wrote: > Subject: libc0.3-dev: struct ether_addr defined twice > Package: libc0.3-dev > Version: 2.9-25 > Severity: normal > > On Hurd (tested on strauss.debian.net) both /usr/include/net/ethernet.h > and /usr/include/netinet/if_ether.h define a struct ether_addr: > > /usr/include/net/ethernet.h: > struct ether_addr > { > u_int8_t ether_addr_octet[ETH_ALEN]; > }; > > /usr/include/netinet/if_ether.h: > struct ether_addr > { > u_int8_t ether_addr_octet[6]; > } __attribute__ ((__packed__)); > > > This causes problems with software that includes both header files. e.g. > see: > http://buildd.debian-ports.org/fetch.php?pkg=nss-pam-ldapd&arch=hurd-i386&ver=0.7.0&stamp=1252363928&file=log&as=raw > > With Glibc on Linux (i386) only /usr/include/net/ethernet.h defines the > struct. > > Sorry to not have more details (no reportbug on strauss). A minimal C > program to reproduce: > > #include <net/ethernet.h> > #include <netinet/if_ether.h> > int main(int argc,char *argv[]){return 0;} > This issue has been fixed in version 2.10.2-6 by the following patch: https://anonscm.debian.org/cgit/pkg-glibc/glibc.git/commit/?id=2aba5964fceaf30a681a5cd823178b489d815427 I am therefore closing the bug. -- Aurelien Jarno GPG: 4096R/1DDD8C9B [email protected] http://www.aurel32.net
signature.asc
Description: PGP signature
--- End Message ---

