delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2013/06/18/02:21:07

X-Recipient: archive-cygwin AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=N87loIaicW6b1EUzRlTU92v3sZeN4Gu3QDIw/lqEbvX
jlWwioU3jKXJIGTDNCydFFwhPycx3rd4obI4wjy2dMPGSE9FIvyTod4N+17s1kEI
Jv72UQhcRhPA7e/NpuezUlxNPAYZpyOy1l9iD56kGF15F30noCDuZOMlBkkpnFfM
=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
:list-unsubscribe:list-subscribe:list-archive:list-post
:list-help:sender:from:to:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
s=default; bh=X5ycErpz2GOMrFuct4u7duLoLDg=; b=GXlPcHS3a2gdKrhcA
C8zB0xXhD9WzAp40g+Sg+ROR0/cqSoTxcWUMtgPctAYFjgiyW7QpJgbqx2gLyO4v
cZm37cov4eMRWarqimspECAFOLxKvDlBs/q9lonAsxEijmBiwHSWFf4W82tol6Ls
aX77RCrEjluxR8fFtdLm8omZDk=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Spam-SWARE-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_VIA_APNIC,RP_MATCHES_RCVD,SPF_HELO_PASS autolearn=ham version=3.3.1
From: Fedin Pavel <p DOT fedin AT samsung DOT com>
To: "'Achim Gratz'" <Stromeko AT nexgo DOT de>, cygwin AT cygwin DOT com
References: <003501ce6b5f$b41f2c10$1c5d8430$%fedin AT samsung DOT com> <kpn4kk$p88$1 AT ger DOT gmane DOT org> <036c01ce6b6d$0ada5090$208ef1b0$@malth.us> <kpnfp7$urd$1 AT ger DOT gmane DOT org> <8738sgiqs8 DOT fsf AT Rainer DOT invalid>
In-reply-to: <8738sgiqs8.fsf@Rainer.invalid>
Subject: RE: UNC and POSIX paths
Date: Tue, 18 Jun 2013 10:20:29 +0400
Message-id: <000e01ce6beb$f5d55ad0$e1801070$%fedin@samsung.com>
MIME-version: 1.0

 Hello!

> Because some scripts try to use
> 
> $(DESTDIR)/$(PREFIX)
> 
> rather than
> 
> $(DESTDIR)$(PREFIX)

 Yes, exactly, this is what i have got.
 I start to have these problems when i try to do non-standard things like
cross-compiling Linux kernel and some 3rd party modules. :)
 Ability to run 'make install_modules' requires /sbin/depmod. With hardcoded
/sbin path. So, i have to cross-compile module-init-tools with '--prefix=/'.
This is the first place where i get '//'. Well, perhaps i'm lame and
'--prefix=' is the correct thing, not what i write. However i just followed
the tradition here
 Next, module-init-tools relies on either 'docbook2man' or 'docbook-to-man'.
I guess both packages are considered obsolete by Cygwin, we have
'docbook2x-man' instead. So, i have to build one of those two packages.
$(DESTDIR)/$(PREFIX) is found in the first one.
 Well, perhaps irrelevant because it fails to build with new awk (or
something like that, already don't remember). So i have found (ancient)
docbook-to-man and built it. Works.

 Also i remember getting this little problem somewhere else in the past.
Already don't remember...

 Now my last arguments...
 First. Actually, we may consider this as kind of interoperability problem.
Technically it's possible to fix this at either side. However, let's say we
have three packages suffering from this problem. So, it's possible to do
either three fixes (for packages), or a single fix (for Cygwin). A single
fix is less time-consuming. Especially taking into account that a half of us
uses Cygwin at work, where we have other tasks to do.
 Second, if we take a look at real-world POSIX systems (Linux, BSD, whatever
else), they don't use '//' for network paths. Instead they use mountable
filesystems. And Cygwin's goal is to fully implement UNIX-compatible
environment, isn't it ? So, consequently, having a mount point would me more
compatible with other real-world systems.
 Third, package's author can say: 'nobody else has this problem, so it's
Cygwin's bug, not mine, i won't fix'. Or he can simply blindly hate Windows.
My another topic (cross-compiling Linux kerne) contains an example of such
an attitude.
 And, i agree, '//' is shorter to type than '/unc/'. :) And perhaps someone
already relies on '//' in his scripts for his installation.

 To sum things up, this was just an opinion. I didn't want to start a war.
:)

Kind regards,
Pavel Fedin
Expert Engineer
Samsung Electronics Research center Russia



--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019