Opened 11 years ago

Closed 11 years ago

#208 closed defect (fixed)

image build fails op 9.2-Release-RC1 en 10.0-RC1

Reported by: huub Owned by: nobody
Priority: major Milestone:
Keywords: Cc:
Resource needed to fix:

Description (last modified by huub)

root@buildbot92:/usr/obj/nanobsd.wleiden-hybrid # cat _.cust.cust_apply_nanobsd_patches
+ cust_apply_nanobsd_patches
+ find /usr/obj/nanobsd.wleiden-hybrid_.w -regex '.*-nanobsd\.patch$'
+ dirname /usr/obj/nanobsd.wleiden-hybrid
_.w/etc/rc.subr-nanobsd.patch
+ cd /usr/obj/nanobsd.wleiden-hybrid_.w/etc
+ basename /usr/obj/nanobsd.wleiden-hybrid
_.w/etc/rc.subr-nanobsd.patch
+ patch -t -N -p0 -i rc.subr-nanobsd.patch
Hmm... Looks like a unified diff to me...
The text leading up to this was:


|#
|# Add ${name}_setfib functionality to rc.subr
|#

rc.subr.orig 2012-01-03 08:26:59.000000000 +0100

|+++ rc.subr 2012-05-02 23:16:44.000000000 +0200


Patching file rc.subr using Plan A...
Hunk #1 succeeded at 507 (offset 8 lines).
Hunk #2 failed at 687.
Hunk #3 succeeded at 764 with fuzz 2 (offset 4 lines).
Hunk #4 succeeded at 787 (offset 10 lines).
1 out of 4 hunks failed--saving rejects to rc.subr.rej
done

Toevoeging:
Ook bij 10.0-RC1 geeft de patch problemen

Change History (4)

comment:1 by huub, 11 years ago

rejects:
root@buildbot92:/usr/obj/nanobsd.wleiden-hybrid/_.w/etc # cat rc.subr.rej
*
* 683,689

fi
eval _chdir=\$${name}_chdir _chroot=\$${name}_chroot \

_nice=\$${name}_nice _user=\$${name}_user \

  • _group=\$${name}_group _groups=\$${name}_groups


if [ -n "$_user" ]; then # unset $_user if running as that user

if [ "$_user" = "$(eval $IDCMD)" ]; then

--- 687,694 ----

fi
eval _chdir=\$${name}_chdir _chroot=\$${name}_chroot \

_nice=\$${name}_nice _user=\$${name}_user \

+ _group=\$${name}_group _groups=\$${name}_groups \
+ _setfib=\$${name}_setfib

if [ -n "$_user" ]; then # unset $_user if running as that user

if [ "$_user" = "$(eval $IDCMD)" ]; then

comment:2 by huub, 11 years ago

Description: modified (diff)
Milestone: WL-9.1-RELEASE
Summary: image build fails op 9.2-Release-RC1image build fails op 9.2-Release-RC1 en 10.0-RC1

comment:3 by huub, 11 years ago

aanvullende info:
# cat _.fdisk
# 1969632 2 63 32 819200 8192 0
g c977 h32 s63
p 1 165 63 820449
p 2 165 820575 820449
p 3 165 1641024 10080
a 1

comment:4 by huub, 11 years ago

Resolution: fixed
Status: newclosed

Met nieuwe installatie van FreeBSD-10-RC3 wordt zonder problemen een image gemaakt die werkt. Rest het probleem met de nieuwe package management: er worden geen packages toegevoegd aan de image.

Note: See TracTickets for help on using tickets.