bug3DLDF - Bugs: bug #48345, Fails to compile using G++-6

 
 

bug #48345: Fails to compile using G++-6

Submitter:  Hilmar Preusse <hpreusse>
Submitted:  Wed 29 Jun 2016 04:10:30 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  lfinsto1
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 11 Apr 2021 07:48:50 PM UTC, comment #3: 


> Is there already a compilable tar ball I can test? I did a git
> checkout, which fails to build:


No.  There are some problems with the Makefile which I will have
to address.  `dummy' isn't needed and I've just commented-out
the references to it in src/Makefile.am and checked it in, which should solve this one problem.  I've added a shellscript `create_headers.sh' to create the header files (*.h++).  When they don't exist, this can also cause compilation to fail.

I will get around to fixing the way the package is built as soon as I can, but it isn't the top priority at present.  The top
priority is writing a new manual to account for the package being interactive.  I will continue checking in my changes but I don't plan on making tarballs, especially seeing as how there are no users, to the best of my knowledge.

Laurence Finston <lfinsto1>
Group administrator
Sun 11 Apr 2021 07:13:11 PM UTC, comment #2: 

Is there already a compilable tar ball I can test? I did a git checkout, which fails to build:

Making all in src
make[3]: Entering directory '/home/hille/devel/TeXLive/git/salsa/3dldf/src'
make[3]: * No rule to make target 'dummy.cxx', needed by 'dummy.o'.  Stop.
make[3]: Leaving directory '/home/hille/devel/TeXLive/git/salsa/3dldf/src'
make[2]: * [Makefile:465: all-recursive] Error 1
make[2]: Leaving directory '/home/hille/devel/TeXLive/git/salsa/3dldf'
make[1]: * [Makefile:397: all] Error 2
make[1]: Leaving directory '/home/hille/devel/TeXLive/git/salsa/3dldf'
dh_auto_build: error: make -j1 returned exit code 2
make: * [debian/rules:9: build] Error 255

Anonymous
Mon 13 Mar 2017 08:40:05 PM UTC, comment #1: 

The change in gcc 6 that FTBFS 3dldf is the change of the default C++ mode from gnu++98 to gnu++14. In Debian we work arounded the problem by falling back to gnu++14.

Hilmar Preusse <hpreusse>
Wed 29 Jun 2016 04:10:30 PM UTC, original submission:  

Down here in the Debian bug tracking system we got a report. It says that the source code can't be compiled using the GCC-/G++-6 compiler suite: https://bugs.debian.org/811794 . This can be reproduced easily on a Debian system.

g++-6 -DHAVE_CONFIG_H -I. -I..   -Wdate-time -D_FORTIFY_SOURCE=2  -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -c -o parser.o parser.c++
parser.y++: In function ‘int yyparse(yyscan_t)’:
parser.y++:40411:13: error: reference to ‘conditional’ is ambiguous
 int status= conditional(scanner_node,i);
             ^~~~~~~~~~~
In file included from parser.y++:17:0:
./io.web:5251:1: note: candidates are: int Scan_Parse::conditional(Scanner_Node, int)
      Scan_Parse::conditional(Scanner_Node scanner_node,
 ^    ~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
                 from /usr/include/c++/6/bits/stl_pair.h:59,
                 from /usr/include/c++/6/utility:70,
                 from /usr/include/c++/6/algorithm:60,
                 from ./loader.web:221,
                 from parser.y++:12:
/usr/include/c++/6/type_traits:104:12: note:                 template<bool <anonymous>, class, class> struct std::conditional
     struct conditional;
            ^~~~~~~~~~~
parser.y++:40459:13: error: reference to ‘conditional’ is ambiguous
 int status= conditional(static_cast<Scanner_Node> (parameter),discard);
             ^~~~~~~~~~~
In file included from parser.y++:17:0:
./io.web:5251:1: note: candidates are: int Scan_Parse::conditional(Scanner_Node, int)
      Scan_Parse::conditional(Scanner_Node scanner_node,
 ^    ~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
                 from /usr/include/c++/6/bits/stl_pair.h:59,
                 from /usr/include/c++/6/utility:70,
                 from /usr/include/c++/6/algorithm:60,
                 from ./loader.web:221,
                 from parser.y++:12:
/usr/include/c++/6/type_traits:104:12: note:                 template<bool <anonymous>, class, class> struct std::conditional
     struct conditional;
            ^~~~~~~~~~~
parser.y++:40502:13: error: reference to ‘conditional’ is ambiguous
 int status= conditional(static_cast<Scanner_Node> (parameter),discard);
             ^~~~~~~~~~~
In file included from parser.y++:17:0:
./io.web:5251:1: note: candidates are: int Scan_Parse::conditional(Scanner_Node, int)
      Scan_Parse::conditional(Scanner_Node scanner_node,
 ^    ~~~~~
In file included from /usr/include/c++/6/bits/move.h:57:0,
                 from /usr/include/c++/6/bits/stl_pair.h:59,
                 from /usr/include/c++/6/utility:70,
                 from /usr/include/c++/6/algorithm:60,
                 from ./loader.web:221,
                 from parser.y++:12:
/usr/include/c++/6/type_traits:104:12: note:                 template<bool <anonymous>, class, class> struct std::conditional
     struct conditional;
            ^~~~~~~~~~~

Hilmar Preusse <hpreusse>

 

(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 lfinsto1 (Updated the item)
  • -email is unavailable- added by hpreusse (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 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2021-04-11 lfinsto1 StatusNone Fixed
    2016-06-30 lfinsto1 Assigned toNone lfinsto1

    Back to the top

    Powered by Savane 3.13-3230.
    Corresponding source code