------- Comment From pavsu...@in.ibm.com 2015-02-17 05:00 EDT-------
I have re-created the problem once again on the same machine as below:

root@ubuntu:~/glibc-2.19# dpkg-buildpackage -b 2>&1 | tee glibclog
dpkg-buildpackage: source package glibc
dpkg-buildpackage: source version 2.19-15ubuntu1
dpkg-buildpackage: source distribution vivid
dpkg-buildpackage: source changed by Adam Conrad <adcon...@ubuntu.com>
dpkg-source --before-build glibc-2.19
dpkg-buildpackage: host architecture ppc64el
dpkg-source: info: using options from glibc-2.19/debian/source/options: 
--compression=xz
debian/rules clean
dh_clean
rm -f debian/*.install
rm -f debian/*.install.*
rm -f debian/*.manpages
rm -f debian/*.links
rm -f debian/*.postinst
rm -f debian/*.preinst
rm -f debian/*.postinst
rm -f debian/*.prerm
rm -f debian/*.postrm
rm -f debian/*.info
rm -f debian/*.init
rm -f debian/*.config
rm -f debian/*.templates
rm -f debian/*.dirs
rm -f debian/*.docs
rm -f debian/*.doc-base
rm -f debian/*.generated
rm -f debian/*.lintian-overrides
rm -f debian/*.NEWS
rm -f debian/*.README.Debian
rm -f debian/*.triggers
rm -f /root/glibc-2.19/stamp-dir/binaryinst*
rm -f /root/glibc-2.19/stamp-dir/patch
rm -f /root/glibc-2.19/po/*.mo
rm -rf debian/tmp-libc
rm -rf build-tree
rm -rf /root/glibc-2.19/stamp-dir/
rm -rf debian/include
rm -f debian/control.in/libc0.1 debian/control.in/libc0.3 \
debian/control.in/libc6 debian/control.in/libc6.1 \
debian/*.preinst.* debian/locales.bug-presubj
debian/rules build
------------------------------------------------------
uname -a
Linux ubuntu 3.18.0-13-generic #14-Ubuntu SMP Fri Feb 6 09:57:41 UTC 2015 
ppc64le ppc64le ppc64le GNU/Linux

if [ -f /proc/cpuinfo ] ; then cat /proc/cpuinfo ; fi
processor       : 0
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 1
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 2
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 3
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 4
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 5
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 6
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 7
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 8
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 9
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 10
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 11
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 12
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 13
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 14
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

processor       : 15
cpu             : POWER8 (architected), altivec supported
clock           : 3458.000000MHz
revision        : 2.0 (pvr 004b 0200)

timebase        : 512000000
platform        : pSeries
model           : IBM,8284-22A
machine         : CHRP IBM,8284-22A

------------------------------------------------------
touch /root/glibc-2.19/stamp-dir/info
touch /root/glibc-2.19/stamp-dir/patch
rm -rf debian/include
mkdir debian/include
# Kernel headers
if [ -d "/usr/include/powerpc64le-linux-gnu/asm" ]; then \
ln -s /usr/include/powerpc64le-linux-gnu/asm debian/include ; \
else \
ln -s /usr/include/asm debian/include ; \
fi
ln -s /usr/include/asm-generic debian/include
ln -s /usr/include/linux debian/include
# Library headers
for h in libaudit.h selinux sys/capability.h ; do \
mkdir -p debian/include/$(dirname $h) ; \
if [ -d "/usr/include/powerpc64le-linux-gnu/$h" ]; then \
ln -s /usr/include/powerpc64le-linux-gnu/$h debian/include/$h ; \
else \
ln -s /usr/include/$h debian/include/$h ; \
fi ; \
done
ln -s /usr/include/powerpc64le-linux-gnu/sys/sdt.h debian/include/sys/sdt.h
# To make configure happy if libc6-dev is not installed.
touch debian/include/assert.h
touch /root/glibc-2.19/stamp-dir/mkincludedir
Making builddir for libc
test -d build-tree/ppc64el-libc || mkdir -p build-tree/ppc64el-libc
touch /root/glibc-2.19/stamp-dir/mkbuilddir_libc
Configuring libc
rm -f build-tree/ppc64el-libc/configparms
echo "CC = powerpc64le-linux-gnu-gcc-4.8"                 >> 
build-tree/ppc64el-libc/configparms
echo "CXX = powerpc64le-linux-gnu-g++-4.8"               >> 
build-tree/ppc64el-libc/configparms
echo "BUILD_CC = powerpc64le-linux-gnu-gcc"             >> 
build-tree/ppc64el-libc/configparms
echo "BUILD_CXX = powerpc64le-linux-gnu-g++"           >> 
build-tree/ppc64el-libc/configparms
echo "CFLAGS = -pipe -O2 -g -O3 -fno-tree-vectorize"            >> 
build-tree/ppc64el-libc/configparms
echo "ASFLAGS = -pipe -O2 -g -O3 -fno-tree-vectorize"           >> 
build-tree/ppc64el-libc/configparms
echo "BUILD_CFLAGS = -O2 -g"     >> build-tree/ppc64el-libc/configparms
echo "LDFLAGS = "                         >> build-tree/ppc64el-libc/configparms
echo "BASH := /bin/bash"                  >> build-tree/ppc64el-libc/configparms
echo "KSH := /bin/bash"                   >> build-tree/ppc64el-libc/configparms
echo "SHELL := /bin/bash"                 >> build-tree/ppc64el-libc/configparms
echo "LIBGD = no"                         >> build-tree/ppc64el-libc/configparms
echo "bindir = /usr/bin"                 >> build-tree/ppc64el-libc/configparms
echo "datadir = /usr/share"               >> build-tree/ppc64el-libc/configparms
echo "localedir = /usr/lib/locale"           >> 
build-tree/ppc64el-libc/configparms
echo "sysconfdir = /etc"         >> build-tree/ppc64el-libc/configparms
echo "libexecdir = /usr/lib"         >> build-tree/ppc64el-libc/configparms
echo "rootsbindir = /sbin"       >> build-tree/ppc64el-libc/configparms
echo "includedir = /usr/include" >> build-tree/ppc64el-libc/configparms
echo "docdir = /usr/share/doc"                 >> 
build-tree/ppc64el-libc/configparms
echo "mandir = /usr/share/man"                 >> 
build-tree/ppc64el-libc/configparms
echo "sbindir = /usr/sbin"               >> build-tree/ppc64el-libc/configparms
echo "vardbdir = /var/lib/misc"             >> 
build-tree/ppc64el-libc/configparms
echo "libdir = /usr/lib/powerpc64le-linux-gnu"         >> 
build-tree/ppc64el-libc/configparms
echo "slibdir = /lib/powerpc64le-linux-gnu"       >> 
build-tree/ppc64el-libc/configparms
echo "rtlddir = /lib64"       >> build-tree/ppc64el-libc/configparms
# Define the installation directory for all calls to make. This avoid
# broken glibc makefiles to spuriously trigger install rules trying to
# overwrite system headers.
echo "install_root = /root/glibc-2.19/debian/tmp-libc" >> 
build-tree/ppc64el-libc/configparms
# Prevent autoconf from running unexpectedly by setting it to false.
# Also explicitly pass CC down - this is needed to get -m64 on
# Sparc, et cetera.
configure_build=powerpc64le-linux-gnu; \
if [ powerpc64le-linux-gnu = $configure_build ]; then \
echo "Checking that we're running at least kernel version: 2.6.32"; \
if ! (minimum=\([^.0-9]\|$\)/\1.0\2/; s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 
\* 10000 + \2 \* 100 + \3/'`)); current=\([^.0-9]\|$\)/\1.0\2/; 
s/\([0-9]*\)\.\([0-9]*\)\.\([0-9]*\).*/\1 \* 10000 + \2 \* 100 + \3/'`)); if [ 
$current -lt $minimum ]; then false; fi); then \
configure_build=`echo $configure_build | sed 
's/^\([^-]*\)-\([^-]*\)$/\1-dummy-\2/'`; \
echo "No.  Forcing cross-compile by setting build to $configure_build."; \
fi; \
fi; \
(exec 3>&1; exit `( ( (  echo -n "Build started: " ; date --rfc-2822 ; echo 
"---------------" ) 2>&1 3>&-; echo $? >&4) | tee  -a 
build-tree/log-build-powerpc64le-linux-gnu-libc >&3) 4>&1`) ; \
(exec 3>&1; exit `( ( (  cd build-tree/ppc64el-libc && 
CC="powerpc64le-linux-gnu-gcc-4.8" CXX="powerpc64le-linux-gnu-g++-4.8" 
AUTOCONF=false MAKEINFO=: /root/glibc-2.19/configure 
--host=powerpc64le-linux-gnu --build=$configure_build --prefix=/usr 
--without-cvs --enable-add-ons=libidn,"nptl " --without-selinux 
--enable-stackguard-randomization --enable-obsolete-rpc 
--with-pkgversion="Ubuntu GLIBC 2.19-15ubuntu1" 
--with-bugurl="https://bugs.launchpad.net/ubuntu/+source/glibc/+bugs"; 
--enable-pt_chown  --with-headers=/root/glibc-2.19/debian/include 
--enable-kernel=2.6.32 --with-selinux --enable-systemtap --enable-multi-arch 
--with-cpu=power7 ) 2>&1 3>&-; echo $? >&4) | tee  -a 
build-tree/log-build-powerpc64le-linux-gnu-libc >&3) 4>&1`)
Checking that we're running at least kernel version: 2.6.32
Build started: Mon, 16 Feb 2015 22:59:03 -0600
---------------
checking build system type... powerpc64le-unknown-linux-gnu
checking host system type... powerpc64le-unknown-linux-gnu
checking for powerpc64le-linux-gnu-gcc... powerpc64le-linux-gnu-gcc-4.8
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether powerpc64le-linux-gnu-gcc-4.8 accepts -g... yes
checking whether we are using the GNU C++ compiler... yes
checking whether powerpc64le-linux-gnu-g++-4.8 accepts -g... yes
checking for powerpc64le-linux-gnu-readelf... powerpc64le-linux-gnu-readelf
checking for systemtap static probe support... no
configure: error: in `/root/glibc-2.19/build-tree/ppc64el-libc':
configure: error: systemtap support needs sys/sdt.h with asm support
See `config.log' for more details
debian/rules.d/build.mk:31: recipe for target 
'/root/glibc-2.19/stamp-dir/configure_libc' failed
make: *** [/root/glibc-2.19/stamp-dir/configure_libc] Error 1
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Please login as root user and execute the above command.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1418239

Title:
  systemtap support needs sys/sdt.h with asm support error

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/1418239/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to