FreeBSD 9.1 beta1 is available. I'll report the results on Gentoo/FreeBSD. The following packages were able to compile by simply changing the file name. (ex. cp boot0-9.0.ebuild boot0-9.1_beta1.ebuild; ebuild boot0-9.1_beta1.ebuild digest) boot0 freebsd-bin freebsd-cddl freebsd-contrib freebsd-libexec freebsd-pam-modules freebsd-pf freebsd-sbin freebsd-share The following packages are probably need a patch. freebsd-lib freebsd-mk-defs freebsd-sources freebsd-ubin freebsd-usbin I have not tested this package. freebsd-rescue 9.1_beta1 ebuild and patches is available from my overlay (please see URL).
Created attachment 318288 [details, diff] patch for freebsd-lib.ebuild - 9.0-trylock-adaptive.patch fixed in 9.1. + 6.0-pmc.patch fixed this problem. <snip> /var/tmp/portage/sys-freebsd/freebsd-lib-9.1_beta1/work/lib/libpmc/pmclog.c: In function 'pmclog_get_event': /var/tmp/portage/sys-freebsd/freebsd-lib-9.1_beta1/work/lib/libpmc/pmclog.c:373:3: error: 'union <anonymous>' has no member named 'pl_ad' </snip>
Created attachment 318290 [details, diff] patch for freebsd-mk-defs.ebuild Source code has been modified, new patches are needed.
Created attachment 318292 [details, diff] freebsd-mk-defs-9.1-gentoo.patch freebsd-mk-defs/files/freebsd-mk-defs-9.1-gentoo.patch
Created attachment 318294 [details, diff] freebsd-mk-defs-9.1-gnu.patch freebsd-mk-defs/files/freebsd-mk-defs-9.1-gnu.patch
Created attachment 318296 [details, diff] patch for freebsd-sources.ebuild - epatch "${FILESDIR}/${PN}-9.0-gentoo.patch" + epatch "${FILESDIR}/${PN}-9.1-gentoo.patch" Source code has been modified, new patch is required. - epatch "${FILESDIR}/${PN}-cve-2012-0217.patch" - epatch "${FILESDIR}/${PN}-9.0-ipv6refcount.patch" fixed in 9.1. (SA / EN)
Created attachment 318298 [details, diff] freebsd-sources-9.1-gentoo.patch freebsd-sources/files/freebsd-sources-9.1-gentoo.patch
Created attachment 318300 [details, diff] patch for freebsd-ubin.ebuild - "${FILESDIR}/${PN}-6.0-kdump-ioctl.patch" + "${FILESDIR}/${PN}-9.1-kdump-ioctl.patch" - "${FILESDIR}/${PN}-8.0-bsdar.patch" ) + "${FILESDIR}/${PN}-9.1-bsdar.patch" Source code has been modified, new patches are needed. + "${FILESDIR}/${PN}-9.1-minigzip.patch" fixes this problem. ===> minigzip (all) Warning: Object directory not changed from original /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip gcc -O2 -pipe -DUSE_MMAP -std=gnu99 -fstack-protector -Wsystem-headers -Wall -Wno-format-y2k -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wunused-parameter -Wcast-align -Wno-pointer-sign -c /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:334:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:335:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:337:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:339:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:340:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:341:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:342:23: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'OF' /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:347:6: warning: function declaration isn't a prototype /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:358:6: warning: function declaration isn't a prototype /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c: In function 'gz_compress': /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:370:5: warning: implicit declaration of function 'gz_compress_mmap' /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c: At top level: /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:391:5: warning: function declaration isn't a prototype /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:426:6: warning: function declaration isn't a prototype /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:453:6: warning: function declaration isn't a prototype /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:488:6: warning: function declaration isn't a prototype /var/tmp/portage/sys-freebsd/freebsd-ubin-9.1_beta1/work/usr.bin/minigzip/../../lib/libz/test/minigzip.c:540:5: warning: function declaration isn't a prototype *** Error code 1 1 error *** Error code 2 1 error + "${FILESDIR}/${PN}-9.1-grep.patch" fixes file collision * /usr/bin/xzgrep * /usr/bin/xzegrep * /usr/bin/xzfgrep * /usr/bin/lzgrep * /usr/bin/lzegrep * /usr/bin/lzfgrep
Created attachment 318302 [details, diff] freebsd-ubin-9.1-kdump-ioctl.patch freebsd-ubin/files/freebsd-ubin-9.1-kdump-ioctl.patch
Created attachment 318306 [details, diff] freebsd-ubin-9.1-bsdar.patch freebsd-ubin/files/freebsd-ubin-9.1-bsdar.patch
Created attachment 318308 [details, diff] freebsd-ubin-9.1-minigzip.patch freebsd-ubin/files/freebsd-ubin-9.1-minigzip.patch
Created attachment 318310 [details, diff] freebsd-ubin-9.1-grep.patch freebsd-ubin/files/freebsd-ubin-9.1-grep.patch
Created attachment 318312 [details, diff] patch for freebsd-usbin.ebuild + "${FILESDIR}/${PN}-9.1-bsdxml2expat.patch" added patch, change #include <bsdxml.h> --> #include <expat.h>
Created attachment 318314 [details, diff] freebsd-usbin-9.1-bsdxml2expat.patch freebsd-usbin/files/freebsd-usbin-9.1-bsdxml2expat.patch
Add the bug should be fixed first. boot0 is required gcc-4.5.x. We will need to using clang or MASK a later version gcc-4.6. freebsd-lib, it is necessary to modify in order to be able to ensure the upgrade.
I succeeded to compile freebsd-rescue-9.1_beta1, added it to the bsd-overlay.
FYI, I was added a sample script to create a new stages to the bsd-overlay. 9.1_beta1 ebuilds, I have tested with it. how to use) wget -O ~/stages_builder.sh "http://git.overlays.gentoo.org/gitweb/?p=proj/gentoo-bsd.git;a=blob_plain;f=scripts/mkstages/stages_builder.sh;hb=HEAD" bash ~/stages_builder.sh
I confirm that stage files of 9.1_rc1 can be created on amd64-fbsd/x86-fbsd. I've updated to 9.1_rc1 in the overlay. Sample scripts have been updated as well. Now you can create stage file of x86-fbsd on amd64-fbsd. bash ~/stages_builder.sh x86
moved everything to the tree, thanks! if you have fixes or improvements, please push them to the overlay and ask me to review them and merge them to the portage tree.