[oe] xfce4-session: task configure fails with `checking for iceauth... no`

Khem Raj raj.khem at gmail.com
Thu Mar 17 22:56:04 UTC 2011


On Thu, Mar 17, 2011 at 3:46 PM, Paul Menzel
<paulepanter at users.sourceforge.net> wrote:
> Am Donnerstag, den 17.03.2011, 13:28 +0100 schrieb Paul Menzel:
>> Am Dienstag, den 15.03.2011, 09:24 -0700 schrieb Khem Raj:
>> > On Tue, Mar 15, 2011 at 9:06 AM, Paul Menzel wrote:
>>
>> > > Am Dienstag, den 08.03.2011, 14:34 +0100 schrieb Paul Menzel:
>> > >
>> > >> task configure of `xfce4-session_4.6.2.bb` fails with the following
>> > >> error message using any distribution (`minimal`, `angstrom-2008.1`).
>> > >>
>> > >>         checking if the linker (arm-oe-linux-gnueabi-ld --sysroot=/oe/build-minimal-eglibc/minimal-dev/sysroots/armv5te-oe-linux-gnueabi) is GNU ld... (cached) yes
>> > >>         checking whether to build with profiling support... no
>> > >>         checking whether to compile with coverage profiling instrumentation... no
>> > >>         checking whether to disable assertions... no
>> > >>         checking whether to build final version... yes
>> > >>         checking whether arm-oe-linux-gnueabi-ld --sysroot=/oe/build-minimal-eglibc/minimal-dev/sysroots/armv5te-oe-linux-gnueabi accepts -O1... yes
>> > >>         checking for iceauth... no
>> > >>         configure: error: iceauth missing, please check your X11 installation
>> > >>
>> > >> In my build directory I get the following hits for »*iceauth*«.
>> > >>
>> > >>         $ find . -iname *iceauth*
>> > >>         ./minimal-dev/deploy/sources/MIT-X/iceauth
>> > >>         ./minimal-dev/deploy/sources/MIT-X/iceauth/iceauth-1.0.4.tar.bz2
>> > >>         ./minimal-dev/deploy/ipk/armv5te/iceauth-dbg_1.0.4-r5.0_armv5te.ipk
>> > >>         ./minimal-dev/deploy/ipk/armv5te/iceauth-dev_1.0.4-r5.0_armv5te.ipk
>> > >>         ./minimal-dev/deploy/ipk/armv5te/iceauth-doc_1.0.4-r5.0_armv5te.ipk
>> > >>         ./minimal-dev/deploy/ipk/armv5te/iceauth_1.0.4-r5.0_armv5te.ipk
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_patch
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_package_stage
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_configure
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_unpack
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_setscene
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_compile
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_rm_work
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_package_stage_all
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_fetch
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_package_write
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_qa_configure
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_build
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_install
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_qa_staging
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_package
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_distribute_sources
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_package_write_ipk
>> > >>         ./minimal-dev/stamps/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0.do_populate_sysroot
>> > >>         ./minimal-dev/pstage/minimaleglibc/staging-iceauth-armv5te-oe-linux-gnueabi_1.0.4-r5.0_armv5te-linux-gnueabi.ipk
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/iceauth
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth.packaged
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth-doc
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth-dbg.packaged
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth-dev
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth-dbg
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth-doc.packaged
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth-locale
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth-dev.packaged
>> > >>         ./minimal-dev/pkgdata/armv5te-oe-linux-gnueabi/runtime/iceauth-static
>> > >>         ./minimal-dev/sysroots/armv5te-oe-linux-gnueabi/usr/share/man/man1/iceauth.1
>> > >>         ./minimal-dev/work/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0
>> > >>         ./minimal-dev/usr/lib/opkg/info/staging-iceauth-armv5te-oe-linux-gnueabi.control
>> > >>         ./minimal-dev/usr/lib/opkg/info/staging-iceauth-armv5te-oe-linux-gnueabi.list
>> > >>
>> > >> So nothing is in the `sysroot`. Building without `INHERIT += "rm_work"`
>> > >> I find the following.
>> > >>
>> > >>         $ ls -l minimal-dev/work/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0/package/usr/bin/iceauth
>> > >>         -rwxr-xr-x 1 x x 16264 Mar  7 11:55 minimal-dev/work/armv5te-oe-linux-gnueabi/iceauth-1_1.0.4-r5.0/package/usr/bin/iceauth
>> > >>
>> > >> Does anyone have an idea how this can be solved. `git grep iceauth`
>> > >> indicates that only `xfce4-session_4.*` depends on `iceauth`.
>> > >
>> > > Any ideas?
>> >
>> > look at the config.log of this package
>>
>>         $ more config.log
>>         […]
>>         configure:15938: checking for iceauth
>>         configure:15971: result: no
>>         configure:15983: error: iceauth missing, please check your X11 installation
>>         […]
>>
>> > and see what is it looking for in iceauth and make sure that its staged
>>
>> Well I am not sure.
>>
>>         $ more configure.in
>>         […]
>>         dnl Check for iceauth
>>         AC_PATH_PROG([ICEAUTH], [iceauth])
>>         if test x"$ICEAUTH" != x""; then
>>           AC_DEFINE_UNQUOTED([ICEAUTH_CMD], ["$ICEAUTH"], [path to iceauth])
>>         else
>>           AC_MSG_ERROR([iceauth missing, please check your X11 installation])
>>         fi
>>         […]
>>
>>         $ less configure
>>           15936 # Extract the first word of "iceauth", so it can be a program name with args.
>>           15937 set dummy iceauth; ac_word=$2
>>           15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
>>           15939 $as_echo_n "checking for $ac_word... " >&6; }
>>           15940 if test "${ac_cv_path_ICEAUTH+set}" = set; then :
>>           15941   $as_echo_n "(cached) " >&6
>>           15942 else
>>           15943   case $ICEAUTH in
>>           15944   [\\/]* | ?:[\\/]*)
>>           15945   ac_cv_path_ICEAUTH="$ICEAUTH" # Let the user override the test with a path.
>>           15946   ;;
>>           15947   *)
>>           15948   as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
>>           15949 for as_dir in $PATH
>>           15950 do
>>           15951   IFS=$as_save_IFS
>>           15952   test -z "$as_dir" && as_dir=.
>>           15953     for ac_exec_ext in '' $ac_executable_extensions; do
>>           15954   if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
>>           15955     ac_cv_path_ICEAUTH="$as_dir/$ac_word$ac_exec_ext"
>>           15956     $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
>>           15957     break 2
>>           15958   fi
>>           15959 done
>>           15960   done
>>           15961 IFS=$as_save_IFS
>>           15962
>>           15963   ;;
>>           15964 esac
>>           15965 fi
>>           15966 ICEAUTH=$ac_cv_path_ICEAUTH
>>           15967 if test -n "$ICEAUTH"; then
>>           15968   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICEAUTH" >&5
>>           15969 $as_echo "$ICEAUTH" >&6; }
>>           15970 else
>>           15971   { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
>>           15972 $as_echo "no" >&6; }
>>           15973 fi
>>           15974
>>           15975
>>           15976 if test x"$ICEAUTH" != x""; then
>>           15977
>>           15978 cat >>confdefs.h <<_ACEOF
>>           15979 #define ICEAUTH_CMD "$ICEAUTH"
>>           15980 _ACEOF
>>           15981
>>           15982 else
>>           15983   as_fn_error "iceauth missing, please check your X11 installation" "$LINENO" 5
>>           15984 fi
>>
>> I guess I need to somehow package the iceauth binary.
>
> I am still confused. As written in the beginning the package `iceauth`
> contains the binary.
>
>        $ dpkg -c /oe/build-minimal-uclibc/minimal-uclibc-dev/deploy/ipk/armv7a/iceauth_1.0.4-r5.0_armv7a.ipk
>        drwxr-xr-x root/root         0 2011-03-17 22:38 ./
>        drwxr-xr-x root/root         0 2011-03-17 22:38 ./usr/
>        drwxr-xr-x root/root         0 2011-03-17 22:38 ./usr/bin/
>        -rwxr-xr-x root/root     18944 2011-03-17 22:38 ./usr/bin/iceauth
>
> `xfce4-session_4.6.2.bb` depends on `iceauth` (`DEPENDS = "… iceauth"`),
> so I am confused why it is not staged. Could someone enlighten me
> please?
>

It must be trying to execute this iceauth and its for arm architecture
so it wont execute on build host
most probably thats the problem.

You can to convert that test by caching the result in site files so
this test is not executed and cached value
is used instead

>
> Thanks,
>
> Paul
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
>




More information about the Openembedded-devel mailing list