PORT MORESBY - Leaders of 21 Pacific Rim economies failed to agree Sunday on a joint declaration for the first time, because of a deepening divide between the United States and China over trade and other issues.