My system is built with the as-needed ldflags. Only application not to work with this is mythtv. Removing all LDFLAGS in make.conf does not fix the problem, as it seems to extract the ldflags from somewhere else. Not sure where. I fixed the problem by re-enabling the old patch "mythtv-0.20-as-needed.patch" - but with the following changes to make it work with the current trunk. --- mythtv-0.20-as-needed.patch 2006-09-16 18:17:04.000000000 +0100 +++ mythtv-0.20-as-needed.patch 2007-08-28 02:39:24.000000000 +0100 @@ -7,7 +7,7 @@ DEPENDPATH += ../libmyth ../libavcodec ../libavformat ../libavutil DEPENDPATH += ../libmythmpeg2 ../libmythdvdnav +DEPENDPATH += ../libmythui - DEPENDPATH += ./dvbdev ./mpeg ./hdhomerun + DEPENDPATH += ./dvbdev ./mpeg ./hdhomerun ./iptv DEPENDPATH += ../libmythlivemedia/BasicUsageEnvironment/include DEPENDPATH += ../libmythlivemedia/BasicUsageEnvironment @@ -26,12 +27,16 @@ Reproducible: Always Steps to Reproduce: 1. emerge mythtv (with as-needed ldflags) 2. 3. Actual Results: Does not complile Expected Results: Should compile
removing the flags from make.conf won't work because your whole system was built with as-needed. This bug certainly does not block 129413 as, this is a development branch of upstream and will be masked forever. upstream has rejected the as-needed fixes that I've proposed since they feel that the libraries should be built in a different order. However, that's not how the code currently flows. Since 0.21 is purely upstream's trunk. We keep as hands off as possible, you'll have to take the issue up with them. I have attached the ticket I created for the issue with them, however further discussions took place on IRC. They have no plans to fix it until libmythui is fully used.
The patch supposedly breaks Mac build, which I guess is why they haven't incorporated it. While they figure out a solution, could you enable the patch so this ebuild works with as-needed on Gentoo at least?
It's a bogus claim on their part. The issue is they need to fix the depends in their build system.
could you enable the patch so this ebuild works with as-needed on Gentoo at least?