I'm trying to emerge qt-3.2.1 on a system with no qt on it currently. After I got around the libqt-mt.so.3 missing error, it seems to compile successfully but during install floods the console with "mkdir: /usr/qt/3/etc/setttings". The sandbox violation log contains only that string repeated 1179 times. Reproducible: Always Steps to Reproduce: 1. Attempt to emerge qt-3.2.1 2. After it complains about missing libqt-mt.so.3, cp /var/tmp/portage/qt-3.2.1/work/qt-x11-free-3.2.1/lib/* /usr/qt/3/lib 3. Try again to emerge qt-3.2.1
Created attachment 17731 [details, diff] This fixed the sandbox violation, but not the libqt-mt.so.3 missing error After adding ${D} to the prefix, the sandbox violation disappeared. I could successfully emerge qt either by exporting LD_LIBRARY_PATH="/var/tmp/portage/qt-3.2.1/work/qt-x11-free-3.2.1/lib/" or by copying the libraries manually to /usr/qt/3/lib as I described earlier. Maybe LD_LIBRARY_PATH could be set in the ebuild?
Created attachment 17733 [details, diff] This fixed the sandbox violation, but not the libqt-mt.so.3 missing error After adding ${D} to the prefix, the sandbox violation disappeared. I could successfully emerge qt either by exporting LD_LIBRARY_PATH="/var/tmp/portage/qt-3.2.1/work/qt-x11-free-3.2.1/lib/" or by copying the libraries manually to /usr/qt/3/lib as I described earlier. Maybe LD_LIBRARY_PATH could be set in the ebuild?
Yep, good find. I submitted this fix, and added a LD_LIBRARY_PATH fix that should help with all of these errors. Please let me know if more problems creep up.