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:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; q=dns; s=default; b=PnHrMIs07x71DN0ACbAFeEECqiKS+ M/5qIP/hMB+VvGNqEXWWih5X6oeoLNVaHTvRHW/BrtBuow/2nznzR4MDAafK8Uk+ eu6vfyLmVuxPTXZTiY7ZLNv87WNxqN/oQzfe0nNW0ofxYk/BhqF+BYXbPcTDwH5P AKO8OTgrtUi2rs= 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:subject:date:message-id:references :in-reply-to:content-type:content-transfer-encoding :mime-version; s=default; bh=/HtmvNLaFdLFWIwUueEBQyvGmGM=; b=SZX 8/Uepdoerni0ltvF3+rya+Ztspf9hJvJdV3WFGZhxDh9+VgYj3I8Tdg+G/qRQEH+ H54NzaJunMe/GEQ1t6c3C3TxF2XnKgwuOWPfmE1+j/dBuvcfYvWlKfyJhEFldi1C HpySD1ZIZZRHuB7DSiUIT/HIWT4s07QzgRlDnnjE= 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=4.2 required=5.0 tests=AWL,BAYES_00,CYGWIN_OWNER_BODY,KAM_INFOUSMEBIZ,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=H*r:169.254.3, H*F:D*me, H*r:sk:TLS_ECD, H*M:namprd03 X-HELO: na01-bl2-obe.outbound.protection.outlook.com From: Brian Clifton To: "cygwin AT cygwin DOT com" Subject: Re: gem broken ? Date: Mon, 27 Jun 2016 16:18:39 +0000 Message-ID: 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> In-Reply-To: <20160627151202.GA8096@calimero.vinschen.de> authentication-results: spf=none (sender IP is ) smtp.mailfrom=brian AT clifton DOT me; x-ms-office365-filtering-correlation-id: 2c8d08fe-6180-4e25-b681-08d39ea6b378 x-microsoft-exchange-diagnostics: 1;BL2PR03MB227;6:BMEAYLHQB4VNzcoSl+nPanRYmmsby9Vjjir29qHrGsIirXDu9oeTXKK16zgW+iKfE1yL6OM1BexLsjQgd39FD96B1LkIFCOrD7K40sPvK2aYZBOTJCSFs0p9wtuaUjj4HYrgYu2wA9/x1Gmd5ws8I/i6PyRoj0vv7KIGl5Ifo/N91J2qu3YjQdUmpyVgWF23HPKGnncw8DIE9/IokEDy5hSC1LtD6hG0oGC3Cpg6iQzx2blxkp4StZsEOase/4+HegBm4mKCCUpQz7iO4TI+AL1WeeCHcPusHmFGjmLDdAafYqcTMfx0pNY+2Pr4y0CxWv6ShQETWUzVwaZs9Q3WHQ==;5:WlkpZ92YIzQu5AuM92JNYHuRBmA8W51ub+HnYj00O0FAbexMKuqAKEpXFjal9qIZu5eo4sRHpA4EvKmq7L1FsOGDlqQrB3xF9lbRveFpntlQLQUkTTyNHye0Q8bAU70GvQHBAAejv3/b7PY9kTwl0w==;24:0k+IbF0DEJHyf5b8zrL/RZMqUuzkqNd9IJB3B5WRxGMCovHmlt66W84ND3rycbBcA525v5VhmyRmiY7xL9BiTdZ+vol+OUwqzmJGlG06j5Y=;7:snNZCkGiCsO1v5U4NfAKe1VrJuszRws8E/vQUxEUCoQWyVwsdk0l1XfWAH8csnQmS2wMz+qxA4SWFzmyYsfbafn2b3bhZf1InrtGOn+f5AOT5fFXgN4lt9mquGFVK+Ehfey4lENcGJNi0brRByMVSoqi70E72BaBKow9sKttneUsxLC8bPn+T5FNIT5Av8pgQ10tmTZDWM937PMcOjh4vuOFeC8tcJAGSy/r+ICvTDVXLpEfSPbyDl0haHH2/MWWuFEduQaT7YLgonJ5/L5fjA== x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB227; x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:; x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(6040130)(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001)(6041072)(6043046);SRVR:BL2PR03MB227;BCL:0;PCL:0;RULEID:;SRVR:BL2PR03MB227; x-forefront-prvs: 09860C2161 x-forefront-antispam-report: SFV:NSPM;SFS:(10019020)(6009001)(7916002)(24454002)(377454003)(189002)(199003)(1720100001)(107886002)(74316001)(74482002)(2950100001)(2900100001)(2351001)(99286002)(97736004)(110136002)(2906002)(101416001)(76576001)(15395725005)(305945005)(11100500001)(5640700001)(33656002)(450100001)(189998001)(66066001)(68736007)(6116002)(102836003)(9686002)(5002640100001)(3280700002)(122556002)(3846002)(87936001)(586003)(10400500002)(50986999)(3660700001)(5003600100003)(106356001)(7696003)(7736002)(15975445007)(76176999)(86362001)(7846002)(105586002)(3480700004)(92566002)(106116001)(54356999)(19580405001)(8676002)(1730700003)(81156014)(81166006)(8936002)(2501003)(19580395003);DIR:OUT;SFP:1102;SCL:1;SRVR:BL2PR03MB227;H:BL2PR03MB228.namprd03.prod.outlook.com;FPR:;SPF:None;PTR:InfoNoRecords;MX:1;A:1;LANG:en; received-spf: None (protection.outlook.com: clifton.me does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 X-OriginatorOrg: clifton.me X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2016 16:18:39.9684 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 8bdfec6b-c71e-4ab9-8b6b-9de7cf58a5f5 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BL2PR03MB227 X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id u5RGJ4mw023191 >From: cygwin-owner AT cygwin DOT com on behalf of Corinna Vinschen >Sent: Monday, June 27, 2016 8:12 AM >To: cygwin AT cygwin DOT com >Subject: Re: gem broken ? > >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 -- 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