Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 729252 - app-editors/hteditor-2.1.0-r1: fails to compile with Clang: ../htinfo.h:30:39: error: invalid suffix on literal; C++11 requires a space
Summary: app-editors/hteditor-2.1.0-r1: fails to compile with Clang: ../htinfo.h:30:39...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All All
: Normal normal
Assignee: Sergei Trofimovich (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-clang
  Show dependency tree
 
Reported: 2020-06-23 06:35 UTC by Agostino Sarubbo
Modified: 2020-07-04 17:31 UTC (History)
0 users

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


Attachments
build.log (build.log,33.74 KB, text/plain)
2020-06-23 06:35 UTC, Agostino Sarubbo
Details
other.tar.bz2 (other.tar.bz2,246 bytes, application/x-bzip2)
2020-06-23 06:35 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2020-06-23 06:35:14 UTC
@@This is an auto-filed bug@@
If you think that a different summary clarifies the issue better, feel free to change it.

Issue: app-editors/hteditor fails to compile.
Discovered on: amd64

NOTE:
If you need further logs, feel free to ask.
Comment 1 Agostino Sarubbo gentoo-dev 2020-06-23 06:35:20 UTC
Created attachment 645804 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2020-06-23 06:35:23 UTC
Created attachment 645806 [details]
other.tar.bz2

other logs
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2020-06-23 07:58:50 UTC
Relevant build failure:

"""
x86_64-pc-linux-gnu-clang++ -DHAVE_CONFIG_H -I. -I..   -I.. -I../analyser -I../asm -I../io/posix -I../io -I../output   -DNOMACROS -pipe  -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Woverloaded-virtual -Wnon-virtual-dtor -O2 -pipe -march=native -frecord-gcc-switches -fno-diagnostics-color -c -o out.o out.cc
In file included from out_html.cc:23:
../htinfo.h:30:39: error: invalid suffix on literal; C++11 requires a space
      between literal and identifier [-Wreserved-user-defined-literal]
#define ht_copyright1 "(c) 1999-2004 "ht_author1
                                      ^
"""
Comment 4 Larry the Git Cow gentoo-dev 2020-06-23 08:48:08 UTC
The bug has been referenced in the following commit(s):

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

commit f06a09623408b03131890042efcafc84c203be7c
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-06-23 08:47:54 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-06-23 08:48:03 +0000

    app-editors/hteditor: force -std=c++98
    
    Workaround build failure on clang by downgrading doen to C++ 98.
    
    Reported-by: Agostino Sarubbo
    Bug: https://bugs.gentoo.org/729252
    Package-Manager: Portage-2.3.101, Repoman-2.3.22
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-editors/hteditor/hteditor-2.1.0-r1.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
Comment 5 Sergei Trofimovich (RETIRED) gentoo-dev 2020-06-23 08:53:09 UTC
Also upstream already moved to c++14 and seems to build with clang. We need to make a snapshot.
Comment 6 Larry the Git Cow gentoo-dev 2020-07-04 17:31:11 UTC
The bug has been closed via the following commit(s):

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

commit e2ceeac170799d229abda0f29cfb6a5eb1605d1b
Author:     Sergei Trofimovich <slyfox@gentoo.org>
AuthorDate: 2020-07-04 17:30:55 +0000
Commit:     Sergei Trofimovich <slyfox@gentoo.org>
CommitDate: 2020-07-04 17:31:07 +0000

    app-editors/hteditor: bump up to 2.1.1_pre20161206
    
    It's a snapshort of latest code available in upstream repository.
    
    Reported-by: Agostino Sarubbo
    Closes: https://bugs.gentoo.org/729252
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>

 app-editors/hteditor/Manifest                      |  1 +
 .../hteditor/hteditor-2.1.1_pre20161206.ebuild     | 49 ++++++++++++++++++++++
 2 files changed, 50 insertions(+)