Ah, unlike I thought initially it's not a problem with the ddeb retrieval, but already with the build. While it works for other packages:
dh_strip -plibgfortran3 --dbg-package=libgfortran3-dbg
[...]
dh_strip debug symbol extraction: not adding gnu debuglinks since --dbg-package is given
dh_strip debug symbol extraction: packages to act on: libgfortran3
it does not work for g++-4.6:
dh_strip -pg++-4.6
[...]
dh_strip debug symbol extraction: packages to act on:
dh_strip debug symbol extraction: ignored packages:
Ah, unlike I thought initially it's not a problem with the ddeb retrieval, but already with the build. While it works for other packages:
dh_strip -plibgfortran3 --dbg-package= libgfortran3- dbg
[...]
dh_strip debug symbol extraction: not adding gnu debuglinks since --dbg-package is given
dh_strip debug symbol extraction: packages to act on: libgfortran3
it does not work for g++-4.6:
dh_strip -pg++-4.6
[...]
dh_strip debug symbol extraction: packages to act on:
dh_strip debug symbol extraction: ignored packages:
(empty "to act on").