Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 880923 - app-misc/sphinx-2.2.11-r5 - sphinxutils.cpp: error: invalid suffix on literal; C++11 requires a
Summary: app-misc/sphinx-2.2.11-r5 - sphinxutils.cpp: error: invalid suffix on literal...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Hans de Graaff
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-11-11 12:05 UTC by Toralf Förster
Modified: 2024-03-05 07:01 UTC (History)
0 users

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


Attachments
emerge-info.txt (emerge-info.txt,19.08 KB, text/plain)
2022-11-11 12:05 UTC, Toralf Förster
Details
app-misc:sphinx-2.2.11-r5:20221111-104748.log (app-misc:sphinx-2.2.11-r5:20221111-104748.log,32.73 KB, text/plain)
2022-11-11 12:05 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,139.67 KB, text/plain)
2022-11-11 12:05 UTC, Toralf Förster
Details
environment (environment,79.34 KB, text/plain)
2022-11-11 12:05 UTC, Toralf Förster
Details
etc.clang.tar.bz2 (etc.clang.tar.bz2,696 bytes, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details
etc.portage.tar.bz2 (etc.portage.tar.bz2,48.13 KB, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details
logs.tar.bz2 (logs.tar.bz2,14.57 KB, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details
temp.tar.bz2 (temp.tar.bz2,29.79 KB, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details
var.tmp.clang.tar.bz2 (var.tmp.clang.tar.bz2,3.03 KB, application/x-bzip)
2022-11-11 12:05 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2022-11-11 12:05:25 UTC
./sphinx.h:436:3: warning: 'register' storage class specifier is deprecated and
      incompatible with C++17 [-Wdeprecated-register]
                register int * pChunk = m_pChunk [ iCode >> CHUNK_BITS ];
                ^~~~~~~~~
sphinxutils.cpp:2106:46: error: invalid suffix on literal; C++11 requires a
      space between literal and identifier [-Wreserved-user-defined-literal]
        sphSafeInfo ( iFD, "Configured with flags: "CONFIGURE_FLAGS );

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-j4-20221110-100005

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

GNUMAKEFLAGS="$GNUMAKEFLAGS --shuffle"
CC=clang
CXX=clang++
gcc-config -l:
 [1] x86_64-pc-linux-gnu-12 *
clang/llvm (if any):
clang version 15.0.4
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/15/bin
Configuration file: /etc/clang/clang.cfg
/usr/lib/llvm/15
15.0.4
Python 3.10.8
Available Ruby profiles:
  (none found)
Available Rust versions:
  [1]   rust-bin-1.65.0 *
The following VMs are available for generation-2:
1)	Eclipse Temurin JDK 11.0.16.1_p1 [openjdk-bin-11]
*)	Eclipse Temurin JDK 17.0.4.1_p1 [openjdk-bin-17]
3)	Eclipse Temurin JDK 8.345_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   openjdk-bin-8 
  [2]   openjdk-bin-11 
  [3]   openjdk-bin-17  system-vm

php cli (if any):

  HEAD of ::gentoo
commit 662bac4a9630c3ecb61f904350df4f63142b75c0
Author: Repository mirror & CI <repomirrorci@gentoo.org>
Date:   Fri Nov 11 08:46:51 2022 +0000

    2022-11-11 08:46:50 UTC

emerge -qpvO app-misc/sphinx
[ebuild  N    ] app-misc/sphinx-2.2.11-r5  USE="id64 mysql syslog -debug -mariadb -odbc -postgres -stemmer -xml"
Comment 1 Toralf Förster gentoo-dev 2022-11-11 12:05:26 UTC
Created attachment 830913 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2022-11-11 12:05:27 UTC
Created attachment 830915 [details]
app-misc:sphinx-2.2.11-r5:20221111-104748.log
Comment 3 Toralf Förster gentoo-dev 2022-11-11 12:05:29 UTC
Created attachment 830917 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2022-11-11 12:05:30 UTC
Created attachment 830919 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2022-11-11 12:05:31 UTC
Created attachment 830921 [details]
etc.clang.tar.bz2
Comment 6 Toralf Förster gentoo-dev 2022-11-11 12:05:32 UTC
Created attachment 830923 [details]
etc.portage.tar.bz2
Comment 7 Toralf Förster gentoo-dev 2022-11-11 12:05:33 UTC
Created attachment 830925 [details]
logs.tar.bz2
Comment 8 Toralf Förster gentoo-dev 2022-11-11 12:05:34 UTC
Created attachment 830927 [details]
temp.tar.bz2
Comment 9 Toralf Förster gentoo-dev 2022-11-11 12:05:35 UTC
Created attachment 830929 [details]
var.tmp.clang.tar.bz2
Comment 10 Larry the Git Cow gentoo-dev 2022-11-14 06:42:22 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1069c86e5578828a2640f2cc3510fe11c0ba804b

commit 1069c86e5578828a2640f2cc3510fe11c0ba804b
Author:     Hans de Graaff <graaff@gentoo.org>
AuthorDate: 2022-11-13 10:03:27 +0000
Commit:     Hans de Graaff <graaff@gentoo.org>
CommitDate: 2022-11-14 06:42:06 +0000

    app-misc/sphinx: lock C/C++ to older versions of the standard
    
    This code is no longer maintained and has compatibility issues with
    newer C and C++ standards. Lock to older standards to avoid compilation
    issues.
    
    Closes: https://bugs.gentoo.org/880923
    Signed-off-by: Hans de Graaff <graaff@gentoo.org>

 app-misc/sphinx/sphinx-2.2.11-r5.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)
Comment 11 Larry the Git Cow gentoo-dev 2024-03-05 07:01:35 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bd7082dff404bb1031102adc1cf64ab0dc54c63

commit 9bd7082dff404bb1031102adc1cf64ab0dc54c63
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2024-03-05 07:00:07 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-03-05 07:00:34 +0000

    app-misc/sphinx: filter LTO, no SA
    
    The codebase is very old and it's no longer being maintained upstream. Do
    as we did in 1069c86e5578828a2640f2cc3510fe11c0ba804b.
    
    Bug: https://bugs.gentoo.org/880923
    Closes: https://bugs.gentoo.org/854738
    Signed-off-by: Sam James <sam@gentoo.org>

 app-misc/sphinx/sphinx-2.2.11-r5.ebuild | 3 +++
 1 file changed, 3 insertions(+)