tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libarchive not building



Hi,

I'm seeing this on 7-STABLE:
--- libarchive/archive_write_add_filter_xz.lo ---
libarchive/archive_write_add_filter_xz.c: In function 'archive_compressor_xz_init_stream':
libarchive/archive_write_add_filter_xz.c:227:2: error: unknown type name 'lzma_mt'
  lzma_mt mt_options;
  ^
libarchive/archive_write_add_filter_xz.c:237:14: error: request for member 'threads' in something not a structure or union
    mt_options.threads = data->threads;
              ^
libarchive/archive_write_add_filter_xz.c:238:14: error: request for member 'timeout' in something not a structure or union
    mt_options.timeout = 300;
              ^
libarchive/archive_write_add_filter_xz.c:239:14: error: request for member 'filters' in something not a structure or union
    mt_options.filters = data->lzmafilters;
              ^
libarchive/archive_write_add_filter_xz.c:240:14: error: request for member 'check' in something not a structure or union
    mt_options.check = LZMA_CHECK_CRC64;
              ^
libarchive/archive_write_add_filter_xz.c:241:4: warning: implicit declaration of function 'lzma_stream_encoder_mt' [-Wimplicit-function-declaration]
    ret = lzma_stream_encoder_mt(&(data->stream),
    ^
libarchive/archive_write_add_filter_xz.c: In function 'archive_compressor_xz_options':
libarchive/archive_write_add_filter_xz.c:402:4: warning: implicit declaration of function 'lzma_cputhreads' [-Wimplicit-function-declaration]
    data->threads = lzma_cputhreads();

which seems to be due to a problem with lzma detection. Is this just a
problem with my setup or are other people seeing this as well?

best,

  Jaap


Home | Main Index | Thread Index | Old Index