Title: Build fails when cross-compiling · Issue #14 · lumicks/embedded_python · GitHub
Open Graph Title: Build fails when cross-compiling · Issue #14 · lumicks/embedded_python
X Title: Build fails when cross-compiling · Issue #14 · lumicks/embedded_python
Description: If you try to cross-compile this package in conan you get the next error: embedded_python/1.3.2@lumicks/stable: Calling build() checking build system type... x86_64-pc-linux-gnu checking host system type... x86_64-pc-linux-gnu checking f...
Open Graph Description: If you try to cross-compile this package in conan you get the next error: embedded_python/1.3.2@lumicks/stable: Calling build() checking build system type... x86_64-pc-linux-gnu checking host syste...
X Description: If you try to cross-compile this package in conan you get the next error: embedded_python/1.3.2@lumicks/stable: Calling build() checking build system type... x86_64-pc-linux-gnu checking host syste...
Opengraph URL: https://github.com/lumicks/embedded_python/issues/14
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Build fails when cross-compiling","articleBody":"If you try to cross-compile this package in conan you get the next error:\r\n```bash\r\nembedded_python/1.3.2@lumicks/stable: Calling build()\r\n\r\nchecking build system type... x86_64-pc-linux-gnu\r\nchecking host system type... x86_64-pc-linux-gnu\r\nchecking for python3.9... no\r\nchecking for python3... python3\r\nchecking for --enable-universalsdk... no\r\nchecking for --with-universal-archs... no\r\nchecking MACHDEP... \"linux\"\r\nchecking for gcc... aarch64-linux-gnu-gcc-9\r\nchecking whether the C compiler works... yes\r\nchecking for C compiler default output file name... a.out\r\nchecking for suffix of executables... \r\nchecking whether we are cross compiling... configure: error: in `/root/.conan/data/embedded_python/1.3.2/lumicks/stable/build/910f9072af01bd4246171eddd52c50d404399ecf/build':\r\nconfigure: error: cannot run C compiled programs.\r\nIf you meant to cross compile, use `--host'.\r\nSee `config.log' for more details\r\nembedded_python/1.3.2@lumicks/stable: \r\nembedded_python/1.3.2@lumicks/stable: ERROR: Package '910f9072af01bd4246171eddd52c50d404399ecf' build failed\r\nembedded_python/1.3.2@lumicks/stable: WARN: Build folder /root/.conan/data/embedded_python/1.3.2/lumicks/stable/build/910f9072af01bd4246171eddd52c50d404399ecf\r\nERROR: embedded_python/1.3.2@lumicks/stable: Error in build() method, line 110\r\n build_helper.build_embedded()\r\nwhile calling 'build_embedded', line 247\r\n self._build(self.prefix_dir)\r\nwhile calling '_build', line 228\r\n self.conanfile.run(f\"../src/configure {config_args}\")\r\n ConanException: Error 1 while executing ../src/configure --enable-shared --prefix=/root/.conan/data/embedded_python/1.3.2/lumicks/stable/build/910f9072af01bd4246171eddd52c50d404399ecf/embedded_python --with-openssl=/root/.conan/data/OpenSSL/1.1.1f/_/_/package/34a6f15abcb5e4a5fe68f8affe1a3a5db07089e2\r\n\r\n```\r\n\r\nBut the variable ```--host``` can't be pass because the arguments are hard-coded on the conanfile.","author":{"url":"https://github.com/sorny92","@type":"Person","name":"sorny92"},"datePublished":"2021-10-11T12:51:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/14/embedded_python/issues/14"}
| 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:f8f54476-8022-d84c-6755-2c727e8ff89f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8410:299851:1032A0D:16488CE:6A4DD96B |
| html-safe-nonce | 88f2b82807d04c636732d7c8f6f030763cc6b689e898e7caff840629b5aae3df |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NDEwOjI5OTg1MToxMDMyQTBEOjE2NDg4Q0U6NkE0REQ5NkIiLCJ2aXNpdG9yX2lkIjoiNDA5NTYxMDU4Mzk0Mzg2MjYzNSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7b07e7557f357d80b528ee44cb50ea3a3761995b75db2f91eeabfead747fb195 |
| hovercard-subject-tag | issue:1022667292 |
| 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/lumicks/embedded_python/14/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c35d7423b282d361bbd9894ca48308622acea07e2694433a6b417c57873912a6/lumicks/embedded_python/issues/14 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c35d7423b282d361bbd9894ca48308622acea07e2694433a6b417c57873912a6/lumicks/embedded_python/issues/14 |
| og:image:alt | If you try to cross-compile this package in conan you get the next error: embedded_python/1.3.2@lumicks/stable: Calling build() checking build system type... x86_64-pc-linux-gnu checking host syste... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | sorny92 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/lumicks/embedded_python git https://github.com/lumicks/embedded_python.git |
| octolytics-dimension-user_id | 29652931 |
| octolytics-dimension-user_login | lumicks |
| octolytics-dimension-repository_id | 190653901 |
| octolytics-dimension-repository_nwo | lumicks/embedded_python |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 190653901 |
| octolytics-dimension-repository_network_root_nwo | lumicks/embedded_python |
| 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 | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width