Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 898650 - app-arch/p7zip-17.05 error: ‘kZSTD’ was not declared in this scope
Summary: app-arch/p7zip-17.05 error: ‘kZSTD’ was not declared in this scope
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
: 898748 898944 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-03-02 01:01 UTC by email200202
Modified: 2023-03-03 17:42 UTC (History)
10 users (show)

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


Attachments
build.log (build.log,2.22 KB, text/x-log)
2023-03-02 01:03 UTC, email200202
Details
emerge -pqv '=app-arch/p7zip-17.05::gentoo' (file_898650.txt,161 bytes, text/plain)
2023-03-02 01:04 UTC, email200202
Details
emerge --info '=app-arch/p7zip-17.05::gentoo' (file_898650.txt,7.06 KB, text/plain)
2023-03-02 01:06 UTC, email200202
Details

Note You need to log in before you can comment on or make changes to this bug.
Description email200202 2023-03-02 01:01:41 UTC
app-arch/p7zip-17.05 failed to build with the message
make -j9 -s CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ all3 
make -j9 -s CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ -- 7zG 
../../../../CPP/7zip/UI/GUI/CompressDialog.cpp:147:3: error: ‘kZSTD’ was not declared in this scope
  147 |   kZSTD
      |   ^~~~~
make[1]: *** [makefile.list:237: CompressDialog.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [makefile:53: 7zG] Error 2



Reproducible: Always

Steps to Reproduce:
1. emerge --sync
2. emerge -auvDN world

Actual Results:  
Failed to emerge

Expected Results:  
Not to fail
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-02 01:02:02 UTC
Please always include the full build.log and emerge --info.
Comment 2 email200202 2023-03-02 01:03:08 UTC
Created attachment 855494 [details]
build.log
Comment 3 email200202 2023-03-02 01:04:48 UTC
Created attachment 855496 [details]
emerge -pqv '=app-arch/p7zip-17.05::gentoo'
Comment 4 email200202 2023-03-02 01:06:08 UTC
Created attachment 855498 [details]
emerge --info '=app-arch/p7zip-17.05::gentoo'
Comment 5 andreas 2023-03-02 06:07:26 UTC
got the same today
Comment 6 MZ 2023-03-02 08:39:44 UTC
same problem.
Comment 7 Andrey Grozin gentoo-dev 2023-03-02 14:03:32 UTC
*** Bug 898748 has been marked as a duplicate of this bug. ***
Comment 8 Larry the Git Cow gentoo-dev 2023-03-02 14:10:17 UTC
The bug has been referenced in the following commit(s):

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

commit 71c8bc0770a49db8767a7e42fe0892b25607648c
Author:     Matthew Thode <prometheanfire@gentoo.org>
AuthorDate: 2023-03-02 14:08:43 +0000
Commit:     Matthew Thode <prometheanfire@gentoo.org>
CommitDate: 2023-03-02 14:08:43 +0000

    app-arch/p7zip: remove gui support
    
    only cli is currently supported
    
    Bug: https://bugs.gentoo.org/898650
    
    Signed-off-by: Matthew Thode <prometheanfire@gentoo.org>

 app-arch/p7zip/p7zip-17.05.ebuild | 35 ++---------------------------------
 1 file changed, 2 insertions(+), 33 deletions(-)
Comment 9 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2023-03-02 14:30:55 UTC
I'm going to mark this as solved for now.  The fork currently does not support gui unfortunately.
Comment 10 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-03 00:24:51 UTC
*** Bug 898944 has been marked as a duplicate of this bug. ***
Comment 11 Helmut Jarausch 2023-03-03 17:40:20 UTC
(In reply to Matthew Thode ( prometheanfire ) from comment #9)
> I'm going to mark this as solved for now.  The fork currently does not
> support gui unfortunately.

I still can't build it here.
../../../../CPP/Windows/Registry.cpp: In member function 'LONG NWindows::NRegistry::CKey::QueryValue(LPCTSTR, CSysString&)':
../../../../CPP/Windows/Registry.cpp:138:25: error: ambiguous overload for 'operator=' (operand types are 'CSysString' {aka 'UString'} and 'wxString')
  138 |                 value = val;
      |                         ^~~
In file included from ../../../../CPP/myWindows/StdAfx.h:20,
                 from ../../../../CPP/Windows/Registry.cpp:3:
../../../../CPP/Common/MyString.h:526:12: note: candidate: 'UString& UString::operator=(const wchar_t*)'
  526 |   UString &operator=(const wchar_t *s);
      |            ^~~~~~~~
../../../../CPP/Common/MyString.h:529:12: note: candidate: 'UString& UString::operator=(const char*)'
  529 |   UString &operator=(const char *s);

and similar errors.
I am using 
gcc version 12.2.1 20230117 (Gentoo 12.2.1
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2023-03-03 17:42:16 UTC
Please share the full build.log and emerge --info in a new bug.