Today I ran yay -Syu to update my system. Now along with the typical update it also asked me whether I wanted to update octopi package to version 1.9. I accepted and it proceeded forward. But it failed with the error message,
/usr/bin/ld: /tmp/ccLHHYw9.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol stderr@@GLIBC_2.2.5' can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Aborting...
-> error making: octopi-exit status 4
-> Failed to install the following packages. Manual intervention is required:
octopi - exit status 4
How do I fix this issue?
The full log of the error is given below. I think the issue might have occurerd because Octopi shifted from a binary package to one pointing towards git repo. But the issue still remains, how do I fix this issue?
Output from yay while updating Octopi
-- Build files have been written to: /tmp/makepkg/octopi/src/build_alpm [2/6] Building C object examples/CMakeFiles/search.dir/search.c.o /tmp/makepkg/octopi/src/alpm_octopi_utils/examples/search.c: In function āmainā: /tmp/makepkg/octopi/src/alpm_octopi_utils/examples/search.c:61:41: warning: format ā%dā expects argument of type āintā, but argument 7 has type āoff_tā {aka ālong intā} [-Wformat=] 61 | printf("%s %s %s %s %s %d\n\t%s\n", | ~^ | | | int | %ld ...... 67 | alpm_pkg_get_size(pkg), | ~~~~~~~~~~~~~~~~~~~~~~ | | | off_t {aka long int} [3/6] Building C object src/CMakeFiles/alpm_octopi_utils.dir/alpm_octopi_utils.c.o /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala: In function āalpm_utils_search_all_dbsā: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala:69:60: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 69 | needles.append (part); | ^ In file included from /usr/include/alpm.h:46, from /tmp/makepkg/octopi/src/build_alpm/src/alpm_octopi_utils.c:24: /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ In file included from /usr/include/glib-2.0/glib/glist.h:34, from /usr/include/glib-2.0/glib/ghash.h:36, from /usr/include/glib-2.0/glib.h:52, from /tmp/makepkg/octopi/src/build_alpm/src/alpm_octopi_utils.c:25: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala: In function ā_g_free_alpm_list_fn_freeā: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala:123:45: warning: passing argument 1 of āg_free_sizedā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | optionalfor.free_inner (GLib.free); | ^ /usr/include/glib-2.0/glib/gmem.h:76:42: note: expected āgpointerā {aka āvoid *ā} but argument is of type āgconstpointerā {aka āconst void *ā} 76 | void g_free_sized (gpointer mem, | ~~~~~~~~~~~~~~^~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala:123:45: warning: passing argument 1 of āg_freeā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | optionalfor.free_inner (GLib.free); | ^ /usr/include/glib-2.0/glib/gmem.h:74:46: note: expected āgpointerā {aka āvoid *ā} but argument is of type āgconstpointerā {aka āconst void *ā} 74 | void (g_free) (gpointer mem); | ~~~~~~~~~~~~~~~~~~^~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala: In function āalpm_utils_get_orphansā: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala:123:71: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 123 | optionalfor.free_inner (GLib.free); | ^~~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_octopi_utils.c:632:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala:125:63: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 125 | requiredby.free_inner (GLib.free); | ^~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_octopi_utils.c:632:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala: In function āalpm_utils_get_unrequiredā: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala:143:63: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 143 | optionalfor.free_inner (GLib.free); | ^~~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_octopi_utils.c:632:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_octopi_utils.vala:145:55: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 145 | requiredby.free_inner (GLib.free); | ^~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_octopi_utils.c:632:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ [4/6] Building C object src/CMakeFiles/alpm_octopi_utils.dir/alpm_config.c.o In file included from /usr/include/glib-2.0/glib/glist.h:34, from /usr/include/glib-2.0/glib/ghash.h:36, from /usr/include/glib-2.0/glib.h:52, from /tmp/makepkg/octopi/src/build_alpm/src/alpm_config.c:25: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala: In function ā_g_free_alpm_list_fn_freeā: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:78:24: warning: passing argument 1 of āg_free_sizedā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | cachedirs.free_inner (GLib.free); | ^ /usr/include/glib-2.0/glib/gmem.h:76:42: note: expected āgpointerā {aka āvoid *ā} but argument is of type āgconstpointerā {aka āconst void *ā} 76 | void g_free_sized (gpointer mem, | ~~~~~~~~~~~~~~^~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:78:24: warning: passing argument 1 of āg_freeā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 78 | cachedirs.free_inner (GLib.free); | ^ /usr/include/glib-2.0/glib/gmem.h:74:46: note: expected āgpointerā {aka āvoid *ā} but argument is of type āgconstpointerā {aka āconst void *ā} 74 | void (g_free) (gpointer mem); | ~~~~~~~~~~~~~~~~~~^~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala: In function āalpm_config_reloadā: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:78:46: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 78 | cachedirs.free_inner (GLib.free); | ^~~~ | | | void (*)(const void *) In file included from /usr/include/alpm.h:46, from /tmp/makepkg/octopi/src/build_alpm/src/alpm_config.c:26: /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_config.c:277:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:79:46: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 79 | hookdirs.free_inner (GLib.free); | ^~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_config.c:277:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:80:46: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 80 | ignoregroups.free_inner (GLib.free); | ^~~~~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_config.c:277:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:81:46: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 81 | ignorepkgs.free_inner (GLib.free); | ^~~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_config.c:277:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:82:46: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 82 | noextracts.free_inner (GLib.free); | ^~~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_config.c:277:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:83:46: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 83 | noupgrades.free_inner (GLib.free); | ^~~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_config.c:277:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:84:46: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 84 | holdpkgs.free_inner (GLib.free); | ^~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_config.c:277:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:85:46: warning: passing argument 2 of āalpm_list_free_innerā from incompatible pointer type [-Wincompatible-pointer-types] 85 | syncfirsts.free_inner (GLib.free); | ^~~~~ | | | void (*)(const void *) /usr/include/alpm_list.h:84:64: note: expected āalpm_list_fn_freeā {aka āvoid (*)(void *)ā} but argument is of type āvoid (*)(const void *)ā 84 | void alpm_list_free_inner(alpm_list_t *list, alpm_list_fn_free fn); | ~~~~~~~~~~~~~~~~~~^~ alpm_config.c:277:1: note: ā_g_free_alpm_list_fn_freeā declared here /usr/include/alpm_list.h:66:16: note: āalpm_list_fn_freeā declared here 66 | typedef void (*alpm_list_fn_free)(void * item); | ^~~~~~~~~~~~~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:124:82: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | architectures.append (Posix.utsname().machine); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ In file included from /usr/include/glib-2.0/glib/gstring.h:37, from /usr/include/glib-2.0/glib/giochannel.h:36, from /usr/include/glib-2.0/glib.h:56: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala: In function āalpm_config_parse_fileā: /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:205:62: warning: passing argument 1 of āg_strchugā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 205 | unowned string key = splitted[0]._strip (); | ^~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:243:55: note: expected āgchar *ā {aka āchar *ā} but argument is of type āconst gchar *ā {aka āconst char *ā} 243 | gchar* g_strchug (gchar *string); | ~~~~~~~~~~~~~~^~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:208:70: warning: passing argument 1 of āg_strchugā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 208 | val = splitted[1]._strip (); | ^~~~~~~ /usr/include/glib-2.0/glib/gstrfuncs.h:243:55: note: expected āgchar *ā {aka āchar *ā} but argument is of type āconst gchar *ā {aka āconst char *ā} 243 | gchar* g_strchug (gchar *string); | ~~~~~~~~~~~~~~^~~~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:220:118: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 220 | cachedirs.append (dir); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:224:117: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 224 | hookdirs.append (dir); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:234:129: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 234 | architectures.append (Posix.utsname().machine); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:236:129: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 236 | architectures.append (val); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:250:127: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 250 | holdpkgs.append (name); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:254:132: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 254 | syncfirsts.append (name); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:258:137: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 258 | ignoregroups.append (name); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:262:134: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 262 | ignorepkgs.append (name); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:266:135: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 266 | noextracts.append (name); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ /tmp/makepkg/octopi/src/alpm_octopi_utils/src/alpm_config.vala:270:136: warning: passing argument 2 of āalpm_list_addā discards āconstā qualifier from pointer target type [-Wdiscarded-qualifiers] 270 | noupgrades.append (name); | ^ /usr/include/alpm_list.h:95:53: note: expected āvoid *ā but argument is of type āconst gchar *ā {aka āconst char *ā} 95 | alpm_list_t *alpm_list_add(alpm_list_t *list, void *data); | ~~~~~~^~~~ [5/6] Linking C shared library src/libalpm_octopi_utils.so FAILED: [code=1] src/libalpm_octopi_utils.so : && /usr/bin/cc -fPIC -march=icelake-client -mtune=icelake-client -O3 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security -fstack-clash-protection -fcf-protection=full -fPIE -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -shared -Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto -Wl,--dependency-file=src/CMakeFiles/alpm_octopi_utils.dir/link.d -Wl,-soname,libalpm_octopi_utils.so -o src/libalpm_octopi_utils.so src/CMakeFiles/alpm_octopi_utils.dir/alpm_config.c.o src/CMakeFiles/alpm_octopi_utils.dir/alpm_octopi_utils.c.o /usr/lib/libglib-2.0.so /usr/lib/libgio-2.0.so /usr/lib/libalpm.so && : /usr/bin/ld: /tmp/ccLHHYw9.ltrans0.ltrans.o: warning: relocation against alpm_repo_search_nameā in read-only section .text' /usr/bin/ld: /tmp/ccLHHYw9.ltrans0.ltrans.o: relocation R_X86_64_PC32 against symbol stderr@@GLIBC_2.2.5ā can not be used when making a shared object; recompile with -fPIC
/usr/bin/ld: final link failed: bad value
collect2: error: ld returned 1 exit status
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
Abortingā¦
ā error making: octopi-exit status 4
ā Failed to install the following packages. Manual intervention is required:
octopi - exit status 4
