Skip to content

gammu: Misses (proper) dependency on libmariadb. #6

@dreirund

Description

@dreirund

Ahoj,

Problem description:

when I try to build gammu from the HandsomeMod/packages feed, it fails in package/install with

 * pkg_hash_check_unresolved: cannot find dependency libmariadb3 for gammu
 * pkg_hash_fetch_best_installation_candidate: Packages for gammu found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package gammu.

After a failing make -j6, here the terminal output of
make -j1 V=sc package/install:

[...]
IPKG_NO_SCRIPT=1 IPKG_INSTROOT=/[...]/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx TMPDIR=/[...]/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/tmp /[...]/staging_dir/host/bin/opkg --offline-root /[...]/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx --force-postinstall --add-dest root:/ --add-arch all:100 --add-arch aarch64_cortex-a53_neon:200 install $(cat /[...]/tmp/opkg_install_list)
Installing base-files (14-r0-4d2642e) to root...
[...]
Installing pciutils (3.8.0-2) to root...
Unknown package 'gammu'.
Package libgdbm (1.18.1-2) installed in root is up to date.
Installing gddrescue (1.23-3) to root...
[...]
Configuring kmod-lib-crc-itu-t.
ConCollected errors:
 * resolve_conffiles: Existing conffile /[...]/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/etc/ppp/chap-secrets is different from the conffile in the new package. The new conffile will be placed at /[...]/build_dir/target-aarch64_cortex-a53+neon_musl/root-msm89xx/etc/ppp/chap-secrets-opkg.
 * pkg_hash_check_unresolved: cannot find dependency libmariadb3 for gammu
 * pkg_hash_fetch_best_installation_candidate: Packages for gammu found, but incompatible with the architectures configured
 * opkg_install_cmd: Cannot install package gammu.
figuring arp-scan.
Configuring iptables-mod-rpfilter.
Configuring dnsmasq-full.
Configuring luci-proto-ncm.
make[1]: *** [package/Makefile:70: package/install] Error 255
make[1]: Leaving directory '/[...]'
make: *** [/[...]/include/toplevel.mk:230: package/install] Error 2

→ Full package build terminal output.

Configuration:

  • grep -i gammu .config:
    CONFIG_PACKAGE_gammu=y
    
  • grep -i mariadb .config:
    CONFIG_PACKAGE_libmariadb=m
    # CONFIG_PACKAGE_libmariadb-plugin-auth-gssapi-client is not set
    # CONFIG_PACKAGE_libmariadb-plugin-remote-io is not set
    # CONFIG_PACKAGE_mariadb-client is not set
    # CONFIG_PACKAGE_mariadb-server-base is not set
    
  • → Full .config.

Workaround and diagnosis:

Manually setting CONFIG_PACKAGE_libmariadb=y does resolve this issue. So it seems gammu misses a proper dependency on libmariadb.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions