Skip to content

Instantly share code, notes, and snippets.

clang-linux.compile.c++.without-pth ../../../bin.v2/libs/python/test/class.test/clang-linux-3.5.0/debug/class.o
class.cpp:31:25: error: use of undeclared identifier 'foo'
def("y_function", [&foo](int) -> int { return foo++; });
^
class.cpp:31:51: error: use of undeclared identifier 'foo'; did you mean 'for'?
def("y_function", [&foo](int) -> int { return foo++; });
^
In file included from class.cpp:5:
In file included from ../../../boost/python/def.hpp:11:
In file included from ../../../boost/python/make_function.hpp:11:
This file has been truncated, but you can view the full file.
History:
2013-03-11.07:49:04 zpool create storage_tosh raidz2 /dev/gpt/TOSH_Z2T3B8LAS.nop /dev/gpt/TOSH_Z2T44J4AS.nop /dev/gpt/TOSH_Z2T4615AS.nop /dev/gpt/TOSH_Z2T4D24AS.nop /dev/gpt/TOSH_Z2T5P7MAS.nop /dev/gpt/TOSH_Z2T5W48AS.nop /dev/gpt/TOSH_Z2T5X8AAS.nop
2013-03-11.07:49:04 [internal pool create txg:5] pool spa 28; zfs spa 28; zpl 5; uts globalhawk 9.1-RELEASE 901000 amd64
2013-03-11.08:02:34 [internal replay_inc_sync txg:170] dataset = 37
2013-03-11.08:02:37 [internal destroy_begin_sync txg:176] dataset = 37
2013-03-11.08:02:38 [internal destroy txg:180] dataset = 37
2013-03-11.08:02:38 [internal property set txg:180] reservation=0 dataset = 37
2013-03-11.08:02:38 [internal reservation set txg:180] 0 dataset = 0
2013-03-11.08:02:50 [internal replay_inc_sync txg:183] dataset = 44
note the last drive of vdev group 2 is unplugged and not listed - I have a temporary working disk plugged in instead and pruned from the output
#note due to mishap on 3/7/15, had to:
sgdisk -R scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA scsi-SATA_TOSHIBA_DT01ACA3_Z2T25ZYAS
sgdisk -G scsi-SATA_Hitachi_HDS72303_MS79215X09KLNA
#at some point in compilation of this I have the last vdev on group 1 back online, potentially after above mishap, or partprobe:
storage DEGRADED
raidz2-0 ONLINE
--------------------------------------------
LABEL 0
--------------------------------------------
version: 5000
name: 'storage'
state: 0
txg: 12052298
pool_guid: 18405946887743981906
errata: 0
hostname: 'globalhawk'
(parted) print all
Model: ATA WDC WD6401AALS-0 (scsi)
Disk /dev/sda: 1250263728s
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 2048s 209713151s 209711104s primary ext4 boot, type=83