Package: make
Version: 4.1-1
Severity: grave
Justification: renders package unusable

Steps to reproduce:

debootstrap --variant=minbase --include=make sid sid-root 
http://ftp.us.debian.org/debian/ && chroot sid-root make

Result:

`make` segfaults.

This happens regardless of whether there's actually any
Makefile or parameters passed to the program. This does not happen with
make 4.0-8.2 (as downloaded from snapshot.debian.org). This happens with
make 4.1-2 (as downloaded from the current sid repositories) and 4.1-1.
This does not happen if I create the chroot from Debian Stretch.

Relevant stack trace:

#v+
# gdb make
GNU gdb (Debian 7.10-1+b1) 7.10
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from make...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/make 

Program received signal SIGSEGV, Segmentation fault.
strlen () at ../sysdeps/x86_64/strlen.S:106
106     ../sysdeps/x86_64/strlen.S: No such file or directory.
(gdb) bt
#0  strlen () at ../sysdeps/x86_64/strlen.S:106
#1  0x00007ffff78b314e in __GI___strdup (s=0x0) at strdup.c:41
#2  0x0000000000418319 in xstrdup ()
#3  0x0000000000423293 in define_variable_in_set ()
#4  0x0000000000406a3f in main ()
(gdb) 
#v-

The problem looks similar to the one described by an ArchLinux user [1].

 [1] http://superuser.com/questions/1028122/

This bug report was written using `reportbug` from inside the chroot that
experiences the problem.



-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.2.0-0.bpo.1-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=locale: Cannot set 
LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash
Init: unable to detect

Versions of packages make depends on:
ii  libc6  2.21-6

make recommends no packages.

Versions of packages make suggests:
pn  make-doc  <none>

-- debconf information excluded

Reply via email to