Major upgrade fails freebsd-lib-9.0-r3 from -8.0. upgrade will fail freebsd-lib-9.0-r3 from -8.0. 9.0-r1 was no problem. freebsd-lib-9.0-r3 is /usr/include to the include path is specified, refers to an older version of the include file. Please change can be upgraded as well for the future. important error messages: i686-gentoo-freebsd8.0-gcc -O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow -isystem /usr/include -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/include -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/../../include -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/i386 -DNLS -D__DBINTERFACE_PRIVATE -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/../../contrib/gdtoa -DINET6 -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/i686-gentoo-freebsd8.0/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/resolv -D_ACL_PRIVATE -DPOSIX_MISTAKE -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/../../contrib/tzcode/stdtime -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/stdtime -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/locale -DBROKEN_DES -DPORTMAP -DDES_BUILTIN -I/var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/rpc -DYP -DNS_CACHING -DSYMBOL_VERSIONING -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -Wno-uninitialized -Wno-pointer-sign -c /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/db/btree/bt_close.c In file included from /usr/include/sys/param.h:64, from /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/db/btree/bt_close.c:40: /usr/include/sys/types.h:146: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'cpumask_t' In file included from /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/../../include/machine/param.h:36, from /usr/include/sys/param.h:110, from /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/db/btree/bt_close.c:40: /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/libc/../../include/machine/_align.h:6:24: error: x86/_align.h: No such file or directory *** Error code 1 1 error *** Error code 2 1 error
Created attachment 313869 [details, diff] sample patch for freebsd-lib-9.0-r3.ebuild
I have noticed that -isystem is not set properly when USE=build has been specified. * before_bootstrap_CFLAGS:-O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow -isystem /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/include_proper * bootstrap_csu_CFLAGS: -O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/include_proper -B /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/i686-gentoo-freebsd9.0//var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/csu/i386-elf * after_bootstrap_CFLAGS:-O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/include_proper -B /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/i686-gentoo-freebsd9.0//var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/csu/i386-elf * Building in lib... with CC=i686-gentoo-freebsd9.0-gcc and CFLAGS=-O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/include_proper -B /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/i686-gentoo-freebsd9.0//var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/csu/i386-elf
Created attachment 313881 [details, diff] sample patch for freebsd-lib-9.0-r3.ebuild When you apply this patch, CFLAGS will be set as follows. * before_bootstrap_CFLAGS:-O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow -isystem /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/include_proper * bootstrap_csu_CFLAGS: -O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow -isystem /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/include_proper -B /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/i686-gentoo-freebsd9.0//var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/csu/i386-elf * after_bootstrap_CFLAGS:-O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow -isystem /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/include_proper -B /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/i686-gentoo-freebsd9.0//var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/csu/i386-elf * Building in lib... with CC=i686-gentoo-freebsd9.0-gcc and CFLAGS=-O2 -march=i686 -mtune=i686 -pipe -fno-strict-aliasing -fno-strict-overflow -isystem /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/include_proper -B /var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/i686-gentoo-freebsd9.0//var/tmp/portage/sys-freebsd/freebsd-lib-9.0-r3/work/lib/csu/i386-elf
(In reply to comment #3) > Created attachment 313881 [details, diff] [details, diff] > sample patch for freebsd-lib-9.0-r3.ebuild > applied this one, thanks i'll try to find a simpler way of letting major upgrades happen than asking people to set USE=build
ok, so now you should not need to set USE=build with major updates, it should detect it and bootstrap itself instead (you are still really advised to rebuild freebsd-lib after the major update though)