[Bug 870044] Re: Bash fails to cross-build
Wookey
wookey at wookware.org
Wed Oct 12 18:34:22 UTC 2011
This appears to be fixed by setting
bash_cv_job_control_missing=present
in /etc/dpkg-cross/cross-config.cache
This needs a dpkg-cross update.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bash in Ubuntu.
https://bugs.launchpad.net/bugs/870044
Title:
Bash fails to cross-build
Status in “bash” package in Ubuntu:
New
Bug description:
bash fails to cross-build.
The build command is:
xdeb --only-explicit -a armel --prefer-apt --apt-source --debug --force-rebuild bash
The actual build command xdeb issues is:
debuild --no-lintian -eUSER -eCONFIG_SITE=/etc/dpkg-cross/cross-config.armel -eDEB_BUILD_OPTIONS=nocheck -eGTEST_INCLUDEDIR=/usr/arm-linux-gnueabi/include -eGTEST_LIBDIR=/usr/arm-linux-gnueabi/lib -ePKG_CONFIG_LIBDIR=/usr/arm-linux-gnueabi/lib/pkgconfig:/usr/arm-linux-gnueabi/share/pkgconfig:/usr/share/pkgconfig -eDH_VERBOSE=1 -aarmel -b -uc -us -tc
To easily reproduce the build environment in which this bug was discovered follow the HOWTO here:
https://wiki.linaro.org/Platform/DevPlatform/CrossCompile/CrossBuildNano
Setting 'buildlist' to just be the one line:
bash
would mean it only builds this package and not lots of others too.
The error generated is:
arm-linux-gnueabi-gcc -DPROGRAM='"bash"' -DCONF_HOSTTYPE='"arm"' -DCONF_OSTYPE='"linux-gnueabi"' -DCONF_MACHTYPE='"arm-un$
../bash/execute_cmd.c: In function 'execute_command_internal':
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_for' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_case' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_while' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_if' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_simple' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_select' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_connection' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_function_def' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_until' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_group' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_arith_for' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_subshell' not handled in switch
../bash/execute_cmd.c:984:3: warning: enumeration value 'cm_coproc' not handled in switch
../bash/execute_cmd.c: In function 'execute_in_subshell':
../bash/execute_cmd.c:1507:5: warning: passing argument 1 of 'execute_command_internal' discards qualifiers from pointer t$
../bash/execute_cmd.c:522:1: note: expected 'struct COMMAND *' but argument is of type 'volatile struct COMMAND *'
../bash/execute_cmd.c: In function 'execute_pipeline':
../bash/execute_cmd.c:2205:23: error: 'job_control' undeclared (first use in this function)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bash/+bug/870044/+subscriptions
More information about the foundations-bugs
mailing list