SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
on the last line "Requires.private:" remove "iconv", save file... move on.
Proper fix needs to be worked out upstream, but rather than re-building Slackware packages, that enables you to do whatever building you need. Nothing I've built has ended up broken locally afterwards, but take my uneducated advice with a grain of salt.
on the last line "Requires.private:" remove "iconv", save file... move on.
Proper fix needs to be worked out upstream, but rather than re-building Slackware packages, that enables you to do whatever building you need. Nothing I've built has ended up broken locally afterwards, but take my uneducated advice with a grain of salt.
jloco --
This worked for me as well but the fwupd-1.7.10-x86_64-1_SBo.tgz package is quite different now compared to before the libarchive update.
As I posted above, the fwupd.SlackBuild failed for me too.
Removing iconv from /usr/lib64/pkgconfig/libarchive.pc and running fwupd.SlackBuild did not fail.
However, there are 186 fewer or changed files now compared to the same fwupd SlackBuild before the libarchive update.
If anyone cares, I've got a Unified Diff on the fwupd Package Files before and after.
Paraphrasing your warning: Buyer Beware
Not a member of the Slackware Team but I imagine Pat and the Team will apply proper fixes to libarchive as soon as possible.
HTH.
-- kjh
Code:
# head -1 fwupd.SlackBuild-1.7.10.log && tail -4 fwupd.SlackBuild-1.7.10.log
fwupd.SlackBuild startup at Sun Dec 11 09:01:17 CST 2022
Slackware package /tmp/fwupd-1.7.10-x86_64-1_SBo.tgz created.
fwupd.SlackBuild complete at Sun Dec 11 09:01:46 CST 2022 ... RetCode = 0
# these are the fwupd packages on my System( I keep the current and previous handy in case I need to revert )
# ls -lad ../pkg/*
-rw-r--r-- 1 root root 1249122 Jul 10 08:07 ../pkg/fwupd-1.3.12-x86_64-1_SBo.tgz
-rw-r--r-- 1 root root 7318668 Oct 15 05:31 ../pkg/fwupd-1.7.10-x86_64-1_SBo.tgz # built before libarchive update
-rw-r--r-- 1 root root 7124453 Dec 11 09:01 ../pkg/fwupd-1.7.10-x86_64-1_SBo.tgz-without-iconv.tgz # built just now with edited pkgconfig
For the record, yesterday's libarchive update for Slackware 15.0 fixed the iconv issue when executing fwupd.SlackBuild.
Thanks to Pat and the Team !
-- kjh
Code:
Sun Dec 18 20:28:03 UTC 2022
patches/packages/libarchive-3.6.2-x86_64-2_slack15.0.txz: Rebuilt.
This update fixes a regression causing a failure to compile against
libarchive: don't include iconv in libarchive.pc.
+--------------------------+
# fwupdtool --help
Usage:
fwupdtool [OPTION…]
activate [DEVICE-ID|GUID] Activate pending devices
attach DEVICE-ID|GUID Attach to firmware mode
bind-driver SUBSYSTEM DRIVER [DEVICE-ID|GUID]
Bind new kernel driver
build-firmware FILE-IN FILE-OUT [SCRIPT] [OUTPUT]
Build firmware using a sandbox
clear-history Erase all firmware update history
detach DEVICE-ID|GUID Detach to bootloader mode
esp-list Lists files on the ESP
esp-mount Mounts the ESP
esp-unmount Unmounts the ESP
export-hwids HWIDS-FILE Save a file that allows generation of hardware IDs
firmware-build BUILDER-XML FILENAME-DST
Build a firmware file
firmware-convert FILENAME-SRC FILENAME-DST [FIRMWARE-TYPE-SRC] [FIRMWARE-TYPE-DST]
Convert a firmware file
firmware-dump FILENAME [DEVICE-ID|GUID]
Read a firmware blob from a device
firmware-export FILENAME [FIRMWARE-TYPE]
Export a firmware file structure to XML
firmware-extract FILENAME [FIRMWARE-TYPE]
Extract a firmware blob to images
firmware-parse FILENAME [FIRMWARE-TYPE]
Parse and show details about a firmware file
firmware-patch FILENAME OFFSET DATA [FIRMWARE-TYPE]
Patch a firmware blob at a known offset
firmware-sign FILENAME CERTIFICATE PRIVATE-KEY
Sign a firmware with a new key
get-details FILE Gets details about a firmware file
get-device-flags Get all device flags supported by fwupd
get-devices Get all devices that support firmware updates
get-firmware-types List the available firmware types
get-history Show history of firmware updates
get-plugins Get all enabled plugins registered with the system
get-remotes Gets the configured remotes
get-topology Alias to get-devices
get-updates [DEVICE-ID|GUID] Gets the list of updates for connected hardware
get-upgrades [DEVICE-ID|GUID] Alias to get-updates
hwids [SMBIOS-FILE|HWIDS-FILE] Return all the hardware IDs for the machine
install FILE [DEVICE-ID|GUID] Install a firmware file on this hardware
install-blob FILENAME DEVICE-ID Install a firmware blob on a device
monitor Monitor the daemon for events
refresh Refresh metadata from remote server
reinstall DEVICE-ID|GUID Reinstall firmware on a device
security Gets the host security attributes
self-sign TEXT Sign data using the client certificate
smbios-dump FILE Dump SMBIOS data from a file
switch-branch [DEVICE-ID|GUID] [BRANCH]
Switch the firmware branch on the device
unbind-driver [DEVICE-ID|GUID] Unbind current driver
update [DEVICE-ID|GUID] Updates all specified devices to latest firmware version, or all devices if unspecified
upgrade [DEVICE-ID|GUID] Alias to update
verify-update [DEVICE-ID|GUID] Update the stored metadata with current contents
watch Watch for hardware changes
Help Options:
-h, --help Show help options
--help-all Show all help options
Application Options:
--version Show client and daemon versions
--allow-reinstall Allow reinstalling existing firmware versions
--allow-older Allow downgrading firmware versions
--allow-branch-switch Allow switching firmware branch
--force Force the action by relaxing some runtime checks
--ignore-checksum Ignore firmware checksum failures
--ignore-vid-pid Ignore firmware hardware mismatch failures
--no-reboot-check Do not check or prompt for reboot after update
--no-safety-check Do not perform device safety checks
--no-device-prompt Do not prompt for devices
--show-all Show all results
--plugins Manually enable specific plugins
--prepare Run the plugin composite prepare routine when using install-blob
--cleanup Run the plugin composite cleanup routine when using install-blob
--enable-json-state Save device state into a JSON file between executions
--disable-ssl-strict Ignore SSL strict checks when downloading files
--filter Filter with a set of device flags using a ~ prefix to exclude, e.g. 'internal,~needs-reboot'
--json Output in JSON format
-v, --verbose Show debugging information for all domains
--no-timestamp Do not include timestamp prefix
--no-domain Do not include log domain prefix
--plugin-verbose=PLUGIN-NAME Show plugin verbose information
--daemon-verbose=DOMAIN Show daemon verbose information for a particular domain
This tool allows an administrator to use the fwupd plugins without being installed on the host system.
But I compiled and installed this package about a month ago (Slackware64-15.0) (before the libarchive fiasco):
Code:
# ls -l /var/lib/pkgtools/packages/fwupd-1.7.10-x86_64-2_SBo
-rw-r--r-- 1 root root 150138 Nov 14 15:12 /var/lib/pkgtools/packages/fwupd-1.7.10-x86_64-2_SBo
EDIT: USER ERROR -- I messed with the meson options in fwupd.SlackBuild last week and did not restore the original SlackBuild
Thanks drumz.
Yes, the copy of fwupd-1.7.10-x86_64-1_SBo.tgz-old-libarchive.tgz that I build before the libarchive update includes libjcat so and include files but this morning's Package built with the new libarchive does not.
-- kjh
This is the Package created with the old libarchive.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.