GNU bug report logs - #18666
emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue

Previous Next

Package: emacs;

Reported by: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>

Date: Wed, 8 Oct 2014 15:47:01 UTC

Severity: important

Found in version 24.3.94

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#18666: closed (emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy)
 build issue)
Date: Fri, 10 Oct 2014 18:05:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Fri, 10 Oct 2014 11:03:52 -0700
with message-id <54381F88.8030103 <at> cs.ucla.edu>
and subject line Re: bug#18666: emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue
has caused the debbugs.gnu.org bug report #18666,
regarding emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
18666: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18666
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: "Nelson H. F. Beebe" <beebe <at> math.utah.edu>
To: submit <at> debbugs.gnu.org
Subject: emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue
Date: Wed, 8 Oct 2014 05:53:10 -0600 (MDT)
Package: emacs
Version: 24.3.94
Severity: important

An emacs-24.3.94 build on Debian GNU/kFreeBSD 7 (wheezy) x86-64 with
CC=c99 fails with this error:

    /usr/bin/c99 -c  -Demacs -I. -I. -I../lib -I./../lib \
        -I/usr/include/freetype2 \
	-I/usr/include/freetype2 -MMD -MF deps/process.d -MP \
	-I/usr/uumath/include  process.c
    process.c:177:1: error: static declaration of `accept4' follows
		     non-static declarationmake[1]: Leaving directory
		     `/local/build/c99/emacs-24.3.94/src'

The problem is this code in the indicated system header file:

    #ifdef __USE_GNU
    /* Similar to 'accept' but takes an additional parameter to specify flags.

       This function is a cancellation point and therefore not marked with
       __THROW.  */
    extern int accept4 (int __fd, __SOCKADDR_ARG __addr,
			socklen_t *__restrict __addr_len, int __flags);
    #endif

The solution was simple:

    % diff src/process.c.~1~ src/process.c
    176c176
    < static int
    ---
    > /* static */ int

I restarted the build, and it completed successfully, as did the final
"make install" step.

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: beebe <at> math.utah.edu  -
- 155 S 1400 E RM 233                       beebe <at> acm.org  beebe <at> computer.org -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------


[Message part 3 (message/rfc822, inline)]
From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 18666-done <at> debbugs.gnu.org
Subject: Re: bug#18666: emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build
 issue
Date: Fri, 10 Oct 2014 11:03:52 -0700
Glenn Morris wrote:
> if you think there is a safe way to solve this
> in emacs-24, I suggest you just go for it and mark this as done

Thanks, done as emacs-24 bzr 117570.


This bug report was last modified 10 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.