Modify

Opened 4 years ago

Last modified 3 years ago

#14749 new defect

unable to compile AA trunk: tools/pkg-config install fails

Reported by: Oleg Titov <oleg.titov@…> Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: base system Version: Trunk
Keywords: Cc:

Description

I am unable to compile current AA trunk due to

make[3] -C tools/pkg-config install
make -r world: build failed. Please re-run make with V=s to see what's going on
/home/titov/aa/openwrt/include/toplevel.mk:151: recipe for target 'world' failed
make: * [world] Error 1

Running make V=s produces:

make install-exec-hook
make[7]: Entering directory '/home/titov/aa/openwrt/build_dir/host/pkg-config-0.28'
cd /home/titov/aa/openwrt/staging_dir/host/bin && ln pkg-config x86_64-unknown-linux-gnu-pkg-config
ln: failed to create hard link 'x86_64-unknown-linux-gnu-pkg-config': File exists
Makefile:1097: recipe for target 'install-exec-hook' failed
make[7]: * [install-exec-hook] Error 1
make[7]: Leaving directory '/home/titov/aa/openwrt/build_dir/host/pkg-config-0.28'

Attachments (0)

Change History (4)

comment:1 Changed 4 years ago by reddog@…

Maybe this is because any other parallel build failed and the installation of pkg-config was aborted. It's not a fix, but unlinking x86_64-pc-linux-gnu-pkg-config can help for the moment.

comment:2 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

comment:3 Changed 3 years ago by hocine.djm@…

problem to solve

compilation of barier breaker with latest 64 bit debian

install -m0755 /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-install/usr/bin/gdbserver /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/usr/bin/
find /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="mips-openwrt-linux-uclibc-" ; NM="mips-openwrt-linux-uclibc-nm" STRIP="/home/hocine/commotion-router/openwrt/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/hocine/commotion-router/openwrt/scripts/strip-kmod.sh" /home/hocine/commotion-router/openwrt/scripts/rstrip.sh /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver
rstrip.sh: /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/usr/bin/gdbserver:executable
( echo "Package: gdbserver"; echo "Version: 6.8a-4"; DEPENDS=; for depend in libc; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; done; echo "Depends: $DEPENDS"; echo "Provides: "; echo "Source: package/gdb"; echo "Section: utils"; echo "Status: unknown ok not-installed"; echo "Essential: no"; echo "Priority: optional"; echo "Maintainer: OpenWrt Developers Team <openwrt-devel@…>"; echo "Architecture: ar71xx"; echo "Installed-Size: 0"; echo -n "Description: "; . /home/hocine/commotion-router/openwrt/include/shell.sh; getvar V_Package_gdbserver_description | sed -e 's,:space:?*, ,g'; ) > /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/CONTROL/control
chmod 644 /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/CONTROL/control
. /home/hocine/commotion-router/openwrt/include/shell.sh; (cd /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/CONTROL; )
ipkg-build -c -o 0 -g 0 /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver /home/hocine/commotion-router/openwrt/bin/ar71xx/packages
Packaged contents of /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver into /home/hocine/commotion-router/openwrt/bin/ar71xx/packages/gdbserver_6.8a-4_ar71xx.ipk
rm -rf /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver
mkdir -p /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/stamp /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver
install -d -m0755 /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver/usr/bin
install -m0755 /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-install/usr/bin/gdbserver /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver/usr/bin/
SHELL= /home/hocine/commotion-router/openwrt/staging_dir/host/bin/flock /home/hocine/commotion-router/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver/. /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/'
rm -rf /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver
touch /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/stamp/.gdbserver_installed
make[3]: Leaving directory '/home/hocine/commotion-router/openwrt/package/gdb'
make[2]: Leaving directory '/home/hocine/commotion-router/openwrt'
package/Makefile:101: recipe for target '/home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: * /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory '/home/hocine/commotion-router/openwrt'
/home/hocine/commotion-router/openwrt/include/toplevel.mk:151: recipe for target 'world' failed
make:
* [world] Error 2
hocine@ubuntu:~/commotion-router/openwrt$

comment:4 Changed 3 years ago by hocine.djm@…

problem to solve

compilation of barier breaker with latest 64 bit debian

install -m0755 /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-install/usr/bin/gdbserver /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/usr/bin/
find /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver -name 'CVS' -o -name '.svn' -o -name '.#*' -o -name '*~'| xargs -r rm -rf
export CROSS="mips-openwrt-linux-uclibc-" ; NM="mips-openwrt-linux-uclibc-nm" STRIP="/home/hocine/commotion-router/openwrt/staging_dir/host/bin/sstrip" STRIP_KMOD="/home/hocine/commotion-router/openwrt/scripts/strip-kmod.sh" /home/hocine/commotion-router/openwrt/scripts/rstrip.sh /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver
rstrip.sh: /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/usr/bin/gdbserver:executable
( echo "Package: gdbserver"; echo "Version: 6.8a-4"; DEPENDS=; for depend in libc; do DEPENDS=${DEPENDS:+$DEPENDS, }${depend##+}; done; echo "Depends: $DEPENDS"; echo "Provides: "; echo "Source: package/gdb"; echo "Section: utils"; echo "Status: unknown ok not-installed"; echo "Essential: no"; echo "Priority: optional"; echo "Maintainer: OpenWrt Developers Team <openwrt-devel@…>"; echo "Architecture: ar71xx"; echo "Installed-Size: 0"; echo -n "Description: "; . /home/hocine/commotion-router/openwrt/include/shell.sh; getvar V_Package_gdbserver_description | sed -e 's,:space:?*, ,g'; ) > /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/CONTROL/control
chmod 644 /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/CONTROL/control
. /home/hocine/commotion-router/openwrt/include/shell.sh; (cd /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver/CONTROL; )
ipkg-build -c -o 0 -g 0 /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver /home/hocine/commotion-router/openwrt/bin/ar71xx/packages
Packaged contents of /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-ar71xx/gdbserver into /home/hocine/commotion-router/openwrt/bin/ar71xx/packages/gdbserver_6.8a-4_ar71xx.ipk
rm -rf /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver
mkdir -p /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/stamp /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver
install -d -m0755 /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver/usr/bin
install -m0755 /home/hocine/commotion-router/openwrt/build_dir/target-mips_r2_uClibc-0.9.33.2/gdb-6.8/ipkg-install/usr/bin/gdbserver /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver/usr/bin/
SHELL= /home/hocine/commotion-router/openwrt/staging_dir/host/bin/flock /home/hocine/commotion-router/openwrt/tmp/.root-copy.flock -c 'cp -fpR /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver/. /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/'
rm -rf /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/tmp-gdbserver
touch /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/root-ar71xx/stamp/.gdbserver_installed
make[3]: Leaving directory '/home/hocine/commotion-router/openwrt/package/gdb'
make[2]: Leaving directory '/home/hocine/commotion-router/openwrt'
package/Makefile:101: recipe for target '/home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile' failed
make[1]: * /home/hocine/commotion-router/openwrt/staging_dir/target-mips_r2_uClibc-0.9.33.2/stamp/.package_compile Error 2
make[1]: Leaving directory '/home/hocine/commotion-router/openwrt'
/home/hocine/commotion-router/openwrt/include/toplevel.mk:151: recipe for target 'world' failed
make:
* [world] Error 2
hocine@ubuntu:~/commotion-router/openwrt$

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.