Skip to content

New packages (Ubuntu): python files are present twice #857

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

Open
Bischoff opened this issue Feb 13, 2025 · 2 comments
Open

New packages (Ubuntu): python files are present twice #857

Bischoff opened this issue Feb 13, 2025 · 2 comments

Comments

@Bischoff
Copy link
Contributor

After installation of the new zvmsdk package on Ubuntu, the whole python hierarchy is present twice, once in /usr/lib/python3, and once in /usr/lib/python3.12.

For example:

mikef@feilong:~$ dpkg -L grep zvmsdk | grep grow_root_volume.j2 
/usr/lib/python3/dist-packages/zvmsdk/vmactions/templates/grow_root_volume.j2 
/usr/lib/python3.12/dist-packages/zvmsdk/vmactions/templates/grow_root_volume.j2

There's probably a symlink present at packaging time, with this as effect.

It has no bad consequence other than lost space & making debugging trickier.

@JaySoni1
Copy link

JaySoni1 commented May 14, 2025

Hi @Bischoff ,

I’m working on this issue regarding the duplicate Python files installed by the zvmsdk package on Ubuntu.

I have cloned the python-zvm-sdk repository and set up my development environment. However, I noticed that the repository does not include a debian/ directory or the Debian packaging files needed to build and test the Ubuntu package fully.

Could you please guide me where the packaging files are maintained? Are they in a separate repository or branch?

In the meantime, I plan to make and test code changes locally using a Python virtual environment.

Thank you for your guidance and support!

Best regards,
Jay Soni

@Bischoff
Copy link
Contributor Author

Hi @JaySoni1,

I'm sorry to answer so late. I had too much work last 2 weeks.

The repository used to build feilong is https://github.com/openmainframeproject/build-feilong . The debian/ directory is created by this line: https://github.com/openmainframeproject/build-feilong/blob/2a6ed4e67e3c3401927864cd51f2bbf41a453f87/buildzthindeb#L54 .

If you find time to solve this issue, that would be great.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants