From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 46654 invoked by alias); 7 Jun 2016 09:36:04 -0000 Mailing-List: contact cygwin-apps-help@cygwin.com; run by ezmlm Precedence: bulk Sender: cygwin-apps-owner@cygwin.com List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps@cygwin.com Received: (qmail 46630 invoked by uid 89); 7 Jun 2016 09:36:02 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=stromeko@nexgo.de, stromekonexgode, U*stromeko, Stromeko@nexgo.de X-HELO: mail-oi0-f65.google.com Received: from mail-oi0-f65.google.com (HELO mail-oi0-f65.google.com) (209.85.218.65) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 07 Jun 2016 09:35:52 +0000 Received: by mail-oi0-f65.google.com with SMTP id x204so3107437oia.0 for ; Tue, 07 Jun 2016 02:35:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rEYa9rCHaRflWDlUN19cLvCsUjiiGqyUaf+l962TXqk=; b=cQIQ3SVpI1TTa3thsCYpnoFtgxLY+ncXJy7/t/ycwV5ciavseMUQZMczrDYYAPQz79 ddTvw3j6WXpo+Uwxw4kQn6ooRk/ZJfP/h90rXNxhZ25buoxBiYE+YIHNAA/YxZ6tJ+gD e4g/5QBjCDyHGWZ+XMlsdVTOhuJeUwn/rt0k9prCPXqfb3iMJLsAEQ5Y+qGuvIIn/E05 mtbZd7vIdOpzrDr3OYLSBGWy2lQsOW5rRBrJiGJ4xLKnlWnn8x2Kxk7ur6iKROIAJWUb C/+JesF0EBgC8lCJe4PLZM7NESWUTzLpNzqXLVwnzlKRJbbjdhqi0sPWIapmZYyOc5ke 2S2g== X-Gm-Message-State: ALyK8tIU8HgWOtq4hKlnDOWHVoBz0Yw/nB6bevj81hi+DJBNKPN9cVc09wpvASZ6wKXTKzwQY19dJB7OIylb8Q== X-Received: by 10.157.5.172 with SMTP id 41mr9327738otd.161.1465292150676; Tue, 07 Jun 2016 02:35:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.182.48.35 with HTTP; Tue, 7 Jun 2016 02:35:31 -0700 (PDT) In-Reply-To: <878tyiz1o6.fsf@Rainer.invalid> References: <8005b674-1e74-a909-50ca-2a0b4fb0e570@gmail.com> <878tyiz1o6.fsf@Rainer.invalid> From: Marcos Vives Del Sol Date: Tue, 07 Jun 2016 09:36:00 -0000 Message-ID: Subject: Re: [ITP] libsass v3.3.6 To: cygwin-apps@cygwin.com Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2016-06/txt/msg00018.txt.bz2 2016-06-06 19:07 GMT+02:00 Achim Gratz : > That file is created by configure, so patching it in anyway is still > useless. No. The file created by configure is version.h. VERSION file later is employed by the version.sh script: ----------------- if test "x$LIBSASS_VERSION" = "x"; then LIBSASS_VERSION=`git describe --abbrev=4 --dirty --always --tags 2>/dev/null` fi if test "x$LIBSASS_VERSION" = "x"; then LIBSASS_VERSION=`cat VERSION 2>/dev/null` fi if test "x$LIBSASS_VERSION" = "x"; then LIBSASS_VERSION="[na]" fi echo $LIBSASS_VERSION ----------------- Former will fail because it's not a git repository, so it falls back to reading from VERSION file, or else it will use "[na]". This script is called using m4_esyscmd_s from configure.ac line 6: ----------------- AC_INIT([libsass], m4_esyscmd_s([./version.sh]), [support@moovweb.com]) ----------------- to set the library version at compile time. Then configure uses it to generate the version.h file. The patch is supposed to create that file at ./libsass-3.3.6-1.i686/src/VERSION, but for some reason cygport creates it at ./libsass-3.3.6-1.i686/src/libsass-3.3.6/src/libsass-3.3.6/VERSION, so version.sh can't read it and reports "[na]" anyway. Any insight on why the patch created by cygport itself isn't working? -- Marcos Vives Del Sol https://github.com/socram8888 miniLock: NscWdW8fh2E5SBoRtrnXWrDwmQmwaR5awMKE78tQW1Ffx