This forum has been archived. All content is frozen. Please use KDE Discuss instead.

libzip-dev appears to be broken

Tags: libzip-dev, libzip libzip-dev, libzip libzip-dev, libzip
(comma "," separated)
wlucas
Registered Member
Posts
2
Karma
0

libzip-dev appears to be broken

Wed Sep 20, 2017 8:41 pm
Hi,

I seem to have stumbled across a packaging bug. Apologies if this isn't the proper spot to report bugs, but it seems the Neon team is packaging this package:

Code: Select all
wlucas@ganymede:~$ dpkg -s libzip-dev
Package: libzip-dev
Status: install ok installed
Priority: optional
Section: libdevel
Installed-Size: 23
Maintainer: Neon CI <neon@kde.org>
Architecture: amd64
Multi-Arch: same
Source: libzip
Version: 1:1.0.1-0+16.04+xenial+build6
Depends: libzip4 (= 1:1.0.1-0+16.04+xenial+build6), zlib1g-dev
Description: library for reading, creating, and modifying zip archives (development)
 libzip is a C library for reading, creating, and modifying zip archives. Files
 can be added from data buffers, files, or compressed data copied directly from
 other zip archives. Changes made without closing the archive can be reverted.
 .
 This package contains the static libraries and headers for developing
 applications that use the libzip library API.
Homepage: http://www.nih.at/libzip/


The official package contains the following:

Code: Select all
wlucas@ganymede:~/Downloads$ dpkg -c libzip-dev_1.0.1-0ubuntu1_amd64.deb
drwxr-xr-x root/root         0 2015-09-11 20:38 ./
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/share/
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/share/doc/
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/share/doc/libzip-dev/
-rw-r--r-- root/root      1696 2015-04-29 10:43 ./usr/share/doc/libzip-dev/API-CHANGES.gz
-rw-r--r-- root/root      1448 2015-04-29 15:48 ./usr/share/doc/libzip-dev/README
-rw-r--r-- root/root      2484 2015-04-29 10:43 ./usr/share/doc/libzip-dev/TODO.gz
-rw-r--r-- root/root      2114 2015-03-20 14:18 ./usr/share/doc/libzip-dev/copyright
-rw-r--r-- root/root      1554 2015-05-04 15:50 ./usr/share/doc/libzip-dev/NEWS.gz
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/share/man/
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/share/man/man3/
-rw-r--r-- root/root       883 2015-09-11 20:38 ./usr/share/man/man3/zip_name_locate.3.gz
-rw-r--r-- root/root       473 2015-09-11 20:38 ./usr/share/man/man3/zip_source_commit_write.3.gz
-rw-r--r-- root/root       505 2015-09-11 20:38 ./usr/share/man/man3/zip_source_rollback_write.3.gz
-rw-r--r-- root/root       391 2015-09-11 20:38 ./usr/share/man/man3/zip_get_file_comment.3.gz
-rw-r--r-- root/root       684 2015-09-11 20:38 ./usr/share/man/man3/zip_source_buffer.3.gz
-rw-r--r-- root/root       478 2015-09-11 20:38 ./usr/share/man/man3/zip_error_get.3.gz
-rw-r--r-- root/root       432 2015-09-11 20:38 ./usr/share/man/man3/zip_source_make_command_bitmap.3.gz
-rw-r--r-- root/root       956 2015-09-11 20:38 ./usr/share/man/man3/zip_get_name.3.gz
-rw-r--r-- root/root       336 2015-09-11 20:38 ./usr/share/man/man3/zip_error_code_zip.3.gz
-rw-r--r-- root/root       779 2015-09-11 20:38 ./usr/share/man/man3/zip_source_win32a_create.3.gz
-rw-r--r-- root/root       376 2015-09-11 20:38 ./usr/share/man/man3/zip_fclose.3.gz
-rw-r--r-- root/root       358 2015-09-11 20:38 ./usr/share/man/man3/zip_error_clear.3.gz
-rw-r--r-- root/root       431 2015-09-11 20:38 ./usr/share/man/man3/zip_set_file_comment.3.gz
-rw-r--r-- root/root       518 2015-09-11 20:38 ./usr/share/man/man3/zip_source_tell_write.3.gz
-rw-r--r-- root/root       447 2015-09-11 20:38 ./usr/share/man/man3/zip_error_init_with_code.3.gz
-rw-r--r-- root/root       466 2015-09-11 20:38 ./usr/share/man/man3/zip_delete.3.gz
-rw-r--r-- root/root      2441 2015-09-11 20:38 ./usr/share/man/man3/zip_source_function.3.gz
-rw-r--r-- root/root       419 2015-09-11 20:38 ./usr/share/man/man3/zip_source_open.3.gz
-rw-r--r-- root/root       987 2015-09-11 20:38 ./usr/share/man/man3/zip_file_get_comment.3.gz
-rw-r--r-- root/root       851 2015-09-11 20:38 ./usr/share/man/man3/zip_file_extra_fields_count.3.gz
-rw-r--r-- root/root       358 2015-09-11 20:38 ./usr/share/man/man3/zip_add_dir.3.gz
-rw-r--r-- root/root      2441 2015-09-11 20:38 ./usr/share/man/man3/zip_source_function_create.3.gz
-rw-r--r-- root/root       615 2015-09-11 20:38 ./usr/share/man/man3/zip_file_set_mtime.3.gz
-rw-r--r-- root/root       445 2015-09-11 20:38 ./usr/share/man/man3/zip_source_free.3.gz
-rw-r--r-- root/root       402 2015-09-11 20:38 ./usr/share/man/man3/zip_source_is_deleted.3.gz
-rw-r--r-- root/root      1184 2015-09-11 20:38 ./usr/share/man/man3/zip_file_extra_field_get.3.gz
-rw-r--r-- root/root       424 2015-09-11 20:38 ./usr/share/man/man3/zip_set_archive_flag.3.gz
-rw-r--r-- root/root       394 2015-09-11 20:38 ./usr/share/man/man3/zip_error_strerror.3.gz
-rw-r--r-- root/root       324 2015-09-11 20:38 ./usr/share/man/man3/zip_source_error.3.gz
-rw-r--r-- root/root       982 2015-09-11 20:38 ./usr/share/man/man3/zip_file_extra_field_set.3.gz
-rw-r--r-- root/root      1172 2015-09-11 20:38 ./usr/share/man/man3/zip_file_get_external_attributes.3.gz
-rw-r--r-- root/root       779 2015-09-11 20:38 ./usr/share/man/man3/zip_source_win32w_create.3.gz
-rw-r--r-- root/root       418 2015-09-11 20:38 ./usr/share/man/man3/zip_unchange_archive.3.gz
-rw-r--r-- root/root      1141 2015-09-11 20:38 ./usr/share/man/man3/zip_fopen.3.gz
-rw-r--r-- root/root       559 2015-09-11 20:38 ./usr/share/man/man3/zip_source_seek_write.3.gz
-rw-r--r-- root/root       679 2015-09-11 20:38 ./usr/share/man/man3/zip_source_filep.3.gz
-rw-r--r-- root/root       485 2015-09-11 20:38 ./usr/share/man/man3/zip_error_to_data.3.gz
-rw-r--r-- root/root      1136 2015-09-11 20:38 ./usr/share/man/man3/zip_open.3.gz
-rw-r--r-- root/root       478 2015-09-11 20:38 ./usr/share/man/man3/zip_file_error_get.3.gz
-rw-r--r-- root/root       438 2015-09-11 20:38 ./usr/share/man/man3/zip_error_system_type.3.gz
-rw-r--r-- root/root       765 2015-09-11 20:38 ./usr/share/man/man3/zip_file_rename.3.gz
-rw-r--r-- root/root      1184 2015-09-11 20:38 ./usr/share/man/man3/zip_file_extra_field_get_by_id.3.gz
-rw-r--r-- root/root       836 2015-09-11 20:38 ./usr/share/man/man3/zip_get_archive_comment.3.gz
-rw-r--r-- root/root       338 2015-09-11 20:38 ./usr/share/man/man3/zip_error_fini.3.gz
-rw-r--r-- root/root      1136 2015-09-11 20:38 ./usr/share/man/man3/zip_open_from_source.3.gz
-rw-r--r-- root/root       917 2015-09-11 20:38 ./usr/share/man/man3/zip_file_extra_field_delete.3.gz
-rw-r--r-- root/root       851 2015-09-11 20:38 ./usr/share/man/man3/zip_file_extra_fields_count_by_id.3.gz
-rw-r--r-- root/root       816 2015-09-11 20:38 ./usr/share/man/man3/zip_set_file_compression.3.gz
-rw-r--r-- root/root       434 2015-09-11 20:38 ./usr/share/man/man3/zip_source_close.3.gz
-rw-r--r-- root/root       411 2015-09-11 20:38 ./usr/share/man/man3/zip_get_num_files.3.gz
-rw-r--r-- root/root       512 2015-09-11 20:38 ./usr/share/man/man3/zip_unchange.3.gz
-rw-r--r-- root/root      1131 2015-09-11 20:38 ./usr/share/man/man3/zip_file_replace.3.gz
-rw-r--r-- root/root       384 2015-09-11 20:38 ./usr/share/man/man3/zip_error_code_system.3.gz
-rw-r--r-- root/root       765 2015-09-11 20:38 ./usr/share/man/man3/zip_source_win32handle_create.3.gz
-rw-r--r-- root/root       765 2015-09-11 20:38 ./usr/share/man/man3/zip_source_win32handle.3.gz
-rw-r--r-- root/root       779 2015-09-11 20:38 ./usr/share/man/man3/zip_source_win32w.3.gz
-rw-r--r-- root/root       396 2015-09-11 20:38 ./usr/share/man/man3/zip_error_set.3.gz
-rw-r--r-- root/root       456 2015-09-11 20:38 ./usr/share/man/man3/zip_error_to_str.3.gz
-rw-r--r-- root/root       779 2015-09-11 20:38 ./usr/share/man/man3/zip_source_win32a.3.gz
-rw-r--r-- root/root       925 2015-09-11 20:38 ./usr/share/man/man3/zip_close.3.gz
-rw-r--r-- root/root       399 2015-09-11 20:38 ./usr/share/man/man3/zip_fread.3.gz
-rw-r--r-- root/root       798 2015-09-11 20:38 ./usr/share/man/man3/zip_dir_add.3.gz
-rw-r--r-- root/root       540 2015-09-11 20:38 ./usr/share/man/man3/zip_source_write.3.gz
-rw-r--r-- root/root      1141 2015-09-11 20:38 ./usr/share/man/man3/zip_fopen_index.3.gz
-rw-r--r-- root/root       358 2015-09-11 20:38 ./usr/share/man/man3/zip_file_error_clear.3.gz
-rw-r--r-- root/root      1018 2015-09-11 20:38 ./usr/share/man/man3/zip_source_stat.3.gz
-rw-r--r-- root/root       322 2015-09-11 20:38 ./usr/share/man/man3/zip_source_keep.3.gz
-rw-r--r-- root/root      1131 2015-09-11 20:38 ./usr/share/man/man3/zip_file_add.3.gz
-rw-r--r-- root/root       320 2015-09-11 20:38 ./usr/share/man/man3/zip_file_get_error.3.gz
-rw-r--r-- root/root       789 2015-09-11 20:38 ./usr/share/man/man3/zip_fopen_encrypted.3.gz
-rw-r--r-- root/root       447 2015-09-11 20:38 ./usr/share/man/man3/zip_error_init.3.gz
-rw-r--r-- root/root       476 2015-09-11 20:38 ./usr/share/man/man3/zip_source_begin_write.3.gz
-rw-r--r-- root/root       629 2015-09-11 20:38 ./usr/share/man/man3/zip_set_archive_comment.3.gz
-rw-r--r-- root/root       532 2015-09-11 20:38 ./usr/share/man/man3/zip_source_seek.3.gz
-rw-r--r-- root/root       437 2015-09-11 20:38 ./usr/share/man/man3/zip_add.3.gz
-rw-r--r-- root/root       523 2015-09-11 20:38 ./usr/share/man/man3/zip_stat_init.3.gz
-rw-r--r-- root/root       732 2015-09-11 20:38 ./usr/share/man/man3/zip_source_file.3.gz
-rw-r--r-- root/root       516 2015-09-11 20:38 ./usr/share/man/man3/zip_source_read.3.gz
-rw-r--r-- root/root       943 2015-09-11 20:38 ./usr/share/man/man3/zip_source_zip.3.gz
-rw-r--r-- root/root      1253 2015-09-11 20:38 ./usr/share/man/man3/zip_stat.3.gz
-rw-r--r-- root/root       317 2015-09-11 20:38 ./usr/share/man/man3/zip_get_error.3.gz
-rw-r--r-- root/root       408 2015-09-11 20:38 ./usr/share/man/man3/zip_unchange_all.3.gz
-rw-r--r-- root/root       835 2015-09-11 20:38 ./usr/share/man/man3/zip_file_set_comment.3.gz
-rw-r--r-- root/root       397 2015-09-11 20:38 ./usr/share/man/man3/zip_error_get_sys_type.3.gz
-rw-r--r-- root/root       475 2015-09-11 20:38 ./usr/share/man/man3/ZIP_SOURCE_GET_ARGS.3.gz
-rw-r--r-- root/root       917 2015-09-11 20:38 ./usr/share/man/man3/zip_file_extra_field_delete_by_id.3.gz
-rw-r--r-- root/root       679 2015-09-11 20:38 ./usr/share/man/man3/zip_file_set_external_attributes.3.gz
-rw-r--r-- root/root       613 2015-09-11 20:38 ./usr/share/man/man3/zip_set_default_password.3.gz
-rw-r--r-- root/root       535 2015-09-11 20:38 ./usr/share/man/man3/zip_file_strerror.3.gz
-rw-r--r-- root/root       583 2015-09-11 20:38 ./usr/share/man/man3/zip_source_seek_compute_offset.3.gz
-rw-r--r-- root/root      1015 2015-09-11 20:38 ./usr/share/man/man3/zip_fdopen.3.gz
-rw-r--r-- root/root       743 2015-09-11 20:38 ./usr/share/man/man3/libzip.3.gz
-rw-r--r-- root/root      1253 2015-09-11 20:38 ./usr/share/man/man3/zip_stat_index.3.gz
-rw-r--r-- root/root       789 2015-09-11 20:38 ./usr/share/man/man3/zip_fopen_index_encrypted.3.gz
-rw-r--r-- root/root       435 2015-09-11 20:38 ./usr/share/man/man3/zip_get_num_entries.3.gz
-rw-r--r-- root/root       486 2015-09-11 20:38 ./usr/share/man/man3/zip_source_tell.3.gz
-rw-r--r-- root/root       535 2015-09-11 20:38 ./usr/share/man/man3/zip_strerror.3.gz
-rw-r--r-- root/root       437 2015-09-11 20:38 ./usr/share/man/man3/zip_replace.3.gz
-rw-r--r-- root/root       746 2015-09-11 20:38 ./usr/share/man/man3/zip_errors.3.gz
-rw-r--r-- root/root       354 2015-09-11 20:38 ./usr/share/man/man3/zip_rename.3.gz
-rw-r--r-- root/root       351 2015-09-11 20:38 ./usr/share/man/man3/zip_discard.3.gz
-rw-r--r-- root/root       520 2015-09-11 20:38 ./usr/share/man/man3/zip_get_archive_flag.3.gz
-rw-r--r-- root/root       615 2015-09-11 20:38 ./usr/share/man/man3/zip_source.3.gz
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/lib/
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/lib/x86_64-linux-gnu/
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/lib/x86_64-linux-gnu/libzip/
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/lib/x86_64-linux-gnu/libzip/include/
-rw-r--r-- root/root       992 2015-09-11 20:38 ./usr/lib/x86_64-linux-gnu/libzip/include/zipconf.h
-rw-r--r-- root/root    252640 2015-09-11 20:38 ./usr/lib/x86_64-linux-gnu/libzip.a
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/lib/x86_64-linux-gnu/pkgconfig/
-rw-r--r-- root/root       335 2015-09-11 20:38 ./usr/lib/x86_64-linux-gnu/pkgconfig/libzip.pc
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/include/
drwxr-xr-x root/root         0 2015-09-11 20:38 ./usr/include/x86_64-linux-gnu/
-rw-r--r-- root/root     20945 2015-09-11 20:38 ./usr/include/zip.h
lrwxrwxrwx root/root         0 2015-09-11 20:38 ./usr/share/doc/libzip-dev/changelog.Debian.gz -> ../libzip4/changelog.Debian.gz
lrwxrwxrwx root/root         0 2015-09-11 20:38 ./usr/lib/x86_64-linux-gnu/libzip.so -> libzip.so.4.0.0
lrwxrwxrwx root/root         0 2015-09-11 20:38 ./usr/include/x86_64-linux-gnu/zipconf.h -> ../../lib/x86_64-linux-gnu/libzip/include/zipconf.h


But, Neon's package only contains this incomplete set of files:

Code: Select all
wlucas@ganymede:~/Downloads$ dpkg -L libzip-dev
/.
/usr
/usr/include
/usr/include/x86_64-linux-gnu
/usr/share
/usr/share/doc
/usr/share/doc/libzip-dev
/usr/share/doc/libzip-dev/API-CHANGES.gz
/usr/share/doc/libzip-dev/NEWS.gz
/usr/share/doc/libzip-dev/README
/usr/share/doc/libzip-dev/changelog.Debian.gz
/usr/share/doc/libzip-dev/TODO.gz
/usr/share/doc/libzip-dev/copyright
/usr/include/x86_64-linux-gnu/zipconf.h


I'm using the User Edition of Neon.

Thanks for the help!
Will
wlucas
Registered Member
Posts
2
Karma
0
I fixed this a while ago, but forgot to mention how I fixed. In case others run into this, it appears the KDE devs decided to move libzip-dev to libzip5-dev.

So, simply

Code: Select all
sudo apt-get install libzip5-dev


will fix this issue.

Hope that helps!


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Google [Bot], Yahoo [Bot]