Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 921506 - media-sound/mpg123-base-1.32.3::gentoo fails to build because of emerge not using proper dependencies
Summary: media-sound/mpg123-base-1.32.3::gentoo fails to build because of emerge not u...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal minor (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-06 17:14 UTC by Roman Gruber
Modified: 2024-01-09 07:26 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Roman Gruber 2024-01-06 17:14:18 UTC
Sienna_Cichlid /home/roman # emerge -av --oneshot vlc

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.13 s (backtrack: 0/20).

[ebuild  N     ] media-sound/mpg123-base-1.32.3::gentoo  USE="alsa ipv6 pulseaudio sdl (-coreaudio) -int-quality -jack -nas -oss -portaudio" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse (-3dnow) (-3dnowext) (-mmx)" 0 KiB
[uninstall     ] media-libs/libmpg123-1.32.3-r1::gentoo  USE="-int-quality" ABI_X86="32 (64) (-x32)" CPU_FLAGS_X86="sse -3dnow -3dnowext -mmx" 
[blocks b      ] media-libs/libmpg123 ("media-libs/libmpg123" is soft blocking media-sound/mpg123-base-1.32.3)
[ebuild     U  ] media-video/vlc-3.0.20-r3:0/5-9::gentoo [3.0.20-r2:0/5-9::gentoo] USE="X a52 alsa archive bidi cddb dav1d dbus dts dvbpsi dvd encode faad ffmpeg flac fluidsynth fontconfig gcrypt gstreamer gui jpeg libass lua mad matroska modplug mp3 mpeg mtp musepack ncurses ogg optimisememory opus png pulseaudio sdl-image sftp soxr speex ssl svg taglib theora truetype twolame udev v4l vpx wayland x264 x265 xml -aom -aribsub -bluray -chromaprint -chromecast -dc1394 -debug (-directx) -fdk -gme -ieee1394 -jack -kate -keyring -libcaca -libnotify -libsamplerate -libtar -libtiger -linsys -lirc -live -macosx-notifications -nfs -omxil -projectm -rdp -run-as-root -samba -shout -sid -skins -srt -test -tremor -upnp -vaapi -vdpau -vnc -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1" 0 KiB

Total: 2 packages (1 upgrade, 1 new, 1 uninstall), Size of downloads: 0 KiB
Conflict: 1 block (all satisfied)




Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -av --oneshot vlc
3. configure: error: Library fluidsynth >= 1.1.2 needed for fluidsynth was not 
Actual Results:  
checking for x264 >= 0.153... yes
checking for fluidsynth >= 1.1.2... no
configure: error: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/media-video/vlc-3.0.20-r3/work/vlc-3.0.20/config.log
 * ERROR: media-video/vlc-3.0.20-r3::gentoo failed (configure phase):
 *   econf failed
 * 
 * Call stack:


Expected Results:  
proper library dependency
or proper behaviour of "emerge" command

More information not needed. Prior Sync was on 2nd of January 2024
Comment 1 Roman Gruber 2024-01-06 17:15:51 UTC
Sienna_Cichlid /home/roman # eshowkw fluidsynth
Keywords for media-sound/fluidsynth:
         |                               |   u     |  
         | a   a     p s     l r   a     |   n     |  
         | m   r h   p p   i o i s l m m | e u s   | r
         | d a m p p c a x a o s 3 p 6 i | a s l   | e
         | 6 r 6 p p 6 r 8 6 n c 9 h 8 p | p e o   | p
         | 4 m 4 a c 4 c 6 4 g v 0 a k s | i d t   | o
---------+-------------------------------+---------+-------
   2.3.3 | + + + ~ + + + + o ~ ~ o ~ o o | 8 o 0/3 | gentoo
[I]2.3.4 | + + + ~ + + ~ + o ~ ~ o ~ o o | 8 o     | gentoo
Sienna_Cichlid /home/roman # qlist -Iv fluidsynth
media-sound/fluidsynth-2.3.4
Comment 2 Roman Gruber 2024-01-06 17:18:28 UTC
First I should deinstall that libsndfile package because of a package conflict after emerge -sync

than there is no proper package resolution



Sienna_Cichlid /home/roman # emerge -pv fluidsynth

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 0.75 s (backtrack: 0/20).

[ebuild  N     ] media-libs/libsndfile-1.2.2-r2::gentoo  USE="alsa sqlite -minimal -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] media-sound/fluidsynth-2.3.4:0/3::gentoo  USE="alsa dbus ipv6 ladspa pulseaudio readline sdl sndfile threads -debug -examples -jack -lash -network -oss -pipewire -portaudio -systemd" ABI_X86="32 (64) (-x32)" 0 KiB

Total: 2 packages (1 new, 1 reinstall), Size of downloads: 0 KiB
Sienna_Cichlid /home/roman # emerge -av --oneshot fluidsynth vlc

These are the packages that would be merged, in order:

Calculating dependencies... done!
Dependency resolution took 2.12 s (backtrack: 0/20).

[ebuild  N     ] media-libs/libsndfile-1.2.2-r2::gentoo  USE="alsa sqlite -minimal -test" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild   R    ] media-sound/fluidsynth-2.3.4:0/3::gentoo  USE="alsa dbus ipv6 ladspa pulseaudio readline sdl sndfile threads -debug -examples -jack -lash -network -oss -pipewire -portaudio -systemd" ABI_X86="32 (64) (-x32)" 0 KiB
[ebuild     U  ] media-video/vlc-3.0.20-r3:0/5-9::gentoo [3.0.20-r2:0/5-9::gentoo] USE="X a52 alsa archive bidi cddb dav1d dbus dts dvbpsi dvd encode faad ffmpeg flac fluidsynth fontconfig gcrypt gstreamer gui jpeg libass lua mad matroska modplug mp3 mpeg mtp musepack ncurses ogg optimisememory opus png pulseaudio sdl-image sftp soxr speex ssl svg taglib theora truetype twolame udev v4l vpx wayland x264 x265 xml -aom -aribsub -bluray -chromaprint -chromecast -dc1394 -debug (-directx) -fdk -gme -ieee1394 -jack -kate -keyring -libcaca -libnotify -libsamplerate -libtar -libtiger -linsys -lirc -live -macosx-notifications -nfs -omxil -projectm -rdp -run-as-root -samba -shout -sid -skins -srt -test -tremor -upnp -vaapi -vdpau -vnc -zeroconf -zvbi" CPU_FLAGS_X86="mmx sse" LUA_SINGLE_TARGET="lua5-1" 0 KiB

Total: 3 packages (1 upgrade, 1 new, 1 reinstall), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No] 


1704560662: Started emerge on: Jan 06, 2024 18:04:22
1704560662:  *** emerge --jobs=12 --load-average=12.0 --regex-search-auto=y --sync
1704560662:  === sync
1704560662: >>> Syncing repository 'gentoo' into '/usr/portage'...
1704560665: >>> Starting rsync with rsync://89.238.71.6/gentoo-portage
1704560665: >>> Starting retry 1 of 3 with rsync://81.91.253.252/gentoo-portage
1704560704: === Sync completed for gentoo
1704560704:  *** terminating.
1704560915: Started emerge on: Jan 06, 2024 18:08:34
1704560915:  *** emerge --oneshot --ask --jobs=12 --load-average=12.0 --regex-search-auto=y --verbose vlc
1704560917:  *** exiting unsuccessfully with status '1'.
1704560917:  *** terminating.
1704560933: Started emerge on: Jan 06, 2024 18:08:52
1704560933:  *** emerge --jobs=12 --load-average=12.0 --regex-search-auto=y --unmerge libsndfile
1704560938: === Unmerging... (media-libs/libsndfile-1.2.2-r1)
1704560939:  >>> unmerge success: media-libs/libsndfile-1.2.2-r1
1704560939:  *** exiting successfully.
1704560939:  *** terminating.
1704560942: Started emerge on: Jan 06, 2024 18:09:02
1704560942:  *** emerge --oneshot --ask --jobs=12 --load-average=12.0 --regex-search-auto=y --verbose vlc
1704560960:  >>> emerge (1 of 2) media-sound/mpg123-base-1.32.3 to /
1704560960:  === (1 of 2) Cleaning (media-sound/mpg123-base-1.32.3::/usr/portage/media-sound/mpg123-base/mpg123-base-1.32.3.ebuild)
1704560960:  === (1 of 2) Compiling/Merging (media-sound/mpg123-base-1.32.3::/usr/portage/media-sound/mpg123-base/mpg123-base-1.32.3.ebuild)
1704560984:  === (1 of 2) Merging (media-sound/mpg123-base-1.32.3::/usr/portage/media-sound/mpg123-base/mpg123-base-1.32.3.ebuild)
1704560985:  >>> AUTOCLEAN: media-sound/mpg123-base:0
1704560986:  === (1 of 2) Post-Build Cleaning (media-sound/mpg123-base-1.32.3::/usr/portage/media-sound/mpg123-base/mpg123-base-1.32.3.ebuild)
1704560986:  ::: completed emerge (1 of 2) media-sound/mpg123-base-1.32.3 to /
1704560986:  >>> emerge (2 of 2) media-video/vlc-3.0.20-r3 to /
1704560986: === Unmerging... (media-libs/libmpg123-1.32.3-r1)
1704560986:  === (2 of 2) Cleaning (media-video/vlc-3.0.20-r3::/usr/portage/media-video/vlc/vlc-3.0.20-r3.ebuild)
1704560987:  === (2 of 2) Compiling/Merging (media-video/vlc-3.0.20-r3::/usr/portage/media-video/vlc/vlc-3.0.20-r3.ebuild)
1704560987:  >>> unmerge success: media-libs/libmpg123-1.32.3-r1
1704561017:  *** Finished. Cleaning up...
1704561017:  *** exiting unsuccessfully with status '1'.
1704561017:  *** terminating.
1704561386: Started emerge on: Jan 06, 2024 18:16:26
1704561386:  *** emerge --oneshot --ask --jobs=12 --load-average=12.0 --regex-search-auto=y --verbose fluidsynth vlc
1704561461:  *** terminating.
Sienna_Cichlid /home/roman #
Comment 3 Roman Gruber 2024-01-06 17:25:41 UTC
1704561581: Started emerge on: Jan 06, 2024 18:19:40
1704561581:  *** emerge --oneshot --ask --jobs=12 --load-average=12.0 --regex-search-auto=y --verbose fluidsynth
1704561583:  >>> emerge (1 of 2) media-libs/libsndfile-1.2.2-r2 to /
1704561583:  === (1 of 2) Cleaning (media-libs/libsndfile-1.2.2-r2::/usr/portage/media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild)
1704561583:  === (1 of 2) Compiling/Merging (media-libs/libsndfile-1.2.2-r2::/usr/portage/media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild)
1704561615:  === (1 of 2) Merging (media-libs/libsndfile-1.2.2-r2::/usr/portage/media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild)
1704561616:  >>> AUTOCLEAN: media-libs/libsndfile:0
1704561617:  === (1 of 2) Post-Build Cleaning (media-libs/libsndfile-1.2.2-r2::/usr/portage/media-libs/libsndfile/libsndfile-1.2.2-r2.ebuild)
1704561617:  ::: completed emerge (1 of 2) media-libs/libsndfile-1.2.2-r2 to /
1704561617:  >>> emerge (2 of 2) media-sound/fluidsynth-2.3.4 to /
1704561617:  === (2 of 2) Cleaning (media-sound/fluidsynth-2.3.4::/usr/portage/media-sound/fluidsynth/fluidsynth-2.3.4.ebuild)
1704561617:  === (2 of 2) Compiling/Merging (media-sound/fluidsynth-2.3.4::/usr/portage/media-sound/fluidsynth/fluidsynth-2.3.4.ebuild)
1704561632:  === (2 of 2) Merging (media-sound/fluidsynth-2.3.4::/usr/portage/media-sound/fluidsynth/fluidsynth-2.3.4.ebuild)
1704561633:  >>> AUTOCLEAN: media-sound/fluidsynth:0
1704561633:  === Unmerging... (media-sound/fluidsynth-2.3.4)
1704561634:  >>> unmerge success: media-sound/fluidsynth-2.3.4
1704561634:  === (2 of 2) Post-Build Cleaning (media-sound/fluidsynth-2.3.4::/usr/portage/media-sound/fluidsynth/fluidsynth-2.3.4.ebuild)
1704561634:  ::: completed emerge (2 of 2) media-sound/fluidsynth-2.3.4 to /
1704561634:  *** Finished. Cleaning up...
1704561634:  *** exiting successfully.
1704561635:  *** terminating.
1704561676: Started emerge on: Jan 06, 2024 18:21:15
1704561676:  *** emerge --oneshot --ask --jobs=12 --load-average=12.0 --regex-search-auto=y --verbose vlc
1704561680:  >>> emerge (1 of 1) media-video/vlc-3.0.20-r3 to /
1704561680:  === (1 of 1) Cleaning (media-video/vlc-3.0.20-r3::/usr/portage/media-video/vlc/vlc-3.0.20-r3.ebuild)
1704561680:  === (1 of 1) Compiling/Merging (media-video/vlc-3.0.20-r3::/usr/portage/media-video/vlc/vlc-3.0.20-r3.ebuild)
1704561763:  === (1 of 1) Merging (media-video/vlc-3.0.20-r3::/usr/portage/media-video/vlc/vlc-3.0.20-r3.ebuild)
1704561764:  >>> AUTOCLEAN: media-video/vlc:0
1704561764:  === Unmerging... (media-video/vlc-3.0.20-r2)
1704561765:  >>> unmerge success: media-video/vlc-3.0.20-r2
1704561767:  === (1 of 1) Post-Build Cleaning (media-video/vlc-3.0.20-r3::/usr/portage/media-video/vlc/vlc-3.0.20-r3.ebuild)
1704561767:  ::: completed emerge (1 of 1) media-video/vlc-3.0.20-r3 to /
1704561767:  *** Finished. Cleaning up...
1704561767:  *** exiting successfully.
1704561767:  *** terminating.
Comment 4 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2024-01-07 07:06:23 UTC
Please always include the full build.log and emerge --info. In this case, config.log would be helpful too.

(In reply to Roman Gruber from comment #2)
> First I should deinstall that libsndfile package because of a package
> conflict after emerge -sync

What happened there? You should never have to do that.
Comment 5 Igor V. Kovalenko 2024-01-07 07:32:04 UTC
I can reproduce this if I forcefully remove libsndfile first:

1. emerge -av --unmerge libsndfile
.. removed
2. USE=fluidsynth emerge -av1 vlc
[ebuild   R    ] media-video/vlc-3.0.20-r3:0/5-9::gentoo  USE="X a52 alsa dbus dts dvbpsi dvd encode ffmpeg flac fluidsynth* gcrypt ...
..
checking for x264 >= 0.153... yes
checking for fluidsynth >= 1.1.2... no
configure: error: Library fluidsynth >= 1.1.2 needed for fluidsynth was not found

Cannot reproduce without step 1.

Adding --deep fixes the issue by pulling media-libs/libsndfile:
3. USE=fluidsynth emerge -av1tD vlc
[ebuild   R    ] media-video/vlc-3.0.20-r3:0/5-9::gentoo  USE="X a52 alsa dbus dts dvbpsi dvd encode ffmpeg flac fluidsynth* gcrypt ...
[nomerge       ]  media-libs/libpulse-16.99.1-r1::gentoo
[ebuild  N     ]   media-libs/libsndfile-1.2.2-r2::gentoo
..
checking for x264 >= 0.153... yes
checking for fluidsynth >= 1.1.2... yes

Please use --deep to pull manually removed dependencies.