Package Details: rolo 019-1

Git Clone URL: https://aur.archlinux.org/rolo.git (read-only, click to copy)
Package Base: rolo
Description: Tracks contacts with vCards and displays them with a text-based menu.
Upstream URL: https://github.com/libvc/rolo
Licenses: GPL
Submitter: None
Maintainer: None
Last Packager: louipc
Votes: 16
Popularity: 0.000000
First Submitted: 2009-10-09 20:32 (UTC)
Last Updated: 2021-11-22 20:33 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

louipc commented on 2021-11-24 20:14 (UTC)

I do get the build warning, but no segfaults. Are you running this on an existing contacts list? At any rate you'll need to file a report upstream.

https://github.com/libvc/rolo/issues

nesk_aur commented on 2021-11-24 14:24 (UTC) (edited on 2021-11-24 14:24 (UTC) by nesk_aur)

Only 1 warning this time. It builds but installed package segfaults 100% of the time:

gcc -DHAVE_CONFIG_H -I. -I..     -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt         -fexceptions -mtune=cortex-a72.cortex-a53         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -I/usr/include/ncursesw/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -MT entry.o -MD -MP -MF .deps/entry.Tpo -c -o entry.o entry.c
In file included from /usr/include/string.h:519,
                 from index.c:29:
In function ‘strncpy’,
    inlined from ‘print_header’ at index.c:244:3,
    inlined from ‘init_index’ at index.c:148:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/add.Tpo .deps/add.Po

louipc commented on 2021-11-22 20:35 (UTC)

Try this latest version with latest libvc.

nesk_aur commented on 2021-11-22 02:53 (UTC)

view.c: In function ‘print_header’:
view.c:578:3: error: format not a string literal and no format arguments [-Werror=format-security]
  578 |   wprintw (win, header_str);
      |   ^~~~~~~
view.c: In function ‘print_footer’:
view.c:648:3: error: format not a string literal and no format arguments [-Werror=format-security]
  648 |   mvwprintw (win, LINES - 2, 0, footer_str);
      |   ^~~~~~~~~
index.c:62:8: warning: type defaults to ‘int’ in declaration of ‘g_sort_by’ [-Wimplicit-int]
   62 | static g_sort_by = -1;
      |        ^~~~~~~~~
index.c: In function ‘print_header’:
index.c:253:3: error: format not a string literal and no format arguments [-Werror=format-security]
  253 |   mvwprintw (win, 0, 0, header_str);
      |   ^~~~~~~~~
index.c: In function ‘print_footer’:
index.c:330:3: error: format not a string literal and no format arguments [-Werror=format-security]
  330 |   mvwprintw (win, LINES - 2, 0, footer_str);
      |   ^~~~~~~~~
index.c: In function ‘sort_ascending’:
index.c:524:11: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
  524 |   switch (tolower (ch))
      |           ^~~~~~~
delete.c: In function ‘delete_entry’:
delete.c:51:14: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
   51 |   if ('y' != tolower (ch))
      |              ^~~~~~~
help.c: In function ‘print_header’:
help.c:172:3: error: format not a string literal and no format arguments [-Werror=format-security]
  172 |   wprintw (win, header_str);
      |   ^~~~~~~
help.c: In function ‘print_footer’:
help.c:215:3: error: format not a string literal and no format arguments [-Werror=format-security]
  215 |   mvwprintw (win, LINES - 2, 0, footer_str);
      |   ^~~~~~~~~
edit.c: In function ‘print_header’:
edit.c:150:3: error: format not a string literal and no format arguments [-Werror=format-security]
  150 |   wprintw (win, header_str);
      |   ^~~~~~~
edit.c: In function ‘print_footer’:
edit.c:179:3: error: format not a string literal and no format arguments [-Werror=format-security]
  179 |   mvwprintw (win, LINES - 2, 0, footer_str);
      |   ^~~~~~~~~
edit.c: In function ‘edit_entry’:
edit.c:269:7: warning: implicit declaration of function ‘waitpid’ [-Wimplicit-function-declaration]
  269 |       waitpid (process_id, &status, 0);
      |       ^~~~~~~
edit.c:239:3: warning: ignoring return value of ‘tmpnam’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  239 |   tmpnam (filename);
      |   ^~~~~~~~~~~~~~~~~
mv -f .deps/delete.Tpo .deps/delete.Po
gcc -DHAVE_CONFIG_H -I. -I..     -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt         -fexceptions -mtune=cortex-a72.cortex-a53         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -I/usr/include/ncursesw/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -MT add.o -MD -MP -MF .deps/add.Tpo -c -o add.o add.c
add.c: In function ‘add_entry’:
add.c:136:7: warning: implicit declaration of function ‘waitpid’ [-Wimplicit-function-declaration]
  136 |       waitpid (process_id, &status, 0);
      |       ^~~~~~~
add.c:104:3: warning: ignoring return value of ‘tmpnam’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
  104 |   tmpnam (filename);
      |   ^~~~~~~~~~~~~~~~~
In file included from /usr/include/string.h:519,
                 from index.c:29:
In function ‘strncpy’,
    inlined from ‘print_header’ at index.c:243:3,
    inlined from ‘init_index’ at index.c:147:3:
/usr/include/bits/string_fortified.h:106:10: warning: ‘__builtin_strncpy’ specified bound 18446744073709551615 exceeds maximum object size 9223372036854775807 [-Wstringop-overflow=]
  106 |   return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest));
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
index.c: In function ‘init_index’:
index.c:316:53: warning: ‘__builtin___sprintf_chk’ may write a terminating nul past the end of the destination [-Wformat-overflow=]
  316 |       sprintf (entries_block, "---[ entries: %i ]---", entries % 1000);
      |                                                     ^
In file included from /usr/include/stdio.h:866,
                 from entry.h:23,
                 from index.c:23:
/usr/include/bits/stdio2.h:38:10: note: ‘__builtin___sprintf_chk’ output between 21 and 24 bytes into a destination of size 23
   38 |   return __builtin___sprintf_chk (__s, __USE_FORTIFY_LEVEL - 1,
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   39 |       __bos (__s), __fmt, __va_arg_pack ());
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
mv -f .deps/main.Tpo .deps/main.Po
gcc -DHAVE_CONFIG_H -I. -I..     -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt         -fexceptions -mtune=cortex-a72.cortex-a53         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -I/usr/include/ncursesw/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -MT entry.o -MD -MP -MF .deps/entry.Tpo -c -o entry.o entry.c
mv -f .deps/add.Tpo .deps/add.Po
gcc -DHAVE_CONFIG_H -I. -I..     -march=armv8-a -O2 -pipe -fstack-protector-strong -fno-plt         -fexceptions -mtune=cortex-a72.cortex-a53         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -I/usr/include/ncursesw/ -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include   -MT search.o -MD -MP -MF .deps/search.Tpo -c -o search.o search.c
cc1: some warnings being treated as errors
cc1: some warnings being treated as errors
make[2]: *** [Makefile:379: help.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [Makefile:379: edit.o] Error 1
search.c: In function ‘strstr_nocase’:
search.c:55:29: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
   55 |           tmp_haystack[i] = tolower (tmp_haystack[i]);
      |                             ^~~~~~~
search.c: In function ‘set_menu_search_string’:
search.c:85:7: warning: implicit declaration of function ‘free’ [-Wimplicit-function-declaration]
   85 |       free (userptr);
      |       ^~~~
search.c:85:7: warning: incompatible implicit declaration of built-in function ‘free’
search.c:25:1: note: include ‘<stdlib.h>’ or provide a declaration of ‘free’
   24 | #include <string.h>
  +++ |+#include <stdlib.h>
   25 | 
mv -f .deps/search.Tpo .deps/search.Po
cc1: some warnings being treated as errors
make[2]: *** [Makefile:379: view.o] Error 1
entry.c: In function ‘cmp_tel’:
entry.c:59:11: warning: implicit declaration of function ‘tolower’ [-Wimplicit-function-declaration]
   59 |       if (tolower (desc_a[i]) > tolower (desc_b[i]))
      |           ^~~~~~~
cc1: some warnings being treated as errors
make[2]: *** [Makefile:379: index.o] Error 1
mv -f .deps/entry.Tpo .deps/entry.Po
make[2]: Leaving directory '/media/storage/tmp/rolo/src/rolo-014/src'
make[1]: *** [Makefile:366: all-recursive] Error 1
make[1]: Leaving directory '/media/storage/tmp/rolo/src/rolo-014'
make: *** [Makefile:307: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

louipc commented on 2021-02-21 23:44 (UTC)

Nevermind I figured it out. Try this new PKGBUILD. There's a new dependency as well.

louipc commented on 2021-02-21 23:20 (UTC)

Hmm I seem to have a similar error when trying to build a more recent version from here: https://github.com/libvc/rolo/releases/tag/v014. It seems something about autoconf/automake build system has changed. I'm going to drop this package because I don't have time to investigate.

louipc commented on 2021-02-21 23:03 (UTC)

I can't help you with Artix at all, but would appear that you don't have base-devel group installed.

deven commented on 2021-02-21 18:58 (UTC)

Doesn't build on current Artix (with OpenRC):

configure: error: cannot find required auxiliary files: config.guess config.sub make: *** [Makefile:140: config.status] Error 1

louipc commented on 2015-05-15 14:57 (UTC)

Try that.

whynothugo commented on 2013-04-25 01:04 (UTC)

The description is broken; AUR doesn't seem to like the line jump in the middle.