You are not logged in.

#1 2015-10-20 12:14:26

maciejjo
Member
Registered: 2010-09-12
Posts: 21

[SOLVED] Cannot compile packages from source - /usr/bin/ar fails

Hi, I have a problem where I cannot manually build any package which executes /usr/bin/ar during building. Everytime I get following error message:

/usr/bin/ar: libncursesw.so.5: cannot open shared object file: No such file or directory

I checked ar with ldd, and I don't see any mention of ncurses:

$ ldd /usr/bin/ar
	linux-vdso.so.1 (0x00007fff304fd000)
	libbfd-2.25.1.so => /usr/lib/libbfd-2.25.1.so (0x00007ff4316c4000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007ff431320000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007ff43110a000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007ff430f06000)
	/lib64/ld-linux-x86-64.so.2 (0x00007ff4319ef000)

So far I found I cannot build freshplayerplugin-git, libcurl-compat and linux kernel.

Info about packages:


$ yaourt -Qi ncurses
Name           : ncurses
Version        : 6.0-3
Description    : System V Release 4.0 curses emulation library
Architecture   : x86_64
URL            : http://invisible-island.net/ncurses/ncurses.html
Licenses       : MIT
Groups         : None
Provides       : libncurses++w.so=6-64  libformw.so=6-64  libmenuw.so=6-64  libpanelw.so=6-64  libncursesw.so=6-64
Depends On     : glibc  gcc-libs
Optional Deps  : None
Required By    : alsa-utils  aspell  bash  ceph  cgdb  ckermit  crash  cscope  dialog  fish  gdb  guile  htop  lame  less  lib32-ncurses  libcaca  libcdio  libedit  libxml2  llvm-openmp-git  mtr  nano  ncdu  ncmpcpp  perl-curses  pinentry  powertop  procps-ng  psmisc  qemu  readline  screen  stfl  texinfo  tmux  unace
                 vi  w3m
Optional For   : vlc  wine
Conflicts With : None
Replaces       : None
Installed Size :   3.33 MiB
Packager       : Evangelos Foutras <evangelos@foutrelis.com>
Build Date     : Tue 15 Sep 2015 05:47:59 AM CEST
Install Date   : Mon 12 Oct 2015 10:07:15 PM CEST
Install Reason : Installed as a dependency for another package
Install Script : No
Validated By   : Signature
[12:48:50][maciejjo@razorblade:freshplayerplugin-git][0]$ yaourt -Qi binutils
Name           : binutils
Version        : 2.25.1-3
Description    : A set of programs to assemble and manipulate binary and object files
Architecture   : x86_64
URL            : http://www.gnu.org/software/binutils/
Licenses       : GPL
Groups         : base-devel
Provides       : None
Depends On     : glibc>=2.22  zlib
Optional Deps  : None
Required By    : avr-binutils  gcc-multilib  namcap  perf
Optional For   : None
Conflicts With : binutils-multilib
Replaces       : binutils-multilib
Installed Size :  26.76 MiB
Packager       : Allan McRae <allan@archlinux.org>
Build Date     : Wed 12 Aug 2015 09:33:08 AM CEST
Install Date   : Tue 20 Oct 2015 12:40:00 PM CEST
Install Reason : Explicitly installed
Install Script : Yes
Validated By   : Signature

Last edited by maciejjo (2015-10-20 15:37:25)

Offline

#2 2015-10-20 12:53:44

jaythespacehound
Member
Registered: 2013-05-29
Posts: 11

Re: [SOLVED] Cannot compile packages from source - /usr/bin/ar fails

Can you do a:

pacman -Qo /usr/bin/ar

To make sure ar is owned by binutils?

Offline

#3 2015-10-20 12:54:39

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,899
Website

Re: [SOLVED] Cannot compile packages from source - /usr/bin/ar fails

Just for the record, could you post the output of

# pacman -Syu

The output of

$ pacman -Qm

and

$ strace -f ar

may also be useful.

Basically, something on your system is still linked against the old ncurses library. If it's an official package, -Syu should fix it (and you should stop doing partial updates). If it's a foreign package, you will have to update it manually. I'm not sure why ar is erroring about a library that it's not linked against, hopefully strace will shed some light on that.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#4 2015-10-20 12:57:38

maciejjo
Member
Registered: 2010-09-12
Posts: 21

Re: [SOLVED] Cannot compile packages from source - /usr/bin/ar fails

Sure, here:

$ pacman -Qo /usr/bin/ar
/usr/bin/ar is owned by binutils 2.25.1-3

I noticed the same error appears during kernel compilation for 'nm':

...
  CC      arch/x86/entry/vdso/vclock_gettime.o
  CC      arch/x86/entry/vdso/vgetcpu.o
  VDSO    arch/x86/entry/vdso/vdso64.so.dbg
nm: libncursesw.so.5: cannot open shared object file: No such file or directory

  HOSTCC  arch/x86/entry/vdso/vdso2c
  OBJCOPY arch/x86/entry/vdso/vdso64.so
  VDSO2C  arch/x86/entry/vdso/vdso-image-64.c
  CC      arch/x86/entry/vdso/vdso-image-64.o
  LDS     arch/x86/entry/vdso/vdso32/vdso32.lds
  CC      arch/x86/entry/vdso/vdso32/vclock_gettime.o
  AS      arch/x86/entry/vdso/vdso32/note.o
  AS      arch/x86/entry/vdso/vdso32/int80.o
  VDSO    arch/x86/entry/vdso/vdso32-int80.so.dbg
nm: libncursesw.so.5: cannot open shared object file: No such file or directory

  OBJCOPY arch/x86/entry/vdso/vdso32-int80.so
  VDSO2C  arch/x86/entry/vdso/vdso-image-32-int80.c
  CC      arch/x86/entry/vdso/vdso-image-32-int80.o
  AS      arch/x86/entry/vdso/vdso32/syscall.o
  VDSO    arch/x86/entry/vdso/vdso32-syscall.so.dbg
nm: libncursesw.so.5: cannot open shared object file: No such file or directory

  OBJCOPY arch/x86/entry/vdso/vdso32-syscall.so
  VDSO2C  arch/x86/entry/vdso/vdso-image-32-syscall.c
  CC      arch/x86/entry/vdso/vdso-image-32-syscall.o
  AS      arch/x86/entry/vdso/vdso32/sysenter.o
  VDSO    arch/x86/entry/vdso/vdso32-sysenter.so.dbg
nm: libncursesw.so.5: cannot open shared object file: No such file or directory

  OBJCOPY arch/x86/entry/vdso/vdso32-sysenter.so
  VDSO2C  arch/x86/entry/vdso/vdso-image-32-sysenter.c
  CC      arch/x86/entry/vdso/vdso-image-32-sysenter.o
...

Offline

#5 2015-10-20 13:01:24

maciejjo
Member
Registered: 2010-09-12
Posts: 21

Re: [SOLVED] Cannot compile packages from source - /usr/bin/ar fails

WorMzy:

[root@razorblade /]# pacman -Syu
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 infinality-bundle is up to date
 infinality-bundle-fonts is up to date
:: Starting full system upgrade...
 there is nothing to do
[root@razorblade /]# pacman -Qm
adobe-air 2.6-1
adobe-air-sdk 2.6-10
aurvote 1.9-2
base16-shell-git 64-1
bin32-jdk 8u60-1
bin32-jre7 7.72-1
brother-dcpj315w 1.1.3-3
cflow 1.4-3
chromium-pepper-flash 1:19.0.0.207-1
cloog 0.18.4-1
cntlm 0.92.3-3
cower 14-2
crosstool-ng 1.21.0-2
cunit 2.1.3-2
cups-xerox 2008.01.23-1
dolphin-emu-cli-git 4.0.2.r7490.368867d-1
dolphin-emu-git 4.0.2.r7490.368867d-1
dolphin-emu-qt-git 4.0.2.r7490.368867d-1
dterm 0.3-2
epsxe 1.9.25-8
epsxe-plugin-gpu-mesagl 1.78-4
epsxe-plugin-gpu-xgl2 2.9-5
epsxe-plugin-padjoy 0.82-3
epsxe-plugin-spu-alsa 1.9-5
freshplayerplugin-git v0.3.2.r8.ge9f1a58-1
glib 1.2.10-13
gtk 1.2.10-15
gtk-engine-unico 1.0.2-6
gtk-theme-flatstudio 1.03-2
iat 0.1.7-4
isl 0.15-1
java32-environment-common 2-2
java32-runtime-common 2-2
lemonbar-git 172.a9f285f-1
lib32-libpng12 1.2.53-2
lib32-libtinfo 6-7
lib32-pangox-compat 0.0.2-1
libgcj15-bin 4.9.3_5-1
libgcrypt15 1.5.4-4
libpng12 1.2.53-2
llvm-openmp-git 3.5.r106017.1c313aa-1
m64py 0.2.3-5
openarena 0.8.8-3
openmprtl-svn r239825-1
package-query 1.7-1
pdftk-bin 2.02_3-2
pentadactyl-git r7170.41d023a-2
powerline-fonts-git r73.c4262ba-1
qnapi 0.1.9-2
redsocks-git 0.1.r43.g2e3f648-1
smartgit 7.0.3-1
sparse-git 0.5.0.r44.g40791b9-1
spotify 0.9.17.8-1
sshcd 1.0.3-1
stoken-git v0.81.r0.ge0595f1-1
teamviewer 10.0.46203-1
toilet 0.3-1
trace-cmd-git 2.5.2.1.r9.gce85233-1
ttf-font-awesome 4.4.0-1
ttf-font-icons 1-1
urxvt-font-size-git 21-1
vim-youcompleteme-git 1394.035b6ca-1
vimb-git 20150627-1
vit 1.2-2
wii-u-gc-adapter 0.0.29-3
xcape 1.1-1
xss-lock 0.3.0-2
yaourt 1.7-1
[root@razorblade /]# strace -f ar
execve("/usr/bin/ar", ["ar"], [/* 23 vars */]) = 0
brk(0)                                  = 0x107e000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=258987, ...}) = 0
mmap(NULL, 258987, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb3c8435000
close(3)                                = 0
open("/usr/lib/libbfd-2.25.1.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\300\332\3\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1207016, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3c8434000
mmap(NULL, 3320512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3c7f29000
mprotect(0x7fb3c8038000, 2097152, PROT_NONE) = 0
mmap(0x7fb3c8238000, 98304, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x10f000) = 0x7fb3c8238000
mmap(0x7fb3c8250000, 15040, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb3c8250000
close(3)                                = 0
open("/usr/lib/libc.so.6", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\7\2\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1991416, ...}) = 0
mmap(NULL, 3815984, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3c7b85000
mprotect(0x7fb3c7d20000, 2093056, PROT_NONE) = 0
mmap(0x7fb3c7f1f000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x19a000) = 0x7fb3c7f1f000
mmap(0x7fb3c7f25000, 14896, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fb3c7f25000
close(3)                                = 0
open("/usr/lib/libz.so.1", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0\20#\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=88592, ...}) = 0
mmap(NULL, 2183688, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3c796f000
mprotect(0x7fb3c7984000, 2093056, PROT_NONE) = 0
mmap(0x7fb3c7b83000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x14000) = 0x7fb3c7b83000
close(3)                                = 0
open("/usr/lib/libdl.so.2", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`\16\0\0\0\0\0\0"..., 832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=14576, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3c8433000
mmap(NULL, 2109712, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7fb3c776b000
mprotect(0x7fb3c776e000, 2093056, PROT_NONE) = 0
mmap(0x7fb3c796d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2000) = 0x7fb3c796d000
close(3)                                = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3c8432000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3c8431000
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3c8430000
arch_prctl(ARCH_SET_FS, 0x7fb3c8431700) = 0
mprotect(0x7fb3c7f1f000, 16384, PROT_READ) = 0
mprotect(0x7fb3c796d000, 4096, PROT_READ) = 0
mprotect(0x7fb3c7b83000, 4096, PROT_READ) = 0
mprotect(0x7fb3c8238000, 73728, PROT_READ) = 0
mprotect(0x60d000, 4096, PROT_READ)     = 0
mprotect(0x7fb3c8475000, 4096, PROT_READ) = 0
munmap(0x7fb3c8435000, 258987)          = 0
brk(0)                                  = 0x107e000
brk(0x109f000)                          = 0x109f000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=1629600, ...}) = 0
mmap(NULL, 1629600, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fb3c82a2000
close(3)                                = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/gconv/gconv-modules", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=56095, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3c8474000
read(3, "# GNU libc iconv configuration.\n"..., 4096) = 4096
read(3, "1002//\tJUS_I.B1.002//\nmodule\tJUS"..., 4096) = 4096
read(3, "ISO-IR-110//\t\tISO-8859-4//\nalias"..., 4096) = 4096
read(3, "\t\tISO-8859-14//\nalias\tISO_8859-1"..., 4096) = 4096
read(3, "IC-ES//\nalias\tEBCDICES//\t\tEBCDIC"..., 4096) = 4096
read(3, "DIC-CP-ES//\t\tIBM284//\nalias\tCSIB"..., 4096) = 4096
read(3, "//\nalias\tCSIBM864//\t\tIBM864//\nal"..., 4096) = 4096
read(3, "BM939//\nmodule\tIBM939//\t\tINTERNA"..., 4096) = 4096
read(3, "EUC-CN//\nalias\tCN-GB//\t\t\tEUC-CN/"..., 4096) = 4096
read(3, "T//\nmodule\tISO-2022-CN-EXT//\tINT"..., 4096) = 4096
read(3, "//\t\tISO_5428//\nalias\tISO_5428:19"..., 4096) = 4096
read(3, "CII-8\t1\n\n#\tfrom\t\t\tto\t\t\tmodule\t\tc"..., 4096) = 4096
brk(0x10c0000)                          = 0x10c0000
read(3, "\tfrom\t\t\tto\t\t\tmodule\t\tcost\nalias\t"..., 4096) = 4096
read(3, "712//\t\tINTERNAL\t\tIBM12712\t\t1\nmod"..., 4096) = 2847
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fb3c8474000, 4096)            = 0
open("/usr/share/locale/locale.alias", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=2997, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7fb3c8474000
read(3, "# Locale name alias data base.\n#"..., 4096) = 2997
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0x7fb3c8474000, 4096)            = 0
open("/usr/share/locale/en/LC_MESSAGES/binutils.mo", O_RDONLY) = -1 ENOENT (No such file or directory)
write(2, "Usage: ar [emulation options] [-"..., 124Usage: ar [emulation options] [-]{dmpqrstx}[abcDfilMNoPsSTuvV] [--plugin <name>] [member-name] [count] archive-file file...
) = 124
write(2, "       ar -M [<mri-script]\n", 27       ar -M [<mri-script]
) = 27
write(2, " commands:\n", 11 commands:
)            = 11
write(2, "  d            - delete file(s) "..., 49  d            - delete file(s) from the archive
) = 49
write(2, "  m[ab]        - move file(s) in"..., 45  m[ab]        - move file(s) in the archive
) = 45
write(2, "  p            - print file(s) f"..., 52  p            - print file(s) found in the archive
) = 52
write(2, "  q[f]         - quick append fi"..., 53  q[f]         - quick append file(s) to the archive
) = 53
write(2, "  r[ab][f][u]  - replace existin"..., 73  r[ab][f][u]  - replace existing or insert new file(s) into the archive
) = 73
write(2, "  s            - act as ranlib\n", 31  s            - act as ranlib
) = 31
write(2, "  t            - display content"..., 45  t            - display contents of archive
) = 45
write(2, "  x[o]         - extract file(s)"..., 50  x[o]         - extract file(s) from the archive
) = 50
write(2, " command specific modifiers:\n", 29 command specific modifiers:
) = 29
write(2, "  [a]          - put file(s) aft"..., 49  [a]          - put file(s) after [member-name]
) = 49
write(2, "  [b]          - put file(s) bef"..., 64  [b]          - put file(s) before [member-name] (same as [i])
) = 64
write(2, "  [D]          - use zero for ti"..., 65  [D]          - use zero for timestamps and uids/gids (default)
) = 65
write(2, "  [U]          - use actual time"..., 53  [U]          - use actual timestamps and uids/gids
) = 53
write(2, "  [N]          - use instance [c"..., 46  [N]          - use instance [count] of name
) = 46
write(2, "  [f]          - truncate insert"..., 46  [f]          - truncate inserted file names
) = 46
write(2, "  [P]          - use full path n"..., 51  [P]          - use full path names when matching
) = 51
write(2, "  [o]          - preserve origin"..., 41  [o]          - preserve original dates
) = 41
write(2, "  [u]          - only replace fi"..., 81  [u]          - only replace files that are newer than current archive contents
) = 81
write(2, " generic modifiers:\n", 20 generic modifiers:
)   = 20
write(2, "  [c]          - do not warn if "..., 62  [c]          - do not warn if the library had to be created
) = 62
write(2, "  [s]          - create an archi"..., 54  [s]          - create an archive index (cf. ranlib)
) = 54
write(2, "  [S]          - do not build a "..., 45  [S]          - do not build a symbol table
) = 45
write(2, "  [T]          - make a thin arc"..., 37  [T]          - make a thin archive
) = 37
write(2, "  [v]          - be verbose\n", 28  [v]          - be verbose
) = 28
write(2, "  [V]          - display the ver"..., 44  [V]          - display the version number
) = 44
write(2, "  @<file>      - read options fr"..., 42  @<file>      - read options from <file>
) = 42
write(2, "  --target=BFDNAME - specify the"..., 65  --target=BFDNAME - specify the target object format as BFDNAME
) = 65
write(2, " optional:\n", 11 optional:
)            = 11
write(2, "  --plugin <p> - load the specif"..., 43  --plugin <p> - load the specified plugin
) = 43
write(2, " emulation options: \n", 21 emulation options:
)  = 21
write(2, "  No emulation specific options\n", 32  No emulation specific options
) = 32
write(2, "ar: supported targets:", 22ar: supported targets:)  = 22
write(2, " elf64-x86-64", 13 elf64-x86-64)           = 13
write(2, " elf32-i386", 11 elf32-i386)             = 11
write(2, " elf32-x86-64", 13 elf32-x86-64)           = 13
write(2, " a.out-i386-linux", 17 a.out-i386-linux)       = 17
write(2, " pei-i386", 9 pei-i386)                = 9
write(2, " pei-x86-64", 11 pei-x86-64)             = 11
write(2, " elf64-l1om", 11 elf64-l1om)             = 11
write(2, " elf64-k1om", 11 elf64-k1om)             = 11
write(2, " elf64-little", 13 elf64-little)           = 13
write(2, " elf64-big", 10 elf64-big)              = 10
write(2, " elf32-little", 13 elf32-little)           = 13
write(2, " elf32-big", 10 elf32-big)              = 10
write(2, " plugin", 7 plugin)                  = 7
write(2, " srec", 5 srec)                    = 5
write(2, " symbolsrec", 11 symbolsrec)             = 11
write(2, " verilog", 8 verilog)                 = 8
write(2, " tekhex", 7 tekhex)                  = 7
write(2, " binary", 7 binary)                  = 7
write(2, " ihex", 5 ihex)                    = 5
write(2, "\n", 1
)                       = 1
exit_group(1)                           = ?
+++ exited with 1 +++

Offline

#6 2015-10-20 15:10:39

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,899
Website

Re: [SOLVED] Cannot compile packages from source - /usr/bin/ar fails

I think llvm-openmp-git and crosstool-ng are the most likely suspects, but that strace wasn't helpful after all.

You could try running makepkg on freshplayerplugin-git, wait for it to fail, then try running the ar command it was trying to run with strace.

e.g.

~/builds/freshplayerplugin-git/src/freshplayerplugin-git/resources$ strace -f /usr/bin/ar cq libimg-resources.a  CMakeFiles/img-resources.dir/img_resources.c.o

Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#7 2015-10-20 15:36:44

maciejjo
Member
Registered: 2010-09-12
Posts: 21

Re: [SOLVED] Cannot compile packages from source - /usr/bin/ar fails

Good guess! It was llvm-openmp-git. And since upstream clang now supports OpenMP by default, it is no longer needed. Thanks a lot!

Offline

Board footer

Powered by FluxBB