На самом деле, проблема в p7, но версия gqview аналогичная. При попытке поворота выдаёдся набор ошибок: sh: jpegtran: command not found sh: mogrify: command not found
gqview-2.1.5-alt8 -> sisyphus: * Mon May 26 2014 Michael Shigorin <mike@altlinux> 2.1.5-alt8 - fixed FTBFS (-lm now missing from GTK_LIBS) - added deps to ensure jpegtran and mogrify are there (closes: #30094)