sparc64 bulk build report
bulk build on sparc64-1.ports.openbsd.org started on Tue Mar 27 13:15:52 MDT 2018 finished at Sat Apr 7 21:28:44 MDT 2018 lasted 12D01h12m done with kern.version=OpenBSD 6.3 (GENERIC) #480: Sat Mar 24 22:11:46 MDT 2018 built packages:8499 Mar 27:273 Mar 28:158 Mar 29:174 Mar 30:52 Mar 31:108 Apr 1:96 Apr 2:124 Apr 3:327 Apr 4:386 Apr 5:692 Apr 6:1364 Apr 7:4744 build failures: 33 http://build-failures.rhaalovely.net//sparc64/2018-03-27/audio/audacious-plugins.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/devel/arm-none-eabi/gcc-linaro.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/devel/catch2.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/devel/keystone.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/devel/libvmime.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/devel/reposurgeon.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/devel/xtensa-elf/gcc.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/editors/qscintilla.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/editors/scintilla.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/emulators/higan.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/emulators/ppsspp.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/emulators/stella.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/games/fs2open.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/games/pokerth.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/games/widelands.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/graphics/dcmtk.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/graphics/piglit.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/lang/apl.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/lang/duktape.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/lang/gambit.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/mail/kopano/webapp.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/net/libtorrent-rasterbar.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/net/py-slixmpp.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/net/telegram-purple.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/security/sslscan,openssl.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/sysutils/facter.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/www/drupal7/locale-fr.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/www/drupal7/locale-nl.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/www/webkitgtk4.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/x11/gnome/totem.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/x11/gnome/usage.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/x11/vlc,.log http://build-failures.rhaalovely.net//sparc64/2018-03-27/x11/worker.log recurrent failures failures/audio/audacious-plugins.log failures/devel/arm-none-eabi/gcc-linaro.log failures/devel/reposurgeon.log failures/devel/xtensa-elf/gcc.log failures/editors/qscintilla.log failures/editors/scintilla.log failures/emulators/higan.log failures/emulators/ppsspp.log failures/games/fs2open.log failures/games/pokerth.log failures/games/widelands.log failures/graphics/dcmtk.log failures/graphics/piglit.log failures/lang/apl.log failures/lang/duktape.log failures/lang/gambit.log failures/net/libtorrent-rasterbar.log failures/net/telegram-purple.log failures/security/sslscan,openssl.log failures/sysutils/facter.log failures/www/webkitgtk4.log failures/x11/gnome/totem.log failures/x11/vlc,.log new failures +++ ls-failures Sat Apr 7 21:29:43 2018 +failures/devel/catch2.log +failures/devel/keystone.log +failures/devel/libvmime.log +failures/emulators/stella.log +failures/mail/kopano/webapp.log +failures/net/py-slixmpp.log +failures/www/drupal7/locale-fr.log +failures/www/drupal7/locale-nl.log +failures/x11/gnome/usage.log +failures/x11/worker.log resolved failures --- ../old/sparc64/last//ls-failuresSun Mar 18 00:55:59 2018 -failures/devel/ptlib.log -failures/games/hyperrogue.log -failures/games/tbftss.log -failures/graphics/feh.log -failures/www/kore,pgsql.log -failures/x11/qt5/qtbase.log Base libs: c.92.3 crypto.43.1 X libs:
Re: arm bulk build report
Just tried to get php and bacula from the latest arm build, but could not find them?? -Original Message- From: owner-po...@openbsd.org On Behalf Of phess...@openbsd.org Sent: April 6, 2018 1:57 AM To: ports@openbsd.org Subject: arm bulk build report bulk build on armv7-0.ports.openbsd.org started on Mon Mar 26 14:21:51 MDT 2018 finished at Thu Apr 5 12:40:15 MDT 2018 lasted 10D15h18m done with kern.version=OpenBSD 6.3 (GENERIC) #4: Sun Mar 25 07:49:21 MDT 2018 built packages:6678 Mar 26:293 Mar 27:204 Mar 28:372 Mar 29:572 Mar 30:741 Mar 31:2482 Apr 1:2013 build failures: 34 http://build-failures.rhaalovely.net//arm/2018-03-26/comms/lcdproc.log http://build-failures.rhaalovely.net//arm/2018-03-26/databases/redis.log http://build-failures.rhaalovely.net//arm/2018-03-26/devel/apr.log http://build-failures.rhaalovely.net//arm/2018-03-26/devel/liboil.log http://build-failures.rhaalovely.net//arm/2018-03-26/devel/openmpi.log http://build-failures.rhaalovely.net//arm/2018-03-26/editors/zile.log http://build-failures.rhaalovely.net//arm/2018-03-26/emulators/dgen-sdl,debu gger.log http://build-failures.rhaalovely.net//arm/2018-03-26/emulators/dynamips.log http://build-failures.rhaalovely.net//arm/2018-03-26/games/gnuchess.log http://build-failures.rhaalovely.net//arm/2018-03-26/games/scid.log http://build-failures.rhaalovely.net//arm/2018-03-26/games/stone-soup.log http://build-failures.rhaalovely.net//arm/2018-03-26/games/vacuum.log http://build-failures.rhaalovely.net//arm/2018-03-26/games/xmoto.log http://build-failures.rhaalovely.net//arm/2018-03-26/lang/STk.log http://build-failures.rhaalovely.net//arm/2018-03-26/lang/ecl.log http://build-failures.rhaalovely.net//arm/2018-03-26/lang/gcc/4.9.log http://build-failures.rhaalovely.net//arm/2018-03-26/lang/guile2.log http://build-failures.rhaalovely.net//arm/2018-03-26/lang/pfe.log http://build-failures.rhaalovely.net//arm/2018-03-26/lang/racket-minimal.log http://build-failures.rhaalovely.net//arm/2018-03-26/lang/spidermonkey.log http://build-failures.rhaalovely.net//arm/2018-03-26/mail/bogofilter,db4.log http://build-failures.rhaalovely.net//arm/2018-03-26/mail/courier-unicode.lo g http://build-failures.rhaalovely.net//arm/2018-03-26/math/mathomatic.log http://build-failures.rhaalovely.net//arm/2018-03-26/net/bwm-ng.log http://build-failures.rhaalovely.net//arm/2018-03-26/net/echoping.log http://build-failures.rhaalovely.net//arm/2018-03-26/net/ftpcopy.log http://build-failures.rhaalovely.net//arm/2018-03-26/net/tor.log http://build-failures.rhaalovely.net//arm/2018-03-26/security/botan2.log http://build-failures.rhaalovely.net//arm/2018-03-26/security/john-jumbo.log http://build-failures.rhaalovely.net//arm/2018-03-26/security/smurflog.log http://build-failures.rhaalovely.net//arm/2018-03-26/telephony/pjsua.log http://build-failures.rhaalovely.net//arm/2018-03-26/www/drupal7/locale-fr.l og http://build-failures.rhaalovely.net//arm/2018-03-26/www/goaccess.log http://build-failures.rhaalovely.net//arm/2018-03-26/www/w3m.log Base libs: c.92.3 crypto.43.1 X libs:
dvd+rw-tools and clang 6
Looks like clang just needs some space. Again only build tested. - Matthew Martin diff --git patches/patch-dvd+rw-mediainfo_cpp patches/patch-dvd+rw-mediainfo_cpp new file mode 100644 index 000..bf6310efc0f --- /dev/null +++ patches/patch-dvd+rw-mediainfo_cpp @@ -0,0 +1,40 @@ +$OpenBSD$ + +Index: dvd+rw-mediainfo.cpp +--- dvd+rw-mediainfo.cpp.orig dvd+rw-mediainfo.cpp +@@ -621,7 +621,7 @@ legacy: + if (phys_end>0) phys_end -= phys_start; + if (phys_end>0) phys_end += 1; + +- printf (" %s%u*2KB=%"LLU"\n", ++ printf (" %s%u*2KB=%" LLU "\n", + dvd_dash>=0?"Legacy lead-out at:":"Last border-out at:", + phys_end,phys_end*2048LL); + +@@ -941,14 +941,14 @@ legacy: + printf(" %s:\t\t%u*%u=",type[formats[8]&3], + capacity=formats[4]<<24|formats[5]<<16|formats[6]<<8|formats[7], + blocksize); +- printf("%"LLU"\n",(unsigned long long)capacity*blocksize); ++ printf("%" LLU "\n",(unsigned long long)capacity*blocksize); + + for(i=12;i
clang6 FIX: games/xye
Hi ports -- Another C++03 piece of software. Minimal fix attached. Retake MAINTAINER because why not I imported this, I should be responsible for it. OK? ~Brian Index: Makefile === RCS file: /cvs/ports/games/xye/Makefile,v retrieving revision 1.5 diff -u -p -r1.5 Makefile --- Makefile 26 Jul 2017 22:45:22 - 1.5 +++ Makefile 8 Apr 2018 00:51:59 - @@ -3,9 +3,10 @@ COMMENT = puzzle game collecting diamonds and avoiding obstacles DISTNAME = xye-0.12.2 CATEGORIES = games x11 -REVISION = 1 +REVISION = 2 HOMEPAGE = http://xye.sourceforge.net/ +MAINTAINER = Brian Callahan # zlib PERMIT_PACKAGE_CDROM = Yes @@ -20,5 +21,7 @@ LIB_DEPENDS = devel/sdl-image \ RUN_DEPENDS = devel/desktop-file-utils CONFIGURE_STYLE = gnu + +CXXFLAGS += -std=c++03 .include
UPDATE: net/mininet - various bug fixes
And I found the manpage for mn isn't generated properly during last-minute testing... Updated Makefile diff, plus cleanup to run MAKEDEV in /dev, rather than create and move a file, as suggested by phessler. Thanks, Ayaka Index: Makefile === RCS file: /cvs/ports/net/mininet/Makefile,v retrieving revision 1.6 diff -u -p -u -r1.6 Makefile --- Makefile7 Dec 2017 06:33:40 - 1.6 +++ Makefile7 Apr 2018 23:42:39 - @@ -3,7 +3,7 @@ COMMENT = emulator for rapid prototyping of software defined networks DISTNAME = mininet-0.0.20170813 -REVISION = 3 +REVISION = 4 GH_ACCOUNT = mininet GH_PROJECT = mininet GH_COMMIT =87e26ef931ee6063332ceba77db472140f832d3a @@ -27,7 +27,8 @@ RUN_DEPENDS = net/socat \ do-build: $(CC) ${WRKSRC}/mnexec.c -o ${WRKBUILD}/mnexec help2man -N -n "create a Mininet network." --no-discard-stderr \ - "${MODPY_BIN} -B ${WRKBUILD}/bin/mn" -o ${WRKBUILD}/mn.1 + "PYTHONPATH=${WRKBUILD} ${MODPY_BIN} -B ${WRKBUILD}/bin/mn" \ + -o ${WRKBUILD}/mn.1 help2man -N -n "execution utility for Mininet." -h "-h" -v "-v" \ --no-discard-stderr ${WRKBUILD}/mnexec -o ${WRKBUILD}/mnexec.1 Index: patches/patch-mininet_cli_py === RCS file: /cvs/ports/net/mininet/patches/patch-mininet_cli_py,v retrieving revision 1.1.1.1 diff -u -p -u -r1.1.1.1 patch-mininet_cli_py --- patches/patch-mininet_cli_py21 Aug 2017 18:47:12 - 1.1.1.1 +++ patches/patch-mininet_cli_py7 Apr 2018 23:42:39 - @@ -3,7 +3,24 @@ split() automatically splits on whitespa Index: mininet/cli.py --- mininet/cli.py.orig +++ mininet/cli.py -@@ -411,7 +411,7 @@ class CLI( Cmd ): +@@ -356,12 +356,11 @@ class CLI( Cmd ): + """Run dpctl (or ovs-ofctl) command on all switches. +Usage: dpctl command [arg1] [arg2] ...""" + args = line.split() +-if len(args) < 1: +-error( 'usage: dpctl command [arg1] [arg2] ...\n' ) +-return + for sw in self.mn.switches: +-output( '*** ' + sw.name + ' ' + ('-' * 72) + '\n' ) +-output( sw.dpctl( *args ) ) ++res = sw.dpctl( *args ) ++if res: ++output( '*** ' + sw.name + ' ' + ('-' * 72) + '\n' ) ++output( res ) + + def do_time( self, line ): + "Measure time taken for any command in Mininet." +@@ -411,7 +410,7 @@ class CLI( Cmd ): % first ) return node = self.mn[ first ] Index: patches/patch-mininet_net_py === RCS file: /cvs/ports/net/mininet/patches/patch-mininet_net_py,v retrieving revision 1.2 diff -u -p -u -r1.2 patch-mininet_net_py --- patches/patch-mininet_net_py9 Sep 2017 21:18:30 - 1.2 +++ patches/patch-mininet_net_py7 Apr 2018 23:42:39 - @@ -3,7 +3,7 @@ $OpenBSD: patch-mininet_net_py,v 1.2 201 Index: mininet/net.py --- mininet/net.py.orig +++ mininet/net.py -@@ -96,13 +96,27 @@ from time import sleep +@@ -96,15 +96,29 @@ from time import sleep from itertools import chain, groupby from math import ceil @@ -19,7 +19,7 @@ Index: mininet/net.py +else: +from mininet.openbsd.node import Node +from mininet.openbsd.intf import Intf -+from mininet.openbsd.util import fixLimits, numCores ++from mininet.openbsd.util import fixLimits, numCores, waitListening + from mininet.cli import CLI from mininet.log import info, error, debug, output, warn @@ -30,11 +30,15 @@ Index: mininet/net.py from mininet.nodelib import NAT -from mininet.link import Link, Intf -from mininet.util import ( quietRun, fixLimits, numCores, ensureRoot, +- macColonHex, ipStr, ipParse, netParse, ipAdd, +- waitListening ) +from mininet.link import Link +from mininet.util import ( quietRun, ensureRoot, -macColonHex, ipStr, ipParse, netParse, ipAdd, -waitListening ) ++ macColonHex, ipStr, ipParse, netParse, ipAdd ++ ) from mininet.term import cleanUpScreens, makeTerms + + # Mininet version: should be consistent with README and LICENSE @@ -113,7 +127,7 @@ VERSION = "2.3.0d1" class Mininet( object ): "Network emulation with hosts spawned in network namespaces." @@ -53,24 +57,29 @@ Index: mininet/net.py iperfArgs = 'iperf -p %d ' % port bwArgs = '' if l4Type == 'UDP': -@@ -817,7 +831,7 @@ class Mininet( object ): +@@ -817,9 +831,9 @@ class Mininet( object ): raise Exception( 'Unexpected l4 type: %s' % l4Type ) if fmt: iperfArgs += '-f %s ' % fmt -server.sendCmd( iperfArgs + '-s' ) +
clang6 FIX: games/valyriatear
Hi ports -- Valyria Tear is C++03, so let's build it that way. While here, take back MAINTAINER, since I still work with upstream on this. OK? ~Brian Index: Makefile === RCS file: /cvs/ports/games/valyriatear/Makefile,v retrieving revision 1.18 diff -u -p -r1.18 Makefile --- Makefile 21 Nov 2017 00:13:01 - 1.18 +++ Makefile 8 Apr 2018 00:42:46 - @@ -2,13 +2,14 @@ COMMENT = free J-RPG game CATEGORIES = games x11 -REVISION = 4 +REVISION = 5 GH_ACCOUNT = Bertram25 GH_PROJECT = ValyriaTear GH_TAGNAME = 1.0.0 HOMEPAGE = https://valyriatear.blogspot.com/ +MAINTAINER = Brian Callahan # Main game is GPLv2+ # Art/music a variety of CC and GPL. @@ -37,7 +38,8 @@ RUN_DEPENDS = devel/desktop-file-utils \ # PCH (Precompiled Headers) are known to be broken so disable # the use of PCH. -CONFIGURE_ARGS+= -DUSE_PCH_COMPILATION=Off +CONFIGURE_ARGS+= -DUSE_PCH_COMPILATION=Off \ + -DCMAKE_CXX_FLAGS="${CXXFLAGS} -std=c++03" WRKDIST = ${WRKDIR}/ValyriaTear-${GH_TAGNAME}
clang6 FIX: games/postal
Hi ports -- Postal is not newer than C++03; we get nothing by pretending it's newer than that. Minimal diff to fix the build. OK? ~Brian Index: patches/patch-makefile === RCS file: /cvs/ports/games/postal/patches/patch-makefile,v retrieving revision 1.1.1.1 diff -u -p -r1.1.1.1 patch-makefile --- patches/patch-makefile 22 Dec 2017 10:23:26 - 1.1.1.1 +++ patches/patch-makefile 8 Apr 2018 00:23:35 - @@ -58,7 +58,7 @@ Index: makefile endif ifeq ($(strip $(steamworks)),true) -@@ -339,8 +330,7 @@ debugon: +@@ -339,14 +330,13 @@ debugon: $(eval CFLAGS += -DDEBUG -D_DEBUG -O0 -g) debugoff: @@ -68,3 +68,10 @@ Index: makefile $(BINDIR)/%.o: $(SRCDIR)/%.s $(CC) $(CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $< + + $(BINDIR)/%.o: $(SRCDIR)/%.cpp +- $(CXX) -c -o $@ $< $(CFLAGS) ++ $(CXX) -c -o $@ $< $(CFLAGS) -std=c++03 + + $(BINDIR)/%.o: $(SRCDIR)/%.c + $(CC) -c -o $@ $< $(CFLAGS)
clang-6 FIX: games/liberalcrimesquad
Hi ports -- games/liberalcrimesquad is not anything newer than C++03; we gain nothing but a broken port by pretending that it is C++11 or later. This is the minimal fix that gets it working again. OK? ~Brian ? lcs-clang6.diff Index: Makefile === RCS file: /cvs/ports/games/liberalcrimesquad/Makefile,v retrieving revision 1.9 diff -u -p -r1.9 Makefile --- Makefile 26 Jul 2017 22:45:21 - 1.9 +++ Makefile 7 Apr 2018 23:59:03 - @@ -26,6 +26,8 @@ CONFIGURE_ENV = CPPFLAGS="-I${LOCALBASE LDFLAGS="-L${LOCALBASE}/lib" \ LIBS="-liconv" +MAKE_FLAGS = CXXFLAGS="${CXXFLAGS} -std=c++03" + AUTOCONF_VERSION = 2.69 AUTOMAKE_VERSION = 1.12
Re: Update: sysutils/sleuthkit clang fallout
On 2018/04/07 23:12, Nigel Taylor wrote: > Attach updated > > patch is from upstream github > > https://github.com/sleuthkit/sleuthkit/commit/acefb22e7d18917d434853b02b6f7e9b5f4d329f#diff-474ff1f8f4117ed01cc6b517b1fb556e > > Builds on amd64. Ok? OK. > Index: Makefile > === > RCS file: /home/cvs/ports/sysutils/sleuthkit/Makefile,v > retrieving revision 1.23 > diff -u -p -r1.23 Makefile > --- Makefile 14 Mar 2018 12:39:17 - 1.23 > +++ Makefile 7 Apr 2018 21:58:06 - > @@ -4,6 +4,7 @@ COMMENT= forensic toolkit based on TCT > > DISTNAME=sleuthkit-4.6.0 > CATEGORIES= sysutils security > +REVISION=0 > > SHARED_LIBS += tsk 1.0 # 17.0 > > Index: patches/patch-tools_srchtools_sigfind_cpp > === > RCS file: patches/patch-tools_srchtools_sigfind_cpp > diff -N patches/patch-tools_srchtools_sigfind_cpp > --- /dev/null 1 Jan 1970 00:00:00 - > +++ patches/patch-tools_srchtools_sigfind_cpp 7 Apr 2018 21:55:54 - > @@ -0,0 +1,26 @@ > +$OpenBSD$ > + > +Index: tools/srchtools/sigfind.cpp > +--- tools/srchtools/sigfind.cpp.orig > tools/srchtools/sigfind.cpp > +@@ -302,7 +302,7 @@ main(int argc, char **argv) > + break; > + } > + else if (retval == -1) { > +-fprintf(stderr, "error reading bytes %"PRIuOFF"\n", i); > ++fprintf(stderr, "error reading bytes %" PRIuOFF "\n", i); > + exit(1); > + } > + > +@@ -312,9 +312,9 @@ main(int argc, char **argv) > + ((sig_size < 3) || (block[rel_offset + 2] == sig[2])) && > + ((sig_size < 4) || (block[rel_offset + 3] == sig[3]))) { > + if (prev_hit == -1) > +-printf("Block: %"PRIuOFF" (-)\n", i); > ++printf("Block: %" PRIuOFF " (-)\n", i); > + else > +-printf("Block: %"PRIuOFF" (+%"PRIuOFF")\n", i, > ++printf("Block: %" PRIuOFF " (+%" PRIuOFF ")\n", i, > +(i - prev_hit)); > + > + prev_hit = i;
Update: sysutils/sleuthkit clang fallout
Attach updated patch is from upstream github https://github.com/sleuthkit/sleuthkit/commit/acefb22e7d18917d434853b02b6f7e9b5f4d329f#diff-474ff1f8f4117ed01cc6b517b1fb556e Builds on amd64. Ok? Index: Makefile === RCS file: /home/cvs/ports/sysutils/sleuthkit/Makefile,v retrieving revision 1.23 diff -u -p -r1.23 Makefile --- Makefile 14 Mar 2018 12:39:17 - 1.23 +++ Makefile 7 Apr 2018 21:58:06 - @@ -4,6 +4,7 @@ COMMENT= forensic toolkit based on TCT DISTNAME= sleuthkit-4.6.0 CATEGORIES= sysutils security +REVISION= 0 SHARED_LIBS += tsk 1.0 # 17.0 Index: patches/patch-tools_srchtools_sigfind_cpp === RCS file: patches/patch-tools_srchtools_sigfind_cpp diff -N patches/patch-tools_srchtools_sigfind_cpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-tools_srchtools_sigfind_cpp 7 Apr 2018 21:55:54 - @@ -0,0 +1,26 @@ +$OpenBSD$ + +Index: tools/srchtools/sigfind.cpp +--- tools/srchtools/sigfind.cpp.orig tools/srchtools/sigfind.cpp +@@ -302,7 +302,7 @@ main(int argc, char **argv) + break; + } + else if (retval == -1) { +-fprintf(stderr, "error reading bytes %"PRIuOFF"\n", i); ++fprintf(stderr, "error reading bytes %" PRIuOFF "\n", i); + exit(1); + } + +@@ -312,9 +312,9 @@ main(int argc, char **argv) + ((sig_size < 3) || (block[rel_offset + 2] == sig[2])) && + ((sig_size < 4) || (block[rel_offset + 3] == sig[3]))) { + if (prev_hit == -1) +-printf("Block: %"PRIuOFF" (-)\n", i); ++printf("Block: %" PRIuOFF " (-)\n", i); + else +-printf("Block: %"PRIuOFF" (+%"PRIuOFF")\n", i, ++printf("Block: %" PRIuOFF " (+%" PRIuOFF ")\n", i, +(i - prev_hit)); + + prev_hit = i;
Re: multimedia/mediatomb removal (and apache-couchdb ?)
On Sat, Apr 07, 2018 at 04:38:06PM +0100, Stuart Henderson wrote: > On 2018/04/07 13:48, Landry Breuil wrote: > > > There are still 3 ports depending on lang/spidermonkey, which is from > > the mozilla 3 days and hasnt been updated since 2010. This is probably > > crippled with security issues, so i'd like to work towards removing it. > > > > databases/riak might be updatable, i havent checked to see if it still > > relied on this ancient version of spidermonkey. > > I don't see anything that looks like a change in js engine in newer versions. > > It's not super-new but there's some discussion about use of spidermonkey > at https://github.com/basho/riak/issues/427. It doesn't seem like something > that will be changed in a hurry. Judging by this: https://github.com/basho/riak_kv/commit/e895dc730488f699a1ddfb3a988accd289b0a378 the js stuff will be removed entirely in riak 3. I think we can get away with doing it earlier than that though. If no one objects (does anyone else even use riak?) I'll do that in the next update, which should be in the next few weeks.
pekwm fix for llvm update
Here is quick fix for pekwm with new clang. Builds and workspace changing seem to work on amd64. Timo Index: Makefile === RCS file: /cvs/ports/x11/pekwm/Makefile,v retrieving revision 1.34 diff -u -p -r1.34 Makefile --- Makefile20 Dec 2017 17:22:37 - 1.34 +++ Makefile7 Apr 2018 21:20:31 - @@ -3,7 +3,7 @@ COMMENT= aewm++ based pretty themable window manager DISTNAME= pekwm-0.1.17 -REVISION= 3 +REVISION= 4 CATEGORIES=x11 HOMEPAGE= https://www.pekwm.org/ Index: patches/patch-src_ActionHandler_cc === RCS file: patches/patch-src_ActionHandler_cc diff -N patches/patch-src_ActionHandler_cc --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_ActionHandler_cc 7 Apr 2018 21:20:31 - @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: src/ActionHandler.cc +--- src/ActionHandler.cc.orig src/ActionHandler.cc +@@ -582,7 +582,7 @@ ActionHandler::actionSendToWorkspace(PDecor *decor, in + row_min = Workspaces::getRowMin(), + row_max = Workspaces::getRowMax(); + +-switch (direction) { ++switch ((unsigned int)direction) { + case WORKSPACE_LEFT: + case WORKSPACE_PREV: + if (cur_act > row_min) {
apachetop and clang 6
Don't use apachetop, so just build tested. Looks like someone was overzealous with their NULL usage. Also fix what looks like a write past the end of the array. - Matthew Martin diff --git patches/patch-src_apachetop_cc patches/patch-src_apachetop_cc new file mode 100644 index 000..0132e95966f --- /dev/null +++ patches/patch-src_apachetop_cc @@ -0,0 +1,23 @@ +$OpenBSD$ + +Index: src/apachetop.cc +--- src/apachetop.cc.orig src/apachetop.cc +@@ -271,7 +271,7 @@ int main(int argc, char *argv[]) + hm->create(cf.circle_size); + /* }}} */ + +- memset(&gstats, (char) NULL, sizeof(gstats)); ++ memset(&gstats, 0, sizeof(gstats)); + gstats.start = time(NULL); + + signal(SIGINT, &catchsig); +@@ -465,7 +465,7 @@ int main(int argc, char *argv[]) + continue; + } + +- *nextline = (char) NULL; ++ *nextline = '\0'; + ++nextline; + + /* which parser? */ diff --git patches/patch-src_apachetop_cc.orig patches/patch-src_apachetop_cc.orig new file mode 100644 index 000..ca729eb2dd2 --- /dev/null +++ patches/patch-src_apachetop_cc.orig @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: src/apachetop.cc +--- src/apachetop.cc.orig src/apachetop.cc +@@ -271,7 +271,7 @@ int main(int argc, char *argv[]) + hm->create(cf.circle_size); + /* }}} */ + +- memset(&gstats, (char) NULL, sizeof(gstats)); ++ memset(&gstats, 0, sizeof(gstats)); + gstats.start = time(NULL); + + signal(SIGINT, &catchsig); diff --git patches/patch-src_display_cc patches/patch-src_display_cc new file mode 100644 index 000..7b45ed8d454 --- /dev/null +++ patches/patch-src_display_cc @@ -0,0 +1,32 @@ +$OpenBSD$ + +Index: src/display.cc +--- src/display.cc.orig src/display.cc +@@ -1145,7 +1145,7 @@ void display_histogram() +* characters high to draw the barchart + */ + float bar_height[hist_width]; +- char line[hist_width]; ++ char line[hist_width + 1]; + for(i = 0 ; i < hist_width ; i++) + bar_height[i] = 0; + +@@ -1191,7 +1191,7 @@ void display_histogram() + + /* compose a row of hashes */ + memset(line, ' ', hist_width); +- line[hist_width] = (char)NULL; ++ line[hist_width] = '\0'; + for(j = 0 ; j < hist_width ; ++j) + { + if (bar_height[j] > y_scale) +@@ -1203,7 +1203,7 @@ void display_histogram() + } + + memset(horiz_line, '-', hist_width); +- horiz_line[hist_width] = (char)NULL; ++ horiz_line[hist_width] = '\0'; + mvprintw(HISTOGRAM_START + hist_height, 2, "0+%*s", + hist_width, horiz_line); + diff --git patches/patch-src_display_cc.orig patches/patch-src_display_cc.orig new file mode 100644 index 000..ddc053387dc --- /dev/null +++ patches/patch-src_display_cc.orig @@ -0,0 +1,23 @@ +$OpenBSD$ + +Index: src/display.cc +--- src/display.cc.orig src/display.cc +@@ -1145,7 +1145,7 @@ void display_histogram() +* characters high to draw the barchart + */ + float bar_height[hist_width]; +- char line[hist_width]; ++ char line[hist_width + 1]; + for(i = 0 ; i < hist_width ; i++) + bar_height[i] = 0; + +@@ -1191,7 +1191,7 @@ void display_histogram() + + /* compose a row of hashes */ + memset(line, ' ', hist_width); +- line[hist_width] = (char)NULL; ++ line[hist_width] = '\0'; + for(j = 0 ; j < hist_width ; ++j) + { + if (bar_height[j] > y_scale) diff --git patches/patch-src_hits_circle_cc patches/patch-src_hits_circle_cc new file mode 100644 index 000..55678bed305 --- /dev/null +++ patches/patch-src_hits_circle_cc @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: src/hits_circle.cc +--- src/hits_circle.cc.orig src/hits_circle.cc +@@ -24,7 +24,7 @@ int Hits_Circle::create(unsigned int passed_size) + } + + reqcount = bytecount = 0; +- memset(rc_summary, (char) NULL, sizeof(rc_summary)); ++ memset(rc_summary, 0, sizeof(rc_summary)); + + return 0; + } diff --git patches/patch-src_log_cc patches/patch-src_log_cc new file mode 100644 index 000..e6cf4f15af1 --- /dev/null +++ patches/patch-src_log_cc @@ -0,0 +1,59 @@ +$OpenBSD$ + +Index: src/log.cc +--- src/log.cc.orig src/log.cc +@@ -37,7 +37,7 @@ int CommonLogParser::parse(char *logline, struct logbi + if (!bufcp) + return -1; + +- *bufcp = (char) NULL; ++ *bufcp = '\0'; + ++bufcp; + + /* quickly figure out if this is an IP or a host. We do this by +@@ -172,7 +172,7 @@ int CommonLogParser::parse(char *logline, struct logbi + /* find the end of referrer and null it */ + if (!(bu
Re: TeX stuff for devel/cocinelle and books/tex-by-topic into build set
On 2018/04/07 20:24, Edd Barrett wrote: > Hi, > > I noticed that two ports are using non-buildset dependencies of texlive. > This diff moves the bits they need into the buildset. Should speed up > the bulk a bit. > > I'm also adding a script I wrote to help figure out which packages > needed to be moved. > > Tested in a partial (pre clang 6) bulk, and tested upgrade too. Seems > good. > > CC sthen@ because he helped the last time I had to move things between > subsets. > > gzip diff attached. > > OK? > > I'll look into why tex live fails with Clang 6 next. > > -- > Best Regards > Edd Barrett > > http://www.theunixzoo.co.uk My dev machines are updated past clang 6 so I can't test atm but it reads ok. I don't think it will do much to bulk build speeds in itself, coccinelle and tex-by-topic aren't parts of big dependency chains, and don't take that long to build, but seems a good testbed for your script which could well be useful for things in future that have a bigger impact on the build.
TeX stuff for devel/cocinelle and books/tex-by-topic into build set
Hi, I noticed that two ports are using non-buildset dependencies of texlive. This diff moves the bits they need into the buildset. Should speed up the bulk a bit. I'm also adding a script I wrote to help figure out which packages needed to be moved. Tested in a partial (pre clang 6) bulk, and tested upgrade too. Seems good. CC sthen@ because he helped the last time I had to move things between subsets. gzip diff attached. OK? I'll look into why tex live fails with Clang 6 next. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk move-tex-stuff1.diff.gz Description: application/gunzip
Re: clang6 fallout
On 2018/04/07 13:51, Christian Weisgerber wrote: > In the first amd64 bulk build after the compiler update to clang > 6.0.0, the ports below failed to build. I haven't looked at the > failures in any detail, but just from the list of ports I assume > that most errors are problems in old C++ code that no longer agrees > with the ever-changing modern language. Failure logs from i386 at: https://junkpile.org/p/failures/i386-20180407/
Re: multimedia/mediatomb removal (and apache-couchdb ?)
On 2018/04/07 13:48, Landry Breuil wrote: > Hi, > > multimedia/mediatomb is dead upstream since a while, relies on > lang/spidermonkey, and has potentially been superseded by > https://github.com/gerbera/gerbera#differences-to-mediatomb-so-far > > would anyone oppose to its removal ? There are other upnp servers in the > tree, and one can still port gerbera. The problem with upnp is that some devices are *very* fussy and often can't be made to work with other servers. That said Gerbera is a continuation of mediatomb so would be the obvious choice as a replacement. > There are still 3 ports depending on lang/spidermonkey, which is from > the mozilla 3 days and hasnt been updated since 2010. This is probably > crippled with security issues, so i'd like to work towards removing it. > > databases/riak might be updatable, i havent checked to see if it still > relied on this ancient version of spidermonkey. I don't see anything that looks like a change in js engine in newer versions. It's not super-new but there's some discussion about use of spidermonkey at https://github.com/basho/riak/issues/427. It doesn't seem like something that will be changed in a hurry. > apache-couchdb isnt maintained in the portstree, very much lagging > behind (upstream is at 1.7.1 or 2.1.1) and there doesnt seem to be much > work on moving to newer spidermonkeys per > https://github.com/apache/couchdb/issues/946 > > if you use couchdb on openbsd in production, speak up. Otherwise it > might just hit the attic.. This seems pretty dead ports-wise.
Re: FIX archivers/p7zip - fix for clang 6.0
On Sat 07/04/2018 16:52, Rafael Sadowski wrote: > On Sat Apr 07, 2018 at 03:15:53PM +0200, Björn Ketelaars wrote: > > Diff below fixes p7zip (clang 6.0). > > > > OK? > > > > > > Index: patches/patch-CPP_Windows_ErrorMsg_cpp > > === > > RCS file: patches/patch-CPP_Windows_ErrorMsg_cpp > > diff -N patches/patch-CPP_Windows_ErrorMsg_cpp > > --- /dev/null 1 Jan 1970 00:00:00 - > > +++ patches/patch-CPP_Windows_ErrorMsg_cpp 7 Apr 2018 13:11:53 - > > @@ -0,0 +1,30 @@ > > +$OpenBSD$ > > + > > +Index: CPP/Windows/ErrorMsg.cpp > > +--- CPP/Windows/ErrorMsg.cpp.orig > > CPP/Windows/ErrorMsg.cpp > > +@@ -14,15 +14,15 @@ UString MyFormatMessage(DWORD errorCode) > > + AString msg; > > + > > + switch(errorCode) { > > Please use only: > > switch(static_cast(errorCode)) > > ok to that. ...which results is a much smaller additional patch. Thanks! OK? Index: patches/patch-CPP_Windows_ErrorMsg_cpp === RCS file: patches/patch-CPP_Windows_ErrorMsg_cpp diff -N patches/patch-CPP_Windows_ErrorMsg_cpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-CPP_Windows_ErrorMsg_cpp 7 Apr 2018 15:25:11 - @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: CPP/Windows/ErrorMsg.cpp +--- CPP/Windows/ErrorMsg.cpp.orig CPP/Windows/ErrorMsg.cpp +@@ -13,7 +13,7 @@ UString MyFormatMessage(DWORD errorCode) + const char * txt = 0; + AString msg; + +- switch(errorCode) { ++ switch(static_cast(errorCode)) { + case ERROR_NO_MORE_FILES : txt = "No more files"; break ; + case E_NOTIMPL : txt = "E_NOTIMPL"; break ; + case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ;
Re: FIX archivers/p7zip - fix for clang 6.0
On Sat Apr 07, 2018 at 03:15:53PM +0200, Björn Ketelaars wrote: > Diff below fixes p7zip (clang 6.0). > > OK? > > > Index: patches/patch-CPP_Windows_ErrorMsg_cpp > === > RCS file: patches/patch-CPP_Windows_ErrorMsg_cpp > diff -N patches/patch-CPP_Windows_ErrorMsg_cpp > --- /dev/null 1 Jan 1970 00:00:00 - > +++ patches/patch-CPP_Windows_ErrorMsg_cpp7 Apr 2018 13:11:53 - > @@ -0,0 +1,30 @@ > +$OpenBSD$ > + > +Index: CPP/Windows/ErrorMsg.cpp > +--- CPP/Windows/ErrorMsg.cpp.orig > CPP/Windows/ErrorMsg.cpp > +@@ -14,15 +14,15 @@ UString MyFormatMessage(DWORD errorCode) > + AString msg; > + > + switch(errorCode) { Please use only: switch(static_cast(errorCode)) ok to that. > +-case ERROR_NO_MORE_FILES : txt = "No more files"; break ; > +-case E_NOTIMPL : txt = "E_NOTIMPL"; break ; > +-case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ; > +-case E_ABORT : txt = "E_ABORT"; break ; > +-case E_FAIL: txt = "E_FAIL"; break ; > +-case STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ; > +-case E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ; > +-case E_INVALIDARG : txt = "E_INVALIDARG"; break ; > +-case ERROR_DIRECTORY : txt = "Error Directory"; break ; > ++case (DWORD)(ERROR_NO_MORE_FILES) : txt = "No more files"; break ; > ++case (DWORD)(E_NOTIMPL) : txt = "E_NOTIMPL"; break ; > ++case (DWORD)(E_NOINTERFACE) : txt = "E_NOINTERFACE"; break ; > ++case (DWORD)(E_ABORT) : txt = "E_ABORT"; break ; > ++case (DWORD)(E_FAIL): txt = "E_FAIL"; break ; > ++case (DWORD)(STG_E_INVALIDFUNCTION) : txt = "STG_E_INVALIDFUNCTION"; > break ; > ++case (DWORD)(E_OUTOFMEMORY) : txt = "E_OUTOFMEMORY"; break ; > ++case (DWORD)(E_INVALIDARG) : txt = "E_INVALIDARG"; break ; > ++case (DWORD)(ERROR_DIRECTORY) : txt = "Error Directory"; break ; > + default: > + txt = strerror(errorCode); > + } >
fix clang6 build for libv8
Hi, Here a proposal to fix build broken by the recent clang6 update. Regards. Index: Makefile === RCS file: /cvs/ports/lang/libv8/Makefile,v retrieving revision 1.17 diff -u -p -r1.17 Makefile --- Makefile 8 Nov 2017 18:06:24 - 1.17 +++ Makefile 7 Apr 2018 13:17:24 - @@ -6,7 +6,7 @@ COMMENT= V8 JavaScript for clients and s V8_VERSION= 3.16.14.11 EPOCH= 0 -REVISION= 0 +REVISION= 1 V8_ARCH= ${MACHINE_ARCH:S/amd64/x64/:S/i386/ia32/} V8_RELEASE= release Index: patches/patch-src_stub-cache_cc === RCS file: patches/patch-src_stub-cache_cc diff -N patches/patch-src_stub-cache_cc --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-src_stub-cache_cc 7 Apr 2018 13:17:24 - @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: src/stub-cache.cc +--- src/stub-cache.cc.orig src/stub-cache.cc +@@ -1376,7 +1376,7 @@ Handle StubCompiler::GetCodeWithFlags(Code::Flag + Handle name) { + return (FLAG_print_code_stubs && !name.is_null()) + ? GetCodeWithFlags(flags, *name->ToCString()) +- : GetCodeWithFlags(flags, reinterpret_cast(NULL)); ++ : GetCodeWithFlags(flags, static_cast(NULL)); + } + +
FIX archivers/p7zip - fix for clang 6.0
Diff below fixes p7zip (clang 6.0). OK? Index: patches/patch-CPP_Windows_ErrorMsg_cpp === RCS file: patches/patch-CPP_Windows_ErrorMsg_cpp diff -N patches/patch-CPP_Windows_ErrorMsg_cpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-CPP_Windows_ErrorMsg_cpp 7 Apr 2018 13:11:53 - @@ -0,0 +1,30 @@ +$OpenBSD$ + +Index: CPP/Windows/ErrorMsg.cpp +--- CPP/Windows/ErrorMsg.cpp.orig CPP/Windows/ErrorMsg.cpp +@@ -14,15 +14,15 @@ UString MyFormatMessage(DWORD errorCode) + AString msg; + + switch(errorCode) { +-case ERROR_NO_MORE_FILES : txt = "No more files"; break ; +-case E_NOTIMPL : txt = "E_NOTIMPL"; break ; +-case E_NOINTERFACE : txt = "E_NOINTERFACE"; break ; +-case E_ABORT : txt = "E_ABORT"; break ; +-case E_FAIL: txt = "E_FAIL"; break ; +-case STG_E_INVALIDFUNCTION : txt = "STG_E_INVALIDFUNCTION"; break ; +-case E_OUTOFMEMORY : txt = "E_OUTOFMEMORY"; break ; +-case E_INVALIDARG : txt = "E_INVALIDARG"; break ; +-case ERROR_DIRECTORY : txt = "Error Directory"; break ; ++case (DWORD)(ERROR_NO_MORE_FILES) : txt = "No more files"; break ; ++case (DWORD)(E_NOTIMPL) : txt = "E_NOTIMPL"; break ; ++case (DWORD)(E_NOINTERFACE) : txt = "E_NOINTERFACE"; break ; ++case (DWORD)(E_ABORT) : txt = "E_ABORT"; break ; ++case (DWORD)(E_FAIL): txt = "E_FAIL"; break ; ++case (DWORD)(STG_E_INVALIDFUNCTION) : txt = "STG_E_INVALIDFUNCTION"; break ; ++case (DWORD)(E_OUTOFMEMORY) : txt = "E_OUTOFMEMORY"; break ; ++case (DWORD)(E_INVALIDARG) : txt = "E_INVALIDARG"; break ; ++case (DWORD)(ERROR_DIRECTORY) : txt = "Error Directory"; break ; + default: + txt = strerror(errorCode); + }
jdk fixes for clang 6
I've committed the straightforward whitespace ones already, I don't really know C++ so these I'm less sure about. It's still not enough to get it to build (problems with jdk/src/share/native/com/sun/java/util/jar/pack/jni.cpp next) but I'm running out of steam with this one so I'll just send out what I have for now :) Index: patch-hotspot_src_os_bsd_vm_os_bsd_cpp === RCS file: patch-hotspot_src_os_bsd_vm_os_bsd_cpp diff -N patch-hotspot_src_os_bsd_vm_os_bsd_cpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patch-hotspot_src_os_bsd_vm_os_bsd_cpp 7 Apr 2018 12:09:43 - @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: hotspot/src/os/bsd/vm/os_bsd.cpp +--- hotspot/src/os/bsd/vm/os_bsd.cpp.orig hotspot/src/os/bsd/vm/os_bsd.cpp +@@ -1631,7 +1631,7 @@ void * os::dll_load(const char *filename, char *ebuf, + // Identify compatability class for VM's architecture and library's architecture + // Obtain string descriptions for architectures + +- arch_t lib_arch={elf_head.e_machine,0,elf_head.e_ident[EI_CLASS], elf_head.e_ident[EI_DATA], NULL}; ++ arch_t lib_arch={elf_head.e_machine,0,static_cast(elf_head.e_ident[EI_CLASS]), static_cast(elf_head.e_ident[EI_DATA]), NULL}; + int running_arch_index=-1; + + for (unsigned int i=0 ; i < ARRAY_SIZE(arch_array) ; i++ ) { Index: patch-hotspot_src_share_vm_code_compiledIC_cpp === RCS file: patch-hotspot_src_share_vm_code_compiledIC_cpp diff -N patch-hotspot_src_share_vm_code_compiledIC_cpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patch-hotspot_src_share_vm_code_compiledIC_cpp 7 Apr 2018 12:09:43 - @@ -0,0 +1,14 @@ +$OpenBSD$ + +Index: hotspot/src/share/vm/code/compiledIC.cpp +--- hotspot/src/share/vm/code/compiledIC.cpp.orig hotspot/src/share/vm/code/compiledIC.cpp +@@ -222,7 +222,7 @@ bool CompiledIC::set_to_megamorphic(CallInfo* call_inf + assert(bytecode == Bytecodes::_invokeinterface, ""); + int itable_index = call_info->itable_index(); + entry = VtableStubs::find_itable_stub(itable_index); +-if (entry == false) { ++if (entry == (unsigned char *)false) { + return false; + } + #ifdef ASSERT Index: patch-hotspot_src_share_vm_gc_implementation_g1_heapRegionSet_hpp === RCS file: patch-hotspot_src_share_vm_gc_implementation_g1_heapRegionSet_hpp diff -N patch-hotspot_src_share_vm_gc_implementation_g1_heapRegionSet_hpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patch-hotspot_src_share_vm_gc_implementation_g1_heapRegionSet_hpp 7 Apr 2018 12:09:43 - @@ -0,0 +1,18 @@ +$OpenBSD$ + +Index: hotspot/src/share/vm/gc_implementation/g1/heapRegionSet.hpp +--- hotspot/src/share/vm/gc_implementation/g1/heapRegionSet.hpp.orig hotspot/src/share/vm/gc_implementation/g1/heapRegionSet.hpp +@@ -35,7 +35,11 @@ typedef FormatBuffer hrs_err_msg; + // HEAP_REGION_SET_FORCE_VERIFY to be 1, or in builds in which + // asserts are compiled in. + #ifndef HEAP_REGION_SET_FORCE_VERIFY +-#define HEAP_REGION_SET_FORCE_VERIFY defined(ASSERT) ++# ifdef ASSERT ++#define HEAP_REGION_SET_FORCE_VERIFY 1 ++# else ++#define HEAP_REGION_SET_FORCE_VERIFY 0 ++# endif + #endif // HEAP_REGION_SET_FORCE_VERIFY + + class hrs_ext_msg; Index: patch-hotspot_src_share_vm_opto_type_cpp === RCS file: patch-hotspot_src_share_vm_opto_type_cpp diff -N patch-hotspot_src_share_vm_opto_type_cpp --- /dev/null 1 Jan 1970 00:00:00 - +++ patch-hotspot_src_share_vm_opto_type_cpp7 Apr 2018 12:09:43 - @@ -0,0 +1,25 @@ +$OpenBSD$ + +Index: hotspot/src/share/vm/opto/type.cpp +--- hotspot/src/share/vm/opto/type.cpp.orig hotspot/src/share/vm/opto/type.cpp +@@ -52,7 +52,7 @@ Dict* Type::_shared_type_dict = NULL; + + // Array which maps compiler types to Basic Types + Type::TypeInfo Type::_type_info[Type::lastype] = { +- { Bad, T_ILLEGAL,"bad", false, Node::NotAMachineReg, relocInfo::none }, // Bad ++ { Bad, T_ILLEGAL,"bad", false, static_cast(Node::NotAMachineReg), relocInfo::none }, // Bad + { Control, T_ILLEGAL,"control", false, 0, relocInfo::none }, // Control + { Bottom, T_VOID, "top", false, 0, relocInfo::none }, // Top + { Bad, T_INT,"int:", false, Op_RegI, relocInfo::none }, // Int +@@ -60,8 +60,8 @@ Type::TypeInfo Type::_type_info[Type::lastype] = { + { Half,T_VOID, "half", false, 0, relocInfo::none }, // Half + { Bad, T_NARROWOOP, "narrowoop:",false, Op_RegN, relocInfo::none }, // NarrowOop + { Bad, T_NARROWKLASS,"narrowklass:",
clang6 fallout
In the first amd64 bulk build after the compiler update to clang 6.0.0, the ports below failed to build. I haven't looked at the failures in any detail, but just from the list of ports I assume that most errors are problems in old C++ code that no longer agrees with the ever-changing modern language. archivers/fuse-zip archivers/p7zip audio/adplay audio/caps-plugins audio/espeak audio/libmusicbrainz audio/libmusicbrainz5 audio/libsidplay audio/milkytracker comms/hylafax databases/kyotocabinet devel/arm-none-eabi/gcc-linaro devel/bullet devel/commoncpp devel/cpp-hocon devel/jdk/1.8 devel/mozjs17 devel/mysql++ devel/ode devel/openmpi devel/protobuf devel/ptlib devel/ragel devel/smpeg devel/smpeg2 devel/tclcl devel/xtensa-elf/gcc editors/fte editors/ht,no_x11 emulators/dgen-sdl emulators/frodo emulators/fs-uae emulators/gxemul emulators/mame emulators/mupen64plus/video-glide64 games/amph games/blobby games/dungeon-crawl games/ja2-stracciatella games/kobodeluxe,harder games/koboredux games/liberalcrimesquad games/maelstrom games/numptyphysics games/openrct2 games/postal games/valyriatear games/xevil games/xkobo games/xminehunter games/xwelltris,no_sdl games/xye geo/gpstk graphics/animorph graphics/cal3d graphics/dcmtk graphics/freeimage graphics/glm graphics/lensfun graphics/libraw japanese/groff java/jlint lang/apl lang/libv8 lang/spidermonkey mail/mimetic mail/prepop math/libqalculate math/minisat math/openfst math/z3 misc/cdrdao misc/openbabel misc/xnc multimedia/libmp4v2 multimedia/libvpx multimedia/sfml multimedia/swfmill net/centerim net/dhcdrop net/dxpc net/libtorrent-rasterbar net/livemedia net/mutella net/nepenthes net/ntopng net/ruby-eventmachine,ruby24 net/synergy net/tcpreen net/xprobe print/qpdf print/texlive/base security/botan2 security/steghide shells/fish sysutils/apachetop sysutils/dvd+rw-tools sysutils/sleuthkit textproc/arabica textproc/aspell/core textproc/clucene textproc/exempi textproc/lq-sp textproc/opensp textproc/sablotron textproc/sphinx textproc/wkhtmltopdf www/slowhttptest www/sqtop x11/blackbox x11/ede/desktop x11/icewm x11/nx/nxcomp x11/pekwm x11/qt3 x11/qvwm x11/waimea x11/wbar x11/xplanet -- Christian "naddy" Weisgerber na...@mips.inka.de
multimedia/mediatomb removal (and apache-couchdb ?)
Hi, multimedia/mediatomb is dead upstream since a while, relies on lang/spidermonkey, and has potentially been superseded by https://github.com/gerbera/gerbera#differences-to-mediatomb-so-far would anyone oppose to its removal ? There are other upnp servers in the tree, and one can still port gerbera. There are still 3 ports depending on lang/spidermonkey, which is from the mozilla 3 days and hasnt been updated since 2010. This is probably crippled with security issues, so i'd like to work towards removing it. databases/riak might be updatable, i havent checked to see if it still relied on this ancient version of spidermonkey. apache-couchdb isnt maintained in the portstree, very much lagging behind (upstream is at 1.7.1 or 2.1.1) and there doesnt seem to be much work on moving to newer spidermonkeys per https://github.com/apache/couchdb/issues/946 if you use couchdb on openbsd in production, speak up. Otherwise it might just hit the attic.. Landry
[armv7 fix] Fix build lang/gcc/4.9
Resubmitting this, gcc 4.9 builds with this on armv7. All regression tests fail though. As already stated I successfuly build gcc on i386 and amd64 with this patch. Index: Makefile === RCS file: /cvs/ports/lang/gcc/4.9/Makefile,v retrieving revision 1.54 diff -u -p -r1.54 Makefile --- Makefile15 Mar 2018 01:16:42 - 1.54 +++ Makefile6 Apr 2018 13:13:10 - @@ -4,7 +4,7 @@ ONLY_FOR_ARCHS = ${GCC49_ARCHS} DPB_PROPERTIES = parallel V = 4.9.4 -REVISION = 8 +REVISION = 9 FULL_VERSION = $V FULL_PKGVERSION = $V Index: patches/patch-gcc_configure === RCS file: /cvs/ports/lang/gcc/4.9/patches/patch-gcc_configure,v retrieving revision 1.5 diff -u -p -r1.5 patch-gcc_configure --- patches/patch-gcc_configure 1 Sep 2016 17:30:33 - 1.5 +++ patches/patch-gcc_configure 6 Apr 2018 13:13:10 - @@ -1,7 +1,20 @@ $OpenBSD: patch-gcc_configure,v 1.5 2016/09/01 17:30:33 pascal Exp $ gcc/configure.orig Sun May 22 10:53:32 2016 -+++ gcc/configure Sat Aug 6 19:19:05 2016 -@@ -17367,7 +17367,7 @@ openbsd*) +Index: gcc/configure +--- gcc/configure.orig gcc/configure +@@ -6597,6 +6597,11 @@ $as_echo "$ac_res" >&6; } + fi + done + CFLAGS="$save_CFLAGS" ++if [[ `uname -m` == armv7 ]] ; then ++ if $CC --version 2>&1 | grep clang; then ++noexception_flags="$noexception_flags -fbracket-depth=512" ++ fi ++fi + + + # Enable expensive internal checks +@@ -17367,7 +17372,7 @@ openbsd*) *)need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' @@ -10,7 +23,7 @@ $OpenBSD: patch-gcc_configure,v 1.5 2016 shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in -@@ -21027,7 +21027,7 @@ openbsd*) +@@ -21027,7 +21032,7 @@ openbsd*) *)need_version=no ;; esac library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix' @@ -19,7 +32,7 @@ $OpenBSD: patch-gcc_configure,v 1.5 2016 shlibpath_var=LD_LIBRARY_PATH if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then case $host_os in -@@ -27522,6 +27522,7 @@ else +@@ -27522,6 +27527,7 @@ else fi ;; Index: patches/patch-gcc_system_h === RCS file: patches/patch-gcc_system_h diff -N patches/patch-gcc_system_h --- /dev/null 1 Jan 1970 00:00:00 - +++ patches/patch-gcc_system_h 6 Apr 2018 13:13:10 - @@ -0,0 +1,13 @@ +$OpenBSD$ + +Index: gcc/system.h +--- gcc/system.h.orig gcc/system.h +@@ -231,6 +231,7 @@ extern int errno; +file uses a standard library header that includes , we will get +an error about 'using std::malloc'. */ + #ifdef __cplusplus ++#include + #include + #endif +
[update] yle-dl-2.31
Hi, Here's small update the new version of yle-dl. Needs few more run dependencies on python side. Timo Index: Makefile === RCS file: /cvs/ports/multimedia/yle-dl/Makefile,v retrieving revision 1.14 diff -u -p -r1.14 Makefile --- Makefile12 Dec 2017 13:25:46 - 1.14 +++ Makefile7 Apr 2018 08:18:38 - @@ -2,7 +2,7 @@ GH_ACCOUNT = aajanki GH_PROJECT = yle-dl -GH_TAGNAME = 2.28 +GH_TAGNAME = 2.31 MODPY_EGG_VERSION =${GH_TAGNAME} COMMENT = download videos from YLE Areena @@ -19,12 +19,14 @@ MODULES = lang/python \ lang/php TEST_DEPENDS = ${RUN_DEPENDS} -RUN_DEPENDS = devel/py-progress \ +RUN_DEPENDS = devel/py-future \ + devel/py-progress \ net/rtmpdump \ security/py-crypto \ www/py-requests \ lang/php/${MODPHP_VERSION},-curl \ lang/php/${MODPHP_VERSION},-mcrypt \ + net/py-socks \ net/wget \ textproc/py-lxml \ converters/py-amf Index: distinfo === RCS file: /cvs/ports/multimedia/yle-dl/distinfo,v retrieving revision 1.10 diff -u -p -r1.10 distinfo --- distinfo12 Dec 2017 13:25:46 - 1.10 +++ distinfo7 Apr 2018 08:18:38 - @@ -1,2 +1,2 @@ -SHA256 (yle-dl-2.28.tar.gz) = DdN6XcGmsPjcXvmO86rq32aIiVDO037b+ze/HGYBTfM= -SIZE (yle-dl-2.28.tar.gz) = 68381 +SHA256 (yle-dl-2.31.tar.gz) = b4QPWb/Y0KvCBtJ8xboLcHcHAyewjDnCL/s2Uzn14dU= +SIZE (yle-dl-2.31.tar.gz) = 71092 Index: pkg/PLIST === RCS file: /cvs/ports/multimedia/yle-dl/pkg/PLIST,v retrieving revision 1.5 diff -u -p -r1.5 PLIST --- pkg/PLIST 12 Dec 2017 13:25:46 - 1.5 +++ pkg/PLIST 7 Apr 2018 08:18:38 - @@ -19,7 +19,5 @@ lib/python${MODPY_VERSION}/site-packages lib/python${MODPY_VERSION}/site-packages/yledl/utils.pyc lib/python${MODPY_VERSION}/site-packages/yledl/version.py lib/python${MODPY_VERSION}/site-packages/yledl/version.pyc -lib/python${MODPY_VERSION}/site-packages/yledl/videoutils.py -lib/python${MODPY_VERSION}/site-packages/yledl/videoutils.pyc lib/python${MODPY_VERSION}/site-packages/yledl/yledl.py lib/python${MODPY_VERSION}/site-packages/yledl/yledl.pyc