House spending bill appears to fail amid debate