Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 684360 - app-office/lyx-2.3.0-r1 : FileName.cpp:77:64: error: wrong number of template arguments (3, should be 4)
Summary: app-office/lyx-2.3.0-r1 : FileName.cpp:77:64: error: wrong number of template...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Alexis Ballier
URL:
Whiteboard:
Keywords: PATCH
: 689192 (view as bug list)
Depends on: 667718
Blocks: boost-1.71
  Show dependency tree
 
Reported: 2019-04-25 18:35 UTC by Toralf Förster
Modified: 2019-07-17 17:58 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.22 KB, text/plain)
2019-04-25 18:35 UTC, Toralf Förster
Details
app-office:lyx-2.3.0-r1:20190425-112714.log (app-office:lyx-2.3.0-r1:20190425-112714.log,20.50 KB, text/plain)
2019-04-25 18:35 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,185.18 KB, text/plain)
2019-04-25 18:35 UTC, Toralf Förster
Details
environment (environment,141.88 KB, text/plain)
2019-04-25 18:35 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,11.33 KB, application/x-bzip)
2019-04-25 18:35 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.44 KB, application/x-bzip)
2019-04-25 18:35 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,34.90 KB, application/x-bzip)
2019-04-25 18:35 UTC, Toralf Förster
Details
Patch to compile with boost version >=1.69 (boost-1.69.patch,1.23 KB, patch)
2019-06-18 18:00 UTC, adebeus
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2019-04-25 18:35:22 UTC
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../..  -I./..    -DQT_NO_STL -DQT_NO_KEYWORDS -I/usr/include/qt5/QtCore -I/usr/include/qt5 -DQT_CONCURRENT_LIB -I/usr/include/qt5/QtConcurrent -I/usr/include/qt5/QtGui -DQT_SVG_LIB -I/usr/include/qt5/QtSvg -I/usr/include/qt5/QtWidgets -DQT_WIDGETS_LIB -DQT_X11EXTRAS_LIB -I/usr/include/qt5/QtX11Extras -DQT_GUI_LIB -DQT_CORE_LIB   -fPIC -O2 -std=c++14  -std=c++14  -O2 -pipe -march=native -c -o FileName.o FileName.cpp
FileName.cpp:77:64: error: wrong number of template arguments (3, should be 4)
 template struct boost::detail::crc_table_t<32, 0x04C11DB7, true>;
                                                                ^
In file included from FileName.cpp:33:

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.0-desktop-plasma_libressl_20190420-183246

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] x86_64-pc-linux-gnu-8.3.0 *

Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.6
  [3]   python2.7 (fallback)
  [4]   pypy (fallback)
  [5]   jython2.7 (fallback)
Available Ruby profiles:
  [1]   ruby24 (with Rubygems) *
  [2]   ruby25 (with Rubygems)
  [3]   ruby26 (with Rubygems)
Available Rust versions:
  [1]   rust-1.34.0 *
java-config:
The following VMs are available for generation-2:
*)	IcedTea JDK 3.10.0 [icedtea-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-bin-8  system-vm

emerge -qpvO app-office/lyx
[ebuild  N    ] app-office/lyx-2.3.0-r1  USE="X cups hunspell latex nls svg -aspell -debug -dia -docbook -dot -enchant -gnumeric -html -monolithic-build -rcs -rtf (-subversion)" L10N="-he" PYTHON_TARGETS="python2_7"
Comment 1 Toralf Förster gentoo-dev 2019-04-25 18:35:25 UTC
Created attachment 574130 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2019-04-25 18:35:28 UTC
Created attachment 574132 [details]
app-office:lyx-2.3.0-r1:20190425-112714.log
Comment 3 Toralf Förster gentoo-dev 2019-04-25 18:35:31 UTC
Created attachment 574134 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2019-04-25 18:35:34 UTC
Created attachment 574136 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2019-04-25 18:35:36 UTC
Created attachment 574138 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2019-04-25 18:35:39 UTC
Created attachment 574140 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2019-04-25 18:35:42 UTC
Created attachment 574142 [details]
temp.tbz2
Comment 8 adebeus 2019-06-18 18:00:28 UTC
Created attachment 580086 [details, diff]
Patch to compile with boost version >=1.69

This issue appears to be related to attempting to build against boost 1.70. Upstream has fixed the issue, but it hasn't made it into a released version yet (planned for 2.3.3, 2.3.2 is currently latest, 2.3.0 is currently in ::gentoo). The fix is a simple one-liner and can be applied to the version currently in the tree. I've tested the attached patch via /etc/portage/patches and it works with the existing ebuild.
Comment 9 Andreas Sturmlechner gentoo-dev 2019-07-07 18:39:21 UTC
*** Bug 689192 has been marked as a duplicate of this bug. ***
Comment 10 Larry the Git Cow gentoo-dev 2019-07-14 20:03:20 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78f521e8b51fdb8a37a1a11e05f9a9d870927ff9

commit 78f521e8b51fdb8a37a1a11e05f9a9d870927ff9
Author:     David Seifert <soap@gentoo.org>
AuthorDate: 2019-07-14 20:02:13 +0000
Commit:     David Seifert <soap@gentoo.org>
CommitDate: 2019-07-14 20:03:02 +0000

    app-office/lyx: Version bump to 2.3.3
    
    Bug: https://bugs.gentoo.org/684360
    Closes: https://bugs.gentoo.org/667718
    Package-Manager: Portage-2.3.69, Repoman-2.3.16
    Signed-off-by: David Seifert <soap@gentoo.org>

 app-office/lyx/Manifest         |   1 +
 app-office/lyx/lyx-2.3.3.ebuild | 176 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 177 insertions(+)
Comment 11 Andreas Sturmlechner gentoo-dev 2019-07-17 17:58:01 UTC
Well, it built fine at least for me.