-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
clamp 1.3.0 default_XXX method behavior breaking fpm #1543
Comments
Can you show me how to reproduce this error? If I test ruby 2.5.1p57 with rubygems 2.7.6,
Did rubygems behavior of |
I'll try to see how I got to this error. Now that I think about it again there is a decent chance that this is more a bug with the FreeBSD port as it doesn't specify this tight of a dependency and has the newer clamp gem in the tree. |
@mrtazz @jordansissel I have different project that uses clamp and it requires clamp > 1.3.0, since fpm doesn't require version to be less than |
@kovetskiy good enough for me. I'll try to figure out why clamp 1.3.0 is giving fpm issues. |
I am able to reproduce an error with clamp 1.3.0:
I'll see about fixing this. |
I think I have a fix for this and thankfully it's just one line (so far). I'll do some testing on clamp 1.3.0 and <1.3.0 and push a PR shortly. |
This fixes fpm when used with clamp 1.3.0 or above. Fixes #1543
#1561 should fix this. Can someone help test? I tested with clamp 1.3.0 and clamp 1.0.1 on ruby 2.4.1 with a simple example |
This issue still persists, can we get the PR accepted? |
See
|
It's getting close to a year since this issue was found. It definitely is a blocker for me. Any chance this can get fixed soon? |
#1561 should fix this, but one report says it Broke things... can someone
else help test it?
…On Wed, Aug 28, 2019 at 1:55 AM Egor Kovetskiy ***@***.***> wrote:
@chnrxn <https://github.com/chnrxn> yes, here is the fix but it was
rejected: #1548 <#1548>
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#1543?email_source=notifications&email_token=AABAF2XLIWGDBCQFP33DJMDQGY4PJA5CNFSM4FQIME52YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5KMOTI#issuecomment-525649741>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AABAF2WPC3UHHT6GQOAKFQTQGY4PJANCNFSM4FQIME5Q>
.
|
Just FYI, I was able to use FPM by applying this patch to the gemspec:
It produced a valid package, and the package passed my tests. This of course restricted it to This is on FreeBSD 10 and 11 creating txz files. |
#1561 fixed the issue for me in FPM 1.11.0, with Clamp 1.3.1. I did not see any adverse effects (that I recognized) with a dir source and an rpm target. |
This fixes fpm when used with clamp 1.3.0 or above. Fixes #1543
#1561 was merged and this fix will be available in the next release of fpm. |
@jordansissel any ETA on a new release? it looks like the most recent one is over a year old now, and this bug still exists... |
It seems like clamp's new behavior for default methods (introduced in mdub/clamp@ec192bf and released with version 1.3.0) breaks fpm with the following error:
The text was updated successfully, but these errors were encountered: