Skip to content
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

Self test failure on i386 due to 32bit vs 64bit problem #2370

Closed
jas4711 opened this issue Jan 23, 2024 · 3 comments
Closed

Self test failure on i386 due to 32bit vs 64bit problem #2370

jas4711 opened this issue Jan 23, 2024 · 3 comments
Assignees
Labels
needs more info This issue needs more information from the customer to proceed. type: question Request for information or clarification. Not an issue.

Comments

@jas4711
Copy link

jas4711 commented Jan 23, 2024

Hi. I'm helping packaging this project version 0.157.0 for Debian. It builds on amd64 (64-bit) not not i386 (32-bit). Ideas?

https://salsa.debian.org/jas/golang-google-api/-/jobs/5194741

ok  	google.golang.org/api/internal/third_party/uritemplates	0.005s
# google.golang.org/api/iterator_test [google.golang.org/api/iterator.test]
src/google.golang.org/api/iterator/iterator_test.go:42:9: cannot use math.MaxInt64 (untyped int constant 9223372036854775807) as int value in assignment (overflows)
FAIL	google.golang.org/api/iterator [build failed]

Any ideas?

Thanks,
Simon

@jas4711 jas4711 added priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jan 23, 2024
@quartzmo quartzmo assigned quartzmo and unassigned codyoss Jan 23, 2024
@quartzmo quartzmo added type: question Request for information or clarification. Not an issue. and removed priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. labels Jan 23, 2024
@quartzmo
Copy link
Member

Background: The failing line is iterator/iterator_test.go#L42 in v0.157.0, which was recently updated in #2342.

Does it make sense to you that math.MaxInt would produce this error?

@quartzmo
Copy link
Member

I can't find 0.157.0 anywhere in this log, how do we know which version is being tested?

https://salsa.debian.org/jas/golang-google-api/-/jobs/5194741

@quartzmo quartzmo added the needs more info This issue needs more information from the customer to proceed. label Jan 24, 2024
@quartzmo
Copy link
Member

quartzmo commented Feb 2, 2024

Please re-open if this is still a problem and you can provide more details as requested above, thank you.

@quartzmo quartzmo closed this as completed Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs more info This issue needs more information from the customer to proceed. type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

3 participants