Modify

Opened 5 years ago

Closed 5 years ago

#13049 closed defect (worksforme)

libyaml fails to build parallell

Reported by: jameshofo@… Owned by: developers
Priority: normal Milestone: Chaos Calmer 15.05
Component: packages Version: Trunk
Keywords: libyaml parallel Cc:

Description

Hello all,

I was attempting to do a build with "-j 12" and kept getting hung up on libyaml. This looks like a fairly mature package (3 years at version 0.1.3) but adding "PKG_BUILD_PARALLEL:=0" seemed to make this build fine. I tried backing off to a lower job number but the build environment doesn't seem to want to back that number down, I did doable parallel building under under global build settings appears to be ignored.

Does anyone know why I can't reduce the parallel number?

the offending command appears to be trying to move a file before its created.

make[6]: Entering directory `/home/jah/Desktop/openwrt/trunk/build_dir/target-i386_uClibc-0.9.33.2/yaml-0.1.3/src'
/bin/bash ../libtool --tag=CC --mode=compile i486-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I/home/jah/Desktop/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/usr/include -I/home/jah/Desktop/openwrt/trunk/staging_dir/target-i386_uClibc-0.9.33.2/include -I/home/jah/Desktop/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/usr/include -I/home/jah/Desktop/openwrt/trunk/staging_dir/toolchain-i386_gcc-4.6-linaro_uClibc-0.9.33.2/include -O2 -pipe -march=i486 -fno-caller-saves -fhonour-copts -Wno-error=unused-but-set-variable -fpic -MT api.lo -MD -MP -MF .deps/api.Tpo -c -o api.lo api.c
mv -f .deps/api.Tpo .deps/api.Plo

Attachments (0)

Change History (1)

comment:1 Changed 5 years ago by nbd

  • Resolution set to worksforme
  • Status changed from new to closed

It should never parallelize this package unless you enabled an option such as CONFIG_PKG_DEFAULT_PARALLEL, which mentions in the description that it is expected to break the build.
If this option is disabled and want to reopen this ticket, please attach the .config that you were building with.

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.