How to fix this error?

Moshiur Rahman Khan mrkdhaka at yahoo.com
Sat May 24 15:10:00 UTC 2008


Dear all,

I need to update some ports and portmanager could not succeed. Please help me and suggest me which activities should I apply to fix. Tell me detail because I am new in FreeBSD.

Best Regards,

Moshiur Rahman Khan


# portmanager -u -l

I found updated error for the following package: 

skipping php5-5.2.5_1 /lang/php5 marked IGNORE reason: failed during make
skipping php5-sockets-5.2.5_1 /net/php5-sockets until dependency php5-5.2.6 updated
skipping php5-snmp-5.2.5_1 /net-mgmt/php5-snmp until dependency php5-5.2.6 updated
skipping php5-gd-5.2.5_1 /graphics/php5-gd until dependency php5-5.2.6 updated
skipping jffnms-0.8.3_1 /net-mgmt/jffnms until dependency php5-5.2.6 updated
skipping php5-ctype-5.2.5_1 /textproc/php5-ctype until dependency php5-5.2.6 updated
skipping php5-mysql-5.2.5_1 /databases/php5-mysql until dependency php5-5.2.6 updated
skipping php5-pcre-5.2.5_1 /devel/php5-pcre until dependency php5-5.2.6 updated
skipping php5-session-5.2.5_1 /www/php5-session until dependency php5-5.2.6 updated
skipping php5-bz2-5.2.5_1 /archivers/php5-bz2 until dependency php5-5.2.6 updated
skipping php5-openssl-5.2.5_1 /security/php5-openssl until dependency php5-5.2.6 updated
skipping pecl-pdflib-2.1.4 /print/pecl-pdflib until dependency php5-5.2.6 updated
skipping php5-zlib-5.2.5_1 /archivers/php5-zlib until dependency php5-5.2.6 updated
skipping php5-mcrypt-5.2.5_1 /security/php5-mcrypt until dependency php5-5.2.6 updated
skipping php5-mbstring-5.2.5_1 /converters/php5-mbstring until dependency php5-5.2.6 updated
skipping phpMyAdmin-2.11.4_1 /databases/phpmyadmin until dependency php5-5.2.6 updated
----------------------------------------------------------------------------------------------------------------
portmanager 0.4.1_9 INFO: finished with some ports not updated  if --log was used see /var/log/portmanager.log

[b][u]Detail Given here in below:[/u][/b]

|--- /usr/ports/Mk/bsd.port.mk  Tue Nov  8 01:02:51 2005
|+++ bsd.port.mk        Wed Nov 16 02:16:57 2005
--------------------------
Patching file bsd.port.mk using Plan A...
Hunk #1 failed at 2049.
1 out of 1 hunks failed--saving rejects to bsd.port.mk.rej
done
------------------------------------------------------------------------
MGPMrUpdate 0.4.1_9 command: #1 of 14  cd /usr/ports/lang/php5 && make -V OPTIONS
------------------------------------------------------------------------
------------------------------------------------------------------------
checking for conflicts before building php5-5.2.5_1
MGPMrUpdate 0.4.1_9 command: #3 of 14  cd /usr/ports/lang/php5 && make check-conflicts
------------------------------------------------------------------------
------------------------------------------------------------------------
intitial clean of work directories
MGPMrUpdate 0.4.1_9 command: #7 of 14:
------------------------------------------------------------------------
===>  Cleaning for /devel/autoconf261
===>  Cleaning for /devel/autoconf261
===>  Cleaning for /devel/pkg-config
===>  Cleaning for /devel/pkg-config
===>  Cleaning for /textproc/libxml2
===>  Cleaning for /lang/php5
------------------------------------------------------------------------
fetch php5-5.2.5_1
MGPMrUpdate 0.4.1_9 command: #8 of 14  cd /usr/ports/lang/php5 && make fetch
------------------------------------------------------------------------
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for php5-5.2.5_1
------------------------------------------------------------------------
update php5-5.2.5_1
MGPMrUpdate 0.4.1_9 command: #9 of 14  cd /usr/ports/lang/php5 && make
------------------------------------------------------------------------
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for php5-5.2.5_1
===>  Extracting for php5-5.2.6
=> MD5 Checksum mismatch for php-5.2.6.tar.bz2.
=> SHA256 Checksum mismatch for php-5.2.6.tar.bz2.
=> MD5 Checksum OK for suhosin-patch-5.2.6-0.9.6.2.patch.gz.
=> SHA256 Checksum OK for suhosin-patch-5.2.6-0.9.6.2.patch.gz.
===>  Refetch for 1 more times files: php-5.2.6.tar.bz2 php-5.2.6.tar.bz2
===>  Vulnerability check disabled, database not found
===>  Found saved configuration for php5-5.2.5_1
=> php-5.2.6.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
=> Attempting to fetch from http://br.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://cn.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://dk.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://de.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://es.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://fi.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://fr.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://gr.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://it.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://jp.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://se.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://uk.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://us2.php.net/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://ring.nict.go.jp/archives/net/www/php/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://ring.sakura.ad.jp/archives/net/www/php/distributions/.
fetch: php-5.2.6.tar.bz2: local modification time does not match remote
=> Attempting to fetch from http://ring.riken.jp/archives/net/www/php/distributions/.
fetch: http://ring.riken.jp/archives/net/www/php/distributions/php-5.2.6.tar.bz2: Not Found
=> Attempting to fetch from ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/.
fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/php-5.2.6.tar.bz2: File unavailable (e.g., file not found, no access)
=> Couldn't fetch it - please try to retrieve this

port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

Stop in /usr/ports/lang/php5.
*** Error code 1

Stop in /usr/ports/lang/php5.
*** Error code 1

Stop in /usr/ports/lang/php5.
MGPMrUpdate 0.4.1_9 error: make returned an error, adding /lang/php5 to ignore.db
reverting bsd.port.mk patch -=>cd /usr/ports/Mk; patch -R < /usr/local/share/portmanager/patch-bsd.port.mk-0.3.6;
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- /usr/ports/Mk/bsd.port.mk  Tue Nov  8 01:02:51 2005
|+++ bsd.port.mk        Wed Nov 16 02:16:57 2005
--------------------------
Patching file bsd.port.mk using Plan A...
Hunk #1 failed at 2049.
1 out of 1 hunks failed--saving rejects to bsd.port.mk.rej
done
------------------------------------------------------------------------
 Port Status Report
------------------------------------------------------------------------
00001 have:libtool-1.5.24                      /devel/libtool15                    CURRENT
00002 have:libiconv-1.11_1                     /converters/libiconv                CURRENT
00003 have:gettext-0.16.1_3                    /devel/gettext                      CURRENT
00004 have:gmake-3.81_2                        /devel/gmake                        CURRENT
00005 have:ezm3-1.2_1                          /lang/ezm3                          CURRENT
00006 have:cvsup-without-gui-16.1h_4           /net/cvsup-without-gui              CURRENT
00007 have:bigreqsproto-1.0.2                  /x11/bigreqsproto                   CURRENT
00008 have:xextproto-7.0.2                     /x11/xextproto                      CURRENT
00009 have:xcmiscproto-1.1.2                   /x11/xcmiscproto                    CURRENT
00010 have:kbproto-1.0.3                       /x11/kbproto                        CURRENT
00011 have:inputproto-1.4.2.1                  /x11/inputproto                     CURRENT
00012 have:xf86bigfontproto-1.1.2              /x11-fonts/xf86bigfontproto         CURRENT
00013 have:pkg-config-0.23_1                   /devel/pkg-config                   CURRENT
00014 have:xproto-7.0.10_1                     /x11/xproto                         CURRENT
00015 have:libXau-1.0.3_2                      /x11/libXau                         CURRENT
00016 have:xtrans-1.0.4                        /x11/xtrans                         CURRENT
00017 have:bison-2.3_3,1                       /devel/bison                        CURRENT
00018 have:m4-1.4.9,1                          /devel/m4                           CURRENT
00019 have:libXext-1.0.3,1                     /x11/libXext                        CURRENT
00020 have:libX11-1.1.3_1,1                    /x11/libX11                         CURRENT
00021 have:libxcb-1.1                          /x11/libxcb                         CURRENT
00022 have:libXdmcp-1.0.2_1                    /x11/libXdmcp                       CURRENT
00023 have:libcheck-0.9.5_1                    /devel/libcheck                     CURRENT
00024 have:libxslt-1.1.22_1                    /textproc/libxslt                   CURRENT
00025 have:xcb-proto-1.1                       /x11/xcb-proto                      CURRENT
00026 have:libpthread-stubs-0.1                /devel/libpthread-stubs             CURRENT
00027 have:libxml2-2.6.31                      /textproc/libxml2                   CURRENT
00028 have:icu-3.8.1_1                         /devel/icu                          CURRENT
00029 have:tcl-8.4.19,1                        /lang/tcl84                         CURRENT
00030 have:tk-8.4.19,2                         /x11-toolkits/tk84                  CURRENT
00031 have:printproto-1.0.3                    /x11/printproto                     CURRENT
00032 have:libXt-1.0.5_1                       /x11-toolkits/libXt                 CURRENT
00033 have:libSM-1.0.3_1,1                     /x11/libSM                          CURRENT
00034 have:libICE-1.0.4_1,1                    /x11/libICE                         CURRENT
00035 have:png-1.2.28                          /graphics/png                       CURRENT
00036 have:libXmu-1.0.3,1                      /x11-toolkits/libXmu                CURRENT
00037 have:libXp-1.0.0,1                       /x11/libXp                          CURRENT
00038 have:libXpm-3.5.7                        /x11/libXpm                         CURRENT
00039 have:libXaw-1.0.4_1,1                    /x11-toolkits/libXaw                CURRENT
00040 have:jpeg-6b_4                           /graphics/jpeg                      CURRENT
00041 have:freetype2-2.3.5                     /print/freetype2                    CURRENT
00042 have:expat-2.0.1                         /textproc/expat2                    CURRENT
00043 have:fontconfig-2.5.0,1                  /x11-fonts/fontconfig               CURRENT
00044 have:lua-5.1.3_1                         /lang/lua                           CURRENT
00045 have:gd-2.0.35,1                         /graphics/gd                        CURRENT
00046 have:libltdl-1.5.24                      /devel/libltdl15                    CURRENT
00047 have:graphviz-2.18_1                     /graphics/graphviz                  CURRENT
00048 have:libdnet-1.11_1                      /net/libdnet                        CURRENT
00049 have:mysql-client-5.0.51a                /databases/mysql50-client           CURRENT
00050 have:mysql-server-5.0.51a                /databases/mysql50-server           CURRENT
00051 have:perl-5.8.8_1                        /lang/perl5.8                       CURRENT
00052 have:rrdtool-1.0.50_1                    /databases/rrdtool10                CURRENT
00053 have:pcre-7.7                            /devel/pcre                         CURRENT
00054 have:nmap-4.62                           /security/nmap                      CURRENT
00055 have:rpm2cpio-1.2_2                      /archivers/rpm2cpio                 CURRENT
00056 have:tmpwatch-2.9.6                      /sysutils/tmpwatch                  CURRENT
00057 have:p5-gettext-1.05_1                   /devel/p5-Locale-gettext            CURRENT
00058 have:help2man-1.36.4_1                   /misc/help2man                      CURRENT
00059 have:autoconf-wrapper-20071109           /devel/autoconf-wrapper             CURRENT
00060 have:autoconf-2.61_2                     /devel/autoconf261                  CURRENT
00061 have:php5-5.2.5_1                        /lang/php5                          OLD available: php5-5.2.6
00062 have:php5-sockets-5.2.5_1                /net/php5-sockets                   OLD available: php5-sockets-5.2.6
00063 have:net-snmp-5.4.1_4                    /net-mgmt/net-snmp                  CURRENT
00064 have:php5-snmp-5.2.5_1                   /net-mgmt/php5-snmp                 OLD available: php5-snmp-5.2.6_2
00065 have:t1lib-5.1.2,1                       /devel/t1lib                        CURRENT
00066 have:php5-gd-5.2.5_1                     /graphics/php5-gd                   OLD available: php5-gd-5.2.6
00067 have:jffnms-0.8.3_1                      /net-mgmt/jffnms                    OLD available: jffnms-0.8.3_2
00068 have:apache-1.3.41                       /www/apache13                       CURRENT
00069 have:freebsd-tftp-1.0                    /net/freebsd-tftp                   CURRENT
00070 have:p5-TacacsPlus-0.16                  /security/p5-Authen-TacacsPlus      CURRENT
00071 have:p5-IO-stringy-2.110                 /devel/p5-IO-stringy                CURRENT
00072 have:p5-Parse-Syslog-1.10                /textproc/p5-Parse-Syslog           CURRENT
00073 have:p5-Parse-Syslog-Mail-0.16           /mail/p5-Parse-Syslog-Mail          CURRENT
00074 have:minirsyslogd-1.02                   /sysutils/minirsyslogd              CURRENT
00075 have:msyslog-1.08g_2                     /sysutils/msyslog                   CURRENT
00076 have:p5-SyslogScan-0.32                  /sysutils/p5-SyslogScan             CURRENT
00077 have:p5-Tie-Syslog-1.07                  /sysutils/p5-Tie-Syslog             CURRENT
00078 have:p5-Unix-Syslog-1.0                  /sysutils/p5-Unix-Syslog            CURRENT
00079 have:localedata-5.4                      /misc/localedata                    CURRENT
00080 have:compat5x-i386-5.4.0.8_9             /misc/compat5x                      CURRENT
00081 have:unzip-5.52_5                        /archivers/unzip                    CURRENT
00082 have:liblogging-0.7.1                    /devel/liblogging                   CURRENT
00083 have:fpc-2.2.0_1                         /lang/fpc                           CURRENT
00084 have:rsyslog-2.0.5                       /sysutils/rsyslog                   CURRENT
00085 have:fpc-hash-2.2.0                      /security/fpc-hash                  CURRENT
00086 have:fpc-libasync-2.2.0                  /net/fpc-libasync                   CURRENT
00087 have:fpc-netdb-2.2.0                     /net/fpc-netdb                      CURRENT
00088 have:fpc-paszlib-2.2.0                   /archivers/fpc-paszlib              CURRENT
00089 have:fpc-pthreads-2.2.0                  /devel/fpc-pthreads                 CURRENT
00090 have:fpc-fcl-base-2.2.0                  /devel/fpc-fcl-base                 CURRENT
00091 have:fpc-fcl-passrc-2.2.0                /devel/fpc-fcl-passrc               CURRENT
00092 have:fpc-fcl-xml-2.2.0                   /devel/fpc-fcl-xml                  CURRENT
00093 have:fpc-gdbint-2.2.0                    /devel/fpc-gdbint                   CURRENT
00094 have:fpc-graph-2.2.0                     /graphics/fpc-graph                 CURRENT
00095 have:rsyslog-gssapi-2.0.5                /sysutils/rsyslog-gssapi            CURRENT
00096 have:rsyslog-mysql-2.0.5                 /sysutils/rsyslog-mysql             CURRENT
00097 have:syslog-ng-1.6.12_1                  /sysutils/syslog-ng                 CURRENT
00098 have:fping-2.4b2_1                       /net/fping                          CURRENT
00099 have:automake-wrapper-20071109           /devel/automake-wrapper             CURRENT
00100 have:automake-1.9.6_2                    /devel/automake19                   CURRENT
00101 have:php5-ctype-5.2.5_1                  /textproc/php5-ctype                OLD available: php5-ctype-5.2.6
00102 have:php5-mysql-5.2.5_1                  /databases/php5-mysql               OLD available: php5-mysql-5.2.6
00103 have:php5-pcre-5.2.5_1                   /devel/php5-pcre                    OLD available: php5-pcre-5.2.6
00104 have:php5-session-5.2.5_1                /www/php5-session                   OLD available: php5-session-5.2.6
00105 have:php5-bz2-5.2.5_1                    /archivers/php5-bz2                 OLD available: php5-bz2-5.2.6
00106 have:php5-openssl-5.2.5_1                /security/php5-openssl              OLD available: php5-openssl-5.2.6
00107 have:pdflib-7.0.2                        /print/pdflib                       CURRENT
00108 have:pecl-pdflib-2.1.4                   /print/pecl-pdflib                  OLD available: pecl-pdflib-2.1.5
00109 have:php5-zlib-5.2.5_1                   /archivers/php5-zlib                OLD available: php5-zlib-5.2.6
00110 have:libmcrypt-2.5.8                     /security/libmcrypt                 CURRENT
00111 have:php5-mcrypt-5.2.5_1                 /security/php5-mcrypt               OLD available: php5-mcrypt-5.2.6
00112 have:php5-mbstring-5.2.5_1               /converters/php5-mbstring           OLD available: php5-mbstring-5.2.6
00113 have:phpMyAdmin-2.11.4_1                 /databases/phpmyadmin               OLD available: phpMyAdmin-2.11.6
00114 have:p5-Net-SSLeay-1.30_1                /security/p5-Net-SSLeay             CURRENT
00115 have:p5-Authen-PAM-0.16_1                /security/p5-Authen-PAM             CURRENT
00116 have:webmin-1.410_1                      /sysutils/webmin                    CURRENT
00117 have:portmanager-0.4.1_9                 /ports-mgmt/portmanager             CURRENT
========================================================================
skipping php5-5.2.5_1 /lang/php5 marked IGNORE reason: failed during make
skipping php5-sockets-5.2.5_1 /net/php5-sockets until dependency php5-5.2.6 updated
skipping php5-snmp-5.2.5_1 /net-mgmt/php5-snmp until dependency php5-5.2.6 updated
skipping php5-gd-5.2.5_1 /graphics/php5-gd until dependency php5-5.2.6 updated
skipping jffnms-0.8.3_1 /net-mgmt/jffnms until dependency php5-5.2.6 updated
skipping php5-ctype-5.2.5_1 /textproc/php5-ctype until dependency php5-5.2.6 updated
skipping php5-mysql-5.2.5_1 /databases/php5-mysql until dependency php5-5.2.6 updated
skipping php5-pcre-5.2.5_1 /devel/php5-pcre until dependency php5-5.2.6 updated
skipping php5-session-5.2.5_1 /www/php5-session until dependency php5-5.2.6 updated
skipping php5-bz2-5.2.5_1 /archivers/php5-bz2 until dependency php5-5.2.6 updated
skipping php5-openssl-5.2.5_1 /security/php5-openssl until dependency php5-5.2.6 updated
skipping pecl-pdflib-2.1.4 /print/pecl-pdflib until dependency php5-5.2.6 updated
skipping php5-zlib-5.2.5_1 /archivers/php5-zlib until dependency php5-5.2.6 updated
skipping php5-mcrypt-5.2.5_1 /security/php5-mcrypt until dependency php5-5.2.6 updated
skipping php5-mbstring-5.2.5_1 /converters/php5-mbstring until dependency php5-5.2.6 updated
skipping phpMyAdmin-2.11.4_1 /databases/phpmyadmin until dependency php5-5.2.6 updated
------------------------------------------------------------------------
portmanager 0.4.1_9 INFO: finished with some ports not updated  if --log was used see /var/log/portmanager.log
------------------------------------------------------------------------
freeBSDsrv#

freeBSDsrv# ee /var/log/portmanager.log

^[ (escape) menu  ^y search prompt  ^k delete line   ^p prev li   ^g prev page
^o ascii code     ^x search         ^l undelete line ^n next li   ^v next page
^u end of file    ^a begin of line  ^w delete word   ^b back 1 char
^t begin of file  ^e end of line    ^r restore word  ^f forward 1 char
^c command        ^d delete char    ^j undelete char ^z next word
L: 1 C: 1 ==========================================================
========================================================================
portmanager 0.4.1_9
FreeBSD FreeBSDsrv.finance.gov.com 6.2-STABLE-200705 FreeBSD 6.2-STABLE-200705 #0: Su
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
------------------------------------------------------------------------
autoConflicts              0  autoMoved                  0
backUp                     0  buildDependsAreLeaves      0
forced                     0  interactive                0
log                        1  pmMode                     0
pristine                   0  resume                     0
------------------------------------------------------------------------
Sat May 24 22:11:36 2008
 php5-5.2.5_1                        /lang/php5
    OLD                                 php5-5.2.6                          /lan

Sat May 24 22:12:13 2008
 php5-5.2.5_1                        /lang/php5
file "/var/log/portmanager.log", 21 lines
^[ (escape) menu  ^y search prompt  ^k delete line   ^p prev li   ^g prev page
^o ascii code     ^x search         ^l undelete line ^n next li   ^v next page
^u end of file    ^a begin of line  ^w delete word   ^b back 1 char
^t begin of file  ^e end of line    ^r restore word  ^f forward 1 char
^c command        ^d delete char    ^j undelete char ^z next word
^[ (escape) menu  ^y search prompt  ^k delete line   ^p prev li   ^g prev page
^o ascii code     ^x search         ^l undelete line ^n next li   ^v next page
^u end of file    ^a begin of line  ^w delete word   ^b back 1 char
^t begin of file  ^e end of line    ^r restore word  ^f forward 1 char
^c command        ^d delete char    ^j undelete char ^z next word
L: 21 C: 1 ====================================================================
========================================================================
portmanager 0.4.1_9
FreeBSD FreeBSDsrv.finance.gov.com 6.2-STABLE-200705 FreeBSD 6.2-STABLE-200705 #0: Sun May  6 12:10:58 UTC 2007
    root at dessler.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  i386
------------------------------------------------------------------------
autoConflicts              0  autoMoved                  0
backUp                     0  buildDependsAreLeaves      0
forced                     0  interactive                0
log                        1  pmMode                     0
pristine                   0  resume                     0
------------------------------------------------------------------------
Sat May 24 22:11:36 2008
 php5-5.2.5_1                        /lang/php5
    OLD                                 php5-5.2.6                          /lang/php5

Sat May 24 22:12:13 2008
 php5-5.2.5_1                        /lang/php5
    failed during make, adding to ignore.db

Sat May 24 22:12:14 2008
 end of log :roll:  :roll:  :arrow: 


Send instant messages to your online friends http://uk.messenger.yahoo.com 


More information about the freebsd-questions mailing list