vlc: errore di compilazione a causa di una libreria di musepack-tools mancante [RISOLTO]

Se avete problemi con l'installazione e la configurazione di Slackware64 postate qui. Non usate questo forum per argomenti che trattano la Slackware32 o generali... per quelli usate rispettivamente il forum Slackware e Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware64 usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware64, se l'argomento è Slackware32 o generale usate rispettivamente il forum Slackware o Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
gian_d
Linux 2.x
Linux 2.x
Messaggi: 352
Iscritto il: mer 16 lug 2014, 17:35
Nome Cognome: Giancarlo Dessì
Slackware: 64 current
Kernel: 5.10.xx
Desktop: KDE 5.20
Località: Sardinia
Contatta:

vlc: errore di compilazione a causa di una libreria di musepack-tools mancante [RISOLTO]

Messaggio da gian_d »

Altra stranezza incontrata dopo la reinstallazione della current con i recenti aggiornamenti, ma in questo caso non capisco l'origine dell'errore.
Tutto salta fuori al momento di compilare vlc, con il seguente errore:

Codice: Seleziona tutto

/usr/bin/ld: cannot find -lmpcdec
ravanando trovo che l'errore è associato a musepack-tools, una dipendenza di vlc che a sua volta ha come dipendenze le libecuefile e libreplaygain. Queste tre dipendenze sono regolarmente installate dopo ricompilazione nel nuovo sistema, però confrontando il pacchetto di musepack-tools ricompilato, con quello che avevo in precedenza, scopro che nel pacchetto mancano del tutto i seguenti file:
/usr/lib64
/usr/lib64/libmpcdec.a
/usr/lib64/libmpcdec.so.7.0.1

La domanda è: perché la compilazione non ha creato questi file? In teoria dovrebbe risultare nell'output della compilazione, perciò ho riavviato una nuova compilazione, ma non risulta nulla: in apparenza sembra che l'oggetto venga costruito, compaiono solo alcuni warning nel corso della compilazione, ma alla fine non risulta nel pacchetto. Se può essere utile per trovare l'inghippo metto qui l'intero rapporto

Codice: Seleziona tutto

...
patching file libmpcdec/requant.h
CMake Deprecation Warning at CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is GNU 10.2.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Check if the system is big endian
-- Searching 16 bit integer
-- Looking for sys/types.h
-- Looking for sys/types.h - found
-- Looking for stdint.h
-- Looking for stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Searching 16 bit integer - Using unsigned short
-- Check if the system is big endian - little endian
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    LIB_SUFFIX


-- Build files have been written to: /tmp/SBo/musepack_src_r475/build
Scanning dependencies of target mpcdec
[  1%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/huffman.o
[  3%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/mpc_decoder.o
[  5%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/mpc_reader.o
[  7%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/streaminfo.o
/tmp/SBo/musepack_src_r475/libmpcdec/streaminfo.c: In function ‘streaminfo_read_header_sv7’:
/tmp/SBo/musepack_src_r475/libmpcdec/streaminfo.c:111:18: warning: variable ‘Estimatedpeak_title’ set but not used [-Wunused-but-set-variable]
  111 |     mpc_uint16_t Estimatedpeak_title = 0;
      |                  ^~~~~~~~~~~~~~~~~~~
[  9%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/mpc_bits_reader.o
[ 11%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/mpc_demux.o
/tmp/SBo/musepack_src_r475/libmpcdec/mpc_demux.c:82:21: warning: ‘mpc_unread_bytes’ defined but not used [-Wunused-function]
   82 | static mpc_uint32_t mpc_unread_bytes(mpc_demux * d) {
      |                     ^~~~~~~~~~~~~~~~
[ 13%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/requant.o
[ 15%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/synth_filter.o
[ 17%] Building C object libmpcdec/CMakeFiles/mpcdec.dir/__/common/crc32.o
[ 19%] Linking C shared library libmpcdec.so
[ 19%] Built target mpcdec
Scanning dependencies of target mpcpsy_static
[ 21%] Building C object libmpcpsy/CMakeFiles/mpcpsy_static.dir/ans.o
/tmp/SBo/musepack_src_r475/libmpcpsy/ans.c: In function ‘NS_Analyse’:
/tmp/SBo/musepack_src_r475/libmpcpsy/ans.c:291:113: warning: passing argument 10 of ‘FindOptimalANS’ from incompatible pointer type [-Wincompatible-pointer-types]
  291 |  FindOptimalANS ( MaxBand, MSflag, ANSspec_L, ANSspec_M, m->NS_Order_L, m->SNR_comp_L, m->FIR_L, smr.L, smr.M, m->SCF_Index_L, Transient );
      |                                                                                                                ~^~~~~~~~~~~~~
      |                                                                                                                 |
      |                                                                                                                 int *
/tmp/SBo/musepack_src_r475/libmpcpsy/ans.c:160:40: note: expected ‘const int (*)[3]’ but argument is of type ‘int *’
  160 |                  const int             scf [] [3],
      |                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
/tmp/SBo/musepack_src_r475/libmpcpsy/ans.c:296:113: warning: passing argument 10 of ‘FindOptimalANS’ from incompatible pointer type [-Wincompatible-pointer-types]
  296 |  FindOptimalANS ( MaxBand, MSflag, ANSspec_R, ANSspec_S, m->NS_Order_R, m->SNR_comp_R, m->FIR_R, smr.R, smr.S, m->SCF_Index_R, Transient );
      |                                                                                                                ~^~~~~~~~~~~~~
      |                                                                                                                 |
      |                                                                                                                 int *
/tmp/SBo/musepack_src_r475/libmpcpsy/ans.c:160:40: note: expected ‘const int (*)[3]’ but argument is of type ‘int *’
  160 |                  const int             scf [] [3],
      |                  ~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~
[ 23%] Building C object libmpcpsy/CMakeFiles/mpcpsy_static.dir/cvd.o
[ 25%] Building C object libmpcpsy/CMakeFiles/mpcpsy_static.dir/fft4g.o
[ 26%] Building C object libmpcpsy/CMakeFiles/mpcpsy_static.dir/fft_routines.o
[ 28%] Building C object libmpcpsy/CMakeFiles/mpcpsy_static.dir/profile.o
[ 30%] Building C object libmpcpsy/CMakeFiles/mpcpsy_static.dir/psy.o
[ 32%] Building C object libmpcpsy/CMakeFiles/mpcpsy_static.dir/psy_tab.o
[ 34%] Building C object libmpcpsy/CMakeFiles/mpcpsy_static.dir/__/common/fastmath.o
/tmp/SBo/musepack_src_r475/common/fastmath.c: In function ‘Init_FastMath’:
/tmp/SBo/musepack_src_r475/common/fastmath.c:32:28: warning: variable ‘Y’ set but not used [-Wunused-but-set-variable]
   32 |     int i; mpc_floatint X, Y; double xm, x0, xp, x, y; float* p;
      |                            ^
[ 36%] Linking C static library libmpcpsy_static.a
[ 36%] Built target mpcpsy_static
Scanning dependencies of target mpcenc_static
[ 38%] Building C object libmpcenc/CMakeFiles/mpcenc_static.dir/analy_filter.o
[ 40%] Building C object libmpcenc/CMakeFiles/mpcenc_static.dir/bitstream.o
[ 42%] Building C object libmpcenc/CMakeFiles/mpcenc_static.dir/encode_sv7.o
[ 44%] Building C object libmpcenc/CMakeFiles/mpcenc_static.dir/huffsv7.o
[ 46%] Building C object libmpcenc/CMakeFiles/mpcenc_static.dir/quant.o
[ 48%] Building C object libmpcenc/CMakeFiles/mpcenc_static.dir/__/common/crc32.o
[ 50%] Linking C static library libmpcenc_static.a
[ 50%] Built target mpcenc_static
Scanning dependencies of target wavformat_static
[ 51%] Building C object libwavformat/CMakeFiles/wavformat_static.dir/input.o
[ 53%] Building C object libwavformat/CMakeFiles/wavformat_static.dir/output.o
[ 55%] Linking C static library libwavformat_static.a
[ 55%] Built target wavformat_static
Scanning dependencies of target mpcgain
[ 57%] Building C object mpcgain/CMakeFiles/mpcgain.dir/mpcgain.o
/tmp/SBo/musepack_src_r475/mpcgain/mpcgain.c: In function ‘main’:
/tmp/SBo/musepack_src_r475/mpcgain/mpcgain.c:185:32: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  185 |    mpc_chap_info * chap_info = mpc_demux_chap(demux, chap);
      |                                ^~~~~~~~~~~~~~
/tmp/SBo/musepack_src_r475/mpcgain/mpcgain.c:218:34: warning: initialization discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers]
  218 |      mpc_chap_info * chap_info = mpc_demux_chap(demux, chap);
      |                                  ^~~~~~~~~~~~~~
/tmp/SBo/musepack_src_r475/mpcgain/mpcgain.c:210:26: warning: ‘chap_peak’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  210 |      chap_peak[chap - 1] = (mpc_uint16_t) (log10(chap_max * (1 << 15)) * 20 * 256);
      |      ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/SBo/musepack_src_r475/mpcgain/mpcgain.c:209:26: warning: ‘chap_gain’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  209 |      chap_gain[chap - 1] = (mpc_uint16_t) (gain_get_chapter() * 256);
      |      ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/tmp/SBo/musepack_src_r475/mpcgain/mpcgain.c:64:5: warning: ‘chap_max’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   64 |  if (a > b)
      |     ^
/tmp/SBo/musepack_src_r475/mpcgain/mpcgain.c:166:36: note: ‘chap_max’ was declared here
  166 |   MPC_SAMPLE_FORMAT title_max = 0, chap_max;
      |                                    ^~~~~~~~
[ 59%] Linking C executable mpcgain
[ 59%] Built target mpcgain
Scanning dependencies of target mpcdec_cmd
[ 61%] Building C object mpcdec/CMakeFiles/mpcdec_cmd.dir/mpcdec.o
[ 63%] Linking C executable mpcdec
[ 63%] Built target mpcdec_cmd
Scanning dependencies of target mpcenc
[ 65%] Building C object mpcenc/CMakeFiles/mpcenc.dir/keyboard.o
[ 67%] Building C object mpcenc/CMakeFiles/mpcenc.dir/mpcenc.o
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c: In function ‘Quantisierung’:
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:692:61: warning: passing argument 1 of ‘QuantizeSubbandWithNoiseShaping’ from incompatible pointer type [-Wincompatible-pointer-types]
  692 |                 QuantizeSubbandWithNoiseShaping ( subq[Band].L, subx[Band].L, *resL, errorL [Band], m->FIR_L [Band] );
      |                                                   ~~~~~~~~~~^~
      |                                                             |
      |                                                             mpc_int16_t * {aka short int *}
In file included from /tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:27:
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.h:258:56: note: expected ‘unsigned int *’ but argument is of type ‘mpc_int16_t *’ {aka ‘short int *’}
  258 | void   QuantizeSubbandWithNoiseShaping ( unsigned int* qu_output, const float* input, const int res, float* errors, const float* FIR );
      |                                          ~~~~~~~~~~~~~~^~~~~~~~~
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:695:49: warning: passing argument 1 of ‘QuantizeSubband’ from incompatible pointer type [-Wincompatible-pointer-types]
  695 |     QuantizeSubband                 ( subq[Band].L, subx[Band].L, *resL, errorL [Band], MAX_NS_ORDER );
      |                                       ~~~~~~~~~~^~
      |                                                 |
      |                                                 mpc_int16_t * {aka short int *}
In file included from /tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:27:
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.h:257:56: note: expected ‘unsigned int *’ but argument is of type ‘mpc_int16_t *’ {aka ‘short int *’}
  257 | void   QuantizeSubband                 ( unsigned int* qu_output, const float* input, const int res, float* errors, const int maxNsOrder );
      |                                          ~~~~~~~~~~~~~~^~~~~~~~~
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:702:61: warning: passing argument 1 of ‘QuantizeSubbandWithNoiseShaping’ from incompatible pointer type [-Wincompatible-pointer-types]
  702 |                 QuantizeSubbandWithNoiseShaping ( subq[Band].R, subx[Band].R, *resR, errorR [Band], m->FIR_R [Band] );
      |                                                   ~~~~~~~~~~^~
      |                                                             |
      |                                                             mpc_int16_t * {aka short int *}
In file included from /tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:27:
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.h:258:56: note: expected ‘unsigned int *’ but argument is of type ‘mpc_int16_t *’ {aka ‘short int *’}
  258 | void   QuantizeSubbandWithNoiseShaping ( unsigned int* qu_output, const float* input, const int res, float* errors, const float* FIR );
      |                                          ~~~~~~~~~~~~~~^~~~~~~~~
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:705:49: warning: passing argument 1 of ‘QuantizeSubband’ from incompatible pointer type [-Wincompatible-pointer-types]
  705 |     QuantizeSubband                 ( subq[Band].R, subx[Band].R, *resR, errorL [Band], MAX_NS_ORDER);
      |                                       ~~~~~~~~~~^~
      |                                                 |
      |                                                 mpc_int16_t * {aka short int *}
In file included from /tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:27:
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.h:257:56: note: expected ‘unsigned int *’ but argument is of type ‘mpc_int16_t *’ {aka ‘short int *’}
  257 | void   QuantizeSubband                 ( unsigned int* qu_output, const float* input, const int res, float* errors, const int maxNsOrder );
      |                                          ~~~~~~~~~~~~~~^~~~~~~~~
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c: In function ‘Init_FPU’:
/tmp/SBo/musepack_src_r475/mpcenc/mpcenc.c:1443:16: warning: unused variable ‘cw’ [-Wunused-variable]
 1443 |  mpc_uint16_t  cw;
      |                ^~
[ 69%] Building C object mpcenc/CMakeFiles/mpcenc.dir/pipeopen.o
[ 71%] Building C object mpcenc/CMakeFiles/mpcenc.dir/stderr.o
[ 73%] Building C object mpcenc/CMakeFiles/mpcenc.dir/__/common/tags.o
/tmp/SBo/musepack_src_r475/common/tags.c: In function ‘IsUnicode’:
/tmp/SBo/musepack_src_r475/common/tags.c:629:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  629 |     if ( len & 1 )                                              // odd number of bytes?
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:632:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  632 |  if ( src [0] != (char)0xFF  ||  src [1] != (char)0xFE )     // Microsoft Unicode preample (also useful to detect endianess, but currently only little endian is supported)
      |  ^~
/tmp/SBo/musepack_src_r475/common/tags.c: In function ‘FinalizeTags’:
/tmp/SBo/musepack_src_r475/common/tags.c:854:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  854 |     if ( TagCount == 0 )
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:857:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  857 |  if (flags & TAG_NO_PREAMBLE) {
      |  ^~
/tmp/SBo/musepack_src_r475/common/tags.c: In function ‘CopyTags_ID3’:
/tmp/SBo/musepack_src_r475/common/tags.c:966:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  966 |     if ( -1 == fseek ( fp, -128L, SEEK_END ) )
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:969:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  969 |  if ( 128 != fread(tmp, 1, 128, fp) )
      |  ^~
/tmp/SBo/musepack_src_r475/common/tags.c:976:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  976 |     if ( !tmp[3]  &&  !tmp[33]  &&  !tmp[63]  &&  !tmp[93]  &&  !tmp[97] )
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:979:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  979 |  memcpy_crop  ( "Title"  , (char*)tmp +  3, 30, 0 );
      |  ^~~~~~~~~~~
/tmp/SBo/musepack_src_r475/common/tags.c: In function ‘CopyTags_APE’:
/tmp/SBo/musepack_src_r475/common/tags.c:1022:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1022 |     if ( -1 == fseek ( fp, -(long)sizeof T, SEEK_END ) )
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:1024:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1024 |  if ( sizeof(T) != fread  (&T, 1, sizeof T, fp) )
      |  ^~
At top level:
/tmp/SBo/musepack_src_r475/common/tags.c:1087:27: warning: ‘parser_strings’ defined but not used [-Wunused-const-variable=]
 1087 | static const char* const  parser_strings [] = {
      |                           ^~~~~~~~~~~~~~
[ 75%] Building C object mpcenc/CMakeFiles/mpcenc.dir/wave_in.o
[ 76%] Building C object mpcenc/CMakeFiles/mpcenc.dir/winmsg.o
[ 78%] Linking C executable mpcenc
[ 78%] Built target mpcenc
Scanning dependencies of target mpc2sv8
[ 80%] Building C object mpc2sv8/CMakeFiles/mpc2sv8.dir/mpc2sv8.o
[ 82%] Linking C executable mpc2sv8
[ 82%] Built target mpc2sv8
Scanning dependencies of target mpccut
[ 84%] Building C object mpccut/CMakeFiles/mpccut.dir/mpccut.o
[ 86%] Linking C executable mpccut
[ 86%] Built target mpccut
Scanning dependencies of target mpcchap
[ 88%] Building C object mpcchap/CMakeFiles/mpcchap.dir/mpcchap.o
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c: In function ‘add_chaps_ini’:
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c:107:54: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 4 has type ‘mpc_int64_t’ {aka ‘long int’} [-Wformat=]
  107 |    fprintf(stderr, "warning : chapter %i starts @ %lli samples after the end of the stream (%lli)\n",
      |                                                   ~~~^
      |                                                      |
      |                                                      long long int
      |                                                   %li
  108 |            i + 1, chap_pos, si->samples - si->beg_silence);
      |                   ~~~~~~~~                            
      |                   |
      |                   mpc_int64_t {aka long int}
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c:107:96: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 5 has type ‘mpc_uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  107 |    fprintf(stderr, "warning : chapter %i starts @ %lli samples after the end of the stream (%lli)\n",
      |                                                                                             ~~~^
      |                                                                                                |
      |                                                                                                long long int
      |                                                                                             %li
  108 |            i + 1, chap_pos, si->samples - si->beg_silence);
      |                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                       
      |                                         |
      |                                         mpc_uint64_t {aka long unsigned int}
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c: In function ‘add_chaps_cue’:
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c:193:54: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 4 has type ‘mpc_int64_t’ {aka ‘long int’} [-Wformat=]
  193 |    fprintf(stderr, "warning : chapter %i starts @ %lli samples after the end of the stream (%lli)\n",
      |                                                   ~~~^
      |                                                      |
      |                                                      long long int
      |                                                   %li
  194 |            i, chap_pos, si->samples - si->beg_silence);
      |               ~~~~~~~~                                
      |               |
      |               mpc_int64_t {aka long int}
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c:193:96: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 5 has type ‘mpc_uint64_t’ {aka ‘long unsigned int’} [-Wformat=]
  193 |    fprintf(stderr, "warning : chapter %i starts @ %lli samples after the end of the stream (%lli)\n",
      |                                                                                             ~~~^
      |                                                                                                |
      |                                                                                                long long int
      |                                                                                             %li
  194 |            i, chap_pos, si->samples - si->beg_silence);
      |                         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~                                           
      |                                     |
      |                                     mpc_uint64_t {aka long unsigned int}
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c: In function ‘dump_chaps’:
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c:250:26: warning: format ‘%lli’ expects argument of type ‘long long int’, but argument 3 has type ‘mpc_uint64_t’ {aka ‘const long unsigned int’} [-Wformat=]
  250 |   fprintf(out_file, "[%lli]\ngain=%i\npeak=%i\n", chap->sample, chap->gain, chap->peak);
      |                       ~~~^                        ~~~~~~~~~~~~
      |                          |                            |
      |                          long long int                mpc_uint64_t {aka const long unsigned int}
      |                       %li
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c: In function ‘add_chaps_cue’:
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c:198:26: warning: ‘%i’ directive writing between 1 and 10 bytes into a region of size between 5 and 14 [-Wformat-overflow=]
  198 |   sprintf(track_buf, "%i/%i", i, nchap);
      |                          ^~
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c:198:22: note: directive argument in the range [1, 2147483647]
  198 |   sprintf(track_buf, "%i/%i", i, nchap);
      |                      ^~~~~~~
/tmp/SBo/musepack_src_r475/mpcchap/mpcchap.c:198:3: note: ‘sprintf’ output between 4 and 22 bytes into a destination of size 16
  198 |   sprintf(track_buf, "%i/%i", i, nchap);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[ 90%] Building C object mpcchap/CMakeFiles/mpcchap.dir/dictionary.o
[ 92%] Building C object mpcchap/CMakeFiles/mpcchap.dir/iniparser.o
/tmp/SBo/musepack_src_r475/mpcchap/iniparser.c: In function ‘iniparser_getnkey’:
/tmp/SBo/musepack_src_r475/mpcchap/iniparser.c:187:9: warning: variable ‘i_sec’ set but not used [-Wunused-but-set-variable]
  187 |  int i, i_sec, cnt = 0 ;
      |         ^~~~~
/tmp/SBo/musepack_src_r475/mpcchap/iniparser.c: In function ‘iniparser_line’:
/tmp/SBo/musepack_src_r475/mpcchap/iniparser.c:556:9: warning: passing argument 1 to ‘restrict’-qualified parameter aliases with argument 2 [-Wrestrict]
  556 |         strcpy(section, section);
      |         ^~~~~~
/tmp/SBo/musepack_src_r475/mpcchap/iniparser.c:563:9: warning: passing argument 1 to ‘restrict’-qualified parameter aliases with argument 2 [-Wrestrict]
  563 |         strcpy(key, key);
      |         ^~~~~~
/tmp/SBo/musepack_src_r475/mpcchap/iniparser.c:582:9: warning: passing argument 1 to ‘restrict’-qualified parameter aliases with argument 2 [-Wrestrict]
  582 |         strcpy(key, key);
      |         ^~~~~~
[ 94%] Building C object mpcchap/CMakeFiles/mpcchap.dir/__/common/tags.o
/tmp/SBo/musepack_src_r475/common/tags.c: In function ‘IsUnicode’:
/tmp/SBo/musepack_src_r475/common/tags.c:629:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  629 |     if ( len & 1 )                                              // odd number of bytes?
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:632:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  632 |  if ( src [0] != (char)0xFF  ||  src [1] != (char)0xFE )     // Microsoft Unicode preample (also useful to detect endianess, but currently only little endian is supported)
      |  ^~
/tmp/SBo/musepack_src_r475/common/tags.c: In function ‘FinalizeTags’:
/tmp/SBo/musepack_src_r475/common/tags.c:854:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  854 |     if ( TagCount == 0 )
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:857:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  857 |  if (flags & TAG_NO_PREAMBLE) {
      |  ^~
/tmp/SBo/musepack_src_r475/common/tags.c: In function ‘CopyTags_ID3’:
/tmp/SBo/musepack_src_r475/common/tags.c:966:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  966 |     if ( -1 == fseek ( fp, -128L, SEEK_END ) )
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:969:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  969 |  if ( 128 != fread(tmp, 1, 128, fp) )
      |  ^~
/tmp/SBo/musepack_src_r475/common/tags.c:976:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
  976 |     if ( !tmp[3]  &&  !tmp[33]  &&  !tmp[63]  &&  !tmp[93]  &&  !tmp[97] )
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:979:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  979 |  memcpy_crop  ( "Title"  , (char*)tmp +  3, 30, 0 );
      |  ^~~~~~~~~~~
/tmp/SBo/musepack_src_r475/common/tags.c: In function ‘CopyTags_APE’:
/tmp/SBo/musepack_src_r475/common/tags.c:1022:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation]
 1022 |     if ( -1 == fseek ( fp, -(long)sizeof T, SEEK_END ) )
      |     ^~
/tmp/SBo/musepack_src_r475/common/tags.c:1024:2: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
 1024 |  if ( sizeof(T) != fread  (&T, 1, sizeof T, fp) )
      |  ^~
At top level:
/tmp/SBo/musepack_src_r475/common/tags.c:1087:27: warning: ‘parser_strings’ defined but not used [-Wunused-const-variable=]
 1087 | static const char* const  parser_strings [] = {
      |                           ^~~~~~~~~~~~~~
[ 96%] Linking C executable mpcchap
[ 96%] Built target mpcchap
Scanning dependencies of target wavcmp
[ 98%] Building C object wavcmp/CMakeFiles/wavcmp.dir/wavcmp.o
[100%] Linking C executable wavcmp
[100%] Built target wavcmp
[ 19%] Built target mpcdec
[ 36%] Built target mpcpsy_static
[ 50%] Built target mpcenc_static
[ 55%] Built target wavformat_static
[ 59%] Built target mpcgain
[ 63%] Built target mpcdec_cmd
[ 78%] Built target mpcenc
[ 82%] Built target mpc2sv8
[ 86%] Built target mpccut
[ 96%] Built target mpcchap
[100%] Built target wavcmp
Install the project...
-- Install configuration: "Release"
-- Installing: /tmp/SBo/package-musepack-tools/usr/bin/mpcgain
-- Set runtime path of "/tmp/SBo/package-musepack-tools/usr/bin/mpcgain" to ""
-- Installing: /tmp/SBo/package-musepack-tools/usr/bin/mpcdec
-- Set runtime path of "/tmp/SBo/package-musepack-tools/usr/bin/mpcdec" to ""
-- Installing: /tmp/SBo/package-musepack-tools/usr/bin/mpcenc
-- Set runtime path of "/tmp/SBo/package-musepack-tools/usr/bin/mpcenc" to ""
-- Installing: /tmp/SBo/package-musepack-tools/usr/bin/mpc2sv8
-- Set runtime path of "/tmp/SBo/package-musepack-tools/usr/bin/mpc2sv8" to ""
-- Installing: /tmp/SBo/package-musepack-tools/usr/bin/mpccut
-- Set runtime path of "/tmp/SBo/package-musepack-tools/usr/bin/mpccut" to ""
-- Installing: /tmp/SBo/package-musepack-tools/usr/bin/mpcchap
-- Set runtime path of "/tmp/SBo/package-musepack-tools/usr/bin/mpcchap" to ""
-- Installing: /tmp/SBo/package-musepack-tools/usr/bin/wavcmp
-- Set runtime path of "/tmp/SBo/package-musepack-tools/usr/bin/wavcmp" to ""
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/mpcdec.h
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/minimax.h
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/datatypes.h
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/mpc_types.h
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/tmp
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/tmp/props
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/tmp/text-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/tmp/prop-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/props
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/all-wcprops
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/text-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/text-base/mpcdec.h.svn-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/text-base/mpc_types.h.svn-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/text-base/streaminfo.h.svn-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/text-base/reader.h.svn-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/text-base/datatypes.h.svn-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/text-base/mpcmath.h.svn-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/text-base/minimax.h.svn-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/prop-base
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/.svn/entries
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/mpcmath.h
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/reader.h
-- Installing: /tmp/SBo/package-musepack-tools/usr/include/mpc/streaminfo.h

Slackware package maker, version 3.14159265.

Searching for symbolic links:

No symbolic links were found, so we won't make an installation script.
You can make your own later in ./install/doinst.sh and rebuild the
package if you like.

This next step is optional - you can set the directories in your package
to some sane permissions. If any of the directories in your package have
special permissions, then DO NOT reset them here!

Would you like to reset all directory permissions to 755 (drwxr-xr-x) and
directory ownerships to root.root ([y]es, [n]o)? n

Creating Slackware package:  /tmp/musepack-tools-r475-x86_64-1_SBo.tgz

./
install/
install/slack-desc
usr/
usr/bin/
usr/bin/mpc2sv8
usr/bin/mpcchap
usr/bin/mpccut
usr/bin/mpcdec
usr/bin/mpcenc
usr/bin/mpcgain
usr/bin/wavcmp
usr/doc/
usr/doc/musepack-tools-r475/
usr/doc/musepack-tools-r475/musepack-tools.SlackBuild
usr/include/
usr/include/mpc/
usr/include/mpc/datatypes.h
usr/include/mpc/minimax.h
usr/include/mpc/mpc_types.h
usr/include/mpc/mpcdec.h
usr/include/mpc/mpcmath.h
usr/include/mpc/reader.h
usr/include/mpc/streaminfo.h

Slackware package /tmp/musepack-tools-r475-x86_64-1_SBo.tgz created.
L'unica cosa che mi viene in mente è il flag LIB_SUFFIX passato a cmake ma ignorato. Quel flag dovrebbe passare alla compilazione la variabile $LIBDIRSUFFIX (64) che di fatto non viene utilizzato. Possibile che basti questo per annullare la compilazione della libreria condivisa?

gian_d
Linux 2.x
Linux 2.x
Messaggi: 352
Iscritto il: mer 16 lug 2014, 17:35
Nome Cognome: Giancarlo Dessì
Slackware: 64 current
Kernel: 5.10.xx
Desktop: KDE 5.20
Località: Sardinia
Contatta:

Re: vlc: errore di compilazione a causa di una libreria di musepack-tools mancante [RISOLTO]

Messaggio da gian_d »

Chiedo scusa, ho risolto: ricontrollando il codice dello slackbuild che ho usato ho scoperto che per testare la patch per l'aggiornamento a gcc10 avevo temporaneamente commentato la riga che applicava una vecchia patch ( patch -p1 < $CWD/musepack-tools-475.patch ).

Il tutto passato poi in cavalleria. Mi sto proprio rincretinendo...

Rispondi