bugGNU roff - Bugs: bug #60339, lib/unistd.in.h: compilation...

 
 

bug #60339: lib/unistd.in.h: compilation error: "config.h" is missing

Submitter:  Bjarni Ingi Gislason <bjarniig>
Submitted:  Mon 05 Apr 2021 03:36:51 AM UTC
   
 
Category:  Core Severity:  3 - Normal
Item Group:  Build/Installation Status:  Duplicate
Privacy:  Public Assigned to:  gbranden
Open/Closed:  Closed Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 10 Oct 2021 09:02:05 PM UTC, comment #3: 

Closing as a duplicate of bug #61315, which admittedly came later, but had a patch and a nigh-unimpeachable explanation from Paul Eggert.

G. Branden Robinson <gbranden>
Group administrator
Mon 02 Aug 2021 05:25:08 PM UTC, comment #2: 

Yes.

See bug report #60339 and #59276 (closed).


Bjarni Ingi Gislason <bjarniig>
Wed 21 Apr 2021 02:34:41 AM UTC, comment #1: 

I don't get any compilation errors with my Debian buster-based toolchain.  Are you saying you see these errors after updating gnulib to a revision not currently used in the groff Git repository?

G. Branden Robinson <gbranden>
Group administrator
Mon 05 Apr 2021 03:36:51 AM UTC, original submission:  

Subject: lib/unistd.in.h: compilation error: "config.h" is missing

In file included from /usr/include/X11/Xos.h:89,
                 from ../src/devices/xditview/font.c:7:
./lib/unistd.h:663:3: error: #error "Please include config.h first."
  663 |  #error "Please include config.h first."
      |   ^~~~~
./lib/unistd.h:665:24: error: expected ';' before 'extern'
  665 | _GL_INLINE_HEADER_BEGIN
      |                        ^
      |                        ;
./lib/unistd.h:2806:22: error: expected ';' before 'struct'
 2806 | _GL_INLINE_HEADER_END
      |                      ^
      |                      ;


  Fixed as suggested, which leads to the next compilation error:

  CC       src/devices/xditview/gxditview-xditview.o
  CC       src/libs/libxutil/libxutil_a-DviChar.o
  CC       src/libs/libxutil/libxutil_a-XFontName.o
  CC       src/libs/libxutil/libxutil_a-xmalloc.o
  AR       libxutil.a
  CCLD     gxditview
/usr/bin/ld: libxutil.a(libxutil_a-DviChar.o): in function `dispose_hash':
/home/bg/git/groff/build/../src/libs/libxutil/DviChar.c:90: undefined reference to `rpl_free'
collect2: error: ld returned 1 exit status


Bjarni Ingi Gislason <bjarniig>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gbranden (Posted a comment)
  • -email is unavailable- added by bjarniig (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-10-10 gbranden StatusNeed Info Duplicate
        Assigned toNone gbranden
        Open/ClosedOpen Closed
    2021-04-21 gbranden StatusNone Need Info

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code