Comments (2)
Hi @neutrinoceros - there are a couple of factors here:
- RPC functionality was dropped in favor of TIRPC
io_nchilada.c
andio_tipsy.c
are referencing/usr/include/rpc/types.h
in their include headers, not/usr/include/tirpc/rpc/types.h
, which is what yourls | grep
is showing- python 3.11 is built off ubuntu 22.04, which uses tirpc rather than rpc.
If you were to change the include references to point to the correct path like above, you won't encounter the error. However, the types.h
file has an internal include reference to netconfig.h
. this does not exist in /usr/include/tirpc/rpc
, but in usr/include/tirpc
- you can reference this to edit and git apply the correct CFLAGS, e.g -I/usr/include/tirpc
to address the above.
Additionally, i initially tried running your original code with git apply ../rockstar-patches/cflags.patch
and it wasn't working. if you add the --whitespace=fix
flag, you would be able to do so without using sed.
Lastly, even with those fixes, it seems there are multiple definition errors that are preventing compilation. I would assume those are coming from the rockstar-galaxies repo, though. Please note: the python versions that were passing tests were built using a cimg/base
image using Ubuntu 20.04.
Python 3.11 does not have such an image at the moment. If you would like to make one for yourself in the meantime, you can edit the dockerfile to be FROM cimg/base:2022.01-20.04
from cimg-base.
Thank you so much for your help and this detailed answer. I confirm that adding -I/usr/include/tirpc
to CFLAGS
fixes Rockstar's compilation. The remaining issues with my build are unrelated.
from cimg-base.
Related Issues (20)
- Remove stable tag from DevHub
- Where is SSH_CONFIG_DIR set? HOT 1
- The sample won't pass as cowsay is not in the system path HOT 1
- Checkout step of build fails after release on 19 May 2022 HOT 5
- Nana123
- Basic Checkout of build fails on 22.04, works on 20.04 HOT 7
- Ubuntu 22.04 becomes default starting with July edge and September current HOT 1
- libncurses5-dev in stable-20.4 5 days ago, now is not present HOT 1
- Install git-lfs
- Docker Compose 2.10.1 HOT 1
- Upgrade `yq` to `v4.26.1` for CVE fix HOT 1
- Update Dockerize
- Might need alternative git source HOT 1
- Can you create this image please? HOT 1
- Add Retry Command HOT 2
- Docker image 20.04 and 18.04 no more pushed on Docker Hub HOT 3
- Missing file package HOT 1
- Last Ubuntu 18.04 Release will be for March 2023
- Test issue
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cimg-base.