delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/11/09/16:08:40

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.5 required=5.0 tests=AWL,BAYES_00,TW_RW,TW_WX,TW_XR,TW_YG,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4CD9B845.6010903@lapo.it>
Date: Tue, 09 Nov 2010 22:08:21 +0100
From: Lapo Luchini <lapo AT lapo DOT it>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.15) Gecko/20101027 SeaMonkey/2.0.10
MIME-Version: 1.0
To: "[ML] CygWin " <cygwin AT cygwin DOT com>
Subject: Re: modification time disorder: touch-related?
References: <4CC9AE85 DOT 6090302 AT purdue DOT edu> <iadsrk$62e$1 AT dough DOT gmane DOT org> <4CCB22BF DOT 3070009 AT purdue DOT edu>
In-Reply-To: <4CCB22BF.3070009@purdue.edu>
OpenPGP: id=C8F252FB; url=http://www.lapo.it/pgpkey.txt
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

Robert McDougall wrote:
>> It knows by lesser time precision (exactly 2 sec).
> 
> Interesting.  But I'm building on NTFS.

The same problem is preventing me to upgrade whois package.
It fails because the two executables are 0.96 seconds and are then
rebuild during the "make install" phase, at which point they're missing
a proper LIBS parameter defined.

(yes, I could work around that, but I'd rather help find a real solution)

% cygport whois-5.0.8-1 finish prep build
>>> Removing work directory in 5 seconds...
>>> Removing work directory NOW.
>>> Finished.
>>> Preparing whois-5.0.8-1
>>> Unpacking source whois_5.0.8.tar.gz
>>> Preparing working source directory
*** Info: applying patch whois-5.0.8-1.cygwin.patch:
patching file CYGWIN-PATCHES/README
patching file CYGWIN-PATCHES/setup.hint
*** Info: applying patch whois-5.0.8-1.src.patch:
patching file Makefile
>>> Compiling whois-5.0.8-1
gcc -DHAVE_LIBIDN -DENABLE_NLS  -g -O2 -MM -MG *.c > Makefile.depend
perl -w make_ip_del.pl < ip_del_list > ip_del.h
perl -w make_ip6_del.pl < ip6_del_list > ip6_del.h
perl -w make_as_del.pl < as_del_list > as_del.h
perl -w make_tld_serv.pl < tld_serv_list > tld_serv.h
gcc -DHAVE_LIBIDN -DENABLE_NLS  -g -O2 -c whois.c
whois.c:84: warning: ‘optarg’ redeclared without dllimport attribute:
previous dllimport ignored
whois.c:85: warning: ‘optind’ redeclared without dllimport attribute:
previous dllimport ignored
gcc -DHAVE_LIBIDN -DENABLE_NLS  -g -O2 -c utils.c
gcc  -o whois.exe whois.o utils.o -lidn -lintl
gcc -DHAVE_LIBIDN -DENABLE_NLS  -g -O2 -c mkpasswd.c
mkpasswd.c:61: warning: ‘optarg’ redeclared without dllimport attribute:
previous dllimport ignored
mkpasswd.c:62: warning: ‘optind’ redeclared without dllimport attribute:
previous dllimport ignored
mkpasswd.c: In function ‘main’:
mkpasswd.c:335: warning: assignment makes pointer from integer without a
cast
gcc  -o mkpasswd.exe mkpasswd.o utils.o -lcrypt -lintl

% LANG=C ll -rt --full-time whois-5.0.8-1/build|tail
-rw-r--r--+ 1 lapo None 11899 2010-11-09 21:59:35.824060100 +0100 ip_del.h
-rw-r--r--+ 1 lapo None  1246 2010-11-09 21:59:35.976068800 +0100 ip6_del.h
-rw-r--r--+ 1 lapo None  2349 2010-11-09 21:59:36.126077300 +0100 as_del.h
-rw-r--r--+ 1 lapo None 11824 2010-11-09 21:59:36.261085100 +0100 tld_serv.h
-rwxrwxr-x+ 1 lapo None 83077 2010-11-09 21:59:36.985126500 +0100 whois.exe
drwxr-xr-x+ 1 lapo None 12288 2010-11-09 21:59:37.387149500 +0100 .
-rwxrwxr-x+ 1 lapo None 42896 2010-11-09 21:59:37.445152800 +0100
mkpasswd.exe
-rw-rw-r--+ 1 lapo None 72777 2010-11-09 21:59:37.691232900 +0100 whois.o
-rw-rw-r--+ 1 lapo None  4817 2010-11-09 21:59:37.892232900 +0100 utils.o
-rw-rw-r--+ 1 lapo None 16665 2010-11-09 21:59:38.408232900 +0100 mkpasswd.o

% cygport whois-5.0.8-1 build
>>> Compiling whois-5.0.8-1
gcc  -o whois.exe whois.o utils.o -lidn -lintl
gcc  -o mkpasswd.exe mkpasswd.o utils.o -lcrypt -lintl

% LANG=C ll -rt --full-time whois-5.0.8-1/build|tail
-rw-r--r--+ 1 lapo None 11899 2010-11-09 21:59:35.824060100 +0100 ip_del.h
-rw-r--r--+ 1 lapo None  1246 2010-11-09 21:59:35.976068800 +0100 ip6_del.h
-rw-r--r--+ 1 lapo None  2349 2010-11-09 21:59:36.126077300 +0100 as_del.h
-rw-r--r--+ 1 lapo None 11824 2010-11-09 21:59:36.261085100 +0100 tld_serv.h
-rw-rw-r--+ 1 lapo None 72777 2010-11-09 21:59:37.691232900 +0100 whois.o
-rw-rw-r--+ 1 lapo None  4817 2010-11-09 21:59:37.892232900 +0100 utils.o
-rw-rw-r--+ 1 lapo None 16665 2010-11-09 21:59:38.408232900 +0100 mkpasswd.o
-rwxrwxr-x+ 1 lapo None 83077 2010-11-09 22:06:53.724106500 +0100 whois.exe
drwxr-xr-x+ 1 lapo None 12288 2010-11-09 22:06:53.940118900 +0100 .
-rwxrwxr-x+ 1 lapo None 42896 2010-11-09 22:06:54.004122500 +0100
mkpasswd.exe

% uname -a
CYGWIN_NT-6.1-WOW64 cyberone 1.7.7(0.230/5/3) 2010-08-31 09:58 i686 Cygwin

Running Windows 7 64 bit and latest packages.

-- 
Lapo Luchini - http://lapo.it/

“Computers are useless. They can only give you answers.” (Pablo Picasso)

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