Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895192 - app-backup/bareos-21.1.5-r2 fails to compile (GCC-13-SYSTEM): cats.h:491:50: error: expected class-name before { token
Summary: app-backup/bareos-21.1.5-r2 fails to compile (GCC-13-SYSTEM): cats.h:491:50: ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Marc Schiffbauer
URL: https://bugs.bareos.org/view.php?id=1517
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks: gcc-13
  Show dependency tree
 
Reported: 2023-02-18 07:02 UTC by Agostino Sarubbo
Modified: 2023-04-20 20:22 UTC (History)
0 users

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


Attachments
build.log (build.log,179.30 KB, text/plain)
2023-02-18 07:02 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 2023-02-18 07:02:14 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: app-backup/bareos-21.1.5-r2 fails to compile (GCC-13-SYSTEM).
Discovered on: amd64 (internal ref: gcc13_tinderbox)

NOTE:
(GCC-13-SYSTEM) in the summary means that the bug was found on a machine that runs gcc-13 but this bug MAY or MAY NOT BE related to the new compiler
Comment 1 Agostino Sarubbo gentoo-dev 2023-02-18 07:02:17 UTC
Created attachment 852366 [details]
build.log

build log and emerge --info
Comment 2 Agostino Sarubbo gentoo-dev 2023-02-18 07:02:17 UTC
Error(s) that match a know pattern in addition to what has been reported in the summary:


-- Could NOT find GTest (missing: GTest_DIR)
-- Could NOT find Python2 (missing: Python2_EXECUTABLE Python2_INCLUDE_DIRS Python2_LIBRARIES Interpreter Development Development.Module Development.Embed) 
FAILED: core/src/cats/CMakeFiles/bareoscats.dir/cats_backends.cc.o 
FAILED: core/src/cats/CMakeFiles/bareoscats-postgresql.dir/cats_backends.cc.o 
FAILED: core/src/cats/CMakeFiles/bareoscats-postgresql.dir/postgresql_batch.cc.o 
FAILED: core/src/cats/CMakeFiles/bareoscats-postgresql.dir/postgresql.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/bvfs.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/cats.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_create.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_delete.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_find.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_get.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_list.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_pooling.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_query.cc.o 
FAILED: core/src/cats/CMakeFiles/bareossql.dir/sql_update.cc.o 
--   Package 'systemd', required by 'virtual:world', not found
-- Skipping unit tests as gtest was not found
/var/tmp/portage/app-backup/bareos-21.1.5-r2/work/bareos-Release-21.1.5/core/src/cats/cats.h: In constructor ‘BareosSqlError::BareosSqlError(const char*)’:
/var/tmp/portage/app-backup/bareos-21.1.5-r2/work/bareos-Release-21.1.5/core/src/cats/cats.h:491:50: error: expected class-name before ‘{’ token
Comment 3 Marc Schiffbauer gentoo-dev 2023-04-19 11:13:39 UTC
This is the PR that should fix it. Not released yet.

 https://github.com/bareos/bareos/pull/1424
Comment 4 Larry the Git Cow gentoo-dev 2023-04-20 20:22:34 UTC
The bug has been closed via the following commit(s):

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

commit 2030296ba1f27c4e78d61d551345f9899505ce8a
Author:     Marc Schiffbauer <mschiff@gentoo.org>
AuthorDate: 2023-04-20 16:45:37 +0000
Commit:     Marc Schiffbauer <mschiff@gentoo.org>
CommitDate: 2023-04-20 20:22:21 +0000

    app-backup/bareos: fix gcc13 compile error for 21.1.7
    
    Closes: https://bugs.gentoo.org/895192
    Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>

 app-backup/bareos/bareos-21.1.7-r1.ebuild | 414 ++++++++++++++++++++++++++++++
 1 file changed, 414 insertions(+)