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

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

Closed
GZGavinZhao opened this issue Aug 12, 2024 · 5 comments · Fixed by #3969
Closed

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

GZGavinZhao opened this issue Aug 12, 2024 · 5 comments · Fixed by #3969
Labels
Bug Something isn't working

Comments

@GZGavinZhao
Copy link
Member

GZGavinZhao commented Aug 12, 2024

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>
@GZGavinZhao GZGavinZhao added the Bug Something isn't working label Aug 12, 2024
@github-project-automation github-project-automation bot moved this to Triage in Solus Aug 12, 2024
EbonJaeger added a commit that referenced this issue Aug 12, 2024
**Summary**
- Update 'README' to indicate new maintenance situation
- Modernize autotools files

**Packager note**

The source has been switched to the fork by adelielinux because the SourceForge source file appears to no longer exist.

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
algent-al added a commit that referenced this issue Aug 12, 2024
**Summary**
- Update 'README' to indicate new maintenance situation
- Modernize autotools files

**Packager note**

The source has been switched to the fork by adelielinux because the
SourceForge source file appears to no longer exist.

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>

**Test Plan**

Build `avidemux` against this version.

**Checklist**

- [x] Package was built and tested against unstable
EbonJaeger added a commit that referenced this issue Aug 12, 2024
**Summary**
- Add monitoring.yml
- Fix license
- Fix source location
- Add missing builddep
- Fix setup

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
@EbonJaeger EbonJaeger mentioned this issue Aug 12, 2024
1 task
EbonJaeger added a commit that referenced this issue Aug 12, 2024
**Summary**

- Add `monitoring.yml`
- Fix license
- Fix setup
- Fix formatting

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
EbonJaeger added a commit that referenced this issue Aug 12, 2024
**Summary**
- `sepol_polcap_getnum`/`name()` are now exported as part of the shared libsepol interface
- `sepol/policydb/flask.h` was removed
- Removed restrictions in libsepol and checkpolicy that required all declared initial SIDs to be assigned a context
- libsepol implemented a new, more space-efficient form of storing filename transitions in the binary policy and reduced the size of the binary policy
- sepolgen sorts extended rules like normal ones
- libsepol and libsemanage dropped old and deprecated symbols and functions
- libsepol version was bumped to libsepol.so.2
- Add `monitoring.yml`
- Add homepage
- Fix license

Part of #3554

**Packager note**

While newer versions than 3.3 are available, our `libselinux` is only at 3.3, so I opted to use the same version here. Updating that sounds like a can of worms that I don't want to open.

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
@EbonJaeger EbonJaeger mentioned this issue Aug 12, 2024
1 task
EbonJaeger added a commit that referenced this issue Aug 13, 2024
**Summary**
- Fix license
- Add `monitoring.yml`

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
@malfisya
Copy link
Member

mono-addins is also part of does not build.

EbonJaeger added a commit that referenced this issue Aug 13, 2024
**Summary**
No changelog provided.

Part of #3554

**Packager note**

This was added for an OBS plugin, but I don't see it in the repository, nor does anything pull it in as a dependency, so I can't tell if this is used. I also don't see any matching deprecated packages.

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
@EbonJaeger
Copy link
Member

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 added a commit that referenced this issue Aug 13, 2024
**Summary**
- Minor documentation fixes
- Fix xdgZeroMemory fallback
- Use strdup rather than malloc+strcpy
- Fix overflow bug
- Add homepage
- Add `monitoring.yml`

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
@EbonJaeger
Copy link
Member

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.

EbonJaeger added a commit that referenced this issue Aug 13, 2024
**Summary**
- Update source to the getsol organization
- Add homepage
- Add `monitoring.yml`

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
malfisya added a commit that referenced this issue Aug 15, 2024
**Summary**
- Add monitoring.yml
- Fix license
- Fix source location
- Add missing builddep
- Fix setup

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>

**Test Plan**

Rebuild `mjpegtools` against this package.

**Checklist**

- [x] Package was built and tested against unstable
malfisya added a commit that referenced this issue Aug 15, 2024
**Summary**

- Add `monitoring.yml`
- Fix license
- Fix setup
- Fix formatting

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>

**Test Plan**

Rebuild `scummvm` against this package.

**Checklist**

- [x] Package was built and tested against unstable
malfisya added a commit that referenced this issue Aug 15, 2024
**Summary**
- Fix license
- Add `monitoring.yml`

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>

**Test Plan**

Rebuild `clisp` against this package.

**Checklist**

- [x] Package was built and tested against unstable
HarveyDevel added a commit that referenced this issue Aug 28, 2024
**Summary**
No changelog provided.

Part of #3554

**Packager note**

This was added for an OBS plugin, but I don't see it in the repository,
nor does anything pull it in as a dependency, so I can't tell if this is
used. I also don't see any matching deprecated packages.

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>

**Test Plan**

Testing process unknown.

**Checklist**

- [x] Package was built and tested against unstable
androidnisse added a commit to androidnisse/packages that referenced this issue Aug 31, 2024
**Summary**
- Resolves getsolus#2620
- Part of getsolus#3554
@androidnisse
Copy link
Contributor

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.

ReillyBrogan pushed a commit that referenced this issue Sep 13, 2024
**Summary**
- Update source to the getsol organization
- Add homepage
- Add `monitoring.yml`

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
ReillyBrogan pushed a commit that referenced this issue Sep 13, 2024
**Summary**
- Minor documentation fixes
- Fix xdgZeroMemory fallback
- Use strdup rather than malloc+strcpy
- Fix overflow bug
- Add homepage
- Add `monitoring.yml`

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>
ReillyBrogan added a commit that referenced this issue Sep 13, 2024
**Summary**
- Minor documentation fixes
- Fix xdgZeroMemory fallback
- Use strdup rather than malloc+strcpy
- Fix overflow bug
- Add homepage
- Add `monitoring.yml`

Part of #3554

Signed-off-by: Evan Maddock <maddock.evan@vivaldi.net>

**Test Plan**

Build `radiotray-ng` with this package.

**Checklist**

- [x] Package was built and tested against unstable
ReillyBrogan pushed a commit to androidnisse/packages that referenced this issue Sep 13, 2024
**Summary**
- Resolves getsolus#2620
- Part of getsolus#3554
ReillyBrogan added a commit that referenced this issue Sep 13, 2024
**Summary**
- Resolves #2620
- Part of #3554

**Test Plan**
- Ran script, checked files were deleted.

**Checklist**

- [X] Package was built and tested against unstable
@ermo
Copy link
Contributor

ermo commented Sep 30, 2024

I got libvpx to build. It is currently failing on trying to strip debug info from a specific x86_64 static archive.

For me, the solution was to add --enable-debug to the ./configure statement. This stopped the build from failing on the strip operation. YMMV.

EDIT: for the libvpx1 package, it looks like fails in a specific function call inside the configure script when the CC variable isn't set. For me, the workaround to get it building was to set CC in an environment section:

environment: |
    export CC=gcc # workaround for failing ./configure script when CC isn't set

CC @androidnisse and @EbonJaeger

ermo added a commit that referenced this issue Oct 1, 2024
The workaround is to set CC=gcc in the environment when running the
configure script. This bypasses a wonky internal configure function that
makes the configure script fail otherwise.

Fixes #3853

Closes #3554 (the last does not build package in the list).

Signed-off-by: Rune Morling <ermo@serpentos.com>
@github-project-automation github-project-automation bot moved this from Triage to Done in Solus Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants