all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ulrich Mueller <ulm@gentoo.org>
To: 11873@debbugs.gnu.org
Subject: bug#11873: 24.1; Build failure with glibc-2.16
Date: Sat, 7 Jul 2012 17:48:27 +0200	[thread overview]
Message-ID: <20472.23115.93733.742523@a1i15.kph.uni-mainz.de> (raw)

Forwarding downstream bug: <https://bugs.gentoo.org/424755>

C11 removed the "gets" function and glibc-2.16 no longer defines it.
However, the gnulib that comes with emacs-24.1 still assumes that
"gets" is defined.

   armv7a-hardfloat-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../src -I/var/tmp/portage/app-editors/emacs-24.1/work/emacs-24.1/src     -O2 -pipe -march=armv7-a -mtune=cortex-a9 -mfpu=vfpv3-d16 -c md5.c
   In file included from md5.h:24:0,
                    from md5.c:25:
   ./stdio.h:1030:1: erreur: ‘gets’ undeclared here (not in a function)
   make[2]: *** [md5.o] Erreur 1

Emacs trunk has already been updated to a newer gnulib version where
the problem is fixed:
<http://bzr.savannah.gnu.org/lh/emacs/trunk/revision/108385>
The bug still exists in the emacs-24 branch though.

Here is the patch that is applied to the Gentoo package:
<http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/emacs/24.1/04_all_gnulib-gets.patch?view=log>





                 reply	other threads:[~2012-07-07 15:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20472.23115.93733.742523@a1i15.kph.uni-mainz.de \
    --to=ulm@gentoo.org \
    --cc=11873@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.