[Bug 1612530] [NEW] In Ubuntu16.10 :ltrace test compile failed as uninitialized variable

bugproxy bugproxy at us.ibm.com
Fri Aug 12 07:29:14 UTC 2016


Public bug reported:

== Comment: #0 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 2016-07-26 01:28:02 ==
--- Problem Description ---
  
  In Ubuntu16.10 as KVM and PowerVM guest , ltrace compilation Fail as uninitialized variable

Reproducible Step:

1- Install system with ubuntu16.10
2- install ltrace as well ltrace source 
3- install dependencies
4- run . ./configure && make 

LOG:

root at tuleta4u-lp6:~/ltrace-0.7.3# make
make  all-recursive
make[1]: Entering directory '/root/ltrace-0.7.3'
Making all in sysdeps
make[2]: Entering directory '/root/ltrace-0.7.3/sysdeps'
Making all in linux-gnu
make[3]: Entering directory '/root/ltrace-0.7.3/sysdeps/linux-gnu'
Making all in ppc
make[4]: Entering directory '/root/ltrace-0.7.3/sysdeps/linux-gnu/ppc'
/bin/bash ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../../sysdeps/linux-gnu/ppc       -I../../../sysdeps/linux-gnu    -I../../../sysdeps  -I../../..   -Wall -Wsign-compare -Wfloat-equal -Wformat-security -Werror -g -O2 -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c -o plt.lo plt.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/ppc -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -Werror -g -O2 -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c plt.c  -fPIC -DPIC -o .libs/plt.o
plt.c: In function 'arch_elf_add_plt_entry':
plt.c:781:3: error: 'libsym' may be used uninitialized in this function [-Werror=maybe-uninitialized]
   free(libsym);
   ^
cc1: all warnings being treated as errors
Makefile:316: recipe for target 'plt.lo' failed
make[4]: *** [plt.lo] Error 1
make[4]: Leaving directory '/root/ltrace-0.7.3/sysdeps/linux-gnu/ppc'
Makefile:382: recipe for target 'all-recursive' failed
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory '/root/ltrace-0.7.3/sysdeps/linux-gnu'
Makefile:299: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/root/ltrace-0.7.3/sysdeps'
Makefile:741: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/root/ltrace-0.7.3'
Makefile:447: recipe for target 'all' failed
make: *** [all] Error 2
root at tuleta4u-lp6:~/ltrace-0.7.3# 

Regards
Praveen

== Comment: #3 - Urvashi Jawere <urjawere at in.ibm.com> - 2016-08-10 02:43:55 ==
Downloaded the latest ltrace,
using command : apt-get source ltrace

ltrace version : 0.7.3 
Before doing make , I am getting the error : cannot guess build type; you must specify one

root at ubuntu:~/urvashi/ltrace-0.7.3# ./configure 
checking build system type... config/autoconf/config.guess: unable to guess system type

This script, last modified 2009-11-20, has failed to recognize
the operating system you are using. It is advised that you
download the most up to date version of the config scripts from

  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
and
  http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

If the version you run (config/autoconf/config.guess) is already up to date, please
send the following data and any information you think might be
pertinent to <config-patches at gnu.org> in order to provide the needed
information to handle your system.

config.guess timestamp = 2009-11-20

uname -m = ppc64le
uname -r = 4.4.0-30-generic
uname -s = Linux
uname -v = #49-Ubuntu SMP Fri Jul 1 10:00:36 UTC 2016

/usr/bin/uname -p = 
/bin/uname -X     = 

hostinfo               = 
/bin/universe          = 
/usr/bin/arch -k       = 
/bin/arch              = 
/usr/bin/oslevel       = 
/usr/convex/getsysinfo = 

UNAME_MACHINE = ppc64le
UNAME_RELEASE = 4.4.0-30-generic
UNAME_SYSTEM  = Linux
UNAME_VERSION = #49-Ubuntu SMP Fri Jul 1 10:00:36 UTC 2016
configure: error: cannot guess build type; you must specify one

Have u come across the same error before ?
if not we need to fix this first.

== Comment: #4 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 2016-08-10 02:59:24 ==
(In reply to comment #3)
> Downloaded the latest ltrace,
> using command : apt-get source ltrace
> 
> ltrace version : 0.7.3 
> Before doing make , I am getting the error : cannot guess build type; you
> must specify one
> 
> root at ubuntu:~/urvashi/ltrace-0.7.3# ./configure 
> checking build system type... config/autoconf/config.guess: unable to guess
> system type
> 
> This script, last modified 2009-11-20, has failed to recognize
> the operating system you are using. It is advised that you
> download the most up to date version of the config scripts from
> 
>  
> http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;
> hb=HEAD
> and
>  
> http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;
> hb=HEAD
> 
> If the version you run (config/autoconf/config.guess) is already up to date,
> please
> send the following data and any information you think might be
> pertinent to <config-patches at gnu.org> in order to provide the needed
> information to handle your system.
> 
> config.guess timestamp = 2009-11-20
> 
> uname -m = ppc64le
> uname -r = 4.4.0-30-generic
> uname -s = Linux
> uname -v = #49-Ubuntu SMP Fri Jul 1 10:00:36 UTC 2016
> 
> /usr/bin/uname -p = 
> /bin/uname -X     = 
> 
> hostinfo               = 
> /bin/universe          = 
> /usr/bin/arch -k       = 
> /bin/arch              = 
> /usr/bin/oslevel       = 
> /usr/convex/getsysinfo = 
> 
> UNAME_MACHINE = ppc64le
> UNAME_RELEASE = 4.4.0-30-generic
> UNAME_SYSTEM  = Linux
> UNAME_VERSION = #49-Ubuntu SMP Fri Jul 1 10:00:36 UTC 2016
> configure: error: cannot guess build type; you must specify one
> 
> Have u come across the same error before ?
> if not we need to fix this first.

Hi ,

    need to fix config guess for pp64le . add statement related to ppc
in config.guess

Regards
Praveen

== Comment: #6 - Urvashi Jawere <urjawere at in.ibm.com> - 2016-08-12 03:12:30 ==
I have downloaded the latest ltrace from upstream,

git://git.debian.org/git/collab-maint/ltrace.git

Upstream ltrace is working fine.

Hello Canonical,
                  Can you please have a look? 

++++Output++++

make  all-recursive
make[1]: Entering directory '/home/ubuntu/temp_ltrace/ltrace'
Making all in sysdeps
make[2]: Entering directory '/home/ubuntu/temp_ltrace/ltrace/sysdeps'
Making all in linux-gnu
.
.
.
make[3]: Leaving directory '/home/ubuntu/temp_ltrace/ltrace/testsuite'
make[2]: Leaving directory '/home/ubuntu/temp_ltrace/ltrace/testsuite'
make[1]: Leaving directory '/home/ubuntu/temp_ltrace/ltrace'

++++++++++++++++++

** Affects: ltrace (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-144135 severity-high targetmilestone-inin1610

** Tags added: architecture-ppc64le bugnameltc-144135 severity-high
targetmilestone-inin1610

** Changed in: ubuntu
     Assignee: (unassigned) => Taco Screen team (taco-screen-team)

** Package changed: ubuntu => ltrace (Ubuntu)

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

Title:
  In Ubuntu16.10 :ltrace test compile failed as uninitialized variable

Status in ltrace package in Ubuntu:
  New

Bug description:
  == Comment: #0 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 2016-07-26 01:28:02 ==
  --- Problem Description ---
    
    In Ubuntu16.10 as KVM and PowerVM guest , ltrace compilation Fail as uninitialized variable

  Reproducible Step:

  1- Install system with ubuntu16.10
  2- install ltrace as well ltrace source 
  3- install dependencies
  4- run . ./configure && make 

  LOG:

  root at tuleta4u-lp6:~/ltrace-0.7.3# make
  make  all-recursive
  make[1]: Entering directory '/root/ltrace-0.7.3'
  Making all in sysdeps
  make[2]: Entering directory '/root/ltrace-0.7.3/sysdeps'
  Making all in linux-gnu
  make[3]: Entering directory '/root/ltrace-0.7.3/sysdeps/linux-gnu'
  Making all in ppc
  make[4]: Entering directory '/root/ltrace-0.7.3/sysdeps/linux-gnu/ppc'
  /bin/bash ../../../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../..  -I../../../sysdeps/linux-gnu/ppc       -I../../../sysdeps/linux-gnu    -I../../../sysdeps  -I../../..   -Wall -Wsign-compare -Wfloat-equal -Wformat-security -Werror -g -O2 -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c -o plt.lo plt.c
  libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../sysdeps/linux-gnu/ppc -I../../../sysdeps/linux-gnu -I../../../sysdeps -I../../.. -Wall -Wsign-compare -Wfloat-equal -Wformat-security -Werror -g -O2 -MT plt.lo -MD -MP -MF .deps/plt.Tpo -c plt.c  -fPIC -DPIC -o .libs/plt.o
  plt.c: In function 'arch_elf_add_plt_entry':
  plt.c:781:3: error: 'libsym' may be used uninitialized in this function [-Werror=maybe-uninitialized]
     free(libsym);
     ^
  cc1: all warnings being treated as errors
  Makefile:316: recipe for target 'plt.lo' failed
  make[4]: *** [plt.lo] Error 1
  make[4]: Leaving directory '/root/ltrace-0.7.3/sysdeps/linux-gnu/ppc'
  Makefile:382: recipe for target 'all-recursive' failed
  make[3]: *** [all-recursive] Error 1
  make[3]: Leaving directory '/root/ltrace-0.7.3/sysdeps/linux-gnu'
  Makefile:299: recipe for target 'all-recursive' failed
  make[2]: *** [all-recursive] Error 1
  make[2]: Leaving directory '/root/ltrace-0.7.3/sysdeps'
  Makefile:741: recipe for target 'all-recursive' failed
  make[1]: *** [all-recursive] Error 1
  make[1]: Leaving directory '/root/ltrace-0.7.3'
  Makefile:447: recipe for target 'all' failed
  make: *** [all] Error 2
  root at tuleta4u-lp6:~/ltrace-0.7.3# 

  Regards
  Praveen

  == Comment: #3 - Urvashi Jawere <urjawere at in.ibm.com> - 2016-08-10 02:43:55 ==
  Downloaded the latest ltrace,
  using command : apt-get source ltrace

  ltrace version : 0.7.3 
  Before doing make , I am getting the error : cannot guess build type; you must specify one

  root at ubuntu:~/urvashi/ltrace-0.7.3# ./configure 
  checking build system type... config/autoconf/config.guess: unable to guess system type

  This script, last modified 2009-11-20, has failed to recognize
  the operating system you are using. It is advised that you
  download the most up to date version of the config scripts from

    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;hb=HEAD
  and
    http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD

  If the version you run (config/autoconf/config.guess) is already up to date, please
  send the following data and any information you think might be
  pertinent to <config-patches at gnu.org> in order to provide the needed
  information to handle your system.

  config.guess timestamp = 2009-11-20

  uname -m = ppc64le
  uname -r = 4.4.0-30-generic
  uname -s = Linux
  uname -v = #49-Ubuntu SMP Fri Jul 1 10:00:36 UTC 2016

  /usr/bin/uname -p = 
  /bin/uname -X     = 

  hostinfo               = 
  /bin/universe          = 
  /usr/bin/arch -k       = 
  /bin/arch              = 
  /usr/bin/oslevel       = 
  /usr/convex/getsysinfo = 

  UNAME_MACHINE = ppc64le
  UNAME_RELEASE = 4.4.0-30-generic
  UNAME_SYSTEM  = Linux
  UNAME_VERSION = #49-Ubuntu SMP Fri Jul 1 10:00:36 UTC 2016
  configure: error: cannot guess build type; you must specify one

  Have u come across the same error before ?
  if not we need to fix this first.

  == Comment: #4 - Praveen K. Pandey <Praveen.Pandey at in.ibm.com> - 2016-08-10 02:59:24 ==
  (In reply to comment #3)
  > Downloaded the latest ltrace,
  > using command : apt-get source ltrace
  > 
  > ltrace version : 0.7.3 
  > Before doing make , I am getting the error : cannot guess build type; you
  > must specify one
  > 
  > root at ubuntu:~/urvashi/ltrace-0.7.3# ./configure 
  > checking build system type... config/autoconf/config.guess: unable to guess
  > system type
  > 
  > This script, last modified 2009-11-20, has failed to recognize
  > the operating system you are using. It is advised that you
  > download the most up to date version of the config scripts from
  > 
  >  
  > http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess;
  > hb=HEAD
  > and
  >  
  > http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;
  > hb=HEAD
  > 
  > If the version you run (config/autoconf/config.guess) is already up to date,
  > please
  > send the following data and any information you think might be
  > pertinent to <config-patches at gnu.org> in order to provide the needed
  > information to handle your system.
  > 
  > config.guess timestamp = 2009-11-20
  > 
  > uname -m = ppc64le
  > uname -r = 4.4.0-30-generic
  > uname -s = Linux
  > uname -v = #49-Ubuntu SMP Fri Jul 1 10:00:36 UTC 2016
  > 
  > /usr/bin/uname -p = 
  > /bin/uname -X     = 
  > 
  > hostinfo               = 
  > /bin/universe          = 
  > /usr/bin/arch -k       = 
  > /bin/arch              = 
  > /usr/bin/oslevel       = 
  > /usr/convex/getsysinfo = 
  > 
  > UNAME_MACHINE = ppc64le
  > UNAME_RELEASE = 4.4.0-30-generic
  > UNAME_SYSTEM  = Linux
  > UNAME_VERSION = #49-Ubuntu SMP Fri Jul 1 10:00:36 UTC 2016
  > configure: error: cannot guess build type; you must specify one
  > 
  > Have u come across the same error before ?
  > if not we need to fix this first.

  Hi ,

      need to fix config guess for pp64le . add statement related to ppc
  in config.guess

  Regards
  Praveen

  == Comment: #6 - Urvashi Jawere <urjawere at in.ibm.com> - 2016-08-12 03:12:30 ==
  I have downloaded the latest ltrace from upstream,

  git://git.debian.org/git/collab-maint/ltrace.git

  Upstream ltrace is working fine.

  Hello Canonical,
                    Can you please have a look? 

  ++++Output++++

  make  all-recursive
  make[1]: Entering directory '/home/ubuntu/temp_ltrace/ltrace'
  Making all in sysdeps
  make[2]: Entering directory '/home/ubuntu/temp_ltrace/ltrace/sysdeps'
  Making all in linux-gnu
  .
  .
  .
  make[3]: Leaving directory '/home/ubuntu/temp_ltrace/ltrace/testsuite'
  make[2]: Leaving directory '/home/ubuntu/temp_ltrace/ltrace/testsuite'
  make[1]: Leaving directory '/home/ubuntu/temp_ltrace/ltrace'

  ++++++++++++++++++

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



More information about the foundations-bugs mailing list