net-misc/rdesktop by default strips the rdesktop binary, making debug impossible also when built with -ggdb. A simple sed -i -e 's:strip:true:' ${S}/Makefile.in before econf will fix it. Thanks, Diego
Fixed in CVS... thanks for the bug report and the sed... making it all too easy one me, you know...
Doesn't work any more in 1.5.0_rc1. QA Notice: pre-stripped files found: /var/tmp/portage/rdesktop-1.5.0_rc1/image/usr/bin/rdesktop A new patch: --- rdesktop-1.5.0_rc1.ebuild.orig 2006-07-05 18:14:52.000000000 +0200 +++ rdesktop-1.5.0_rc1.ebuild 2006-07-20 22:33:19.000000000 +0200 @@ -33,7 +33,9 @@ src_compile() { sed -i -e '/-O2/c\' -e 'cflags="$cflags ${CFLAGS}"' configure - sed -i -e 's:strip:true:' Makefile.in + local strip="$(echo '$(STRIP) $(DESTDIR)$(bindir)/rdesktop')" + sed -i -e "s:${strip}::" Makefile.in \ + || die "sed failed in Makefile.in" econf \ --with-openssl=/usr \ `use_with debug` \
Fixed in CVS... thanks for the patch...