getsolus / packages

Solus Package Monorepo & Issue Tracker
62 stars 78 forks source link

Packages that need rebuild to produce correct pspec_x86_64.xml #3554

Open GZGavinZhao opened 1 month ago

GZGavinZhao commented 1 month ago

The above packages haven't been rebuilt for a long time so they're using the old pspec_x86_64.xml format that doesn't list all files in a package, preventing autobuild from scanning providers correctly. For example, for libsepol:

        <Files>
            <Path fileType="executable">/usr/bin</Path>
            <Path fileType="header">/usr/include/</Path>
            <Path fileType="library">/usr/lib64/lib*.a</Path>
            <Path fileType="library">/usr/lib64/lib*.so</Path>
            <Path fileType="data">/usr/lib64/pkgconfig/*.pc</Path>
        </Files>

The new/correct format should be something like:

        <Files>
            <Path fileType="executable">/usr/bin/chkcon</Path>
            <Path fileType="header">/usr/include/sepol/boolean_record.h</Path>
            <Path fileType="library">/usr/lib64/libsepol.a</Path>
            <Path fileType="library">/usr/lib64/libsepol.so</Path>
            <Path fileType="data">/usr/lib64/pkgconfig/libsepol.pc</Path>
        </Files>
malfisya commented 1 month ago

mono-addins is also part of does not build.

EbonJaeger commented 1 month ago

Trying to bump libvpx1 results in this message during configure:

Unable to invoke compiler: gcc -m32 -mtune=generic -march=i686 -msse2 -g2 -O2 -pipe -fPIC -fno-plt -Wformat -Wformat-security -D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=32 -fasynchronous-unwind-tables -ftree-vectorize -feliminate-unused-debug-types -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -Wall -Wno-error -Wp,-D_REENTRANT -mx32 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64

Configuration failed. This could reflect a misconfiguration of your
toolchains, improper options selected, or another problem. If you
don't see any useful error messages above, the next step is to look
at the configure error log file (config.log) to determine what
configure was trying to do when it died.

Don't really know where to go from there.

EbonJaeger commented 1 month ago

Regarding mono-addins, do we have any reason to package it? Nothing in the repository uses it, and the upstream stance is that programs should bundle it. Fedora and Arch still seem to be building it, but I have no idea how.

androidnisse commented 1 week ago

Regarding mono-addins, do we have any reason to package it? Nothing in the repository uses it, and the upstream stance is that programs should bundle it. Fedora and Arch still seem to be building it, but I have no idea how.

I have added a PR to deprecate it. Seems as you discovered it is not needed anymore.