Re: amd64 (example) main [so: 14]: delete-old check-old delete-old-libs missing a bunch of files?

2021-12-01 Thread John Baldwin
To remove old files and directories run 'make delete-old'. To remove old libraries run 'make delete-old-libs'. in /usr/obj/DESTDIRs/main-amd64-poud for: # chroot /usr/obj/DESTDIRs/main-amd64-poud uname -apKU FreeBSD amd64_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #14 main-n250972-319e9fc642a1-dirty: Tue

amd64 (example) main [so: 14]: delete-old check-old delete-old-libs missing a bunch of files?

2021-11-30 Thread Mark Millard via freebsd-current
tories run 'make delete-old'. To remove old libraries run 'make delete-old-libs'. in /usr/obj/DESTDIRs/main-amd64-poud for: # chroot /usr/obj/DESTDIRs/main-amd64-poud uname -apKU FreeBSD amd64_ZFS 14.0-CURRENT FreeBSD 14.0-CURRENT #14 main-n250972-319e9fc642a1-dirty: Tue Nov 23 11:43:26 PST 2021

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-15 Thread Graham Perrin
On 14/12/2020 13:20, David Wolfskill wrote: I find that "pkg_libchk" (from ports-mgmt/bsdadminscripts2) is helpful for such cases. Peace, david Thanks for this, and for the answers from other users. Ultimately I chose to: pkg upgrade -f pkg upgrade -f -r poudriere The second command was

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-15 Thread Alexander Leidinger
Quoting Jens Schweikhardt (from Mon, 14 Dec 2020 14:15:05 +0100 (CET)): Alexander, it would seem that find /usr/local/*bin* /usr/local/lib* -type f \ | xargs ldd -f '%p|%A\n' 2>/dev/null \ | grep '^not found' | cut -d '|' -f2 \ | xargs pkg which -q | sort -u is prone to false positives,

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-14 Thread David Wolfskill
I find that "pkg_libchk" (from ports-mgmt/bsdadminscripts2) is helpful for such cases. Peace, david -- David H. Wolfskill da...@catwhisker.org As if Trump's lies weren't obvious already, Palin has joined in to prove it. See

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-14 Thread Jens Schweikhardt
Alexander, it would seem that find /usr/local/*bin* /usr/local/lib* -type f \ | xargs ldd -f '%p|%A\n' 2>/dev/null \ | grep '^not found' | cut -d '|' -f2 \ | xargs pkg which -q | sort -u is prone to false positives, since ldd is sensitive to LD_LIBRARY_PATH, viz.: $ find /usr/local/*bin*

Re: Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-14 Thread Alexander Leidinger
Quoting Graham Perrin (from Mon, 14 Dec 2020 07:41:45 +): Re: <https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#updating-src-completing-check-old> I made careless use of: cd /usr/src && make -DBATCH_DELETE_OLD_FILES delete-old-libs [...] Ple

Identifying broken applications following careless use of make -DBATCH_DELETE_OLD_FILES delete-old-libs

2020-12-13 Thread Graham Perrin
Re: <https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/makeworld.html#updating-src-completing-check-old> I made careless use of: cd /usr/src && make -DBATCH_DELETE_OLD_FILES delete-old-libs – then found applications such as LibreOffice no longer working as expecte

11.0 -r302412: check-old does not list older /usr/libsoft/. . . materials; delete-old and delete-old-libs do not delete them

2016-07-08 Thread Mark Millard
report anything about /usr/libsoft materials as to be deleted. Nor did delete-old or delete-old-libs remove any of them. Looking in the DESTDIR tree shows that the libsoft files are still there and are old: libsoft was not rebuilt. -r302412's build was WITHOUT_META_MODE because of a different

Re: WITH_META_MODE vs. delete-old and delete-old-libs

2016-06-14 Thread Bryan Drewery
-host-$(date >>>> +%Y-%m-%d:%H:%M:%S) \ >>>> env __MAKE_CONF="/root/src.configs/make.conf" >>>> SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang-bootstrap.amd64-host" >>>> \ >>>> WITH_META_MODE=yes \ >>&

Re: WITH_META_MODE vs. delete-old and delete-old-libs

2016-06-13 Thread Mark Millard
%M:%S) \ >>> env __MAKE_CONF="/root/src.configs/make.conf" >>> SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang-bootstrap.amd64-host" \ >>> WITH_META_MODE=yes \ >>> MAKEOBJDIRPREFIX="/usr/obj/clang/amd64.amd64" \ >>&g

Re: WITH_META_MODE vs. delete-old and delete-old-libs

2016-06-13 Thread Bryan Drewery
On 6/13/2016 2:54 PM, Ngie Cooper wrote: > On Mon, Jun 13, 2016 at 2:52 PM, Bryan Drewery wrote: > ... >> The problem is that the y/n prompt don't show at all. > > Ah, I missed that critical point... > > Maybe MK_META_MODE=no should be forced for those targets? I'm

Re: WITH_META_MODE vs. delete-old and delete-old-libs

2016-06-13 Thread Ngie Cooper
On Mon, Jun 13, 2016 at 2:52 PM, Bryan Drewery wrote: ... > The problem is that the y/n prompt don't show at all. Ah, I missed that critical point... Maybe MK_META_MODE=no should be forced for those targets? Thanks, -Ngie ___

Re: WITH_META_MODE vs. delete-old and delete-old-libs

2016-06-13 Thread Bryan Drewery
;/root/src.configs/make.conf" >>> SRC_ENV_CONF="/root/src.configs/src.conf.amd64-clang-bootstrap.amd64-host" \ >>> WITH_META_MODE=yes \ >>> MAKEOBJDIRPREFIX="/usr/obj/clang/amd64.amd64" \ >>> make $* >> >> When the WITH_META_MOD

Re: WITH_META_MODE vs. delete-old and delete-old-libs

2016-06-13 Thread Ngie Cooper
c.conf.amd64-clang-bootstrap.amd64-host" \ >> WITH_META_MODE=yes \ >> MAKEOBJDIRPREFIX="/usr/obj/clang/amd64.amd64" \ >> make $* > > When the WITH_META_MODE=yes is present (as shown) delete-old and > delete-old-libs command line arguments to the script do n

Re: WITH_META_MODE vs. delete-old and delete-old-libs

2016-06-13 Thread Bryan Drewery
.amd64-host" \ >> WITH_META_MODE=yes \ >> MAKEOBJDIRPREFIX="/usr/obj/clang/amd64.amd64" \ >> make $* > > When the WITH_META_MODE=yes is present (as shown) delete-old and > delete-old-libs command line arguments to the script do not display the > prompts

WITH_META_MODE vs. delete-old and delete-old-libs

2016-06-13 Thread Mark Millard
d64" \ > make $* When the WITH_META_MODE=yes is present (as shown) delete-old and delete-old-libs command line arguments to the script do not display the prompts but the process does wait for the y/n answers. I've actually used top in another window to see what it is waiting for an

Re: make delete-old/delete-old-libs issue after r264673 build

2014-04-19 Thread Thomas Hoffmann
On Sat, Apr 19, 2014 at 1:05 AM, Jung-uk Kim j...@freebsd.org wrote: On 2014-04-18 23:46:46 -0400, Thomas Hoffmann wrote: After building at -CURRENT amd64 r264673, I got the following errors running 'make delete-old' and 'make delete-old-libs': ... This should be fixed in r264674. Jung

Re: make delete-old/delete-old-libs issue after r264673 build

2014-04-19 Thread Jung-uk Kim
'make delete-old' and 'make delete-old-libs': ... This should be fixed in r264674. Jung-uk Kim With r264674, I no longer see those errors reported at delete-old or delete-old-libs, however, I now see those errors reported at the beginning of buildworld, buildkernel

Re: make delete-old/delete-old-libs issue after r264673 build

2014-04-19 Thread Thomas Hoffmann
building at -CURRENT amd64 r264673, I got the following errors running 'make delete-old' and 'make delete-old-libs': ... This should be fixed in r264674. Jung-uk Kim With r264674, I no longer see those errors reported at delete-old or delete-old-libs, however, I now

Re: make delete-old/delete-old-libs issue after r264673 build

2014-04-19 Thread Thomas Hoffmann
On Sat, Apr 19, 2014 at 9:29 PM, Warner Losh i...@bsdimp.com wrote: bad mk files? jkim@ resolved this for me w/ r264674. ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any

Re: make delete-old/delete-old-libs issue after r264673 build

2014-04-19 Thread Warner Losh
: On 2014-04-18 23:46:46 -0400, Thomas Hoffmann wrote: After building at -CURRENT amd64 r264673, I got the following errors running 'make delete-old' and 'make delete-old-libs': ... This should be fixed in r264674. Jung-uk Kim With r264674, I no longer see those errors reported

make delete-old/delete-old-libs issue after r264673 build

2014-04-18 Thread Thomas Hoffmann
After building at -CURRENT amd64 r264673, I got the following errors running 'make delete-old' and 'make delete-old-libs': # make delete-old make[2]: /usr/share/mk/bsd.opts.mk line 239: Could not find bsd.mkopt.mk make[2]: /usr/share/mk/bsd.opts.mk line 262: Malformed conditional

Re: make delete-old/delete-old-libs issue after r264673 build

2014-04-18 Thread Jung-uk Kim
On 2014-04-18 23:46:46 -0400, Thomas Hoffmann wrote: After building at -CURRENT amd64 r264673, I got the following errors running 'make delete-old' and 'make delete-old-libs': ... This should be fixed in r264674. Jung-uk Kim ___ freebsd-current

r244114 ia64: make check-old-libs says /lib/libz.so.5 can be removed, but it is still needed by /usr/sbin/dtrace and /usr/sbin/lockstat

2012-12-12 Thread Anton Shterenlikht
I updated to r244114 on ia64 following the standard procedure. I then get: # make check-old-libs Checking for old libraries /lib/libz.so.5 # while sysutils/libchk shows: Binaries that are linked with: /lib/libz.so.5 /usr/sbin/dtrace /usr/sbin/lockstat and indeed these two

Re: r244114 ia64: make check-old-libs says /lib/libz.so.5 can be removed, but it is still needed by /usr/sbin/dtrace and /usr/sbin/lockstat

2012-12-12 Thread Scot Hetzel
On Wed, Dec 12, 2012 at 4:07 AM, Anton Shterenlikht me...@bristol.ac.uk wrote: I updated to r244114 on ia64 following the standard procedure. I then get: # make check-old-libs Checking for old libraries /lib/libz.so.5 # while sysutils/libchk shows: Binaries that are linked with: /lib

Re: r244114 ia64: make check-old-libs says /lib/libz.so.5 can be removed, but it is still needed by /usr/sbin/dtrace and /usr/sbin/lockstat

2012-12-12 Thread Scot Hetzel
On Wed, Dec 12, 2012 at 10:52 AM, Scot Hetzel swhet...@gmail.com wrote: On Wed, Dec 12, 2012 at 4:07 AM, Anton Shterenlikht me...@bristol.ac.uk wrote: I updated to r244114 on ia64 following the standard procedure. I then get: # make check-old-libs Checking for old libraries /lib/libz.so.5

Re: r244114 ia64: make check-old-libs says /lib/libz.so.5 can be removed, but it is still needed by /usr/sbin/dtrace and /usr/sbin/lockstat

2012-12-12 Thread Anton Shterenlikht
procedure. I then get: # make check-old-libs Checking for old libraries /lib/libz.so.5 # while sysutils/libchk shows: Binaries that are linked with: /lib/libz.so.5 /usr/sbin/dtrace /usr

Re: r244114 ia64: make check-old-libs says /lib/libz.so.5 can be removed, but it is still needed by /usr/sbin/dtrace and /usr/sbin/lockstat

2012-12-12 Thread Anton Shterenlikht
From swhet...@gmail.com Wed Dec 12 17:54:59 2012 On Wed, Dec 12, 2012 at 4:07 AM, Anton Shterenlikht me...@bristol.ac.uk wrote: I updated to r244114 on ia64 following the standard procedure. I then get: # make check-old-libs Checking

Re: r244114 ia64: make check-old-libs says /lib/libz.so.5 can be removed, but it is still needed by /usr/sbin/dtrace and /usr/sbin/lockstat

2012-12-12 Thread Sergey Kandaurov
On 12 December 2012 14:07, Anton Shterenlikht me...@bristol.ac.uk wrote: I updated to r244114 on ia64 following the standard procedure. I then get: # make check-old-libs Checking for old libraries /lib/libz.so.5 # while sysutils/libchk shows: Binaries that are linked with: /lib/libz.so

Re: WITHOUT_JAIL and make delete-old{,-libs}

2011-03-21 Thread David Demelier
On 20/03/2011 17:31, Alexander Leidinger wrote: On Sun, 20 Mar 2011 08:34:51 +0100 David Demelier demelier.da...@gmail.com wrote: Hello, I was surprised to see there is no ${MK_JAIL} conditional to remove old files on 8.2-RELEASE so I started to write it without watching if -CURRENT already

Re: WITHOUT_JAIL and make delete-old{,-libs}

2011-03-21 Thread Alexander Leidinger
with delete-old/-libs) and the libs need to be checked for the correct version number too. Anyone out there willing to take the stuff in /usr/src/tools/build/mk/OptionalObsoleteFiles.inc from current for his favourite WITHOUT_xxx option and test it in the above described way? I do not have

Re: WITHOUT_JAIL and make delete-old{,-libs}

2011-03-21 Thread Roland Smith
(delete old files, installworld, check if files reappear - need to be removed from the list to remove with delete-old/-libs) and the libs need to be checked for the correct version number too. Some months ago, I submitted an PR with an update for tools/build/mk/OptionalObsoleteFiles.inc; http

Re: WITHOUT_JAIL and make delete-old{,-libs}

2011-03-21 Thread Arnaud Lacombe
Hi, [added freebsd-j...@freebsd.org to CC: list] On Mon, Mar 21, 2011 at 2:04 AM, David Demelier demelier.da...@gmail.com wrote: On 20/03/2011 17:31, Alexander Leidinger wrote: On Sun, 20 Mar 2011 08:34:51 +0100 David Demelier demelier.da...@gmail.com  wrote: Hello, I was surprised to

WITHOUT_JAIL and make delete-old{,-libs}

2011-03-20 Thread David Demelier
Hello, I was surprised to see there is no ${MK_JAIL} conditional to remove old files on 8.2-RELEASE so I started to write it without watching if -CURRENT already make it in /usr/src/tools/build/mk/OptionalObsoleteFiles.inc. .if ${MK_JAIL} == no OLD_FILES+=usr/sbin/jail

Re: WITHOUT_JAIL and make delete-old{,-libs}

2011-03-20 Thread Alexander Best
On Sun Mar 20 11, David Demelier wrote: Hello, I was surprised to see there is no ${MK_JAIL} conditional to remove old files on 8.2-RELEASE so I started to write it without watching if -CURRENT already make it in /usr/src/tools/build/mk/OptionalObsoleteFiles.inc. i think it's best to

Re: WITHOUT_JAIL and make delete-old{,-libs}

2011-03-20 Thread Alexander Leidinger
On Sun, 20 Mar 2011 08:34:51 +0100 David Demelier demelier.da...@gmail.com wrote: Hello, I was surprised to see there is no ${MK_JAIL} conditional to remove old files on 8.2-RELEASE so I started to write it without watching if -CURRENT already make it in

Re: Old Libs...?

1999-12-06 Thread Sheldon Hearn
On Mon, 06 Dec 1999 12:22:35 +0100, Dieter Rothacker wrote: I have just installed 4.0-SNAP-19991203. I noticed that some packages (e.g. samba, bash2) complain about missing shared libs (e.g. libreadline.so.3 needed and .4 is installed). [...] I assume that I have to install the old libs

Re: Old Libs...?

1999-12-06 Thread Douglas Kuntz
I've installed) Douglas Kuntz Editor PC Tech Reports - Original Message - From: "Dieter Rothacker" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 06, 1999 6:22 AM Subject: Old Libs...? Hi, I have just installed 4.0-SNAP-19991203. I noticed that some packages (e