[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#18666: closed (emacs-24.3.94: Debian GNU/kFreeBSD

From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#18666: closed (emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue)
Date: Fri, 10 Oct 2014 18:05:02 +0000

Your message dated Fri, 10 Oct 2014 11:03:52 -0700
with message-id <address@hidden>
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

18666: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18666
GNU Bug Tracking System
Contact address@hidden with problems
--- Begin Message --- Subject: emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue Date: Wed, 8 Oct 2014 05:53:10 -0600 (MDT) User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
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

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);

The solution was simple:

    % diff src/process.c.~1~ src/process.c
    < 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: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -

--- End Message ---
--- Begin Message --- Subject: Re: bug#18666: emacs-24.3.94: Debian GNU/kFreeBSD 7 (wheezy) build issue Date: Fri, 10 Oct 2014 11:03:52 -0700 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.2
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.

--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]