id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,device_name 189,Small Sconscript tweaks (DESTDIR and BUILD_TESTS fixes),slack,arnonym,Problem 1:\r\n\r\nIf someone actually does build libffado as root (libffado is one of the few real examples why this *IS* a bad idea)_ any existing installation of libffado will be destroyed.\r\n\r\nIt is just wrong to try to remove installed files while building!\r\nThis should only be done during installing/uninstalling.\r\n\r\n- If the user account used for building has no permission to remove installed files_ a permission error happens.\r\n- The building system is normally not the system the resulting libffado package will be installed.\r\n\r\nTherefore as a workaround I have commented out "env.Execute( env.Action( "rm -f %s/ffadomixer" % env['bindir'] ) )".\r\n\r\n\r\nProblem 2:\r\n\r\nWhile installing_ scons ignores "BUILD_TESTS".\r\n\r\n\r\nThe fixes work for me while building my Slackware packages_ I hope they are ok for inclusion.\r\n\r\nThanks\r\n,bug,closed,major,FFADO 2.0,,FFADO 2.0-rc1 (1.999.40),fixed,,,