[Bug 263355] audio/lmms libgigplayer.so:No such file or directory (gig) during package phase

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 17 Apr 2022 00:27:41 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263355

            Bug ID: 263355
           Summary: audio/lmms libgigplayer.so:No such file or directory
                    (gig) during package phase
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: rodrigo@FreeBSD.org
          Reporter: agh@riseup.net
             Flags: maintainer-feedback?(rodrigo@FreeBSD.org)
          Assignee: rodrigo@FreeBSD.org

Created attachment 233261
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=233261&action=edit
Patch to add libgig to ${LIB_DEPENDS}

lmms is failing to built when the port can not find GIG player:

[...]

-- Looking for include file process.h - not found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Found Qt translations in /usr/local/share/qt5/translations
-- Checking for module 'sndfile>=1.0.11'
--   Found sndfile, version 1.0.31
-- Checking for module 'carla-native-plugin'
--   Found carla-native-plugin, version 2.4.2
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Found Threads: TRUE  
-- Could NOT find SDL (missing: SDL_LIBRARY) 
CMake Warning (dev) at
/usr/local/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:438
(message):
  The package name passed to `find_package_handle_standard_args` (SOUNDIO)
  does not match the name of the calling package (SoundIo).  This can lead to
  problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/modules/FindSoundIo.cmake:14 (find_package_handle_standard_args)
  CMakeLists.txt:310 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Could NOT find SOUNDIO (missing: SOUNDIO_LIBRARY SOUNDIO_INCLUDE_DIR) 
-- Could NOT find Lame (missing: LAME_INCLUDE_DIRS LAME_LIBRARIES) 
-- Looking for vorbis_bitrate_addblock in vorbis
-- Looking for vorbis_bitrate_addblock in vorbis - not found
-- Found OggVorbis:
/usr/local/lib/libogg.so;/usr/local/lib/libvorbis.so;/usr/local/lib/libvorbisfile.so;/usr/local/lib/libvorbisenc.so
-- Checking for module 'jack>=0.77'
--   Found jack, version 1.9.20
-- Checking for module 'fftw3f>=3.0.0'
--   Found fftw3f, version 3.3.10
CMake Warning (dev) at /usr/local/share/cmake/Modules/FindOpenGL.cmake:315
(message):
  Policy CMP0072 is not set: FindOpenGL prefers GLVND by default when
  available.  Run "cmake --help-policy CMP0072" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.

  FindOpenGL found both a legacy GL library:

    OPENGL_gl_LIBRARY: /usr/local/lib/libGL.so

  and GLVND libraries for OpenGL and GLX:

    OPENGL_opengl_LIBRARY: /usr/local/lib/libOpenGL.so
    OPENGL_glx_LIBRARY: /usr/local/lib/libGLX.so

  OpenGL_GL_PREFERENCE has not been set to "GLVND" or "LEGACY", so for
  compatibility with CMake 3.10 and below the legacy GL library will be used.
Call Stack (most recent call first):
  /usr/local/share/cmake/Modules/FindFLTK.cmake:87 (find_package)
  CMakeLists.txt:419 (FIND_PACKAGE)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Found OpenGL: /usr/local/lib/libOpenGL.so   
-- Found X11: /usr/local/include   
-- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so
-- Looking for XOpenDisplay in
/usr/local/lib/libX11.so;/usr/local/lib/libXext.so - found
-- Looking for gethostbyname
-- Looking for gethostbyname - found
-- Looking for connect
-- Looking for connect - found
-- Looking for remove
-- Looking for remove - found
-- Looking for shmat
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
-- Looking for IceConnectionNumber in ICE - found
-- Found FLTK:
/usr/local/lib/libfltk_images.so;/usr/local/lib/libfltk_forms.so;/usr/local/lib/libfltk_gl.so;/usr/local/lib/libGL.so;/usr/local/lib/libfltk.so 
-- Checking for module 'fluidsynth>=1.0.7'
--   Found fluidsynth, version 2.2.6
-- Checking for module 'gig'
--   Package 'gig', required by 'virtual:world', not found
-- Checking for module 'samplerate>=0.1.8'
--   Found samplerate, version 0.2.2
-- Could NOT find Git (missing: GIT_EXECUTABLE) 
CMake Deprecation Warning at plugins/carlabase/CMakeLists.txt:6 (CMAKE_POLICY):
  The OLD behavior for policy CMP0068 will be removed from a future version
  of CMake.

  The cmake-policies(7) manual explains that the OLD behaviors of all
  policies are deprecated and that a policy should be set to OLD only under
  specific short-term circumstances.  Projects should be ported to the NEW
  behavior and not rely on setting a policy to OLD.


-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) 

Installation Summary
--------------------
* Install Directory           : /usr/local

Supported audio interfaces
--------------------------
* ALSA                        : 
* JACK                        : OK (weak linking enabled)
* OSS                         : OK
* Sndio                       : 
* PortAudio                   : 
* libsoundio                  : not found, please install libsoundio if you
require libsoundio support
* PulseAudio                  : 
* SDL                         : not found, please install libsdl1.2-dev (or
similar) ;if you require SDL support

Supported MIDI interfaces
-------------------------
* ALSA                        : 
* OSS                         : OK
* Sndio                       : 
* JACK                        : OK (weak linking enabled)
* WinMM                       : <not supported on this platform>
* AppleMidi                   : <not supported on this platform>

Supported file formats for project export
-----------------------------------------
* WAVE                        : OK
* OGG/VORBIS                  : OK
* MP3/Lame                    : not found, please install libmp3lame-dev (or
similar)

Optional plugins
----------------
* Carla Patchbay & Rack       : OK
* SoundFont2 player           : OK
* Stk Mallets                 : 
* VST-instrument hoster       : 
* VST-effect hoster           : 
* CALF LADSPA plugins         : not built as requested
* CAPS LADSPA plugins         : not built as requested
* CMT LADSPA plugins          : not built as requested
* TAP LADSPA plugins          : not built as requested
* SWH LADSPA plugins          : not built as requested
* GIG player                  : not found, libgig needed for decoding .gig
files

[...]

===========================================================================
=======================<phase: package        >============================
===== env: 'PKG_NOTES=build_timestamp built_by'
'PKG_NOTE_build_timestamp=2022-04-16T02:41:10+0000'
'PKG_NOTE_built_by=poudriere-git-3.3.99.20211130' NO_DEPENDS=yes USER=root
UID=0 GID=0
===>  Building package for lmms-1.2.2_3,2
pkg-static: Unable to access file
/wrkdirs/usr/ports/audio/lmms/work/stage/usr/local/lib/lmms/libgigplayer.so:No
such file or directory
*** Error code 1

Stop.
make: stopped in /usr/ports/audio/lmms
=>> Cleaning up wrkdir
===>  Cleaning for lmms-1.2.2_3,2
build of audio/lmms | lmms-1.2.2_3,2 ended at Sat Apr 16 02:48:08 UTC 2022
build time: 00:06:58
!!! build failure encountered !!!

-- 
You are receiving this mail because:
You are the assignee for the bug.