pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: tnftp build error on Solaris 10 with Sun Studio compiler




15 okt 2009 kl. 01.19 skrev Steven Bellovin:

On Oct 14, 2009, at 7:11 PM, Leo R. Lundgren wrote:

The $PATH when building this was/is:

        # env
PATH=/opt/sunstudio12.1/bin/:/usr/pkg/sbin/:/usr/pkg/bin/:/usr/ sbin:/usr/bin

I wonder what would happen if /usr/pkg/sbin and /usr/pkg/bin were ahead of /opt/sunstudio12.1/bin -- does that directory perchance have an ftp command?

I tried changing the $PATH to what you described, then did `rehash` (I've noticed it makes a difference sometimes when binaries are recently added, not sure if it matters here), and I also did a `bmake distclean` in www/nginx, and in mk.conf I have CLEANDEPENDS=yes as well, so I think I cleared everything just to be sure..

        # echo $PATH
        /usr/pkg/sbin/:/usr/pkg/bin/:/opt/sunstudio12.1/bin/:/usr/sbin:/usr/bin

After doing the above and a new `bmake`, I get the same error, at the same place in the build process.

Here is the contents of the /opt/sunstudio12.1/bin folder, looks like it carries no `ftp` binary:

        # ls -l /opt/sunstudio12.1/bin/
        totalt 71
lrwxrwxrwx 1 59001 staff 20 okt 14 00:46 analyzer -> ../ prod/bin/analyzer lrwxrwxrwx 1 59001 staff 18 okt 14 00:46 bcheck -> ../ prod/bin/bcheck lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 binopt -> ../ prod/bin/postopt lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 c++filt -> ../ prod/bin/c++filt lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 c89 -> ../prod/ bin/c89 lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 c99 -> ../prod/ bin/c99 lrwxrwxrwx 1 59001 staff 14 okt 14 00:46 cb -> ../prod/ bin/cb lrwxrwxrwx 1 59001 staff 14 okt 14 00:46 cc -> ../prod/ bin/cc lrwxrwxrwx 1 59001 staff 14 okt 14 00:46 CC -> ../prod/ bin/CC lrwxrwxrwx 1 59001 staff 14 okt 14 00:46 cc-5.0 -> ../ prod/bin/cc lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 CCadmin -> ../ prod/bin/CCadmin lrwxrwxrwx 1 59001 staff 17 okt 14 00:46 cflow -> ../ prod/bin/cflow lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 collect -> ../ prod/bin/collect lrwxrwxrwx 1 59001 staff 18 okt 14 00:46 cscope -> ../ prod/bin/cscope lrwxrwxrwx 1 59001 staff 16 okt 14 00:46 ctc -> ../prod/ bin/ctcr lrwxrwxrwx 1 59001 staff 16 okt 14 00:46 ctcr -> ../prod/ bin/ctcr lrwxrwxrwx 1 59001 staff 18 okt 14 00:46 ctrace -> ../ prod/bin/ctrace lrwxrwxrwx 1 59001 staff 17 okt 14 00:46 cxref -> ../ prod/bin/cxref lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 dbx -> ../prod/ bin/dbx lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 dbxtool -> ../ prod/bin/dbxtool lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 dem -> ../prod/ bin/dem lrwxrwxrwx 1 59001 staff 17 okt 14 00:46 dmake -> ../ prod/bin/dmake lrwxrwxrwx 1 59001 staff 21 okt 14 00:46 dumpstabs -> ../ prod/bin/dumpstabs lrwxrwxrwx 1 59001 staff 21 okt 14 00:46 dwarfdump -> ../ prod/bin/dwarfdump lrwxrwxrwx 1 59001 staff 22 okt 14 00:46 er_archive - > ../prod/bin/er_archive lrwxrwxrwx 1 59001 staff 17 okt 14 00:46 er_cp -> ../ prod/bin/er_cp lrwxrwxrwx 1 59001 staff 21 okt 14 00:46 er_export -> ../ prod/bin/er_export lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 er_html -> ../ prod/bin/er_html lrwxrwxrwx 1 59001 staff 21 okt 14 00:46 er_kernel -> ../ prod/bin/er_kernel lrwxrwxrwx 1 59001 staff 17 okt 14 00:46 er_mv -> ../ prod/bin/er_mv lrwxrwxrwx 1 59001 staff 20 okt 14 00:46 er_print -> ../ prod/bin/er_print lrwxrwxrwx 1 59001 staff 17 okt 14 00:46 er_rm -> ../ prod/bin/er_rm lrwxrwxrwx 1 59001 staff 18 okt 14 00:46 er_src -> ../ prod/bin/er_src lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 f77 -> ../prod/ bin/f90.f77 lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 f90 -> ../prod/ bin/f90 lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 f95 -> ../prod/ bin/f90 lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 fbe -> ../prod/ bin/fbe lrwxrwxrwx 1 59001 staff 20 okt 14 00:46 fdumpmod -> ../ prod/bin/fdumpmod lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 fpp -> ../prod/ bin/fpp lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 fpr -> ../prod/ bin/fpr lrwxrwxrwx 1 59001 staff 18 okt 14 00:46 fsplit -> ../ prod/bin/fsplit lrwxrwxrwx 1 59001 staff 22 okt 14 00:46 gen_custom - > ../prod/bin/gen_custom lrwxrwxrwx 1 59001 staff 18 okt 14 00:46 indent -> ../ prod/bin/indent lrwxrwxrwx 1 59001 staff 16 okt 14 00:46 lint -> ../prod/ bin/lint lrwxrwxrwx 1 59001 staff 21 okt 14 00:46 lock_lint -> ../ prod/bin/lock_lint lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 ptclean -> ../ prod/bin/ptclean lrwxrwxrwx 1 59001 staff 30 okt 14 00:46 register_sunstudio -> ../prod/bin/register_sunstudio lrwxrwxrwx 1 59001 staff 16 okt 14 00:46 ripc -> ../prod/ bin/ripc lrwxrwxrwx 1 59001 staff 26 okt 14 00:46 rtc_patch_area - > ../prod/bin/rtc_patch_area lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 rxm -> ../prod/ bin/rxm lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 rxs -> ../prod/ bin/rxs lrwxrwxrwx 1 59001 staff 17 okt 14 00:46 smctl -> ../ prod/bin/smctl lrwxrwxrwx 1 59001 staff 16 okt 14 00:46 spot -> ../prod/ bin/spot lrwxrwxrwx 1 59001 staff 21 okt 14 00:46 spot_diff -> ../ prod/bin/spot_diff lrwxrwxrwx 1 59001 staff 21 okt 14 00:46 ss_attach -> ../ prod/bin/ss_attach lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 sunas -> ../ prod/bin/fbe lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 sunc89 -> ../ prod/bin/c89 lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 sunc99 -> ../ prod/bin/c99 lrwxrwxrwx 1 59001 staff 14 okt 14 00:46 suncc -> ../ prod/bin/cc lrwxrwxrwx 1 59001 staff 14 okt 14 00:46 sunCC -> ../ prod/bin/CC lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 sunf77 -> ../ prod/bin/f90.f77 lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 sunf90 -> ../ prod/bin/f90 lrwxrwxrwx 1 59001 staff 15 okt 14 00:46 sunf95 -> ../ prod/bin/f90 lrwxrwxrwx 1 59001 staff 21 okt 14 00:46 sunstudio -> ../ prod/bin/sunstudio lrwxrwxrwx 1 59001 staff 16 okt 14 00:46 tcov -> ../prod/ bin/tcov lrwxrwxrwx 1 59001 staff 20 okt 14 00:46 tha -> ../prod/ bin/analyzer lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 version -> ../ prod/bin/version lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 version-5.0 - > ../prod/bin/version lrwxrwxrwx 1 59001 staff 19 okt 14 00:46 whatdir -> ../ prod/bin/whatdir lrwxrwxrwx 1 59001 staff 22 okt 14 00:46 xprof_atob - > ../prod/bin/xprof_atob lrwxrwxrwx 1 59001 staff 22 okt 14 00:46 xprof_btoa - > ../prod/bin/xprof_btoa

I have to leave for a few hours now but I'll check back later!

-|



Home | Main Index | Thread Index | Old Index