return false, err.new("multiple build modes are not supported")
     end
     if not opts["build-mode"] and use_default then
-        e2lib.warnf("WDEFAULT", "build-mode defaults to '%s'",
-            default_build_mode_name)
         opts["build-mode"] = default_build_mode_name
     end
 
 
     end
 
     if rawres.sources == nil then
-        e2lib.warnf("WDEFAULT", "in result %s:", self._name)
-        e2lib.warnf("WDEFAULT", " sources attribute not configured." ..
-            "Defaulting to empty list")
         rawres.sources = {}
     elseif type(rawres.sources) == "string" then
         e2lib.warnf("WDEPRECATED", "in result %s:", self._name)
 
 
     if rawres.depends == nil then
-        e2lib.warnf("WDEFAULT", "in result %s: ", self._name)
-        e2lib.warnf("WDEFAULT", " depends attribute not configured. " ..
-        "Defaulting to empty list")
         rawres.depends = {}
     elseif type(rawres.depends) == "string" then
         e2lib.warnf("WDEPRECATED", "in result %s:", self._name)
     end
 
     if rawres.chroot == nil then
-        e2lib.warnf("WDEFAULT", "in result %s:", self._name)
-        e2lib.warnf("WDEFAULT", " chroot groups not configured. " ..
-            "Defaulting to empty list")
         rawres.chroot = {}
     elseif type(rawres.chroot) == "string" then
         e2lib.warnf("WDEPRECATED", "in result %s:", self._name)
         e:append("result has invalid `env' attribute")
     else
         if not rawres.env then
-            e2lib.warnf("WDEFAULT", "result has no `env' attribute. "..
-                "Defaulting to empty dictionary")
             rawres.env = {}
         end
 
 
         end
 
         if not rawsrc.name then
-            e2lib.warnf("WDEFAULT", "`name' attribute missing in source config.")
-            e2lib.warnf("WDEFAULT", " Defaulting to directory name")
             rawsrc.name = e2tool.src_res_path_to_name(cfg)
         end
 
         -- source with no type field is treated as file source
         if not rawsrc.type then
             rawsrc.type = "files"
-            e2lib.warnf("WDEFAULT", "in source %s", rawsrc.name)
-            e2lib.warnf("WDEFAULT", " type attribute defaults to `files'")
         end
 
         if not source_types[rawsrc.type] then
     end
 
     if not rawsrc.env then
-        e2lib.warnf("WDEFAULT",
-            "source has no `env' attribute. Defaulting to empty dictionary")
         rawsrc.env = {}
     end