AnsweredAssumed Answered

For i.mx6q, ./ltib fails for pkg-config

Question asked by Subodh Harmalkar on Nov 25, 2012
Branched to a new discussion

Any idea why ./ltib fails (FSL Gnome Release Packages profile) when Pkgconfig is selected as additional packages. Here's the failed output. Config.log and build spec is attached. Build spec has a peculiar comment:

 

%Build

# don't add --build as glib will fail for a host build due to

# stupid incorrect cross compile detection

./configure --prefix=%{_prefix} --host=$CFGHOST

 

--- Start of failed output

 

checking whether to enable memory profiling... no

checking for arm-linux-gcc... (cached) gcc

checking whether we are using the GNU C compiler... (cached) yes

checking whether gcc accepts -g... (cached) yes

checking for gcc option to accept ANSI C... (cached) none needed

checking dependency style of gcc... (cached) gcc3

checking for gcc option to accept ANSI C... none needed

checking for a BSD-compatible install... /usr/bin/install -c

checking for extra flags to get ANSI library prototypes... configure: error: cannot run test program while cross compiling

See `config.log' for more details.

configure: error: /bin/bash './configure' failed for glib-1.2.8

error: Bad exit status from /home/subodh/ltib/tmp/rpm-tmp.95638 (%build)

 

 

RPM build errors:

    Bad exit status from /home/subodh/ltib/tmp/rpm-tmp.95638 (%build)

Build time for pkgconfig: 13 seconds

 

Failed building pkgconfig

 

 

f_buildrpms() returned an error, exiting

traceback:

main:572

 

 

Started: Sun Nov 25 09:53:31 2012

Ended:   Sun Nov 25 12:47:22 2012

Elapsed: 10431 seconds

 

These packages failed to build:

pkgconfig

 

Build Failed

 


Original Attachment has been moved to: config.log.zip

Original Attachment has been moved to: pkgconfig.spec.zip

Outcomes