Trump resists the hosts’ desire to issue a declaration underlining the benefits as well as pitfalls of migration.

G7 nations risked unprecedented deadlock on Saturday as US President Donald Trump resisted pressure to sign up to joint positions on hot-button issues such as climate change, trade and migration.

The Group of Seven leading democracies began the concluding day of their annual summit in discussions with leaders from Ethiopia, Kenya, Niger, Nigeria, and Tunisia.

The five African states are key players in the Mediterranean migration crisis, as countries of origin or transit for hundreds of thousands of migrants attempting to reach Europe via perilous crossings of the Mediterranean. The G7's Italian presidency placed this year's summit in Sicily to underline the proximity of the crisis.

But even that has prompted discord among the summiteers as Mr. Trump, according to Italian sources, resists the hosts’ desire to issue a declaration underlining the benefits as well as pitfalls of migration.

That sort of language is anathema to a White House that wants to impose a ban on travellers from six Muslim-majority countries.

After starting his first presidential trip abroad wreathed in smiles, Trump is ending it with rebukes, upbraiding America's European partners over military spending, trade and global warming.

An enduring motif of the G7, which represents the lion's share of global economic output, has been to champion free trade.

At last year's summit in Japan, it issued a lengthy communique in support of resisting protectionism, as well as helping refugees and fighting climate change.

But that was then, when Barack Obama still occupied the White House. Today, his successor is defiant about stepping out of the G7 line.

“His basis for decision ultimately will be what's best for the United States,” top economic advisor Gary Cohn said at the annual talks in Sicily's ancient hilltop resort of Taormina.

Mr. Cohn was referring to whether Mr. Trump will execute his threat to walk away from the Paris accord on combatting climate change.

But his language also summarises the "America First" platform that elevated the property tycoon to victory in last year's presidential election.

Smoking volcano

That means the G7 is unlikely also to reprise its oft-used terminology against protectionism, after Trump in Brussels this week reportedly described the Germans as "bad, very bad" in their trade practices.

It is a measure of the gulf that the Italians say they expect the final statement to come in at just six pages when it is released on Saturday afternoon -- down from 32 pages last year.

The summit did find common ground on Friday in endorsing a British call urging internet service providers and social media companies to crack down on jihadist content online, after 22 people were killed in a Manchester concert bombing in northwest England this week.

The G7, urged on by Japan, will also adopt common language against North Korea after a series of missile tests by the nuclear-armed nation.

Friday's discussions in Sicily ended with a classical music performance in the shadow of an ancient Greek theatre and the smoking volcano of Mount Etna.

Mr. Trump, however, seems bent on singing from a different song sheet, leaving the G7 bereft of a concerted voice as Russia and China are heard loudly offstage.

But others are also sounding more loudly as investigations proceed in Washington into whether Russia meddled to aid Trump's election victory last year.

New revelations came overnight with the Washington Post reporting that Trump's son-in-law, Jared Kushner, made a pre-inauguration proposal to the Russian ambassador to set up a secret, bug-proof communications line with the Kremlin.

Mr. Trump, who has angrily rejected allegations of such collusion, was expected to quit Sicily without giving the kind of closing news conference that is customary among the G7 leaders.