The problem element appears to be "libreoffice-report-builder-bin [!hppa !kfreebsd-amd64 !kfreebsd-i386]". If I remove the architecture restriction, then apt.apt_pkg.parse_depends succeeds.
The problem also occurs with php5, for example with "lsof [!kfreebsd-any !hurd-any]".
It looks like the underlying reason is that apt.apt_pkg.parse_depends cannot parse architecture restrictions, and the API does not represent it.
The problem element appears to be "libreoffice- report- builder- bin [!hppa !kfreebsd-amd64 !kfreebsd-i386]". If I remove the architecture restriction, then apt.apt_ pkg.parse_ depends succeeds.
The problem also occurs with php5, for example with "lsof [!kfreebsd-any !hurd-any]".
It looks like the underlying reason is that apt.apt_ pkg.parse_ depends cannot parse architecture restrictions, and the API does not represent it.