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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=Tfqknhq1L7+e0YoA Tmwe+yMCZFXTvDA4x4vspf0stCmLIEM77OHIn3YPsNkL7HIEHYihh0BY63Q2NMA9 cKV0yRm17eoEF0mhQ8Any3i6YiZjeMwbMHRdl5ZHQALKpP1B4C6HPvbm6vbmkRyL 01Zq5icS63swMnzLLEvAJm6wZto= 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:subject:to:references:from:message-id:date :mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=FADw0R07bGqO2m5Tw2DMM4 X5Q5U=; b=CJftZP44Yv8xGf78GScnhZAn1p7l9w5zurCS+GBULal+MAZstwyfnK jwc62jw9IrXsc8ErpB5yRYCU3Rt0bM+wMFo13Xws18b1Br1cTodA8x/zEPJipGkt 3aXAoyNKvRsciZOMc/IXSA9uTDKP3WjnCcftuYzbxLy/6enmYY0hM= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=UD:cygwin1.dll, cygwin1.dll, cygwin1dll, Brian X-HELO: mail-wm0-f45.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=D30niGHCkqGHuxA17kqKLazTqpyblYG7AL8ITvhSM8A=; b=HbYHCeUOmDFQ6r7go94fTUZyw2ivovhXuWsglOy8EKt9bwqriHFkPK1oxzuE0qSB1/ pt9KG+fOjVnb04GJk5FqtHjh6WEqUmGo8b9A/rOQg2+XtY6wyQsB8XjW8EavamMPGnKR SRi1sFWW9CgR0r5PDlfVTlfdLD6BmOGQqfKw2ydi/yq23cCUABJaoMqc0tUVJsm8Jded M2IoN6FlXVZ8pjnpKu4RWLAgbkaQkuKo9jJCHq1O2+4qL37xq8UvjWxRrcu5S6kc7u6C iTs3y0dhwEWCbprlQxxYIM/PUvOBDgxMTDbwvWx1pooDe55oSP31rI9gVqqfbALBreh7 oxog== X-Gm-Message-State: ALyK8tLPewaOoBLF3x7UfI43oUa7kZsPC3jvaGPfcBO+JwBLyGZ8FBj9c7khxxmbk8K9QQ== X-Received: by 10.28.191.193 with SMTP id o62mr10878391wmi.64.1467045101228; Mon, 27 Jun 2016 09:31:41 -0700 (PDT) Subject: Re: gem broken ? To: Brian Clifton , "cygwin AT cygwin DOT com" References: <5495062c-6126-609a-46e1-587a18cb8de2 AT gmail DOT com> <691bacce-80d7-1634-2959-4844fb3f4c50 AT gmail DOT com> <20160627151202 DOT GA8096 AT calimero DOT vinschen DOT de> From: Marco Atzeri Message-ID: <0de70a28-4205-1071-57a1-55e47d318fe0@gmail.com> Date: Mon, 27 Jun 2016 18:31:29 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.1.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes On 27/06/2016 18:18, Brian Clifton wrote: >> On Jun 27 15:53, Marco Atzeri wrote: >>> On 27/06/2016 15:19, Marco Atzeri wrote: >>>> on both 32bit and 64 bit (W7 X86_64) >>>> >>>> $ cygcheck -c rubygems >>>> Cygwin Package Information >>>> Package Version Status >>>> rubygems 2.4.8-1 OK >>>> >>>> $ gem list >>>> ERROR: Loading command: list (Fiddle::DLError) >>>> can't load kernel32 >>>> ERROR: While executing gem ... (NoMethodError) >>>> undefined method `invoke_with_build_args' for nil:NilClass >>>> >>>> >>>> First reported on >>>> http://superuser.com/questions/1093954/gem-not-working-in-cygwin >>>> >>>> Regards >>>> Marco >>> >>> it seems a consequence of cygwin 2.5.2 >> >> Commit 8a31aa3 introduces the problem. The patch disallows to dlopen >> libs without specifying the file extension. This was originally intended >> by commit df958670 but only worked for paths, not simple filenames. >> >> AFAICS this is a more a ruby problem than a Cygwin problem. It tries to >> dlopen a DLL called "kernel32". But dlopen is POSIX, so it should not >> assume that an extension is added automatically, just as this isn't done >> on Linux. >> >> Hmm, I'm undecided if this should be fixed in ruby or if we need a >> Cygwin 2.5.3 reverting this patch... >> >> >> Corinna > > I ran into this too on Saturday night- I ended up opening the Fiddle file in question and putting the full path (including the extension) to fix the issue. Wish I would have tried with just the extension > > The weird thing is- after upgrading, I tried reverting ruby and ruby-gems to older versions but had no luck. Corinna, where did a change occur that caused this to happen? You mention dlopen, which package is this a part of? > > Thanks > Brian revert cygwin from 2.5.2 to 2.5.1, dlopen is a system call provided by cygwin1.dll -- 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