Skip to content

unbreak getdeps build - #160

Closed
pepeiborra wants to merge 1 commit into
facebookincubator:mainfrom
pepeiborra:export-D78560675
Closed

unbreak getdeps build#160
pepeiborra wants to merge 1 commit into
facebookincubator:mainfrom
pepeiborra:export-D78560675

Conversation

@pepeiborra

Copy link
Copy Markdown
Contributor

Summary: Make getdeps work again

Differential Revision: D78560675

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jul 18, 2025
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D78560675

Comment thread Makefile Outdated

THRIFT1 := thrift1
CABAL := $(CABAL_BIN) $(CABAL_CONFIG_FLAGS) $(GETDEPS_CABAL_FLAGS)
CABAL := $(CABAL_BIN) $(CABAL_CONFIG_FLAGS) $(GETDEPS_CABAL_FLAGS) -f-bundled-folly -f-fbthrift

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't set flags here. They're supposed to be set in CABAL_CONFIG_FLAGS, which is set by the CI workflow, or cabal.project.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, fbthrift should be enabled for the getdeps build

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't set flags here. They're supposed to be set in CABAL_CONFIG_FLAGS, which is set by the CI workflow, or cabal.project.

Cannot easily set them in the internal CI workflow, already tried that. Re cabal.project, isn't it shared with the GitHub CI workflow?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, fbthrift should be enabled for the getdeps build

The fbthrift build with getdeps is broken since the folly-clib PR

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, fbthrift should be enabled for the getdeps build

The fbthrift build with getdeps is broken since the folly-clib PR

@pepeiborra pepeiborra Jul 19, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Last I checked the breakage was in fbthrift itself, CI was passing on the PR when it was landed.

true, but fbthrift itself is fixed now

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The current error is cabal complaining about a leading zero in the folly-clib version number, I can put up a fix for that. https://github.com/facebookincubator/hsthrift/actions/runs/16402006410/job/46342785108

This PR won't work because the cabal CI job will fail - it needs bundled-folly to be enabled: https://github.com/facebookincubator/hsthrift/actions/runs/16374421038/job/46270656525?pr=160

Maybe it's possible for me to run the getdeps build locally, I haven't tried that yet.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@simonmar simonmar Jul 22, 2025

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@pepeiborra what's the command to run the getdeps build? I put it on the internal wiki somewhere but I don't remember what it was exactly. There were some extra flags IIRC.

We should probably have a github CI job that does the build via getdeps, to match the internal CI job.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

getdeps.py build hsthrift --allow-system-packages --shared-libs --extra-cmake-def
ines='{"BOOST_LINK_STATIC": "OFF"}'

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D78560675

pepeiborra pushed a commit to pepeiborra/hsthrift that referenced this pull request Jul 22, 2025
Summary:
Pull Request resolved: facebookincubator#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675
Comment thread cabal-meta.project
package folly-clib
flags: -bundled-folly
package thrift-tests
flags: -fbthrift

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why is this needed? I would hope the fbthrift tests should pass, since we have fbthrift.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

cabal build fails

Comment thread cabal-meta.project
@@ -0,0 +1,23 @@
-- Copyright (c) Facebook, Inc. and its affiliates.

packages:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

might be able to avoid the copy/paste by using include

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leaving that for future work

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D78560675

pepeiborra pushed a commit to pepeiborra/hsthrift that referenced this pull request Jul 22, 2025
Summary:
Pull Request resolved: facebookincubator#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675
Comment thread cabal-github.project

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should have a default cabal.project, so that the build instructions work.

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D78560675

pepeiborra pushed a commit to pepeiborra/hsthrift that referenced this pull request Jul 23, 2025
Summary:
Pull Request resolved: facebookincubator#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675
Summary:
Pull Request resolved: facebookincubator#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D78560675

@simonmar

Copy link
Copy Markdown
Contributor

FYI I made a CI job that builds using getdeps: simonmar@b224d79

it's not quite ready yet, but it works.

facebook-github-bot pushed a commit to facebook/CacheLib that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/fbthrift that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/folly that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/mvfst that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/wangle that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/watchman that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/fboss that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebookexperimental/moxygen that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/proxygen that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebookincubator/fizz that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebookexperimental/edencommon that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebookexperimental/rust-shed that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebookincubator/katran that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 76d157f.

facebook-github-bot pushed a commit to facebook/fb303 that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/hhvm that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/openr that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
facebook-github-bot pushed a commit to facebook/sapling that referenced this pull request Jul 25, 2025
Summary:
X-link: facebookincubator/hsthrift#160

Make getdeps work again

Reviewed By: kbojarczuk

Differential Revision: D78560675

fbshipit-source-id: 7602f45c02eecda9ec5bda9b32a9b0d5d23766b7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants