On Thu, 25 Jun 2009 08:30:01 -0400 Frank J. Laszlo wrote: > Boris Samorodov wrote:
> > I downloaded a package from pointyhat: > > http://pointyhat.freebsd.org/errorlogs/i386-8-packages-latest/databases/fpc-postgres-2.2.4.tbz > > > > And can not do a "pkg_add -f" of this package: > > ----- > > # uname -a > > FreeBSD moosi 8.0-CURRENT FreeBSD 8.0-CURRENT #0: Mon Jun 22 21:04:20 MSD > > 2009 r...@moosi:/usr/obj/usr/src/sys/MOOSI i386 > > # pkg_add -fv fpc-postgres-2.2.4.tbz > > Requested space: 247K bytes, free space: 2606M bytes in > > /var/tmp/instmp.iunpHr > > pkg_add: can't stat package file > > '/usr/home/bsam/download/All/postgresql-client-8.2.13.tbz' > > Package 'fpc-postgres-2.2.4' depends on 'libiconv-1.13' with > > 'converters/libiconv' origin. > > - already installed. > > Package 'fpc-postgres-2.2.4' depends on 'gettext-0.17_1' with > > 'devel/gettext' origin. > > - already installed. > > Package 'fpc-postgres-2.2.4' depends on 'postgresql-client-8.2.13' with > > 'databases/postgresql82-client' origin. > > pkg_add: could not find package postgresql-client-8.2.13 (proceeding > > anyway) [*] The warning was ignored > > extract: Package name is fpc-postgres-2.2.4 > > extract: CWD to /usr/local > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/Package.fpc > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/dllist.ppu > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/dllistdyn.ppu > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres.ppu > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres3.ppu > > extract: > > /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres3dyn.ppu > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/dllist.o > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/dllistdyn.o > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres.o > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres3.o > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres3dyn.o > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/libpdllist.a > > extract: > > /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/libpdllistdyn.a > > extract: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/libppostgres.a > > extract: > > /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/libppostgres3.a > > extract: > > /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/libppostgres3dyn.a > > extract: CWD to . > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/Package.fpc: Cannot stat: No > > such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/dllist.ppu: Cannot stat: No > > such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/dllistdyn.ppu: Cannot stat: > > No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres.ppu: Cannot stat: > > No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres3.ppu: Cannot stat: > > No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres3dyn.ppu: Cannot > > stat: No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/dllist.o: Cannot stat: No > > such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/dllistdyn.o: Cannot stat: No > > such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres.o: Cannot stat: No > > such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres3.o: Cannot stat: No > > such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/postgres3dyn.o: Cannot stat: > > No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/libpdllist.a: Cannot stat: > > No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/libpdllistdyn.a: Cannot > > stat: No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/libppostgres.a: Cannot stat: > > No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/libppostgres3.a: Cannot > > stat: No such file or directory > > tar: lib/fpc/2.2.4/units/i386-freebsd/postgres/libppostgres3dyn.a: Cannot > > stat: No such file or directory > > tar: Error exit delayed from previous errors. > > Attempting to record package into /var/db/pkg/fpc-postgres-2.2.4.. > > mv: rename ./+DESC to /var/db/pkg/fpc-postgres-2.2.4/+DESC: No such file or > > directory > > pkg_add: leave_playpen: can't chdir back to '' > > # ls -l /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres > > ls: /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres: No such file or > > directory > > # > > ----- > > > > The relevant part from ktrace/kdump seems to be: > > ----- > > 55129 pkg_add GIO fd 1 wrote 27 bytes > > "extract: CWD to /usr/local > > " > > 55129 pkg_add RET write 27/0x1b > > 55129 pkg_add CALL lstat(0x2840d110,0xbfbba3e8) > > 55129 pkg_add NAMI "/usr" > > 55129 pkg_add STRU struct stat {dev=106, ino=2, mode=drwxr-xr-x , > > nlink=18, uid=0, gid=0, rdev=3008, atime=1245917171, stime=1245688372, > > ctime=1245688391, birthtime=1222160241, size=512, blksize=4096, blocks=4, > > flags=0x0 } > > 55129 pkg_add RET lstat 0 > > 55129 pkg_add CALL lstat(0x2840d110,0xbfbba3e0) > > 55129 pkg_add NAMI "/usr" > > 55129 pkg_add STRU struct stat {dev=106, ino=2, mode=drwxr-xr-x , > > nlink=18, uid=0, gid=0, rdev=3008, atime=1245917171, stime=1245688372, > > ctime=1245688391, birthtime=1222160241, size=512, blksize=4096, blocks=4, > > flags=0x0 } > > 55129 pkg_add RET lstat 0 > > 55129 pkg_add CALL lstat(0x2840d110,0xbfbba3e8) > > 55129 pkg_add NAMI "/usr/local" > > 55129 pkg_add STRU struct stat {dev=106, ino=6359040, mode=drwxr-xr-x , > > nlink=19, uid=0, gid=0, rdev=25403768, atime=1245916185, stime=1245863147, > > ctime=1245863147, birthtime=1222160396, size=512, blksize=4096, blocks=4, > > flags=0x0 } > > 55129 pkg_add RET lstat 0 > > 55129 pkg_add CALL lstat(0x2840d110,0xbfbba3e0) > > 55129 pkg_add NAMI "/usr/local" > > 55129 pkg_add STRU struct stat {dev=106, ino=6359040, mode=drwxr-xr-x , > > nlink=19, uid=0, gid=0, rdev=25403768, atime=1245916185, stime=1245863147, > > ctime=1245863147, birthtime=1222160396, size=512, blksize=4096, blocks=4, > > flags=0x0 } > > 55129 pkg_add RET lstat 0 > > 55129 pkg_add CALL write(0x1,0x28436000,0x4a) > > 55129 pkg_add GIO fd 1 wrote 74 bytes > > "extract: > > /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/Package.fpc > > " > > 55129 pkg_add RET write 74/0x4a > > 55129 pkg_add CALL lstat(0xbfbfb0f8,0xbfbba408) > > 55129 pkg_add NAMI > > "/usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/Package.fpc" > > 55129 pkg_add RET lstat -1 errno 2 No such file or directory > > 55129 pkg_add CALL rename(0x28417080,0xbfbfb0f8) > > 55129 pkg_add NAMI > > "lib/fpc/2.2.4/units/i386-freebsd/postgres/Package.fpc" > > 55129 pkg_add RET rename -1 errno 2 No such file or directory > > 55129 pkg_add CALL write(0x1,0x28436000,0x49) > > 55129 pkg_add GIO fd 1 wrote 73 bytes > > "extract: > > /usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/dllist.ppu > > " > > 55129 pkg_add RET write 73/0x49 > > 55129 pkg_add CALL lstat(0xbfbfb0f8,0xbfbba408) > > 55129 pkg_add NAMI > > "/usr/local/lib/fpc/2.2.4/units/i386-freebsd/postgres/dllist.ppu" > > 55129 pkg_add RET lstat -1 errno 2 No such file or directory > > 55129 pkg_add CALL rename(0x284170c0,0xbfbfb0f8) > > 55129 pkg_add NAMI "lib/fpc/2.2.4/units/i386-freebsd/postgres/dllist.ppu" > > 55129 pkg_add RET rename -1 errno 2 No such file or directory > > ----- > > > > Nothing is written to /usr/lib. > > > > Something is wrong here. Can you give me a clue? Thanks! > > > > > > WBR > > > It looks like you're missing postgresql-client based on the error > message. Have you tried installing this first? No, I have postgresql83-client installed while fpc-portgre requires portgresql82-client. But that's not the matter since I use "pkg_add -f" and this error should be (and really was) ignored. [*] WBR -- bsam _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"