macaroni-os / macaroni-os/mark-issues
[media-kit] media-libs/libmikmod installs wrong files (breaks sdl3-image)
Nobody has claimed this yet.
- Dominant language
- No language data
- Stars
- 5
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Trying to emerge `sdl3-image` I have an issue in the emerge phase where the cmake enters in a loop in the configure phase.
Adding the debug message in the file `PrivatedSdlFunctions.cmake`:
```
function(read_absolute_symlink DEST PATH)
message(STATUS "🔍 Resolving symlink: ${PATH}")
file(READ_SYMLINK ${PATH} p)
if(NOT IS_ABSOLUTE ${p})
get_filename_component(pdir ${PATH} DIRECTORY)
set(p ${pdir}/${p})
get_filename_component(p ${p} ABSOLUTE)
endif()
set(${DEST} ${p} PARENT_SCOPE)
endfunction()
```
I see this:
```
-- 🔍 Resolving symlink: /usr/lib64/libmhash.so.2
-- 🔍 Resolving symlink: /usr/lib64/libmikmod
-- 🔍 Resolving symlink: /usr/lib64/libmikmod
-- 🔍 Resolving symlink: /usr/lib64/libmikmod
-- 🔍 Resolving symlink: /usr/lib64/libmikmod
-- 🔍 Resolving symlink: /usr/lib64/libmikmod
-- 🔍 Resolving symlink: /usr/lib64/libmikmod
-- 🔍 Resolving symlink: /usr/lib64/libmikmod
```
And this is confirmed with anise files list too:
```
$> anise q files libmikmod
/usr/bin/libmikmod-config
/usr/include/mikmod.h
/usr/lib64/libmikmod
/usr/lib64/libmikmod.so
/usr/lib64/libmikmod.so.3
/usr/lib64/libmikmod.so.3.3.0
```
The ebuild of `libmikmod` installs a broken and wrong file `/usr/lib64/libmikmod` that stalled cmake of sdl3-image.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue by emerging sdl3-image and inspect the libmikmod ebuild alongside the installed files listed by anise. Check PrivatedSdlFunctions.cmake while tracing /usr/lib64/libmikmod; done means the incorrect file is no longer installed and sdl3-image completes its configure phase without looping.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100