The first line in debian/nvidia-glx-177-dev.links.in looks like this:
#usr/lib/libGL.so.#VERSION# usr/lib/libGL.so
I don't know wether the # at the beginning was intentional, but it looks like dh_link does not look for comments in it's files. Either remove this line completely (which would result in not being able to link against libGL) or remove the # sign.
The first line in debian/ nvidia- glx-177- dev.links. in looks like this:
#usr/lib/ libGL.so. #VERSION# usr/lib/libGL.so
I don't know wether the # at the beginning was intentional, but it looks like dh_link does not look for comments in it's files. Either remove this line completely (which would result in not being able to link against libGL) or remove the # sign.