Date: Wed, 15 Feb 2023 18:13:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 269443] sysutils/jdupes: Update to 1.21.3 Message-ID: <bug-269443-7788-j3Mt87nBzg@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-269443-7788@https.bugs.freebsd.org/bugzilla/> References: <bug-269443-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D269443 --- Comment #11 from Thomas Hurst <tom@hur.st> --- (In reply to Fernando Apestegu=C3=ADa from comment #10) Yes, building with ports and directly is going to have different flags, and both trigger the problem. My flags within poudriere are identical to yours, aside from yours not having the low-memory settings? cc -O2 -pipe -fstack-protector-strong -isystem /usr/local/include -fno-strict-aliasing -Wall -Wwrite-strings -Wcast-align -Wstrict-aliasing -Wstrict-prototypes -Wpointer-arith -Wundef -Wshadow -Wfloat-equal -Waggregate-return -Wcast-qual -Wswitch-default -Wswitch-enum -Wconversion -Wunreachable-code -Wformat=3D2 -std=3Dgnu99 -D_FILE_OFFSET_BITS=3D64 -fstrict-aliasing -pipe -DSMA_MAX_FREE=3D11 -DNO_ATIME -Wextra -Wstrict-overflow=3D5 -Winit-self -DNDEBUG -Wl,-z,stack-size=3D16777216 -DLOW_MEMORY -DSMA_PAGE_SIZE=3D32768 -DNO_HARDLINKS -DNO_SYMLINKS -DNO_USER= _ORDER -DNO_PERMS -DNO_ATIME -DNO_JSON -DNO_EXTFILTER -DNO_CHUNKSIZE -DUSE_JODY_HA= SH -DNO_NUMSORT -DCHUNK_SIZE=3D16384 -isystem /usr/local/include -c -o jdupe= s.o jdupes.c If yours is somehow not built with LOW_MEMORY despite the config option bei= ng set, that would explain why it isn't crashing for you, but raises further questions! > One question would be, why would you want to strip an executable that has= been compiled with debug info (-g). At least in the porter's handbook we s= ay "When WITH_DEBUG is defined, elf files must not be stripped." -g just happens to be what's specified in the upstream source. I patch it = out in the port so it's under the control of the framework. > Do you have WITH_DEBUG in make.conf? No, I just have a few targeted WITH_DEBUG_PORTS. The port builds fine if I= add it. > As a workaround, I think we could add a build dependency on devel/binutil= s and then overwrite ${STRIP_CMD}. Either that, or just clobber STRIP_CMD and let it be installed unstripped. = It seems kind of counterproductive - particularly to anyone building their own ports - to build and install the whole of binutils for the sake of reducing= the installed LOW_MEMORY executable from 48k to 33k. Either way, I think it's time to open a new issue against base. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-269443-7788-j3Mt87nBzg>