public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
@ 2015-10-06 14:42 kuaf
  2015-10-06 15:05 ` Andrey Repin
                   ` (2 more replies)
  0 siblings, 3 replies; 12+ messages in thread
From: kuaf @ 2015-10-06 14:42 UTC (permalink / raw)
  To: cygwin

Hi list,

I intended to install Cygwin/X server. Select package `xinit` as a
package (The dependence packages, such as xorg-server, will be
installed as well ).
I came across error prompts as following:

    Error writing file

    Unable to extract
    /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20

    The file is in use or some other error occurred.
    ...

I have no idea about the errors.
Be puzzled that there's no existing directory of /etc/X11/fontpath.d.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract   /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 14:42 Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20 kuaf
@ 2015-10-06 15:05 ` Andrey Repin
  2015-10-06 15:26   ` Ken Brown
  2015-10-06 15:06 ` Ken Brown
  2015-10-06 16:43 ` Michael Enright
  2 siblings, 1 reply; 12+ messages in thread
From: Andrey Repin @ 2015-10-06 15:05 UTC (permalink / raw)
  To: kuaf, cygwin

Greetings, kuaf!

> Hi list,

> I intended to install Cygwin/X server. Select package `xinit` as a
> package (The dependence packages, such as xorg-server, will be
> installed as well ).
> I came across error prompts as following:

>     Error writing file

>     Unable to extract
>     /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20

>     The file is in use or some other error occurred.
>     ...

> I have no idea about the errors.
> Be puzzled that there's no existing directory of /etc/X11/fontpath.d.

Try creating that directory and creating a random file in it.
I'm more puzzled by the file name, though. While colons are allowed in Windows
file names, they bear special meaning of referencing streams within a file.
And they can't be nested.
And Cygwin seems to be blissfully unaware of their existence.


-- 
With best regards,
Andrey Repin
Tuesday, October 6, 2015 17:56:31

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 14:42 Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20 kuaf
  2015-10-06 15:05 ` Andrey Repin
@ 2015-10-06 15:06 ` Ken Brown
  2015-10-06 16:12   ` kuaf
  2015-10-06 16:43 ` Michael Enright
  2 siblings, 1 reply; 12+ messages in thread
From: Ken Brown @ 2015-10-06 15:06 UTC (permalink / raw)
  To: cygwin

On 10/6/2015 10:42 AM, kuaf wrote:
> Hi list,
>
> I intended to install Cygwin/X server. Select package `xinit` as a
> package (The dependence packages, such as xorg-server, will be
> installed as well ).
> I came across error prompts as following:
>
>      Error writing file
>
>      Unable to extract
>      /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20

This is due to a bug in setup.  See 
https://cygwin.com/ml/cygwin/2015-09/msg00209.html for a workaround 
until a new setup is released.  Alternatively, see 
https://cygwin.com/ml/cygwin/2015-09/msg00230.html for a link to my own 
build of setup with the bug fixed.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 15:05 ` Andrey Repin
@ 2015-10-06 15:26   ` Ken Brown
  0 siblings, 0 replies; 12+ messages in thread
From: Ken Brown @ 2015-10-06 15:26 UTC (permalink / raw)
  To: cygwin

On 10/6/2015 10:59 AM, Andrey Repin wrote:
> I'm more puzzled by the file name, though. While colons are allowed in Windows
> file names, they bear special meaning of referencing streams within a file.
> And they can't be nested.
> And Cygwin seems to be blissfully unaware of their existence.

No, Cygwin has a special way of handling colons in file names, so that 
Windows doesn't see them as colons:

 
https://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 15:06 ` Ken Brown
@ 2015-10-06 16:12   ` kuaf
  0 siblings, 0 replies; 12+ messages in thread
From: kuaf @ 2015-10-06 16:12 UTC (permalink / raw)
  To: cygwin

Sorry for the duplication.

thank you, Andrey Repin and Ken.

2015-10-06 23:06 GMT+08:00 Ken Brown <kbrown@cornell.edu>:
> On 10/6/2015 10:42 AM, kuaf wrote:
>>
>> Hi list,
>>
>> I intended to install Cygwin/X server. Select package `xinit` as a
>> package (The dependence packages, such as xorg-server, will be
>> installed as well ).
>> I came across error prompts as following:
>>
>>      Error writing file
>>
>>      Unable to extract
>>      /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
>
>
> This is due to a bug in setup.  See
> https://cygwin.com/ml/cygwin/2015-09/msg00209.html for a workaround until a
> new setup is released.  Alternatively, see
> https://cygwin.com/ml/cygwin/2015-09/msg00230.html for a link to my own
> build of setup with the bug fixed.
>
> Ken
>
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 14:42 Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20 kuaf
  2015-10-06 15:05 ` Andrey Repin
  2015-10-06 15:06 ` Ken Brown
@ 2015-10-06 16:43 ` Michael Enright
  2015-10-06 16:55   ` Ken Brown
  2 siblings, 1 reply; 12+ messages in thread
From: Michael Enright @ 2015-10-06 16:43 UTC (permalink / raw)
  To: cygwin

On Tue, Oct 6, 2015 at 7:42 AM, kuaf  wrote:
>     Unable to extract
>     /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20

Something tells me that this error message is not only giving a file
name, it is giving some font parameters that had been specified
directly or indirectly by the application. The colons divide the
string into parameters and the first one is a file or directory.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 16:43 ` Michael Enright
@ 2015-10-06 16:55   ` Ken Brown
  2015-10-06 18:10     ` Jon Turney
  0 siblings, 1 reply; 12+ messages in thread
From: Ken Brown @ 2015-10-06 16:55 UTC (permalink / raw)
  To: cygwin

On 10/6/2015 12:43 PM, Michael Enright wrote:
> On Tue, Oct 6, 2015 at 7:42 AM, kuaf  wrote:
>>      Unable to extract
>>      /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
>
> Something tells me that this error message is not only giving a file
> name, it is giving some font parameters that had been specified
> directly or indirectly by the application. The colons divide the
> string into parameters and the first one is a file or directory.

No, it's a file name.  See my earlier replies in this thread.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 16:55   ` Ken Brown
@ 2015-10-06 18:10     ` Jon Turney
  2015-10-06 23:40       ` Michael Enright
  0 siblings, 1 reply; 12+ messages in thread
From: Jon Turney @ 2015-10-06 18:10 UTC (permalink / raw)
  To: cygwin; +Cc: mike

On 06/10/2015 17:55, Ken Brown wrote:
> On 10/6/2015 12:43 PM, Michael Enright wrote:
>> On Tue, Oct 6, 2015 at 7:42 AM, kuaf  wrote:
>>>      Unable to extract
>>>      /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
>>
>> Something tells me that this error message is not only giving a file
>> name, it is giving some font parameters that had been specified
>> directly or indirectly by the application. The colons divide the
>> string into parameters and the first one is a file or directory.
>
> No, it's a file name.  See my earlier replies in this thread.

It is a filename.

It has certain attributes about how the X server should use that 
fontpath element encoded into the symlink filename.

But there is no need to guess about this, it's documented in the 
fontpath.d section of the Xserver man page [1]

[1] http://x.cygwin.com/docs/man1/Xserver.1.html#lbAN

-- 
Jon TURNEY
Volunteer Cygwin/X X Server maintainer

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 18:10     ` Jon Turney
@ 2015-10-06 23:40       ` Michael Enright
  2015-10-07  0:05         ` Andrey Repin
  2015-10-07  0:22         ` Ken Brown
  0 siblings, 2 replies; 12+ messages in thread
From: Michael Enright @ 2015-10-06 23:40 UTC (permalink / raw)
  To: Jon Turney; +Cc: cygwin

On Tue, Oct 6, 2015 at 11:10 AM, Jon Turney  wrote:
>
> But there is no need to guess about this, it's documented in the fontpath.d
> section of the Xserver man page [1]
>
> [1] http://x.cygwin.com/docs/man1/Xserver.1.html#lbAN
>

I still have questions.

Good old setup_x86 fortuitously gave me the chance to see an error
message involving one of these symlinks. I reviewed the setup log and
read that apparently such a symlink was created as follows:
io_stream:mklink
(cygfile:///etc/X11/fontpath.d/xorg-x11-75dpi:unscaled:pri=20 ->
cygfile:///usr/share/X11/fonts/75dpi)
But there is no /etc/X11/fontpath.d directory on the system.

The man page doesn't say in explicit procedural terms what the end
user has to do to make fontpath.d exist and it doesn't seem to get
created by setup. There are three occurances of fontpath.d on that
page and none of them say where you should put it.

Could we change it to be more tutorial, something like:
If you wanted to modify the priority of the bitmap fonts for example,
you could go to /etc/X11 and create fontpath.d and then here are some
ln commands:
ln -s /usr/share/X11/fonts/75dpi xorg-x11-75dpi:unscaled:pri=20
...

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract   /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 23:40       ` Michael Enright
@ 2015-10-07  0:05         ` Andrey Repin
  2015-10-07  0:22         ` Ken Brown
  1 sibling, 0 replies; 12+ messages in thread
From: Andrey Repin @ 2015-10-07  0:05 UTC (permalink / raw)
  To: Michael Enright, cygwin

Greetings, Michael Enright!

>> But there is no need to guess about this, it's documented in the fontpath.d
>> section of the Xserver man page [1]
>>
>> [1] http://x.cygwin.com/docs/man1/Xserver.1.html#lbAN
>>

> I still have questions.

> Good old setup_x86 fortuitously gave me the chance to see an error
> message involving one of these symlinks. I reviewed the setup log and
> read that apparently such a symlink was created as follows:
> io_stream:mklink
> (cygfile:///etc/X11/fontpath.d/xorg-x11-75dpi:unscaled:pri=20 ->
> cygfile:///usr/share/X11/fonts/75dpi)
> But there is no /etc/X11/fontpath.d directory on the system.

> The man page doesn't say in explicit procedural terms what the end
> user has to do to make fontpath.d exist and it doesn't seem to get
> created by setup. There are three occurances of fontpath.d on that
> page and none of them say where you should put it.

> Could we change it to be more tutorial, something like:
> If you wanted to modify the priority of the bitmap fonts for example,
> you could go to /etc/X11 and create fontpath.d and then here are some
> ln commands:
> ln -s /usr/share/X11/fonts/75dpi xorg-x11-75dpi:unscaled:pri=20
> ...

This should be taken care of by the setup itself.
Not by the end user.


-- 
With best regards,
Andrey Repin
Wednesday, October 7, 2015 02:49:51

Sorry for my terrible english...


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-06 23:40       ` Michael Enright
  2015-10-07  0:05         ` Andrey Repin
@ 2015-10-07  0:22         ` Ken Brown
  2015-10-12 23:49           ` Yaakov Selkowitz
  1 sibling, 1 reply; 12+ messages in thread
From: Ken Brown @ 2015-10-07  0:22 UTC (permalink / raw)
  To: cygwin

On 10/6/2015 7:40 PM, Michael Enright wrote:
> On Tue, Oct 6, 2015 at 11:10 AM, Jon Turney  wrote:
>>
>> But there is no need to guess about this, it's documented in the fontpath.d
>> section of the Xserver man page [1]
>>
>> [1] http://x.cygwin.com/docs/man1/Xserver.1.html#lbAN
>>
>
> I still have questions.
>
> Good old setup_x86 fortuitously gave me the chance to see an error
> message involving one of these symlinks. I reviewed the setup log and
> read that apparently such a symlink was created as follows:
> io_stream:mklink
> (cygfile:///etc/X11/fontpath.d/xorg-x11-75dpi:unscaled:pri=20 ->
> cygfile:///usr/share/X11/fonts/75dpi)
> But there is no /etc/X11/fontpath.d directory on the system.
>
> The man page doesn't say in explicit procedural terms what the end
> user has to do to make fontpath.d exist and it doesn't seem to get
> created by setup.

That's because of the setup bug that I mentioned in 
https://www.cygwin.com/ml/cygwin/2015-10/msg00065.html; the directory 
will get created by setup once the fixed version of setup is released.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20
  2015-10-07  0:22         ` Ken Brown
@ 2015-10-12 23:49           ` Yaakov Selkowitz
  0 siblings, 0 replies; 12+ messages in thread
From: Yaakov Selkowitz @ 2015-10-12 23:49 UTC (permalink / raw)
  To: cygwin

On Tue, 2015-10-06 at 20:22 -0400, Ken Brown wrote:
> On 10/6/2015 7:40 PM, Michael Enright wrote:
> > Good old setup_x86 fortuitously gave me the chance to see an error
> > message involving one of these symlinks. I reviewed the setup log and
> > read that apparently such a symlink was created as follows:
> > io_stream:mklink
> > (cygfile:///etc/X11/fontpath.d/xorg-x11-75dpi:unscaled:pri=20 ->
> > cygfile:///usr/share/X11/fonts/75dpi)
> > But there is no /etc/X11/fontpath.d directory on the system.
> >
> > The man page doesn't say in explicit procedural terms what the end
> > user has to do to make fontpath.d exist and it doesn't seem to get
> > created by setup.
> 
> That's because of the setup bug that I mentioned in 
> https://www.cygwin.com/ml/cygwin/2015-10/msg00065.html; the directory 
> will get created by setup once the fixed version of setup is released.

This should be fixed by setup 2.872, released today.

--
Yaakov



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2015-10-12 23:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-06 14:42 Cygwin/X installation: Unable to extract /etc/X11/fontpath.d/xorg-x11-fonts-75dpi:unscaled:pri=20 kuaf
2015-10-06 15:05 ` Andrey Repin
2015-10-06 15:26   ` Ken Brown
2015-10-06 15:06 ` Ken Brown
2015-10-06 16:12   ` kuaf
2015-10-06 16:43 ` Michael Enright
2015-10-06 16:55   ` Ken Brown
2015-10-06 18:10     ` Jon Turney
2015-10-06 23:40       ` Michael Enright
2015-10-07  0:05         ` Andrey Repin
2015-10-07  0:22         ` Ken Brown
2015-10-12 23:49           ` Yaakov Selkowitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).