package gammu

  1. Overview
  2. Docs
On This Page
  1. Error log

gammu 0.9.3

Error log

The package failed to build. The error log from opam follows.

[NOTE] Package ocamlfind is already installed (current version is 1.9.6).
The following actions will be performed:
=== install 3 packages
  - install conf-pkg-config 4
  - install gammu           0.9.3
  - install ocamlbuild      0.15.0

The following system packages will first need to be installed:
    libgammu-dev pkg-config

<><> Handling external dependencies <><><><><><><><><><><><><><><><><><><><><><>

opam believes some required external dependencies are missing. opam can:
> 1. Run apt-get to install them (may need root/sudo access)
  2. Display the recommended apt-get command and wait while you run it manually (e.g. in another terminal)
  3. Continue anyway, and, upon success, permanently register that this external dependency is present, but not detectable
  4. Abort the installation

[1/2/3/4] 1

+ /usr/bin/sudo "apt-get" "install" "-qq" "-yy" "libgammu-dev" "pkg-config"
- debconf: delaying package configuration, since apt-utils is not installed
- Selecting previously unselected package libkmod2:amd64.
- (Reading database ... 
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 18745 files and directories currently installed.)
- Preparing to unpack .../00-libkmod2_30+20221128-1_amd64.deb ...
- Unpacking libkmod2:amd64 (30+20221128-1) ...
- Selecting previously unselected package udev.
- Preparing to unpack .../01-udev_252.33-1~deb12u1_amd64.deb ...
- Unpacking udev (252.33-1~deb12u1) ...
- Selecting previously unselected package libbluetooth3:amd64.
- Preparing to unpack .../02-libbluetooth3_5.66-1+deb12u2_amd64.deb ...
- Unpacking libbluetooth3:amd64 (5.66-1+deb12u2) ...
- Selecting previously unselected package libdbi1:amd64.
- Preparing to unpack .../03-libdbi1_0.9.0-6_amd64.deb ...
- Unpacking libdbi1:amd64 (0.9.0-6) ...
- Selecting previously unselected package libglib2.0-0:amd64.
- Preparing to unpack .../04-libglib2.0-0_2.74.6-2+deb12u5_amd64.deb ...
- Unpacking libglib2.0-0:amd64 (2.74.6-2+deb12u5) ...
- Selecting previously unselected package libusb-1.0-0:amd64.
- Preparing to unpack .../05-libusb-1.0-0_2%3a1.0.26-1_amd64.deb ...
- Unpacking libusb-1.0-0:amd64 (2:1.0.26-1) ...
- Selecting previously unselected package libgammu8.
- Preparing to unpack .../06-libgammu8_1.42.0-8_amd64.deb ...
- Unpacking libgammu8 (1.42.0-8) ...
- Selecting previously unselected package mysql-common.
- Preparing to unpack .../07-mysql-common_5.8+1.1.0_all.deb ...
- Unpacking mysql-common (5.8+1.1.0) ...
- Selecting previously unselected package mariadb-common.
- Preparing to unpack .../08-mariadb-common_1%3a10.11.6-0+deb12u1_all.deb ...
- Unpacking mariadb-common (1:10.11.6-0+deb12u1) ...
- Selecting previously unselected package libmariadb3:amd64.
- Preparing to unpack .../09-libmariadb3_1%3a10.11.6-0+deb12u1_amd64.deb ...
- Unpacking libmariadb3:amd64 (1:10.11.6-0+deb12u1) ...
- Selecting previously unselected package libltdl7:amd64.
- Preparing to unpack .../10-libltdl7_2.4.7-7~deb12u1_amd64.deb ...
- Unpacking libltdl7:amd64 (2.4.7-7~deb12u1) ...
- Selecting previously unselected package libodbc2:amd64.
- Preparing to unpack .../11-libodbc2_2.3.11-2+deb12u1_amd64.deb ...
- Unpacking libodbc2:amd64 (2.3.11-2+deb12u1) ...
- Selecting previously unselected package libpq5:amd64.
- Preparing to unpack .../12-libpq5_15.10-0+deb12u1_amd64.deb ...
- Unpacking libpq5:amd64 (15.10-0+deb12u1) ...
- Selecting previously unselected package libgsmsd8.
- Preparing to unpack .../13-libgsmsd8_1.42.0-8_amd64.deb ...
- Unpacking libgsmsd8 (1.42.0-8) ...
- Selecting previously unselected package libgammu-dev.
- Preparing to unpack .../14-libgammu-dev_1.42.0-8_amd64.deb ...
- Unpacking libgammu-dev (1.42.0-8) ...
- Selecting previously unselected package libgammu-i18n.
- Preparing to unpack .../15-libgammu-i18n_1.42.0-8_all.deb ...
- Unpacking libgammu-i18n (1.42.0-8) ...
- Selecting previously unselected package libglib2.0-data.
- Preparing to unpack .../16-libglib2.0-data_2.74.6-2+deb12u5_all.deb ...
- Unpacking libglib2.0-data (2.74.6-2+deb12u5) ...
- Selecting previously unselected package libicu72:amd64.
- Preparing to unpack .../17-libicu72_72.1-3_amd64.deb ...
- Unpacking libicu72:amd64 (72.1-3) ...
- Selecting previously unselected package libjim0.81:amd64.
- Preparing to unpack .../18-libjim0.81_0.81+dfsg0-2_amd64.deb ...
- Unpacking libjim0.81:amd64 (0.81+dfsg0-2) ...
- Selecting previously unselected package libpkgconf3:amd64.
- Preparing to unpack .../19-libpkgconf3_1.8.1-1_amd64.deb ...
- Unpacking libpkgconf3:amd64 (1.8.1-1) ...
- Selecting previously unselected package libxml2:amd64.
- Preparing to unpack .../20-libxml2_2.9.14+dfsg-1.3~deb12u1_amd64.deb ...
- Unpacking libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Selecting previously unselected package pkgconf-bin.
- Preparing to unpack .../21-pkgconf-bin_1.8.1-1_amd64.deb ...
- Unpacking pkgconf-bin (1.8.1-1) ...
- Selecting previously unselected package pkgconf:amd64.
- Preparing to unpack .../22-pkgconf_1.8.1-1_amd64.deb ...
- Unpacking pkgconf:amd64 (1.8.1-1) ...
- Selecting previously unselected package pkg-config:amd64.
- Preparing to unpack .../23-pkg-config_1.8.1-1_amd64.deb ...
- Unpacking pkg-config:amd64 (1.8.1-1) ...
- Selecting previously unselected package shared-mime-info.
- Preparing to unpack .../24-shared-mime-info_2.2-1_amd64.deb ...
- Unpacking shared-mime-info (2.2-1) ...
- Selecting previously unselected package usb-modeswitch-data.
- Preparing to unpack .../25-usb-modeswitch-data_20191128-5_all.deb ...
- Unpacking usb-modeswitch-data (20191128-5) ...
- Selecting previously unselected package usb-modeswitch.
- Preparing to unpack .../26-usb-modeswitch_2.6.1-3+b1_amd64.deb ...
- Unpacking usb-modeswitch (2.6.1-3+b1) ...
- Selecting previously unselected package xdg-user-dirs.
- Preparing to unpack .../27-xdg-user-dirs_0.18-1_amd64.deb ...
- Unpacking xdg-user-dirs (0.18-1) ...
- Setting up mysql-common (5.8+1.1.0) ...
- update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up libicu72:amd64 (72.1-3) ...
- Setting up libdbi1:amd64 (0.9.0-6) ...
- Setting up xdg-user-dirs (0.18-1) ...
- Setting up libglib2.0-0:amd64 (2.74.6-2+deb12u5) ...
- No schema files found: doing nothing.
- Setting up libpq5:amd64 (15.10-0+deb12u1) ...
- Setting up mariadb-common (1:10.11.6-0+deb12u1) ...
- update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
- Setting up libglib2.0-data (2.74.6-2+deb12u5) ...
- Setting up libpkgconf3:amd64 (1.8.1-1) ...
- Setting up libgammu-i18n (1.42.0-8) ...
- Setting up usb-modeswitch-data (20191128-5) ...
- Setting up libmariadb3:amd64 (1:10.11.6-0+deb12u1) ...
- Setting up pkgconf-bin (1.8.1-1) ...
- Setting up libltdl7:amd64 (2.4.7-7~deb12u1) ...
- Setting up libodbc2:amd64 (2.3.11-2+deb12u1) ...
- Setting up libbluetooth3:amd64 (5.66-1+deb12u2) ...
- Setting up libusb-1.0-0:amd64 (2:1.0.26-1) ...
- Setting up libjim0.81:amd64 (0.81+dfsg0-2) ...
- Setting up libxml2:amd64 (2.9.14+dfsg-1.3~deb12u1) ...
- Setting up libkmod2:amd64 (30+20221128-1) ...
- Setting up libgammu8 (1.42.0-8) ...
- Setting up pkgconf:amd64 (1.8.1-1) ...
- Setting up shared-mime-info (2.2-1) ...
- Setting up udev (252.33-1~deb12u1) ...
- A chroot environment has been detected, udev not started.
- Setting up pkg-config:amd64 (1.8.1-1) ...
- Setting up libgsmsd8 (1.42.0-8) ...
- Setting up libgammu-dev (1.42.0-8) ...
- Setting up usb-modeswitch (2.6.1-3+b1) ...
- Processing triggers for libc-bin (2.36-9+deb12u9) ...

<><> Processing actions <><><><><><><><><><><><><><><><><><><><><><><><><><><><>
-> installed conf-pkg-config.4
-> retrieved gammu.0.9.3  (cached)
-> retrieved ocamlbuild.0.15.0  (cached)
-> installed ocamlbuild.0.15.0
[ERROR] The compilation of gammu.0.9.3 failed at "ocaml setup.ml -configure --prefix /home/opam/.opam/5.0".

#=== ERROR while compiling gammu.0.9.3 ========================================#
# context              2.3.0 | linux/x86_64 | ocaml-base-compiler.5.0.0 | file:///src
# path                 ~/.opam/5.0/.opam-switch/build/gammu.0.9.3
# command              ~/.opam/5.0/bin/ocaml setup.ml -configure --prefix /home/opam/.opam/5.0
# exit-code            2
# env-file             ~/.opam/log/gammu-113-37e0aa.env
# output-file          ~/.opam/log/gammu-113-37e0aa.out
### output ###
# File "./setup.ml", line 320, characters 20-36:
# 320 |     String.compare (String.lowercase s1) (String.lowercase s2)
#                           ^^^^^^^^^^^^^^^^
# Error: Unbound value String.lowercase



<><> Error report <><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
+- The following actions failed
| - build gammu 0.9.3
+- 
+- The following changes have been performed
| - install conf-pkg-config 4
| - install ocamlbuild      0.15.0
+- 
# To update the current shell environment, run: eval $(opam env)

The former state can be restored with:
    /usr/bin/opam switch import "/home/opam/.opam/5.0/.opam-switch/backup/state-20250204170741.export"
OCaml

Innovation. Community. Security.