Asymptote needs to find the path of
nopapersize.ps in order to pass to Dvips for EPS file output. However, in TeX Live 2014 (from TUG), asymptote (currently v2.31) cannot find the file, unless we set in
settings.dir = "PATH_OF_TEXLIVE/2014/texmf-dist/asymptote"
nopapersize.ps is used in member function
picture.cc. We have:
string dvipsrc=getSetting<string>("dir"); if(dvipsrc.empty()) dvipsrc=systemDir; dvipsrc += dirsep+"nopapersize.ps"; setenv("DVIPSRC",dvipsrc.c_str(),1);
However, in TeX Live,
systemDir is empty, and
dir is not specified either, then the problem raise.
The problem will make the eps file cannot be used for dvipdfmx/xdvipdfmx. There is a simple test example in the attachment.