Skip to contentSkip to conversation

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

PATCH In review Paul Menzel 4 participants 20 messages Mar 8, 2011 – Mar 23, 2011

lore
Share & tools
lore
#0 lore raw

Dear OE folks,

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.

Thanks,

Paul

#1 lore raw

Dear OE folks,

Am Dienstag, den 08.03.2011, 14:34 +0100 schrieb Paul Menzel:

Quoted 56 lines

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 
Quoted 8 lines

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?

Thanks,

Paul

#2 lore raw
Quoted 64 lines · Paul Menzel

Dear OE folks,

Am Dienstag, den 08.03.2011, 14:34 +0100 schrieb Paul Menzel:

Quoted 59 lines

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.

Quoted 8 lines
Quoted 5 lines
        $ 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 and see what is it looking for in iceauth and make sure that its staged

Quoted 11 lines

Thanks,

Paul

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#3 lore raw

Am Dienstag, den 15.03.2011, 09:24 -0700 schrieb Khem Raj:

Quoted 66 lines · Paul Menzel
Quoted 65 lines

Am Dienstag, den 08.03.2011, 14:34 +0100 schrieb Paul Menzel:

Quoted 62 lines

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
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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
        […]
Quoted 1 line

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.

Thanks,

Paul

#4 lore raw

Am Donnerstag, den 17.03.2011, 13:28 +0100 schrieb Paul Menzel:

Quoted 147 lines

Am Dienstag, den 15.03.2011, 09:24 -0700 schrieb Khem Raj:

Quoted 66 lines · Paul Menzel
Quoted 65 lines

Am Dienstag, den 08.03.2011, 14:34 +0100 schrieb Paul Menzel:

Quoted 62 lines

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
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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
        […]
Quoted 1 line

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
Quoted 1 line

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?

Thanks,

Paul

#5 lore raw
Quoted 159 lines · Paul Menzel

Am Donnerstag, den 17.03.2011, 13:28 +0100 schrieb Paul Menzel:

Quoted 147 lines

Am Dienstag, den 15.03.2011, 09:24 -0700 schrieb Khem Raj:

Quoted 66 lines · Paul Menzel
Quoted 65 lines

Am Dienstag, den 08.03.2011, 14:34 +0100 schrieb Paul Menzel:

Quoted 62 lines

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
Quoted 6 lines
Quoted 4 lines
Quoted 2 lines

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
        […]
Quoted 1 line

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
Quoted 1 line

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
Quoted 4 lines

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

Quoted 11 lines

Thanks,

Paul

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#6 lore raw

PATCH 1/1 xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Date: Fri, 18 Mar 2011 12:03:43 +0100

Xfce Session build depends on the executable iceauth, which fails when cross compiling for a different architecture.

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

As suggested by Khem Raj [1] pass the value – /usr/bin/iceauth is taken – to the configure script so that the test is avoided.

Therefore iceauth is removed from DEPENDS and the PR variable is incremented.

This issue has been reported upstream as ticket #7420 [2].

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-March/031115.html
[2] http://bugzilla.xfce.org/show_bug.cgi?id=7420

---
 recipes/xfce-base/xfce4-session_4.6.1.bb |    6 ++++--
 recipes/xfce-base/xfce4-session_4.6.2.bb |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
recipes/xfce-base/xfce4-session_4.6.1.bb +4 -2
index ba66ac1..5029b21 100644
@@ -1,13 +1,15 @@
 DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus xfce-utils"
 SECTION = "x11"
 
-PR = "r4"
+PR = "r5"
 
 inherit xfce46
 
 RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"
+
 FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
 FILES_${PN} += "${datadir}/xfce4/tips/*"
 FILES_${PN} += "${datadir}/themes/Default/balou/*"
recipes/xfce-base/xfce4-session_4.6.2.bb +4 -2
index d7f768a..c937775 100644
@@ -1,13 +1,15 @@
 DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "libwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "libwnck libxfcegui4 libxfce4util dbus xfce-utils"
 SECTION = "x11"
 
-PR = "r0"
+PR = "r1"
 
 inherit xfce46
 
 RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"
+
 FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
 FILES_${PN} += "${datadir}/xfce4/tips/*"
 FILES_${PN} += "${datadir}/themes/Default/balou/*"
Signature · 1 line
1.7.4.1
#7 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Quoted 36 lines · Paul Menzel

Date: Fri, 18 Mar 2011 12:03:43 +0100

Xfce Session build depends on the executable iceauth, which fails when cross compiling for a different architecture.

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

As suggested by Khem Raj [1] pass the value – /usr/bin/iceauth is taken – to the configure script so that the test is avoided.

Therefore iceauth is removed from DEPENDS and the PR variable is incremented.

This issue has been reported upstream as ticket #7420 [2].

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-March/031115.html
[2] http://bugzilla.xfce.org/show_bug.cgi?id=7420

---
 recipes/xfce-base/xfce4-session_4.6.1.bb |    6 ++++--
 recipes/xfce-base/xfce4-session_4.6.2.bb |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
recipes/xfce-base/xfce4-session_4.6.1.bb +1 -1
index ba66ac1..5029b21 100644
@@ -1,13 +1,15 @@
 DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus xfce-utils"

recipes/xfce-base/xfce4-session_4.6.1.bb line 11

Quoted 10 lines
recipes/xfce-base/xfce4-session_4.6.1.bb +2 -1
 SECTION = "x11"
 
-PR = "r4"
+PR = "r5"
 
 inherit xfce46
 
 RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"

Would it make sense to have iceauth-native instead ?

Quoted 35 lines
recipes/xfce-base/xfce4-session_4.6.1.bb +1 -0
+
 FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
 FILES_${PN} += "${datadir}/xfce4/tips/*"
 FILES_${PN} += "${datadir}/themes/Default/balou/*"
recipes/xfce-base/xfce4-session_4.6.2.bb +4 -2
index d7f768a..c937775 100644
@@ -1,13 +1,15 @@
 DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "libwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "libwnck libxfcegui4 libxfce4util dbus xfce-utils"
 SECTION = "x11"
 
-PR = "r0"
+PR = "r1"
 
 inherit xfce46
 
 RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"
+
 FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
 FILES_${PN} += "${datadir}/xfce4/tips/*"
 FILES_${PN} += "${datadir}/themes/Default/balou/*"
Signature · 8 lines
1.7.4.1



_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
Signature · 1 line
-Khem
#8 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Am Samstag, den 19.03.2011, 11:33 -0700 schrieb Khem Raj:

Quoted 42 lines · Paul Menzel
Quoted 41 lines

Date: Fri, 18 Mar 2011 12:03:43 +0100

Xfce Session build depends on the executable iceauth, which fails when cross compiling for a different architecture.

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

As suggested by Khem Raj [1] pass the value – /usr/bin/iceauth is taken – to the configure script so that the test is avoided.

Therefore iceauth is removed from DEPENDS and the PR variable is incremented.

This issue has been reported upstream as ticket #7420 [2].

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-March/031115.html
[2] http://bugzilla.xfce.org/show_bug.cgi?id=7420

---
 recipes/xfce-base/xfce4-session_4.6.1.bb |    6 ++++--
 recipes/xfce-base/xfce4-session_4.6.2.bb |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)
recipes/xfce-base/xfce4-session_4.6.1.bb +2 -2
index ba66ac1..5029b21 100644
@@ -1,13 +1,15 @@
 DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus xfce-utils"
 SECTION = "x11"
 
-PR = "r4"
+PR = "r5"
 
Quoted 7 lines

recipes/xfce-base/xfce4-session_4.6.1.bb line 11

Quoted 5 lines
recipes/xfce-base/xfce4-session_4.6.1.bb +1 -0
 inherit xfce46
 
 RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"

Would it make sense to have iceauth-native instead ?

It never really executes iceauth during compile time but just during configure to determine the runtime path. So iceauth-native is not needed and would be even result in the wrong path, I think.

Quoted 27 lines
Quoted 27 lines
recipes/xfce-base/xfce4-session_4.6.1.bb +0 -0
 FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
 FILES_${PN} += "${datadir}/xfce4/tips/*"
 FILES_${PN} += "${datadir}/themes/Default/balou/*"
recipes/xfce-base/xfce4-session_4.6.2.bb +4 -2
index d7f768a..c937775 100644
@@ -1,13 +1,15 @@
 DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "libwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "libwnck libxfcegui4 libxfce4util dbus xfce-utils"
 SECTION = "x11"
 
-PR = "r0"
+PR = "r1"
 
 inherit xfce46
 
 RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"
+
 FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
 FILES_${PN} += "${datadir}/xfce4/tips/*"
 FILES_${PN} += "${datadir}/themes/Default/balou/*"
Signature · 1 line
1.7.4.1
#9 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Quoted 47 lines · Paul Menzel

Am Samstag, den 19.03.2011, 11:33 -0700 schrieb Khem Raj:

Quoted 46 lines · Paul Menzel
Quoted 45 lines

Date: Fri, 18 Mar 2011 12:03:43 +0100

Xfce Session build depends on the executable iceauth, which fails when cross compiling for a different architecture.

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

As suggested by Khem Raj [1] pass the value – /usr/bin/iceauth is taken – to the configure script so that the test is avoided.

Therefore iceauth is removed from DEPENDS and the PR variable is incremented.

This issue has been reported upstream as ticket #7420 [2].

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-March/031115.html
[2] http://bugzilla.xfce.org/show_bug.cgi?id=7420

---
  recipes/xfce-base/xfce4-session_4.6.1.bb |    6 ++++--
  recipes/xfce-base/xfce4-session_4.6.2.bb |    6 ++++--
  2 files changed, 8 insertions(+), 4 deletions(-)
recipes/xfce-base/xfce4-session_4.6.1.bb +2 -2
index ba66ac1..5029b21 100644
@@ -1,13 +1,15 @@
  DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus xfce-utils"
  SECTION = "x11"
 
-PR = "r4"
+PR = "r5"
 
  inherit xfce46
 
  RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
Quoted 7 lines
Quoted 3 lines

recipes/xfce-base/xfce4-session_4.6.1.bb line 11

Quoted 1 line
recipes/xfce-base/xfce4-session_4.6.1.bb +1 -0
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"

Would it make sense to have iceauth-native instead ?

It never really executes iceauth during compile time but just during configure to determine the runtime path. So iceauth-native is not needed and would be even result in the wrong path, I think.

weather it executes is during configure or during compile how does it matter ? in the end it needs iceauth and it will mean that you will ask folks to have iceauth on their build host which is what I am asking to avoid. Either cache the variable or use iceauth-native so this dep is removed from build host packages.

Quoted 34 lines
Quoted 34 lines
Quoted 34 lines
recipes/xfce-base/xfce4-session_4.6.1.bb +0 -0
  FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
  FILES_${PN} += "${datadir}/xfce4/tips/*"
  FILES_${PN} += "${datadir}/themes/Default/balou/*"
recipes/xfce-base/xfce4-session_4.6.2.bb +4 -3
index d7f768a..c937775 100644
@@ -1,13 +1,15 @@
  DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "libwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "libwnck libxfcegui4 libxfce4util dbus xfce-utils"
  SECTION = "x11"
 
-PR = "r0"
+PR = "r1"
 
  inherit xfce46
 
  RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"
+
  FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
  FILES_${PN} += "${datadir}/xfce4/tips/*"
  FILES_${PN} += "${datadir}/themes/Default/balou/*"
--

1.7.4.1

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

#10 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Am Samstag, den 19.03.2011, 21:32 -0700 schrieb Khem Raj:

Quoted 52 lines · Paul Menzel
Quoted 51 lines

Am Samstag, den 19.03.2011, 11:33 -0700 schrieb Khem Raj:

Quoted 49 lines · Paul Menzel
Quoted 36 lines

Date: Fri, 18 Mar 2011 12:03:43 +0100

Xfce Session build depends on the executable iceauth, which fails when cross compiling for a different architecture.

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

As suggested by Khem Raj [1] pass the value – /usr/bin/iceauth is taken – to the configure script so that the test is avoided.

Therefore iceauth is removed from DEPENDS and the PR variable is incremented.

This issue has been reported upstream as ticket #7420 [2].

[1] http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-March/031115.html
[2] http://bugzilla.xfce.org/show_bug.cgi?id=7420

---
  recipes/xfce-base/xfce4-session_4.6.1.bb |    6 ++++--
  recipes/xfce-base/xfce4-session_4.6.2.bb |    6 ++++--
  2 files changed, 8 insertions(+), 4 deletions(-)
recipes/xfce-base/xfce4-session_4.6.1.bb +1 -1
index ba66ac1..5029b21 100644
@@ -1,13 +1,15 @@
  DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "lbwnck libxfcegui4 libxfce4util dbus xfce-utils"

recipes/xfce-base/xfce4-session_4.6.1.bb line 11

Quoted 10 lines
recipes/xfce-base/xfce4-session_4.6.1.bb +2 -1
  SECTION = "x11"
 
-PR = "r4"
+PR = "r5"
 
  inherit xfce46
 
  RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"

Would it make sense to have iceauth-native instead ?

Quoted 6 lines
Quoted 3 lines

It never really executes iceauth during compile time but just during configure to determine the runtime path. So iceauth-native is not needed and would be even result in the wrong path, I think.

weather it executes is during configure or during compile how does it matter ?

That it is not a build time dependency and therefore only needed during runtime. I thought the pathes of programs during compile time do not matter since the build host and the host where it gets installed differ when cross compiling.

Quoted 2 lines

in the end it needs iceauth and it will mean that you will ask folks to have iceauth on their build host

No, they implemented it this way but it is wrong in my opinion.

Quoted 1 line

which is what I am asking to avoid.

I tried to do that.

Quoted 1 line

Either cache the variable

Is not my patch doing that?

Quoted 29 lines

or use iceauth-native so this dep is removed from build host packages.

Quoted 27 lines
Quoted 27 lines
Quoted 27 lines
recipes/xfce-base/xfce4-session_4.6.1.bb +0 -0
  FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
  FILES_${PN} += "${datadir}/xfce4/tips/*"
  FILES_${PN} += "${datadir}/themes/Default/balou/*"
recipes/xfce-base/xfce4-session_4.6.2.bb +4 -3
index d7f768a..c937775 100644
@@ -1,13 +1,15 @@
  DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment"
-DEPENDS = "libwnck libxfcegui4 libxfce4util dbus iceauth xfce-utils"
+DEPENDS = "libwnck libxfcegui4 libxfce4util dbus xfce-utils"
  SECTION = "x11"
 
-PR = "r0"
+PR = "r1"
 
  inherit xfce46
 
  RDEPENDS_${PN} = "iceauth xfce-utils xinit dbus-x11"
 
+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"
+
  FILES_${PN} += "${libdir}/xfce4/splash/engines/*.so"
  FILES_${PN} += "${datadir}/xfce4/tips/*"
  FILES_${PN} += "${datadir}/themes/Default/balou/*"
--

1.7.4.1

#11 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Quoted 5 lines

That it is not a build time dependency and therefore only needed during runtime. I thought the pathes of programs during compile time do not matter since the build host and the host where it gets installed differ when cross compiling.

OK I see its a runtime dependency( not compile time/configure time) then its ok but I think we need to have iceauth in RDEPENDS too I think.

#12 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Am Sonntag, den 20.03.2011, 11:01 -0700 schrieb Khem Raj:

Quoted 7 lines
Quoted 4 lines

That it is not a build time dependency and therefore only needed during runtime. I thought the pathes of programs during compile time do not matter since the build host and the host where it gets installed differ when cross compiling.

OK I see its a runtime dependency( not compile time/configure time) then its ok but I think we need to have iceauth in RDEPENDS too I think.

Yes, iceauth is already included into RDEPENDS and I left it there.

Thanks,

Paul

Acked-by on v1 1/1
#13 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

In reply to Paul Menzel

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 3 lines · Paul Menzel

Date: Fri, 18 Mar 2011 12:03:43 +0100

Xfce Session build depends on the executable iceauth, which fails when cross compiling for a different architecture.

[..]

Quoted 1 line

--- a/recipes/xfce-base/xfce4-session_4.6.1.bb

[..]

Quoted 2 lines

+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"

Minor nit: ${bindir}/iceauth

If that's fixed:

regards,

Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNhfsfMkyGM64RGpERAhutAKC9N26qpImGg+Fs8T4EHIZqDe0TnQCcCZgw SkK1VWwgUwtM2oGG28zZPF0=
=/nQQ
-----END PGP SIGNATURE-----

#14 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Quoted 16 lines · On Sunday 20 March 2011 14:03:27 Koen Kooi wrote:
Quoted 4 lines · Paul Menzel

Date: Fri, 18 Mar 2011 12:03:43 +0100

Xfce Session build depends on the executable iceauth, which fails when cross compiling for a different architecture.

[..]

Quoted 1 line

--- a/recipes/xfce-base/xfce4-session_4.6.1.bb

[..]

Quoted 1 line

+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"

Minor nit: ${bindir}/iceauth

Quoted 7 lines

If that's fixed:

regards,

Koen

During preparing xfce 4.8 recipes I stumbled over 'iceauth' too:

It is missing on the target image although 'xfce4-session' has it in DEPENDS & RDEPENDS_${PN} (this patch does not change missing 'iceauth' in image - so I would NAK if I could)

Anyway: In 'xfce4-session' / config.log I found:

| configure:15972: checking for iceauth
| configure:15990: found */usr/bin/iceauth*
| configure:16002: result: /usr/bin/iceauth

So - as Khem suggested - and with xfce4-session: RDEPENDS_${PN}="iceauth" I:
- changed iceauth to extent to iceauth-native.
- changed xfce4-session: DEPENDS = "iceauth-native ..."
- build an image

Results:
- config.log says: configure:15990: found /home/Superandi/tmp/sysroots/i686- linux/usr/bin/iceauth
- In installed-packages.txt now 'iceauth_1:1.0.4-r5.1.9_armv7a.ipk' is found!

Since xfce4.6 means huge rebuild for me (and I did only pick up what Khem suggested): Can anybody test this for xfce_session_4.6.{1, 2} and create the patches?

Andreas

#15 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Am Mittwoch, den 23.03.2011, 01:33 +0100 schrieb Andreas Mueller:

Quoted 23 lines · On Sunday 20 March 2011 14:03:27 Koen Kooi wrote:
Quoted 22 lines · Paul Menzel
Quoted 4 lines

Date: Fri, 18 Mar 2011 12:03:43 +0100

Xfce Session build depends on the executable iceauth, which fails when cross compiling for a different architecture.

[..]

Quoted 1 line

--- a/recipes/xfce-base/xfce4-session_4.6.1.bb

[..]

Quoted 1 line

+EXTRA_OECONF += "ac_cv_path_ICEAUTH=/usr/bin/iceauth"

Minor nit: ${bindir}/iceauth

If that's fixed:

regards,

Quoted 7 lines
Quoted 1 line

Koen

During preparing xfce 4.8 recipes I stumbled over 'iceauth' too:

It is missing on the target image although 'xfce4-session' has it in DEPENDS & RDEPENDS_${PN} (this patch does not change missing 'iceauth' in image - so I would NAK if I could)

I did not check that. But why does not RDEPENDS pull that in? And you can always NAK. ;-) Hopefully not too often on my patches.

Quoted 11 lines

Anyway: In 'xfce4-session' / config.log I found:

| configure:15972: checking for iceauth
| configure:15990: found */usr/bin/iceauth*
| configure:16002: result: /usr/bin/iceauth

So - as Khem suggested - and with xfce4-session: RDEPENDS_${PN}="iceauth" I:
- changed iceauth to extent to iceauth-native.
- changed xfce4-session: DEPENDS = "iceauth-native ..."
- build an image

Quoted 4 lines

Results:
- config.log says: configure:15990: found /home/Superandi/tmp/sysroots/i686- linux/usr/bin/iceauth
- In installed-packages.txt now 'iceauth_1:1.0.4-r5.1.9_armv7a.ipk' is found!

Have you run tested that? As far as I understood that path is put into the resulting binary and, if I am not mistaken, the path will be /usr/bin/iceauth on the target system.

Quoted 3 lines

Since xfce4.6 means huge rebuild for me (and I did only pick up what Khem suggested): Can anybody test this for xfce_session_4.6.{1, 2} and create the patches?

Could you send me the patch to get the native recipe for Xfce 4.8? I can adapt it then. I am sure it will work, but please explain to me the issue raised above.

Thanks,

Paul

#16 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

In reply to Andreas Mueller

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 9 lines · Andreas Mueller

Anyway: In 'xfce4-session' / config.log I found:

| configure:15972: checking for iceauth
| configure:15990: found */usr/bin/iceauth*
| configure:16002: result: /usr/bin/iceauth

So - as Khem suggested - and with xfce4-session: RDEPENDS_${PN}="iceauth" I:
- changed iceauth to extent to iceauth-native.
- changed xfce4-session: DEPENDS = "iceauth-native ..."

No, it only wants to probe for the PATH of the binary to encode into the result. We do NOT want target binaries to point to your builddir instead of ${bindir}.

As I said before, Pauls patch does the right thing. -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFNiZ3OMkyGM64RGpERAhGkAJ9DcOr2vrAnAEkR8YmsNYSIJokHeACeLMiv s5rQTqwrhSBj+oyZCHdRM6w=
=Fjad
-----END PGP SIGNATURE-----

#17 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Quoted 10 lines · On Wednesday 23 March 2011 08:14:22 Koen Kooi wrote:
Quoted 8 lines · Andreas Mueller

Anyway: In 'xfce4-session' / config.log I found:

| configure:15972: checking for iceauth
| configure:15990: found */usr/bin/iceauth*
| configure:16002: result: /usr/bin/iceauth

So - as Khem suggested - and with xfce4-session: RDEPENDS_${PN}="iceauth" I:
- changed iceauth to extent to iceauth-native.
- changed xfce4-session: DEPENDS = "iceauth-native ..."

Quoted 5 lines

No, it only wants to probe for the PATH of the binary to encode into the result. We do NOT want target binaries to point to your builddir instead of ${bindir}.

As I said before, Pauls patch does the right thing.

Got it - sorry for the noise - have an ACK on Paul's patch :-)

Quoted 1 line · On Wednesday 23 March 2011 01:51:38 Paul Menzel wrote:

I did not check that. But why does not RDEPENDS pull that in?

If I would understand that... But I think that is what happened to you in
http://lists.linuxtogo.org/pipermail/openembedded-devel/2011-March/030721.html
xfce4-settings has iceauth in DEPENDS & RDEPENDS since long time..

Quoted 3 lines

Have you run tested that? As far as I understood that path is put into the resulting binary and, if I am not mistaken, the path will be /usr/bin/iceauth on the target system.

now yes - it failed - see above..

Quoted 6 lines
Quoted 4 lines

Since xfce4.6 means huge rebuild for me (and I did only pick up what Khem suggested): Can anybody test this for xfce_session_4.6.{1, 2} and create the patches?

Could you send me the patch to get the native recipe for Xfce 4.8?

Sorry - but what do you mean with *native* recipe for Xfce 4.8?

Andreas

#18 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Am Mittwoch, den 23.03.2011, 09:35 +0100 schrieb Andreas Mueller:

Quoted 2 lines · On Wednesday 23 March 2011 08:14:22 Koen Kooi wrote:
Quoted 1 line · Andreas Mueller

[…]

Quoted 6 lines
Quoted 5 lines
Quoted 3 lines

Since xfce4.6 means huge rebuild for me (and I did only pick up what Khem suggested): Can anybody test this for xfce_session_4.6.{1, 2} and create the patches?

Could you send me the patch to get the native recipe for Xfce 4.8?

Sorry - but what do you mean with *native* recipe for Xfce 4.8?

You wrote that you had adapted/extended(?) xfce-session_4.8.*.bb to build a native package(?) (sorry). So I wanted to just see your xfce-session_.4.8.*.bb to know what to do.

Thanks,

Paul

#19 lore raw

Re: [PATCH] xfce_session_4.6.{1, 2}: explicitly pass the path of `iceauth`

Quoted 9 lines · On Wednesday 23 March 2011 10:51:58 Paul Menzel wrote:

Am Mittwoch, den 23.03.2011, 09:35 +0100 schrieb Andreas Mueller:

Quoted 2 lines · On Wednesday 23 March 2011 08:14:22 Koen Kooi wrote:
Quoted 1 line · Andreas Mueller

[…]

Quoted 4 lines
Quoted 4 lines
Quoted 3 lines

Since xfce4.6 means huge rebuild for me (and I did only pick up what Khem suggested): Can anybody test this for xfce_session_4.6.{1, 2} and create the patches?

Quoted 7 lines
Quoted 3 lines
Quoted 1 line

Could you send me the patch to get the native recipe for Xfce 4.8?

Sorry - but what do you mean with *native* recipe for Xfce 4.8?

You wrote that you had adapted/extended(?) xfce-session_4.8.*.bb to build a native package(?) (sorry). So I wanted to just see your xfce-session_.4.8.*.bb to know what to do.

Oh I see - sorry for causing confusion: I added native support for iceauth.

With the recipes attached I get
- iceauth installed on target image
- xfce4-session not complaining about missing iceauth

Still have no idea why iceauth was not found in target image...

Andreas

require xorg-app-common.inc
DESCRIPTION = "a tool for manipulating ICE protocol authorization records" DEPENDS += " libice"
PE = "1"
PR = "${INC_PR}.1"

BBCLASSEXTEND="native"

SRC_URI[archive.md5sum] = "bb2e4d2611047f7c5a1a82ec956a9de4" SRC_URI[archive.sha256sum] = "0ee6fd4554f0131b1ed526ee00b9cf643e7dc97eb70fb51448848ef2f349938d"

DESCRIPTION = "xfce4-session is a session manager for Xfce 4 Desktop Environment" DEPENDS = "libwnck libxfce4ui libxfce4util dbus iceauth-native xfce-utils" RDEPENDS_${PN} = "iceauth xinit dbus-x11"
SECTION = "x11"

PR = "r0"

inherit xfce46

EXTRA_OECONF += "ac_cv_path_ICEAUTH=${bindir}/iceauth"

FILES_${PN} += "${libdir}/xfce4/*/*" FILES_${PN} += "${datadir}/xfce4/*/*" FILES_${PN} += "${datadir}/themes/Default/balou/*"

FILES_${PN}-dbg += "${libdir}/xfce4/*/*/.debug"

SRC_URI[md5sum] = "478080ff666fdd36786a243829663efd"
SRC_URI[sha256sum] = "1df52a77d87ed4d27b4f40a2f03a0b6334422d64bdc4e31b9aac22e25e68b829"