uclibc does not support the mkstemps function, which prevent to build foomatic-rip. This patch use the mkstemp function on uclibc instead, with a modified filename pattern. Reproducible: Always Steps to Reproduce: 1. Install lilblue 2. emerge -1 cups-filters Actual Results: emake failed Expected Results: cups-filters installed on system
Created attachment 376584 [details, diff] cups-filters-1.0.53-uclibc.patch
Created attachment 376586 [details, diff] cups-filters-1.0.53.ebuild.patch
(In reply to René Rhéaume from comment #0) > uclibc does not support the mkstemps function, which prevent to build > foomatic-rip. This patch use the mkstemp function on uclibc instead, with a > modified filename pattern. > > Reproducible: Always > > Steps to Reproduce: > 1. Install lilblue > 2. emerge -1 cups-filters > Actual Results: > emake failed > > Expected Results: > cups-filters installed on system Many devs may not know what lilblue is. I've added this to the hardened-development::uclibc overlay. This patch should probably go upstream.
(In reply to Anthony Basile from comment #3) > (In reply to René Rhéaume from comment #0) > > uclibc does not support the mkstemps function, which prevent to build > > foomatic-rip. This patch use the mkstemp function on uclibc instead, with a > > modified filename pattern. > > > > Reproducible: Always > > > > Steps to Reproduce: > > 1. Install lilblue > > 2. emerge -1 cups-filters > > Actual Results: > > emake failed > > > > Expected Results: > > cups-filters installed on system > > Many devs may not know what lilblue is. > > I've added this to the hardened-development::uclibc overlay. This patch > should probably go upstream. See "Bug reports" in http://www.linuxfoundation.org/collaborate/workgroups/openprinting/cups-filters for how to submit upstream.
pinged upstream on irc
Patch added. Just out of curiosity, why are you changing the filename format?
(In reply to Andreas K. Hüttel from comment #6) > Patch added. Just out of curiosity, why are you changing the filename format? Both mkstemp and mkstemps create the file name and the file itself. If they only created the file name, I would have concatenated .log to the function result before creating the file, but that's not the case. I prefer not to reimplement mkstemps from scratch.
http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/revision/7202 Committed upstream.