[blfs-dev] v4l-utils make install fails

2016-01-11 Thread willie
Installing v4l-utils using make install fails when using a parallel build. 
The build itself using "make" works fine.  I can reproduce the make install 
failure, the error is as follows:

/usr/bin/ld: cannot find -lv4l1
collect2: error: ld returned 1 exit status

  I think the install command should be changed, from
make install
to
MAKEFLAGS="-j1" make install

This is also what Arch Linux uses in their build scripts and fixes the error.

--Willie
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Re: [blfs-dev] v4l-utils make install fails

2016-01-11 Thread Fernando de Oliveira
Em 11-01-2016 05:58, wil...@tuta.io escreveu:
> Installing v4l-utils using make install fails when using a parallel build. 
> The build itself using "make" works fine.  I can reproduce the make install 
> failure, the error is as follows:
> 
> /usr/bin/ld: cannot find -lv4l1
> collect2: error: ld returned 1 exit status
> 
>   I think the install command should be changed, from
> make install
> to
> MAKEFLAGS="-j1" make install
> 
> This is also what Arch Linux uses in their build scripts and fixes the error.

Sorry, cannot confirm this issue. Tried with "make -j8 install" and
MAKEFLAGS="-j8" make install, still no problem.

Used:

sed -e 's/targets):/& ; $(info $$MAKEFLAGS is [${MAKEFLAGS}])/' \
-i.orig Makefile.in &&

before configure, with results:

{{{
# xzgrep MAKEFLAGS /logs/v4l-utils-1.8.1-2016.01.11-11h51m30s.log.xz
$MAKEFLAGS is [w -j --jobserver-fds=3,4]
$MAKEFLAGS is []
# xzgrep MAKEFLAGS
/logs/v4l-utils-1.8.1-simulation-2016.01.11-11h49m29s.log.xz
$MAKEFLAGS is [w -j --jobserver-fds=3,4]
$MAKEFLAGS is [ --
DESTDIR=/tmp/porg-build-2016.01.11-11h49m29s/DEST-v4l-utils-1.8.1]
}}}

Therefore, even if you have MAKEFLAGS set, I cannot understand what is
happening.

-- 
[]s,
Fernando, aka Sísifo
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page