Title: [Bug]: Can't compile Mac · Issue #30480 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Can't compile Mac · Issue #30480 · matplotlib/matplotlib
X Title: [Bug]: Can't compile Mac · Issue #30480 · matplotlib/matplotlib
Description: Bug summary When trying to build on a Mac (15.6.1), I get: ../../subprojects/freetype-2.6.1/src/gzip/infcodes.c:71:17: error: use of undeclared identifier 'Byte' 71 | c->dbits = (Byte)bd; | ^ This is in a micro mamba environment, made wi...
Open Graph Description: Bug summary When trying to build on a Mac (15.6.1), I get: ../../subprojects/freetype-2.6.1/src/gzip/infcodes.c:71:17: error: use of undeclared identifier 'Byte' 71 | c->dbits = (Byte)bd; | ^ This ...
X Description: Bug summary When trying to build on a Mac (15.6.1), I get: ../../subprojects/freetype-2.6.1/src/gzip/infcodes.c:71:17: error: use of undeclared identifier 'Byte' 71 | c->dbits = (Byte)bd...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/30480
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Can't compile Mac","articleBody":"### Bug summary\n\nWhen trying to build on a Mac (15.6.1), I get:\n\n```\n../../subprojects/freetype-2.6.1/src/gzip/infcodes.c:71:17: error: use of undeclared identifier 'Byte'\n 71 | c-\u003edbits = (Byte)bd;\n | ^\n```\n\nThis is in a micro mamba environment, made with `environment.yml`.\n\nMatplotlib seems to run in dev mode, but I need to recompile to get pytest to work. \n\n### Code for reproduction\n\n```Python\n`python -m pip install --verbose --no-build-isolation --editable \".[dev]\"`\n```\n\n### Actual outcome\n\n```\n In file included from ../../subprojects/freetype-2.6.1/src/gzip/ftgzip.c:65:\n In file included from ../../subprojects/freetype-2.6.1/src/gzip/zlib.h:34:\n ../../subprojects/freetype-2.6.1/src/gzip/zconf.h:228:12: error: unknown type name 'Byte'\n 228 | typedef Byte FAR Bytef;\n | ^\n In file included from ../../subprojects/freetype-2.6.1/src/gzip/ftgzip.c:83:\n ../../subprojects/freetype-2.6.1/src/gzip/inftrees.h:22:7: error: unknown type name 'Byte'\n 22 | Byte Exop; /* number of extra bits or operation */\n | ^\n ```\n...etc\n\n### Expected outcome\n\ndev install\n\n### Additional information\n\n_No response_\n\n### Operating system\n\nMacOS 15.6.1\n\n### Matplotlib Version\n\nmain\n\n### Matplotlib Backend\n\n_No response_\n\n### Python version\n\n_No response_\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\nconda","author":{"url":"https://github.com/jklymak","@type":"Person","name":"jklymak"},"datePublished":"2025-08-28T16:56:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/30480/matplotlib/issues/30480"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:6745a994-e34e-e804-87bb-834f67a2c0e3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9D3E:20ED06:900656:C0AED1:6A52909D |
| html-safe-nonce | ab9a71bc68963deef080f86f3f944feda21d89ca384c26bd976bac50de65af30 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5RDNFOjIwRUQwNjo5MDA2NTY6QzBBRUQxOjZBNTI5MDlEIiwidmlzaXRvcl9pZCI6IjgwNDY4MjE3NDEzODgwMDk2MjkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 01a9b4e20883e5bed2f8dd753ae6d59cb17af150d6ba8e12bcbd45b56f3d36a3 |
| hovercard-subject-tag | issue:3364038543 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/30480/issue_layout |
| twitter:image | https://opengraph.githubassets.com/594ea8b88a70b3bd62c5ee0998340395bf95920402d4ae66654e03fb6f0e23f6/matplotlib/matplotlib/issues/30480 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/594ea8b88a70b3bd62c5ee0998340395bf95920402d4ae66654e03fb6f0e23f6/matplotlib/matplotlib/issues/30480 |
| og:image:alt | Bug summary When trying to build on a Mac (15.6.1), I get: ../../subprojects/freetype-2.6.1/src/gzip/infcodes.c:71:17: error: use of undeclared identifier 'Byte' 71 | c->dbits = (Byte)bd; | ^ This ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jklymak |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width