jasperla / openbsd-wip

OpenBSD work in progress ports
http://www.openbsd.org/
267 stars 87 forks source link

Plasma / KDE5 a.k.a kf5 compilation attempt fails #138

Closed sylvainsab closed 3 years ago

sylvainsab commented 3 years ago

I hope I am not doing something wrong by opening this issue...

But here are the results of a couple commands :

$pwd
/usr/ports/openbsd-wip/x11/plasma
$make
===> x11/plasma/bluedevil
Fatal: Variable PERMIT_PACKAGE_CDROM is obsolete, see bsd.port.mk(5) (in x11/plasma/bluedevil)
The licensing info for bluedevil-5.10.1 is incomplete. (in x11/plasma/bluedevil)
Please notify the OpenBSD port maintainer: (in x11/plasma/bluedevil)
    KDE porting team <openbsd-kde@googlegroups.com> (in x11/plasma/bluedevil)
*** Error 1 in bluedevil (/usr/ports/infrastructure/mk/bsd.port.mk:3713 '.BEGIN': @exit 1)
===> Exiting x11/plasma/bluedevil with an error
*** Error 1 in /usr/ports/openbsd-wip/x11/plasma (/usr/ports/infrastructure/mk/bsd.port.subdir.mk:137 'all': @: ${echo_msg:=echo};  : ${targ...)
$doas make
===> x11/plasma/bluedevil
Fatal: Variable PERMIT_PACKAGE_CDROM is obsolete, see bsd.port.mk(5) (in x11/plasma/bluedevil)
The licensing info for bluedevil-5.10.1 is incomplete. (in x11/plasma/bluedevil)
Please notify the OpenBSD port maintainer: (in x11/plasma/bluedevil)
    KDE porting team <openbsd-kde@googlegroups.com> (in x11/plasma/bluedevil)
*** Error 1 in bluedevil (/usr/ports/infrastructure/mk/bsd.port.mk:3713 '.BEGIN': @exit 1)
===> Exiting x11/plasma/bluedevil with an error
*** Error 1 in /usr/ports/openbsd-wip/x11/plasma (/usr/ports/infrastructure/mk/bsd.port.subdir.mk:137 'all': @: ${echo_msg:=echo};  : ${targ...)
/usr/ports/devel/kf5/plasma-framework
$make
mkdir /usr/ports/pobj: Permission denied at /usr/ports/infrastructure/bin/portlock line 53.
*** Error 255 in /usr/ports/devel/kf5/plasma-framework (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'all': @lock=plasma-framework-5.73.0; ...)
$doas make
doas (sylvain@openbsd.sylvainlap.saboua.com) password: 
===> plasma-framework-5.73.0 depends on: kdbusaddons->=5.73 - not found
===>  Verifying install for kdbusaddons->=5.73 in devel/kf5/kdbusaddons
===>  Checking files for kdbusaddons-5.73.0
>> Fetch https://download.kde.org/stable/frameworks/5.73/kdbusaddons-5.73.0.tar.xz
kdbusaddons-5.73.0.tar.xz 100% |************************| 44104       00:00    
>> (SHA256) kde/kdbusaddons-5.73.0.tar.xz: OK
===> kdbusaddons-5.73.0 depends on: extra-cmake-modules->=5.73 - not found
===>  Verifying install for extra-cmake-modules->=5.73 in devel/kf5/extra-cmake-modules
===>  Checking files for extra-cmake-modules-5.73.0
>> Fetch https://download.kde.org/stable/frameworks/5.73/extra-cmake-modules-5.73.0.tar.xz
extra-cmake-modules-5.... 100% |************************|   336 KB    00:01    
>> (SHA256) kde/extra-cmake-modules-5.73.0.tar.xz: OK
===> extra-cmake-modules-5.73.0 depends on: py3-sphinx-* - not found
===>  Verifying install for py3-sphinx-* in textproc/py-sphinx
===>  Checking files for py3-sphinx-1.4.8p4
>> Fetch https://pypi.io/packages/source/S/Sphinx/Sphinx-1.4.8.tar.gz
Sphinx-1.4.8.tar.gz 100% |******************************|  4389 KB    00:06    
>> (SHA256) Sphinx-1.4.8.tar.gz: OK
===> py3-sphinx-1.4.8p4 depends on: py3-babel-* - not found
===>  Verifying install for py3-babel-* in devel/py-babel
===>  Checking files for py3-babel-2.8.0p0
>> Fetch https://pypi.io/packages/source/B/Babel/Babel-2.8.0.tar.gz
Babel-2.8.0.tar.gz 100% |*******************************|  8246 KB    00:16    
>> (SHA256) Babel-2.8.0.tar.gz: OK
===> py3-babel-2.8.0p0 depends on: python->=3.8,<3.9 -> python-3.8.6p0
===> py3-babel-2.8.0p0 depends on: py3-setuptools->=39.0.1v0 - not found
===>  Verifying install for py3-setuptools->=39.0.1v0 in devel/py-setuptools
===>  Checking files for py3-setuptools-41.6.0p0v0
>> Fetch https://pypi.io/packages/source/s/setuptools/setuptools-41.6.0.zip
setuptools-41.6.0.zip 100% |****************************|   832 KB    00:02    
>> (SHA256) setuptools-41.6.0.zip: OK
===> py3-setuptools-41.6.0p0v0 depends on: python->=3.8,<3.9 -> python-3.8.6p0
===> py3-setuptools-41.6.0p0v0 depends on: unzip-* - not found
===>  Verifying install for unzip-* in archivers/unzip
===>  Checking files for unzip-6.0p13
>> Fetch https://downloads.sourceforge.net/sourceforge/infozip/unzip60.tar.gz
unzip60.tar.gz 100% |***********************************|  1344 KB    00:03    
>> (SHA256) unzip60.tar.gz: OK
===>  Verifying specs:  c
===>  found c.96.0
===>  Extracting for unzip-6.0p13
===>  Patching for unzip-6.0p13
===>   Applying OpenBSD patch patch-crypt_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-crypt_c,v 1.1 2017/03/23 17:26:17 bluhm Exp $
|
|Fix CVE-2015-7696: upstream fix for heap overflow
|    https://bugs.debian.org/802162
|    https://bugzilla.redhat.com/show_bug.cgi?id=1260944
|    https://bugzilla.redhat.com/attachment.cgi?id=1073002
|
|--- crypt.c.orig   Fri Jan  5 16:47:36 2007
|+++ crypt.c    Tue Mar 21 16:10:27 2017
--------------------------
Patching file crypt.c using Plan A...
Hunk #1 succeeded at 465.
done
===>   Applying OpenBSD patch patch-extract_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-extract_c,v 1.3 2020/03/11 21:57:32 naddy Exp $
|
|Fix CVE-2015-7696: prevent unsigned overflow on invalid input
|    https://bugzilla.redhat.com/attachment.cgi?id=1075942
|    https://bugzilla.redhat.com/show_bug.cgi?id=1260944
|Fix CVE-2014-8139: CRC32 verification heap-based overflow
|    https://bugzilla.redhat.com/show_bug.cgi?id=1174844
|    https://bugzilla.redhat.com/attachment.cgi?id=989833
|Fix CVE-2014-8140: out-of-bounds write issue in test_compr_eb()
|Fix CVE-2014-9636: out-of-bounds read/write in test_compr_eb()
|Fix CVE-2015-7697: infinite loop when extracting empty bzip2 data
|    https://bugs.debian.org/802160
|    https://bugzilla.redhat.com/show_bug.cgi?id=1260944
|    https://bugzilla.redhat.com/attachment.cgi?id=1073339
|Fix CVE-2019-13232: a zip bomb using overlapped entries
|https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c
|
|Index: extract.c
|--- extract.c.orig
|+++ extract.c
--------------------------
Patching file extract.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 298.
Hunk #3 succeeded at 321.
Hunk #4 succeeded at 495.
Hunk #5 succeeded at 735.
Hunk #6 succeeded at 1205.
Hunk #7 succeeded at 1405.
Hunk #8 succeeded at 1750.
Hunk #9 succeeded at 2163.
Hunk #10 succeeded at 2222.
Hunk #11 succeeded at 2358.
Hunk #12 succeeded at 2425.
Hunk #13 succeeded at 2925.
done
===>   Applying OpenBSD patch patch-fileio_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-fileio_c,v 1.2 2020/03/11 21:57:32 naddy Exp $
|
|Fix CVE-2014-8141: out-of-bounds read issues in getZip64Data()
|Fix CVE-2018-1000035: buffer overflow for password-protected archives
|https://security-tracker.debian.org/tracker/CVE-2018-1000035
|Fix CVE-2019-13232: a zip bomb using overlapped entries
|https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c
|
|Index: fileio.c
|--- fileio.c.orig
|+++ fileio.c
--------------------------
Patching file fileio.c using Plan A...
Hunk #1 succeeded at 176.
Hunk #2 succeeded at 532.
Hunk #3 succeeded at 1584.
Hunk #4 succeeded at 1596.
Hunk #5 succeeded at 2311.
done
===>   Applying OpenBSD patch patch-funzip_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-funzip_c,v 1.2 2015/10/20 13:13:52 ajacoutot Exp $
|--- funzip.c.orig  Wed Oct  7 12:11:04 2015
|+++ funzip.c   Wed Oct  7 12:12:57 2015
--------------------------
Patching file funzip.c using Plan A...
Hunk #1 succeeded at 294.
done
===>   Applying OpenBSD patch patch-globals_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-globals_c,v 1.1 2020/03/11 21:57:32 naddy Exp $
|
|Fix CVE-2019-13232: a zip bomb using overlapped entries
|https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c
|
|--- globals.c.orig
|+++ globals.c
--------------------------
Patching file globals.c using Plan A...
Hunk #1 succeeded at 181.
done
===>   Applying OpenBSD patch patch-globals_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-globals_h,v 1.1 2020/03/11 21:57:32 naddy Exp $
|
|Fix CVE-2019-13232: a zip bomb using overlapped entries
|https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c
|
|--- globals.h.orig
|+++ globals.h
--------------------------
Patching file globals.h using Plan A...
Hunk #1 succeeded at 260.
done
===>   Applying OpenBSD patch patch-list_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-list_c,v 1.2 2020/03/11 21:57:32 naddy Exp $
|
|Fix CVE-2018-18384: increase size of cfactorstr array to avoid buffer overflow
|    https://bugs.debian.org/741384
|    https://sourceforge.net/p/infozip/bugs/53/
|Fix CVE-2014-9913: buffer overflow in unzip
|    https://sourceforge.net/p/infozip/bugs/27/
|    https://bugs.debian.org/847485
|    https://launchpad.net/bugs/387350
|
|Index: list.c
|--- list.c.orig
|+++ list.c
--------------------------
Patching file list.c using Plan A...
Hunk #1 succeeded at 97.
Hunk #2 succeeded at 339.
Hunk #3 succeeded at 389.
Hunk #4 succeeded at 471.
done
===>   Applying OpenBSD patch patch-process_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-process_c,v 1.4 2020/03/11 21:57:32 naddy Exp $
|
|Fix: handle the PKWare verification bit of internal attributes
|    https://bugs.debian.org/630078
|Fix: extraction of symlinks
|Fix CVE-2014-8141: out-of-bounds read issues in getZip64Data()
|Fix: do not ignore extra fields containing Unix Timestamps
|    https://bugs.debian.org/842993
|Fix: restore uid and gid information when requested
|    https://bugs.debian.org/689212
|Fix CVE-2019-13232: a zip bomb using overlapped entries
|https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c
|
|Index: process.c
|--- process.c.orig
|+++ process.c
--------------------------
Patching file process.c using Plan A...
Hunk #1 succeeded at 1.
Hunk #2 succeeded at 637.
Hunk #3 succeeded at 1736.
Hunk #4 succeeded at 1765.
Hunk #5 succeeded at 1908.
Hunk #6 succeeded at 2093.
Hunk #7 succeeded at 2925.
Hunk #8 succeeded at 2947.
Hunk #9 succeeded at 2960.
Hunk #10 succeeded at 2969.
done
===>   Applying OpenBSD patch patch-ttyio_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-ttyio_c,v 1.1 2017/04/12 11:11:52 bluhm Exp $
|
|pledge("tty") prevents tty operations on non-ttys.
|
|--- ttyio.c.orig   Sat Jan  5 21:24:16 2008
|+++ ttyio.c    Wed Apr 12 00:12:10 2017
--------------------------
Patching file ttyio.c using Plan A...
Hunk #1 succeeded at 309.
Hunk #2 succeeded at 447.
Hunk #3 succeeded at 463.
Hunk #4 succeeded at 478.
done
===>   Applying OpenBSD patch patch-unix_Makefile
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-unix_Makefile,v 1.4 2013/12/03 21:18:50 naddy Exp $
|--- unix/Makefile.orig Sun Jan 18 23:41:18 2009
|+++ unix/Makefile  Tue Dec  3 21:58:13 2013
--------------------------
Patching file unix/Makefile using Plan A...
Hunk #1 succeeded at 42.
Hunk #2 succeeded at 64.
Hunk #3 succeeded at 448.
Hunk #4 succeeded at 595.
done
===>   Applying OpenBSD patch patch-unix_unxcfg_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-unix_unxcfg_h,v 1.1 2013/12/03 21:18:50 naddy Exp $
|--- unix/unxcfg.h.orig Thu Apr 16 20:36:12 2009
|+++ unix/unxcfg.h  Tue Dec  3 22:06:23 2013
--------------------------
Patching file unix/unxcfg.h using Plan A...
Hunk #1 succeeded at 111.
done
===>   Applying OpenBSD patch patch-unzip_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-unzip_c,v 1.2 2015/10/20 13:13:52 ajacoutot Exp $
|--- unzip.c.orig   Wed Oct  7 12:11:04 2015
|+++ unzip.c    Wed Oct  7 12:12:09 2015
--------------------------
Patching file unzip.c using Plan A...
Hunk #1 succeeded at 717.
done
===>   Applying OpenBSD patch patch-unzip_h
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-unzip_h,v 1.1 2020/03/11 21:57:32 naddy Exp $
|
|Fix CVE-2019-13232: a zip bomb using overlapped entries
|https://github.com/madler/unzip/commit/47b3ceae397d21bf822bc2ac73052a4b1daf8e1c
|
|Index: unzip.h
|--- unzip.h.orig
|+++ unzip.h
--------------------------
Patching file unzip.h using Plan A...
Hunk #1 succeeded at 645.
done
===>   Applying OpenBSD patch patch-zipinfo_c
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|$OpenBSD: patch-zipinfo_c,v 1.1 2017/03/23 17:26:17 bluhm Exp $
|
|Fix CVE-2016-9844: buffer overflow in zipinfo
|    https://bugs.debian.org/847486
|    https://launchpad.net/bugs/1643750
|Do not crash when hostver byte is >= 100
|
|--- zipinfo.c.orig Sun Feb  8 18:04:30 2009
|+++ zipinfo.c  Tue Mar 21 16:10:27 2017
--------------------------
Patching file zipinfo.c using Plan A...
Hunk #1 succeeded at 1921.
Hunk #2 succeeded at 2125.
done
===>  Compiler link: clang -> /usr/bin/clang
===>  Compiler link: clang++ -> /usr/bin/clang++
===>  Compiler link: cc -> /usr/bin/cc
===>  Compiler link: c++ -> /usr/bin/c++
===>  Generating configure for unzip-6.0p13
===>  Configuring for unzip-6.0p13
===>  Building for unzip-6.0p13
make unzips CF="-O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD"
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD unzip.c
unzip.c:721:9: warning: implicit declaration of function 'err' is invalid in C99
      [-Wimplicit-function-declaration]
        err(1, "pledge");
        ^
1 warning generated.
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD crc32.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD crypt.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD envargs.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD explode.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD extract.c
extract.c:620:23: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
                      LoadFarString(ReportMsg)));
                      ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
extract.c:620:23: note: treat the string as an argument to avoid this
                      LoadFarString(ReportMsg)));
                      ^
                      "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
extract.c:900:44: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
        Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
                                           ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
extract.c:900:44: note: treat the string as an argument to avoid this
        Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
                                           ^
                                           "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
extract.c:901:44: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
        Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg)));
                                           ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
extract.c:901:44: note: treat the string as an argument to avoid this
        Info(slide, 0x401, ((char *)slide, LoadFarString(ReportMsg)));
                                           ^
                                           "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
3 warnings generated.
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD fileio.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD globals.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD inflate.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD list.c
list.c:184:38: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
                     ((char *)slide, LoadFarString(ReportMsg)));
                                     ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
list.c:184:38: note: treat the string as an argument to avoid this
                     ((char *)slide, LoadFarString(ReportMsg)));
                                     ^
                                     "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
list.c:521:48: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
            Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
                                               ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
list.c:521:48: note: treat the string as an argument to avoid this
            Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
                                               ^
                                               "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
list.c:605:38: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
                     ((char *)slide, LoadFarString(ReportMsg)));
                                     ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
list.c:605:38: note: treat the string as an argument to avoid this
                     ((char *)slide, LoadFarString(ReportMsg)));
                                     ^
                                     "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
list.c:688:44: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
        Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
                                           ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
list.c:688:44: note: treat the string as an argument to avoid this
        Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
                                           ^
                                           "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
4 warnings generated.
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD match.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD process.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD ttyio.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD ubz2err.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD unreduce.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD unshrink.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD zipinfo.c
zipinfo.c:774:38: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
                     ((char *)slide, LoadFarString(ReportMsg)));
                                     ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
zipinfo.c:774:38: note: treat the string as an argument to avoid this
                     ((char *)slide, LoadFarString(ReportMsg)));
                                     ^
                                     "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
zipinfo.c:963:48: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
            Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
                                               ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
zipinfo.c:963:48: note: treat the string as an argument to avoid this
            Info(slide, 0x401, ((char *)slide, LoadFarString(EndSigMsg)));
                                               ^
                                               "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
2 warnings generated.
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD unix/unix.c
cc -o unzip  -Lbzip2 unzip.o crc32.o  crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o  -s
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD funzip.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DFUNZIP -o cryptf.o crypt.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DFUNZIP -o globalsf.o globals.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DFUNZIP -o inflatef.o inflate.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DFUNZIP -o ttyiof.o ttyio.c
cc -o funzip  funzip.o crc32.o  cryptf.o globalsf.o inflatef.o ttyiof.o -s
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o unzipsfx.o unzip.c
unzip.c:721:9: warning: implicit declaration of function 'err' is invalid in C99
      [-Wimplicit-function-declaration]
        err(1, "pledge");
        ^
1 warning generated.
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o crc32_.o crc32.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o crypt_.o crypt.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o extract_.o extract.c
extract.c:620:23: warning: format string is not a string literal
      (potentially insecure) [-Wformat-security]
                      LoadFarString(ReportMsg)));
                      ^             ~~~~~~~~~
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^        ~
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^~~~~~~~
extract.c:620:23: note: treat the string as an argument to avoid this
                      LoadFarString(ReportMsg)));
                      ^
                      "%s", 
./unzpriv.h:1009:37: note: expanded from macro 'LoadFarString'
#    define LoadFarString(x)        (char *)(x)
                                    ^
./unzpriv.h:2708:61: note: expanded from macro 'Info'
       (*G.message)((zvoid *)&G, (uch *)(buf), (ulg)sprintf sprf_arg, (flag))
                                                            ^
1 warning generated.
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o fileio_.o fileio.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o globals_.o globals.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o inflate_.o inflate.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o match_.o match.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o process_.o process.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o ttyio_.o ttyio.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o ubz2err_.o ubz2err.c
cc -c -O2 -pipe  -I. -DLARGE_FILE_SUPPORT -DNO_LCHMOD -DUSE_UNSHRINK  -DBSD -DSFX -o unix_.o unix/unix.c
cc -o unzipsfx  unzipsfx.o crc32_.o  crypt_.o extract_.o fileio_.o  globals_.o inflate_.o match_.o process_.o ttyio_.o ubz2err_.o unix_.o -s
===>  Faking installation for unzip-6.0p13
/usr/ports/pobj/unzip-6.0/bin/install -d -m 755 /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/bin
/usr/ports/pobj/unzip-6.0/bin/install -c -s -m 755 unzip funzip unzipsfx /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/bin
/usr/ports/pobj/unzip-6.0/bin/install -c -m 755 unix/zipgrep /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/bin
rm -f /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/bin/zipinfo
ln -sf /usr/local/bin/unzip /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/bin/zipinfo
/usr/ports/pobj/unzip-6.0/bin/install -d -m 755 /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/man/man1
/usr/ports/pobj/unzip-6.0/bin/install -c -m 644 man/funzip.1 /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/funzip.1
/usr/ports/pobj/unzip-6.0/bin/install -c -m 644 man/unzip.1 /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/unzip.1
/usr/ports/pobj/unzip-6.0/bin/install -c -m 644 man/unzipsfx.1 /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/unzipsfx.1
/usr/ports/pobj/unzip-6.0/bin/install -c -m 644 man/zipgrep.1 /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/zipgrep.1
/usr/ports/pobj/unzip-6.0/bin/install -c -m 644 man/zipinfo.1 /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/man/man1/zipinfo.1
/usr/ports/pobj/unzip-6.0/bin/install -d -m 755 /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/share/doc/unzip
cd /usr/ports/pobj/unzip-6.0/unzip60; /usr/ports/pobj/unzip-6.0/bin/install -c -m 644 COPYING.OLD LICENSE README WHERE /usr/ports/pobj/unzip-6.0/fake-amd64/usr/local/share/doc/unzip
===>  Building package for unzip-6.0p13
Create /usr/ports/packages/amd64/all/unzip-6.0p13.tgz
Creating package unzip-6.0p13
Link to /usr/ports/packages/amd64/ftp/unzip-6.0p13.tgz
===>  Cleaning for unzip-6.0p13
===>  Verifying specs: c
===>  found c.96.0
===>  Installing unzip-6.0p13 from /usr/ports/packages/amd64/all/
Collision in unzip-6.0p13: the following files already exist
    /usr/local/bin/funzip from unzip-6.0p13 (same checksum)
    /usr/local/bin/unzip from unzip-6.0p13 (different checksum)
    /usr/local/bin/unzipsfx from unzip-6.0p13 (same checksum)
    /usr/local/bin/zipgrep from unzip-6.0p13 (same checksum)
    /usr/local/bin/zipinfo from unzip-6.0p13
    /usr/local/man/man1/funzip.1 from unzip-6.0p13 (same checksum)
    /usr/local/man/man1/unzip.1 from unzip-6.0p13 (same checksum)
    /usr/local/man/man1/unzipsfx.1 from unzip-6.0p13 (same checksum)
    /usr/local/man/man1/zipgrep.1 from unzip-6.0p13 (same checksum)
    /usr/local/man/man1/zipinfo.1 from unzip-6.0p13 (same checksum)
    /usr/local/share/doc/unzip/COPYING.OLD from unzip-6.0p13 (same checksum)
    /usr/local/share/doc/unzip/LICENSE from unzip-6.0p13 (same checksum)
    /usr/local/share/doc/unzip/README from unzip-6.0p13 (same checksum)
    /usr/local/share/doc/unzip/WHERE from unzip-6.0p13 (same checksum)
Couldn't install unzip-6.0p13
*** Error 1 in /usr/ports/archivers/unzip (/usr/ports/infrastructure/mk/bsd.port.mk:2141 '/var/db/pkg/unzip-6.0p13/+CONTENTS': @/usr/bin/env...)
*** Error 2 in /usr/ports/archivers/unzip (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'install': @lock=unzip-6.0p13;  export _LOCKS_HELD=...)
*** Error 1 in /usr/ports/devel/py-setuptools (/usr/ports/infrastructure/mk/bsd.port.mk:2266 '/usr/ports/pobj/py-setuptools-41.6.0-python3/.dep-archivers-unzip')
*** Error 2 in /usr/ports/devel/py-setuptools (/usr/ports/infrastructure/mk/bsd.port.mk:2663 '/usr/ports/pobj/py-setuptools-41.6.0-python3/.extract_done')
*** Error 2 in /usr/ports/devel/py-setuptools (/usr/ports/infrastructure/mk/bsd.port.mk:2116 '/usr/ports/packages/amd64/all/py3-setuptools-41.6.0p0v0.tgz')
*** Error 2 in /usr/ports/devel/py-setuptools (/usr/ports/infrastructure/mk/bsd.port.mk:2605 '_internal-package': @case X${_DEPENDS_CACHE} i...)
*** Error 2 in /usr/ports/devel/py-setuptools (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'package': @:; cd /usr/ports/devel/py-setuptool...)
*** Error 2 in /usr/ports/devel/py-setuptools (/usr/ports/infrastructure/mk/bsd.port.mk:2137 '/var/db/pkg/py3-setuptools-41.6.0p0v0/+CONTENTS')
*** Error 2 in /usr/ports/devel/py-setuptools (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'install': @lock=py3-setuptools-41.6.0p0v0;  ex...)
*** Error 1 in /usr/ports/devel/py-babel (/usr/ports/infrastructure/mk/bsd.port.mk:2266 '/usr/ports/pobj/py-babel-2.8.0-python3/.dep-STEM-ge-39.0.1v0-devel-py-setuptools,python3')
*** Error 2 in /usr/ports/devel/py-babel (/usr/ports/infrastructure/mk/bsd.port.mk:2663 '/usr/ports/pobj/py-babel-2.8.0-python3/.extract_done')
*** Error 2 in /usr/ports/devel/py-babel (/usr/ports/infrastructure/mk/bsd.port.mk:2116 '/usr/ports/packages/amd64/all/py3-babel-2.8.0p0.tgz')
*** Error 2 in /usr/ports/devel/py-babel (/usr/ports/infrastructure/mk/bsd.port.mk:2605 '_internal-package': @case X${_DEPENDS_CACHE} in  X)...)
*** Error 2 in /usr/ports/devel/py-babel (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'package': @:; cd /usr/ports/devel/py-babel && PKGPA...)
*** Error 2 in /usr/ports/devel/py-babel (/usr/ports/infrastructure/mk/bsd.port.mk:2137 '/var/db/pkg/py3-babel-2.8.0p0/+CONTENTS': @cd /usr/...)
*** Error 2 in /usr/ports/devel/py-babel (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'install': @lock=py3-babel-2.8.0p0;  export _LOCKS_H...)
*** Error 1 in /usr/ports/textproc/py-sphinx (/usr/ports/infrastructure/mk/bsd.port.mk:2266 '/usr/ports/pobj/py-sphinx-1.4.8-python3/.dep-devel-py-babel,python3')
*** Error 2 in /usr/ports/textproc/py-sphinx (/usr/ports/infrastructure/mk/bsd.port.mk:2663 '/usr/ports/pobj/py-sphinx-1.4.8-python3/.extract_done')
*** Error 2 in /usr/ports/textproc/py-sphinx (/usr/ports/infrastructure/mk/bsd.port.mk:2116 '/usr/ports/packages/amd64/all/py3-sphinx-1.4.8p4.tgz')
*** Error 2 in /usr/ports/textproc/py-sphinx (/usr/ports/infrastructure/mk/bsd.port.mk:2605 '_internal-package': @case X${_DEPENDS_CACHE} in...)
*** Error 2 in /usr/ports/textproc/py-sphinx (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'package': @:; cd /usr/ports/textproc/py-sphinx ...)
*** Error 2 in /usr/ports/textproc/py-sphinx (/usr/ports/infrastructure/mk/bsd.port.mk:2137 '/var/db/pkg/py3-sphinx-1.4.8p4/+CONTENTS': @cd ...)
*** Error 2 in /usr/ports/textproc/py-sphinx (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'install': @lock=py3-sphinx-1.4.8p4;  export _LO...)
*** Error 1 in /usr/ports/devel/kf5/extra-cmake-modules (/usr/ports/infrastructure/mk/bsd.port.mk:2266 '/usr/ports/pobj/extra-cmake-modules-5.73.0/.dep-textproc-py-sphinx,python3')
*** Error 2 in /usr/ports/devel/kf5/extra-cmake-modules (/usr/ports/infrastructure/mk/bsd.port.mk:2663 '/usr/ports/pobj/extra-cmake-modules-5.73.0/.extract_done')
*** Error 2 in /usr/ports/devel/kf5/extra-cmake-modules (/usr/ports/infrastructure/mk/bsd.port.mk:2116 '/usr/ports/packages/amd64/no-arch/extra-cmake-modules-5.73.0.tgz')
*** Error 2 in /usr/ports/devel/kf5/extra-cmake-modules (/usr/ports/infrastructure/mk/bsd.port.mk:2605 '_internal-package': @case X${_DEPEND...)
*** Error 2 in /usr/ports/devel/kf5/extra-cmake-modules (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'package': @:; cd /usr/ports/devel/kf...)
*** Error 2 in /usr/ports/devel/kf5/extra-cmake-modules (/usr/ports/infrastructure/mk/bsd.port.mk:2137 '/var/db/pkg/extra-cmake-modules-5.73.0/+CONTENTS')
*** Error 2 in /usr/ports/devel/kf5/extra-cmake-modules (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'install': @lock=extra-cmake-modules-...)
*** Error 1 in /usr/ports/devel/kf5/kdbusaddons (/usr/ports/infrastructure/mk/bsd.port.mk:2266 '/usr/ports/pobj/kdbusaddons-5.73.0/.dep-STEM-ge-5.73-devel-kf5-extra-cmake-modules')
*** Error 2 in /usr/ports/devel/kf5/kdbusaddons (/usr/ports/infrastructure/mk/bsd.port.mk:2663 '/usr/ports/pobj/kdbusaddons-5.73.0/.extract_done')
*** Error 2 in /usr/ports/devel/kf5/kdbusaddons (/usr/ports/infrastructure/mk/bsd.port.mk:2116 '/usr/ports/packages/amd64/all/kdbusaddons-5.73.0.tgz')
*** Error 2 in /usr/ports/devel/kf5/kdbusaddons (/usr/ports/infrastructure/mk/bsd.port.mk:2605 '_internal-package': @case X${_DEPENDS_CACHE}...)
*** Error 2 in /usr/ports/devel/kf5/kdbusaddons (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'package': @:; cd /usr/ports/devel/kf5/kdbusa...)
*** Error 2 in /usr/ports/devel/kf5/kdbusaddons (/usr/ports/infrastructure/mk/bsd.port.mk:2137 '/var/db/pkg/kdbusaddons-5.73.0/+CONTENTS': @...)
*** Error 2 in /usr/ports/devel/kf5/kdbusaddons (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'install': @lock=kdbusaddons-5.73.0;  export ...)
*** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2266 '/usr/ports/pobj/plasma-framework-5.73.0/.dep-STEM-ge-5.73-devel-kf5-kdbusaddons')
*** Error 2 in /usr/ports/devel/kf5/plasma-framework (/usr/ports/infrastructure/mk/bsd.port.mk:2584 'all': @lock=plasma-framework-5.73.0;  e...)

Have I done something wrong ? How can I help further the compatibility between Plasma and openbsd ?

sizeofvoid commented 3 years ago

This port of KDE Plasma is outdated and incomplete. Unfortunately there is no KDE Plasma for OpenBSD. Plasma depends deeply on Wayland and OpenBSD lacks support for it.