On 08/27/12 16:03, Stuart Henderson wrote:
On 2012/08/27 10:31, Matthew Dempsky wrote:
On Sun, Aug 26, 2012 at 10:25 PM, Scott McEachern <sc...@blackstaff.ca> wrote:
===>  Installing groff-1.21p8 from /usr/ports/packages/amd64/all/
Can't install groff-1.21p8 because of libraries
|library c.65.0 not found
| /usr/lib/libc.so.66.0 (system): bad major
*** Error code 1
I suspect you compiled the groff package against an older snapshot
which had libc.so.65.0.  The new snapshots have libc.so.66.0 now, and
if you did a clean reinstall of base then you no longer have
libc.so.65.0.

I thought the ports tools are supposed to gracefully handle this, but
maybe not.  Try deleting the groff package and rebuilding it from
source to see if that helps.

If I were guessing, I'd say there are probably either old packages lying
around in /usr/ports/packages, old build directories in WRKOBJDIR (I
forget where this points by default as I always reset it), or FETCH_PACKAGES
is set and PKG_PATH is pointed at a mirror with old packages built against
libc.so.65.0.


Yes, it was a clean install on a "temp" SSD drive I have. This box is my fastest, so I use it as a build machine.

However, the mistake I made was mounting a local file server holding all amd64 packages, including old ones, on /usr/ports/packages/amd64/all. I guess the fresh install tried using (older) existing packages and barfed on it, so no, it isn't handled gracefully. :)

This time, I only mounted /usr/ports/distfiles and starting building from scratch, and it seems to be doing just fine. (It'll be just a "few" hours before it finishes everything...)


FYI, dpb displays the following below the normal output during processing. It doesn't seem to change or affect anything; as I write this over 120 packages have been successfully built. I've seen it on a few recent snapshots but since they weren't clean installs, I figured it was something I broke.

print() on closed filehandle $fh at /usr/ports/infrastructure/lib/DPB/PortBuilder.pm line 171 DPB::PortBuilder::report('DPB::PortBuilder=HASH(0x20b74ea78)', 'DPB::PkgPath=HASH(0x20b1b0100)', 'DPB::Job::Port=HASH(0x20b12c760)', 'DPB::Core::Local=HASH(0x206ae0388)') called at /usr/ports/infrastructure/lib/DPB/PortBuilder.pm line 209 DPB::PortBuilder::__ANON__('DPB::Core::Local=HASH(0x206ae0388)') called at /usr/ports/infrastructure/lib/DPB/Job.pm line 149 DPB::Job::Normal::finalize('DPB::Job::Port=HASH(0x20b12c760)', 'DPB::Core::Local=HASH(0x206ae0388)') called at /usr/ports/infrastructure/lib/DPB/Job/Port.pm line 568 DPB::Job::Port::finalize('DPB::Job::Port=HASH(0x20b12c760)', 'DPB::Core::Local=HASH(0x206ae0388)') called at /usr/ports/infrastructure/lib/DPB/Core.pm line 325

(There may be more, but my screen ends there.)

Thanks everyone,

--
Scott McEachern

https://www.blackstaff.ca

Reply via email to