[Mageia-dev] Fwd: build problems with x86_64-mageia-linux-gnu-ar

Liutauras Adomaitis liutauras.adomaitis at gmail.com
Thu Oct 4 10:45:04 CEST 2012


Hi, anyone any ideas on the issue below?

Liutauras


---------- Forwarded message ----------
From: Liutauras Adomaitis <liutauras.adomaitis at gmail.com>
Date: Mon, Oct 1, 2012 at 10:29 AM
Subject: build problems with x86_64-mageia-linux-gnu-ar
To: Mageia development mailing-list <mageia-dev at mageia.org>


Hi there,

I am trying to build sflphone and getting error message saying that
command x86_64-mageia-linux-gnu-ar is not found.
This command doesn't exist, although I can see broken symlinks is
/usr/bin (see below).
So it looks like there 2 errors:
- Couldron has broken symlinks in /usr/bin.
- Even after fixing broken symlinks, build requires
x86_64-mageia-linux-gnu-ar, but there is only
x86_64-mageia-linux-gnu-gcc-ar. Why is that?

Liutauras

if test ! -d ../lib; then mkdir -p ../lib; fi
x86_64-mageia-linux-gnu-ar rv ../lib/libpj-x86_64-mageia-linux-gnu.a
output/pjlib-x86_64-mageia-linux-gnu/ioqueue_select.o
output/pjlib-x86_64-mageia-linux-gnu/file_access_unistd.o
output/pjlib-x86_64-mageia-linux-gnu/file_io_ansi.o
output/pjlib-x86_64-mageia-linux-gnu/os_core_unix.o
output/pjlib-x86_64-mageia-linux-gnu/os_error_unix.o
output/pjlib-x86_64-mageia-linux-gnu/os_time_unix.o
output/pjlib-x86_64-mageia-linux-gnu/os_timestamp_posix.o
output/pjlib-x86_64-mageia-linux-gnu/guid_uuid.o
output/pjlib-x86_64-mageia-linux-gnu/addr_resolv_sock.o
output/pjlib-x86_64-mageia-linux-gnu/log_writer_stdout.o
output/pjlib-x86_64-mageia-linux-gnu/os_timestamp_common.o
output/pjlib-x86_64-mageia-linux-gnu/pool_policy_malloc.o
output/pjlib-x86_64-mageia-linux-gnu/sock_bsd.o
output/pjlib-x86_64-mageia-linux-gnu/sock_select.o
output/pjlib-x86_64-mageia-linux-gnu/activesock.o
output/pjlib-x86_64-mageia-linux-gnu/array.o
output/pjlib-x86_64-mageia-linux-gnu/config.o
output/pjlib-x86_64-mageia-linux-gnu/ctype.o
output/pjlib-x86_64-mageia-linux-gnu/errno.o
output/pjlib-x86_64-mageia-linux-gnu/except.o
output/pjlib-x86_64-mageia-linux-gnu/fifobuf.o
output/pjlib-x86_64-mageia-linux-gnu/guid.o
output/pjlib-x86_64-mageia-linux-gnu/hash.o
output/pjlib-x86_64-mageia-linux-gnu/ip_helper_generic.o
output/pjlib-x86_64-mageia-linux-gnu/list.o
output/pjlib-x86_64-mageia-linux-gnu/lock.o
output/pjlib-x86_64-mageia-linux-gnu/log.o
output/pjlib-x86_64-mageia-linux-gnu/os_time_common.o
output/pjlib-x86_64-mageia-linux-gnu/os_info.o
output/pjlib-x86_64-mageia-linux-gnu/pool.o
output/pjlib-x86_64-mageia-linux-gnu/pool_buf.o
output/pjlib-x86_64-mageia-linux-gnu/pool_caching.o
output/pjlib-x86_64-mageia-linux-gnu/pool_dbg.o
output/pjlib-x86_64-mageia-linux-gnu/rand.o
output/pjlib-x86_64-mageia-linux-gnu/rbtree.o
output/pjlib-x86_64-mageia-linux-gnu/sock_common.o
output/pjlib-x86_64-mageia-linux-gnu/sock_qos_common.o
output/pjlib-x86_64-mageia-linux-gnu/sock_qos_bsd.o
output/pjlib-x86_64-mageia-linux-gnu/ssl_sock_common.o
output/pjlib-x86_64-mageia-linux-gnu/ssl_sock_ossl.o
output/pjlib-x86_64-mageia-linux-gnu/ssl_sock_dump.o
output/pjlib-x86_64-mageia-linux-gnu/string.o
output/pjlib-x86_64-mageia-linux-gnu/timer.o
output/pjlib-x86_64-mageia-linux-gnu/types.o
make[2]: x86_64-mageia-linux-gnu-ar: Command not found
make[2]: *** [../lib/libpj-x86_64-mageia-linux-gnu.a] Error 127
make[2]: Leaving directory
`/home/liutauras/rpmbuild/BUILD/sflphone-1.2.0/daemon/libs/pjproject/pjlib/build'
make[1]: *** [pjlib] Error 2
make[1]: Leaving directory
`/home/liutauras/rpmbuild/BUILD/sflphone-1.2.0/daemon/libs/pjproject/pjlib/build'
make: *** [all] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.qUDU3x (%build)


RPM build errors:
    Bad exit status from /var/tmp/rpm-tmp.qUDU3x (%build)

[liutauras at lenovo SPECS]$ ll /usr/bin/x8*
lrwxrwxrwx 1 root root  7 Sep 17 16:48 /usr/bin/x86_64 -> setarch*
lrwxrwxrwx 1 root root  9 Sep 24 08:04
/usr/bin/x86_64-mageia-linux-gnu-c++ -> g++-4.7.2*
lrwxrwxrwx 1 root root  9 Sep 24 08:04
/usr/bin/x86_64-mageia-linux-gnu-g++ -> g++-4.7.2*
lrwxrwxrwx 1 root root  9 Sep 24 08:04
/usr/bin/x86_64-mageia-linux-gnu-gcc -> gcc-4.7.2*
lrwxrwxrwx 1 root root  9 Sep 24 08:04
/usr/bin/x86_64-mageia-linux-gnu-gcc-4.7.2 -> gcc-4.7.2*
lrwxrwxrwx 1 root root 12 Sep 24 08:04
/usr/bin/x86_64-mageia-linux-gnu-gcc-ar -> gcc-ar-4.7.2
lrwxrwxrwx 1 root root 12 Sep 24 08:04
/usr/bin/x86_64-mageia-linux-gnu-gcc-nm -> gcc-nm-4.7.2
lrwxrwxrwx 1 root root 16 Sep 24 08:04
/usr/bin/x86_64-mageia-linux-gnu-gcc-ranlib -> gcc-ranlib-4.7.2

[liutauras at lenovo SPECS]$ ll /usr/bin/gcc*
lrwxrwxrwx 1 root root     21 Sep 18 17:38 /usr/bin/gcc ->
/etc/alternatives/gcc*
-rwxr-xr-x 1 root root 590824 Sep 23 01:47 /usr/bin/gcc-4.7.2*
-rwxr-xr-x 1 root root     23 Sep 23 01:47 /usr/bin/gcc4.7-version*
-rwxr-xr-x 1 root root  28704 Sep 23 01:47 /usr/bin/gcc-ar*
-rwxr-xr-x 1 root root  28696 Sep 23 01:47 /usr/bin/gcc-nm*
-rwxr-xr-x 1 root root  28704 Sep 23 01:47 /usr/bin/gcc-ranlib*


More information about the Mageia-dev mailing list