Olivier Cochard-Labbé
2012-Jul-25 21:45 UTC
Problem for compiling net-mgmt/net-snmp (sctp related) in 9-stable
Hi all, I've got a problem with 9-stable and sctp since the 20 july (seems related to SVN rev 238613 on 2012-07-19 09:32:59Z by tuexen) : If I put this date in my csup config file: src-all tag=RELENG_9 "date=2012.07.19.00.00.00" => After a csup/rebuild-insall world (without sctp in my kernel config file), I've got no problem for building net-mgmt/net-snmp But if I increment one day in my csup config file: src-all tag=RELENG_9 "date=2012.07.20.00.00.00" This update changes only theses files: Updating collection src-all/cvs Edit src/sys/netinet/sctp_asconf.c Edit src/sys/netinet/sctp_output.c Edit src/sys/netinet/sctp_uio.h Edit src/sys/netinet/sctp_usrreq.c Edit src/sys/netinet6/sctp6_usrreq.c Edit src/usr.bin/netstat/Makefile Edit src/usr.bin/netstat/sctp.c => After a new csup/rebuild+install world (still without sctp in my kernel config file), I can't no more compile net-mgmt/net-snmp. The error message is: sctp-mib/sctpTables_freebsd.c: In function 'parse_assoc_local_addresses': sctp-mib/sctpTables_freebsd.c:40: error: 'union sctp_sockstore' has no member named 'sin' sctp-mib/sctpTables_freebsd.c: In function 'parse_remaddr_xraddr': sctp-mib/sctpTables_freebsd.c:157: error: 'union sctp_sockstore' has no member named 'sin' *** [sctp-mib/sctpTables_freebsd.lo] Error code 1 Can someone check the problem ? Thanks, Olivier
Michael Tuexen
2012-Jul-25 22:59 UTC
Problem for compiling net-mgmt/net-snmp (sctp related) in 9-stable
On Jul 25, 2012, at 11:45 PM, Olivier Cochard-Labb? wrote:> Hi all, > > I've got a problem with 9-stable and sctp since the 20 july (seems > related to SVN rev 238613 on 2012-07-19 09:32:59Z by tuexen) : > > If I put this date in my csup config file: > src-all tag=RELENG_9 "date=2012.07.19.00.00.00" > > => After a csup/rebuild-insall world (without sctp in my kernel config > file), I've got no problem for building net-mgmt/net-snmp > > But if I increment one day in my csup config file: > > src-all tag=RELENG_9 "date=2012.07.20.00.00.00" > > This update changes only theses files: > > Updating collection src-all/cvs > Edit src/sys/netinet/sctp_asconf.c > Edit src/sys/netinet/sctp_output.c > Edit src/sys/netinet/sctp_uio.h > Edit src/sys/netinet/sctp_usrreq.c > Edit src/sys/netinet6/sctp6_usrreq.c > Edit src/usr.bin/netstat/Makefile > Edit src/usr.bin/netstat/sctp.c > > => After a new csup/rebuild+install world (still without sctp in my > kernel config file), I can't no more compile net-mgmt/net-snmp. > The error message is: > sctp-mib/sctpTables_freebsd.c: In function 'parse_assoc_local_addresses': > sctp-mib/sctpTables_freebsd.c:40: error: 'union sctp_sockstore' has no > member named 'sin' > sctp-mib/sctpTables_freebsd.c: In function 'parse_remaddr_xraddr': > sctp-mib/sctpTables_freebsd.c:157: error: 'union sctp_sockstore' has > no member named 'sin' > *** [sctp-mib/sctpTables_freebsd.lo] Error code 1 > > Can someone check the problem ?I can have a look. I know what the problem is, I need to think about a good way of solving it. Best regards Michael> > Thanks, > > Olivier >
Michael Tuexen
2012-Jul-26 08:17 UTC
Problem for compiling net-mgmt/net-snmp (sctp related) in 9-stable
On Jul 25, 2012, at 11:45 PM, Olivier Cochard-Labb? wrote:> Hi all, > > I've got a problem with 9-stable and sctp since the 20 july (seems > related to SVN rev 238613 on 2012-07-19 09:32:59Z by tuexen) : > > If I put this date in my csup config file: > src-all tag=RELENG_9 "date=2012.07.19.00.00.00" > > => After a csup/rebuild-insall world (without sctp in my kernel config > file), I've got no problem for building net-mgmt/net-snmp > > But if I increment one day in my csup config file: > > src-all tag=RELENG_9 "date=2012.07.20.00.00.00" > > This update changes only theses files: > > Updating collection src-all/cvs > Edit src/sys/netinet/sctp_asconf.c > Edit src/sys/netinet/sctp_output.c > Edit src/sys/netinet/sctp_uio.h > Edit src/sys/netinet/sctp_usrreq.c > Edit src/sys/netinet6/sctp6_usrreq.c > Edit src/usr.bin/netstat/Makefile > Edit src/usr.bin/netstat/sctp.c > > => After a new csup/rebuild+install world (still without sctp in my > kernel config file), I can't no more compile net-mgmt/net-snmp. > The error message is: > sctp-mib/sctpTables_freebsd.c: In function 'parse_assoc_local_addresses': > sctp-mib/sctpTables_freebsd.c:40: error: 'union sctp_sockstore' has no > member named 'sin' > sctp-mib/sctpTables_freebsd.c: In function 'parse_remaddr_xraddr': > sctp-mib/sctpTables_freebsd.c:157: error: 'union sctp_sockstore' has > no member named 'sin' > *** [sctp-mib/sctpTables_freebsd.lo] Error code 1 > > Can someone check the problem ?I've checked in a fix in http://svn.freebsd.org/changeset/base/238790 and will try to MFC to to stable/9 in three days. Thanks for reporting the issue. Best regards Michael> > Thanks, > > Olivier >