Package Details: mesms-git 0.9.0-1

Git Clone URL: https://aur.archlinux.org/mesms-git.git (read-only, click to copy)
Package Base: mesms-git
Description: A TUI SMS manager
Upstream URL: https://git.ache.one/mesms
Licenses: GPL3
Conflicts: mesms
Provides: mesms
Submitter: ache
Maintainer: ache
Last Packager: ache
Votes: 0
Popularity: 0.000000
First Submitted: 2019-09-18 02:59 (UTC)
Last Updated: 2019-09-27 05:19 (UTC)

Dependencies (6)

Required by (0)

Sources (1)

Latest Comments

dreieck commented on 2025-03-07 11:27 (UTC)

The arch array must not be arch=("any"), but you need to manually specify supported architectures, since a binary is built:

mesms-git E: ELF file ('usr/bin/mesms') found in an 'any' package.

Also, the license identifier needs to be made SPDX compliant (e.g. GPL-3.0-or-later):

mesms-git E: GPL3 is not a valid SPDX license identifier. See https://spdx.org/licenses/ for valid identifiers, or prefix the identifier with 'LicenseRef-', if it is custom.

Also, if gammu is optional and reading SMS also works without, please add a description to the optional dependency, e.g.:

optdepends=('gammu: In order to send SMS.')

Regards and thanks for maintaining!

dreieck commented on 2025-03-07 11:25 (UTC) (edited on 2025-03-07 11:27 (UTC) by dreieck)

With GCC 14.2.1, build fails with
sms.c:136:21: error: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration]:

gcc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -flto=auto -std=gnu11 -lcurses -lreadline -c -o readline.o readline.c
gcc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -flto=auto -std=gnu11 -lcurses -lreadline -c -o wind.o wind.c
gcc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -flto=auto -std=gnu11 -lcurses -lreadline -c -o contactList.o contactList.c
gcc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -flto=auto -std=gnu11 -lcurses -lreadline -c -o basic_curses.o basic_curses.c
gcc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -flto=auto -std=gnu11 -lcurses -lreadline -c -o contactWind.o contactWind.c
gcc -march=native -mtune=native -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=2 -fstack-clash-protection -fcf-protection -w -flto=auto -std=gnu11 -lcurses -lreadline -c -o sms.o sms.c
sms.c: In function ‘readSMS’:
sms.c:136:21: error: implicit declaration of function ‘strptime’; did you mean ‘strftime’? [-Wimplicit-function-declaration]
  136 |                 if( strptime(line+11, "%Y%m%jT%H%M%S", &time_tm) ) {
      |                     ^~~~~~~~
      |                     strftime
make: *** [Makefile:25: sms.o] Error 1

I have reported this via email to the developer.

Adding

export CFLAGS+=" -Wno-error=implicit-function-declaration"

to build() in the PKGBUILD does workaround this issue.

Regards and thanks for the package and for maintaining!

yochananmarqos commented on 2019-09-19 21:47 (UTC)

gammu is a runtime dependency and should be in the depends array.

ache commented on 2019-09-19 15:50 (UTC)

It doesn't need gammu to compile so I assume it doesn't depend on gammu.

Whithout gammu, you can't send SMS but you can still read SMS.

yochananmarqos commented on 2019-09-18 22:05 (UTC)

Shouldn't this depend on gammu?