Skip to content
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

Ubuntu and Debian packages in OBS are missing libddcutil.so.x.x.x #425

Closed
w8jcik opened this issue May 31, 2024 · 2 comments
Closed

Ubuntu and Debian packages in OBS are missing libddcutil.so.x.x.x #425

w8jcik opened this issue May 31, 2024 · 2 comments

Comments

@w8jcik
Copy link

w8jcik commented May 31, 2024

Ubuntu and Debian packages in OpenSUSE Build Service are missing libddcutil.so. They only contain a broken symlink. Not sure about the other distributions.

Details

Example Docker recipe to reproduce the issue

FROM ubuntu:24.04

ARG SUSE_NAME="xUbuntu_24.04"
ARG DEBIAN_FRONTEND=noninteractive

RUN apt update -y
RUN apt upgrade -y

RUN apt install libglib2.0-dev -y
RUN apt install curl gpg -y

RUN echo "deb http://download.opensuse.org/repositories/home:/rockowitz/${SUSE_NAME}/ /" | tee /etc/apt/sources.list.d/home:rockowitz.list
RUN curl -fsSL "https://download.opensuse.org/repositories/home:rockowitz/${SUSE_NAME}/Release.key" | gpg --dearmor | tee /etc/apt/trusted.gpg.d/home_rockowitz.gpg > /dev/null

RUN apt update -y
RUN apt install ddcutil libddcutil-dev -y

Listing files in a package dpkg -L libddcutil-dev

/.
/usr
/usr/include
/usr/include/ddcutil_c_api.h
/usr/include/ddcutil_macros.h
/usr/include/ddcutil_status_codes.h
/usr/include/ddcutil_types.h
/usr/lib
/usr/lib/x86_64-linux-gnu
/usr/lib/x86_64-linux-gnu/cmake
/usr/lib/x86_64-linux-gnu/cmake/ddcutil
/usr/lib/x86_64-linux-gnu/cmake/ddcutil/FindDDCUtil.cmake
/usr/lib/x86_64-linux-gnu/pkgconfig
/usr/lib/x86_64-linux-gnu/pkgconfig/ddcutil.pc
/usr/share
/usr/share/doc
/usr/share/doc/libddcutil-dev
/usr/share/doc/libddcutil-dev/AUTHORS
/usr/share/doc/libddcutil-dev/CHANGELOG.md.gz
/usr/share/doc/libddcutil-dev/NEWS.md.gz
/usr/share/doc/libddcutil-dev/changelog.Debian.gz
/usr/share/doc/libddcutil-dev/copyright
/usr/lib/x86_64-linux-gnu/libddcutil.so

Listing files in a package dpkg -L libddcutil4

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/libddcutil4
/usr/share/doc/libddcutil4/changelog.Debian.gz
/usr/share/doc/libddcutil4/changelog.gz
/usr/share/doc/libddcutil4/copyright

Inspecting /usr/lib/x86_64-linux-gnu/libddcutil.so

ls /usr/lib/x86_64-linux-gnu -l
...
lrwxrwxrwx  1 root root       19 Feb  7 09:00 libddcutil.so -> libddcutil.so.5.1.2 
...

(broken link, /usr/lib/x86_64-linux-gnu/libddcutil.so.5.1.2 does not exist)

I noticed it trying to build ddcutil-service

make
...
/usr/bin/ld: cannot find -lddcutil: No such file or directory
...

The same issue is present in the other Ubuntu and Debian versions.

Are OBS recipes available in some public repository? It would help diagnosing and fixing packaging issues.

@w8jcik w8jcik changed the title libddcutil-dev package is missing libddcutil.so libddcutil-dev package is missing libddcutil.so.x.x.x Jun 1, 2024
@w8jcik w8jcik changed the title libddcutil-dev package is missing libddcutil.so.x.x.x libddcutil-dev and libddcutil4 packages are missing libddcutil.so.x.x.x Jun 1, 2024
@w8jcik w8jcik changed the title libddcutil-dev and libddcutil4 packages are missing libddcutil.so.x.x.x libddcutil packages are missing libddcutil.so.x.x.x Jun 1, 2024
@w8jcik w8jcik changed the title libddcutil packages are missing libddcutil.so.x.x.x Ubuntu and Debian packages in OBS are missing libddcutil.so.x.x.x Jun 6, 2024
@w8jcik w8jcik closed this as completed Jun 6, 2024
@w8jcik w8jcik reopened this Jun 6, 2024
@w8jcik
Copy link
Author

w8jcik commented Jun 18, 2024

Thank you for fixing it. The library is present now and it works fine. Tested by building and using ddcutil-service. The issue can be closed.

@rockowitz
Copy link
Owner

Fixed flibddcutil5-2.1.3-1 and libddcutil5-2.1.4-1 for Debian and Ubuntu releases. For RPM based distributions (e.g. openSUSE, Fedora), the packaging is orchestrated by file ddcutil.spec. For Debian based distributions, build is orchestrated by the files in directory debian of packages ddcutil_2.1.4-1.debian.tar.xz, etc.

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

No branches or pull requests

2 participants