FreeBSD-Portbaum auf Fehler überprüfen
Mit Hilfe von pchecker lässt sich der FreeBSD-Portbaum auf bekannte Fehler überprüfen. Im FreeBSD-Portbaum findet man pchecker unter ports-mgmt/pchecker:
# cd /usr/ports/ports-mgmt/pchecker && make install clean
Führt man nun pchecker aus wird der aktuell installierte Portbaum nach bekannten Fehlern durchsucht:
# pchecker zero size files: nonstandard directories: /usr/ports/distfiles/xorg/proto /usr/ports/distfiles/xorg/util [...] /usr/ports/packages/portmaster-backup/hidesvn-1.0.tbz nonstandard pkg-*: whitelist: databases/squirrel-sql/pkg-messages don't exists /usr/ports/distfiles/gnome2/pkg-config-0.23.tar.gz /usr/ports/distfiles/gnome2/pkg-config-0.25.tar.gz /usr/ports/distfiles/rubygem/pkg-config-1.1.1.gem missing/nonstandard/duplicate lines in distinfo: /usr/ports/devel/avrdude/distinfo: missing SIZE for avrdude-5.11.tar.gz /usr/ports/devel/py-configobj/distinfo: ??? /usr/ports/devel/py-asn1/distinfo: missing SIZE for pyasn1-0.1.2.tar.gz /usr/ports/devel/py-DateTime/distinfo: missing SIZE for zope/DateTime-3.0b3.zip /usr/ports/devel/yasm/distinfo: missing SIZE for yasm-1.2.0.tar.gz /usr/ports/games/openarena-oax/distinfo: missing SIZE for oaxB50.zip /usr/ports/graphics/inkscape/distinfo: missing SIZE for inkscape-0.48.2.tar.bz2 /usr/ports/graphics/gmt/distinfo: missing SHA256 for gmt/GMT_full.tar.bz2 /usr/ports/graphics/gmt/distinfo: missing SHA256 for gmt/GMT_high.tar.bz2 /usr/ports/graphics/gmt/distinfo: missing SHA256 for gmt/triangle.tar.bz2 /usr/ports/mail/qmail/distinfo: missing SIZE for qmail/qmail-ldap-1.03-20060201-SRS.patch /usr/ports/net-mgmt/zenpack-macreport/distinfo: missing SIZE for zenoss-ZenPacks.sodonnell.MACReport-b345f53.zip /usr/ports/security/fprint_demo/distinfo: ??? /usr/ports/security/fprint_demo/distinfo: ??? /usr/ports/security/ssl-admin/distinfo: missing SIZE for ssl-admin-1.0.4.tar.gz /usr/ports/www/yii/distinfo: missing SHA256 for yii-1.1.9.r3135.tar.gz /usr/ports/www/yii/distinfo: missing SIZE for yii-1.1.9.r3527.tar.gz BROKEN/IGNORE quoted: /usr/ports/databases/linux-oracle-instantclient-basic/Makefile:IGNORE+= \"${DISTFILES}\". \n /usr/ports/databases/linux-oracle-instantclient-sdk/Makefile:IGNORE+= \"${DISTFILES}\". \n /usr/ports/databases/linux-oracle-instantclient-sqlplus/Makefile:IGNORE+= \"${DISTFILES}\". \n /usr/ports/databases/postgresql-docs/Makefile:BROKEN= "not implemented yet" /usr/ports/databases/sqldeveloper/Makefile:IGNORE+= \"${DISTFILES}\". \n /usr/ports/editors/mode-info/Makefile:IGNORE= cannot install: MI_ELISP_LANG should be "en" /usr/ports/emulators/stonx/Makefile:IGNORE="Please get a ROM dump from your AtariST and save it as"\ /usr/ports/emulators/xmame/Makefile:IGNORE= cannot install: MAMEMESS must be set to one of "mame" or "mess". /usr/ports/games/darkplaces/Makefile:BROKEN= Does not compile on ia64, powerpc, or sparc64: unrecognized command line option "-msse2" /usr/ports/java/jai-imageio/Makefile:IGNORE= you must manually fetch the "Linux Install" distribution (${DISTNAME}${EXTRACT_SUFX}) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again /usr/ports/java/jai/Makefile:IGNORE= You must manually fetch from the \"Java Advanced Imaging API 1.1.3 Download Page\", the \"Java (no native acceleration)\" distribution \(${DISTNAME}${EXTRACT_SUFX}\) from ${DOWNLOAD_URL}, place it in ${DISTDIR} and then run make again /usr/ports/java/jdk16-doc/Makefile:IGNORE=You must manually fetch ${DISTNAME}${EXTRACT_SUFX} from ${DOWNLOAD_URL} by selecting the \"Download\" link for the \"Java SE 6 Documentation\", place it in ${DISTDIR} and then run make again /usr/ports/lang/python-doc-html/Makefile:IGNORE= invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: text, html, pdf-a4, pdf-letter /usr/ports/lang/python-doc-html/Makefile:IGNORE= invalid value for DOCFORMAT: "${DOCFORMAT}", possible values are: html, pdf-a4, pdf-letter, postscript-a4, postscript-letter /usr/ports/mail/dbmail22/Makefile:IGNORE="requires at least one database backend selected. Run 'make config'" /usr/ports/math/unixstat/Makefile:IGNORE="Gary Perlman requires that users agree to his license"\ /usr/ports/ports-mgmt/vulnerability-test-port/Makefile:IGNORE= ": \`\`${INSTALLATION_DATE}\'\' is not a legal date. INSTALLATION_DATE must be in the form YYYY.MM.DD" /usr/ports/science/gamess/Makefile:IGNORE=you must manually get the source distribution from master site. http://www.msg.ameslab.gov/GAMESS/download.html. Please selsect "Source code distribution", and check on "running on Intel compatible PC running Linux". You must have license, and freely obtainable /usr/ports/science/afni/Makefile:BROKEN= Does not compile on sparc64: "undefined reference to '_mcount'" /usr/ports/security/pam_krb5/Makefile:IGNORE= you must define KRB5_IMPL to be \"mit\" or \"heimdal\" /usr/ports/www/apache20/Makefile.modules:IGNORE= "Unknown MPM: ${WITH_MPM}" /usr/ports/www/apache20/Makefile.modules:IGNORE= "Unknown DBM" /usr/ports/www/apache22/Makefile.modules:IGNORE= "Unknown MPM: ${WITH_MPM}" /usr/ports/www/apache22/Makefile.modules:IGNORE= "Unknown DBM" misspelled(wrong) USE_* vars in Makefile: /usr/ports/editors/xemacs-devel/Makefile:#USE_XPM= no /usr/ports/ftp/proftpd/Makefile:USE_CLAMAV= yes /usr/ports/mail/dovecot2-antispam-plugin/Makefile:USE_CONFIGURE= yes /usr/ports/devel/d-feet/Makefile:USE_GTK= yes /usr/ports/audio/wildmidi/Makefile:USE_GZIP= yes /usr/ports/devel/ocaml-cppo/Makefile:USE_GZIP= yes /usr/ports/net-mgmt/collectd/Makefile:USE_PDNS= yes /usr/ports/net-mgmt/collectd5/Makefile:USE_PDNS= yes /usr/ports/chinese/fcitx/Makefile:USE_QT= yes /usr/ports/textproc/ruby-htree/Makefile:USE_RUBY_RD2= yes /usr/ports/databases/xapian-bindings10/Makefile:USE_RUBY_RDOCS= no /usr/ports/net/opal3/Makefile:USE_SLD= yes /usr/ports/mail/squirrelmail-user_special_mailboxes-plugin/Makefile:USE_SQ_COMPAT= yes /usr/ports/lang/ocaml/Makefile:USE_TK_THREADS = yes lines after '.include <bsd.port.mk>|<bsd.port.post.mk>' in Makefile: /usr/ports/emulators/virtualbox-ose-legacy/Makefile:
Mit der -a Option lassen sich zusätzliche Tests durchführen, diese dauern aber länger und sind zum Teil sehr CPU-Intensiv. Da pchecker noch nicht so lange existiert werden zum Teil noch Falschmeldungen ausgeben und daher sollte man den Ergebnissen nicht blind vertrauen, man kann aber davon ausgehen, dass pchecker in der Zukunft weiter ausgebaut und verbessert wird.
Comments
No new comments allowed (anymore) on this post.