Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] sddm fails to build 
@ 2022-07-15  0:31 Pancakeblast
  2022-07-15  0:34 ` Pancakeblast
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Pancakeblast @ 2022-07-15  0:31 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3082 bytes --]

New issue by Pancakeblast on void-packages repository

https://github.com/void-linux/void-packages/issues/38078

Description:
### Is this a new report?

Yes

### System Info

Void 5.18.9_1 x86_64 AuthenticAMD uptodate rFFFFFF

### Package(s) Affected

sddm-0.19.0_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

Issue: https://github.com/sddm/sddm/issues/1536
Link to fix/patch: https://github.com/sddm/sddm/commit/e93bf95c54ad8c2a1604f8d7be05339164b19308

### Expected behaviour

Package builds from cloned repo with ./xbps-src pkg sddm 

### Actual behaviour

Compilation fails with error:

[ 86%] Building CXX object src/greeter/CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o
cd /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter && /usr/bin/c++ -DHAVE_JOURNALD -DHAVE_SYSTEMD -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DUSE_PAM -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/greeter -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter/sddm-greeter_autogen/include -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/common -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/common -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQmlModels -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DNDEBUG   -Wall -std=c++11 -fPIC -MD -MT src/greeter/CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o -MF CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o.d -o CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o -c /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/greeter/ScreenModel.cpp
/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp: In constructor 'SDDM::XorgDisplayServer::XorgDisplayServer(SDDM::Display*)':
/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp:68:42: error: use of deleted function 'QCharRef& QCharRef::operator=(char)'
   68 |             m_cookie[i] = digits[dis(gen)];
      |                                          ^
In file included from /usr/include/qt5/QtCore/qobject.h:47,
                 from /usr/include/qt5/QtCore/QObject:1,
                 from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/DisplayServer.h:24,
                 from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.h:24,
                 from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp:21:
/usr/include/qt5/QtCore/qstring.h:1236:15: note: declared here
 1236 |     QCharRef &operator=(char c) = delete;
      |               ^~~~~~~~

### Steps to reproduce

Build sddm from current template. Fail.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sddm fails to build 
  2022-07-15  0:31 [ISSUE] sddm fails to build Pancakeblast
@ 2022-07-15  0:34 ` Pancakeblast
  2022-07-15  5:01 ` tranzystorek-io
  2022-07-15  6:02 ` [ISSUE] [CLOSED] " sgn
  2 siblings, 0 replies; 4+ messages in thread
From: Pancakeblast @ 2022-07-15  0:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 345 bytes --]

New comment by Pancakeblast on void-packages repository

https://github.com/void-linux/void-packages/issues/38078#issuecomment-1185053552

Comment:
Tried to build with above mentioned patch. Succeeded. Not sure whether to make a PR with that patch, or if the right thing to do is just wait for upstream to make a release with the included fix. 

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: sddm fails to build 
  2022-07-15  0:31 [ISSUE] sddm fails to build Pancakeblast
  2022-07-15  0:34 ` Pancakeblast
@ 2022-07-15  5:01 ` tranzystorek-io
  2022-07-15  6:02 ` [ISSUE] [CLOSED] " sgn
  2 siblings, 0 replies; 4+ messages in thread
From: tranzystorek-io @ 2022-07-15  5:01 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 250 bytes --]

New comment by tranzystorek-io on void-packages repository

https://github.com/void-linux/void-packages/issues/38078#issuecomment-1185175522

Comment:
Since sddm binpkg still works in the current revision, I'd say we can wait until upstream release.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [ISSUE] [CLOSED] sddm fails to build 
  2022-07-15  0:31 [ISSUE] sddm fails to build Pancakeblast
  2022-07-15  0:34 ` Pancakeblast
  2022-07-15  5:01 ` tranzystorek-io
@ 2022-07-15  6:02 ` sgn
  2 siblings, 0 replies; 4+ messages in thread
From: sgn @ 2022-07-15  6:02 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 3093 bytes --]

Closed issue by Pancakeblast on void-packages repository

https://github.com/void-linux/void-packages/issues/38078

Description:
### Is this a new report?

Yes

### System Info

Void 5.18.9_1 x86_64 AuthenticAMD uptodate rFFFFFF

### Package(s) Affected

sddm-0.19.0_3

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

Issue: https://github.com/sddm/sddm/issues/1536
Link to fix/patch: https://github.com/sddm/sddm/commit/e93bf95c54ad8c2a1604f8d7be05339164b19308

### Expected behaviour

Package builds from cloned repo with ./xbps-src pkg sddm 

### Actual behaviour

Compilation fails with error:

```
[ 86%] Building CXX object src/greeter/CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o
cd /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter && /usr/bin/c++ -DHAVE_JOURNALD -DHAVE_SYSTEMD -DNDEBUG -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_CAST_FROM_ASCII -DQT_NO_CAST_FROM_BYTEARRAY -DQT_NO_DEBUG -DQT_NO_FOREACH -DQT_QMLMODELS_LIB -DQT_QML_LIB -DQT_QUICK_LIB -DUSE_PAM -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/greeter -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/greeter/sddm-greeter_autogen/include -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/common -I/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/build/src/common -isystem /usr/include/qt5 -isystem /usr/include/qt5/QtQuick -isystem /usr/include/qt5/QtQmlModels -isystem /usr/include/qt5/QtQml -isystem /usr/include/qt5/QtNetwork -isystem /usr/include/qt5/QtCore -isystem /usr/lib64/qt5/mkspecs/linux-g++ -isystem /usr/include/qt5/QtGui -O2 -g -pipe -Wformat -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -fasynchronous-unwind-tables -O2 -DNDEBUG   -Wall -std=c++11 -fPIC -MD -MT src/greeter/CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o -MF CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o.d -o CMakeFiles/sddm-greeter.dir/ScreenModel.cpp.o -c /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/greeter/ScreenModel.cpp
/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp: In constructor 'SDDM::XorgDisplayServer::XorgDisplayServer(SDDM::Display*)':
/home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp:68:42: error: use of deleted function 'QCharRef& QCharRef::operator=(char)'
   68 |             m_cookie[i] = digits[dis(gen)];
      |                                          ^
In file included from /usr/include/qt5/QtCore/qobject.h:47,
                 from /usr/include/qt5/QtCore/QObject:1,
                 from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/DisplayServer.h:24,
                 from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.h:24,
                 from /home/pterjan/rpmbuild/BUILD/sddm-0.19.0/src/daemon/XorgDisplayServer.cpp:21:
/usr/include/qt5/QtCore/qstring.h:1236:15: note: declared here
 1236 |     QCharRef &operator=(char c) = delete;
      |               ^~~~~~~~
```

### Steps to reproduce

Build sddm from current template. Fail.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-07-15  6:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-15  0:31 [ISSUE] sddm fails to build Pancakeblast
2022-07-15  0:34 ` Pancakeblast
2022-07-15  5:01 ` tranzystorek-io
2022-07-15  6:02 ` [ISSUE] [CLOSED] " sgn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).