Vacuum and singularity formation problem for compressible Euler equations with general pressure law and time-dependent damping. (June 2022)