X-Recipient: archive-cygwin@delorie.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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; q=dns; s=
	default; b=Cl4bJU8yxvLQd1kvGLJzmaXMj0tT3/kGSTo6PM9c8/BK0ve62xUHy
	PqBtD9XQzK1srYhOvFZVo0CNngXvLKfSot+SI9JU2CMJ8oj6ELTExzEhlLEqG9Ia
	mK2DfRdM+0iYRWqE5LZtOHiryQGs8pBHYXtyOQEc9awmnb7tS+PXIk=
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:date:from:to:subject:message-id:reply-to
	:references:mime-version:content-type:in-reply-to; s=default;
	 bh=CGtAOtvf8yEMXCTFfcfl5x0J2XE=; b=Mpei2L7fbIcrnjVR/KTgLKqMq3a3
	CBdWUVENM7qtqUabEezMvDj1WjpIZldwYAoS0UbkADNe7x0AJLkJ6moqCWdvGZzt
	8eRIhy6Y62+PAD91V/Zg1EH19C7g9uTNRBXIADFTBhBi5LS2WhD8yoK9+11Ufi9q
	28wyTkWkpHC20xo=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-96.3 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_PBL,RCVD_IN_SORBS_DUL,RDNS_DYNAMIC autolearn=ham version=3.3.2 spammy=H*f:sk:691bacc, H*MI:sk:691bacc, H*i:sk:691bacc
X-HELO: calimero.vinschen.de
Date: Mon, 27 Jun 2016 17:12:02 +0200
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: gem broken ?
Message-ID: <20160627151202.GA8096@calimero.vinschen.de>
Reply-To: cygwin@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
References: <5495062c-6126-609a-46e1-587a18cb8de2@gmail.com> <691bacce-80d7-1634-2959-4844fb3f4c50@gmail.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;	protocol="application/pgp-signature"; boundary="HcAYCG3uE/tztfnV"
Content-Disposition: inline
In-Reply-To: <691bacce-80d7-1634-2959-4844fb3f4c50@gmail.com>
User-Agent: Mutt/1.6.1 (2016-04-27)

--HcAYCG3uE/tztfnV
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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)
> >=20
> > $ cygcheck -c rubygems
> > Cygwin Package Information
> > Package              Version        Status
> > rubygems             2.4.8-1        OK
> >=20
> > $  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
> >=20
> >=20
> > First reported on
> > http://superuser.com/questions/1093954/gem-not-working-in-cygwin
> >=20
> > Regards
> > Marco
>=20
> 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

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--HcAYCG3uE/tztfnV
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJXcUJCAAoJEPU2Bp2uRE+gxqwP+wVCBmn2KzdKlHKwGQg33vJ9
Jy15kND0UiBGDr198wAzdA3X9RItwOL/0rSNgUXWBFfZN/c39BUIJDXjYOVVfjz5
8RxBfe9U8YVJaFT8Ncf9sG2mDvk9M73gU2TwniNV22Yr8kdxBLMbCOFLXZ2gJ9XY
2P2SVfJbGQV05ORdGhBosyRIfwKOOvGBsC8Jp1mskUC/TB8KDNNW6hQRf8bX2w59
Tcm6hq9FfCuZZ8fVnyyvkplgoEGUaoRhTxVsGRgc8YNMh4mdOSdJnR+lYKNTdIbP
20AIHliALExgs3Pl0mICjlExQY6fwASNJmLN7Sw3XA88U/uRBsuLXN3cavz4yWlG
048OYb+opzSVGeZWI1LoVlrkavzSHONRpHaKhDpOUoiOWBay55x5EgqTl7TmYKHz
fRYCsBJeej9L94D2pdFCPJRTM8a9cR+hjeGgpuiyxvjjXNw2L13W2VwGyQ0m/dYo
7adLmNQp+U/oukk7ogLwO2GQ/It6SYcCEGSIQq3scl5xqyzqMv9wUjzWaFSy1PJL
oSB9mKNSoWi/eTBm4bebIYJyflPGiNU+ki2b98HTWuOqcXKXVqDXc2aqDiXDm0wU
ZECCK8f3M9DUgm22UwlhGBkMULYLb5ENfgdOKVSQeTT5aE2SE5G++K81vv4TTGJr
mLyDxgG6sdzb7BCM8lzL
=3TdX
-----END PGP SIGNATURE-----

--HcAYCG3uE/tztfnV--
