make release and TARGET=powerpc

Christer Solskogen christer.solskogen at gmail.com
Sun Jan 22 18:21:46 UTC 2012


Cross-building went fine (buildworld, buildkernel), but making the
USB-image seems to not work (At least on my system)

make release TARGET=powerpc TARGET_ARCH=powerpc64
__MAKE_CONF=/dev/null SRCCONF=/dev/null NOPORTS=1 NOSRC=1
...
sh /usr/src/release/powerpc/make-memstick.sh
/usr/obj/usr/src/release/release /usr/obj/usr/src/release/memstick
Calculated size of `/usr/obj/usr/src/release/memstick.36155':
494223360 bytes, 12459 inodes
Extent size set to 8192
/usr/obj/usr/src/release/memstick.36155: 471.3MB (965280 sectors)
block size 8192, fragment size 1024
        using 9 cylinder groups of 54.09MB, 6924 blks, 1472 inodes.
super-block backups (for fsck -b #) at:
     32, 110816, 221600, 332384, 443168, 553952, 664736, 775520, 886304,
Populating `/usr/obj/usr/src/release/memstick.36155'
Image `/usr/obj/usr/src/release/memstick.36155' complete
49992+0 records in
49992+0 records out
511918080 bytes transferred in 3.916377 secs (130712153 bytes/sec)
gpart: scheme 'APM': Invalid argument
gpart: No such geom: md1.
gpart: No such geom: md1.
gpart: No such geom: md1.
dd: /dev/md1s3: Operation not supported
copying filesystem into image file failed
*** Error code 1

Stop in /usr/src/release.
*** Error code 1

Stop in /usr/src/release.


The same thing also happens if TARGET = TARGET_ARCH. But sparc64 as
TARGET worked fine.

-- 
chs,


More information about the freebsd-stable mailing list