OBSD3.5: Fehler beim Compilieren/Installation registrieren von Ports

Hi,

ich wollte ein Paar Ports auf meinem OpenBSD3.5-System installieren bekomme aber immer folgende Fehlermeldungen (hier als Bsp bash-3.0):
Code:
===>  Building package for bash-3.0
Creating package /usr/ports/packages/i386/all/bash-3.0.tgz
Creating gzip'd tar ball in '/usr/ports/packages/i386/all/bash-3.0.tgz'
Link to /usr/ports/packages/i386/ftp/bash-3.0.tgz
Link to /usr/ports/packages/i386/cdrom/bash-3.0.tgz
===>  bash-3.0 depends on: gettext->=0.10.38 - found
===>  Installing bash-3.0 from /usr/ports/packages/i386/all/bash-3.0.tgz
Adding /usr/ports/packages/i386/all/bash-3.0.tgz
Error: archive does not matchman/man1/bash.1!=@ @info info/bash.info
*** Error code 255

Stop in /var/ports/shells/bash (line 1824 of /usr/ports/infrastructure/mk/bsd.port.mk).

Auch bei anderen Ports (unzip-5.51):
Code:
===>  Building package for unzip-5.51
Creating package /usr/ports/packages/i386/all/unzip-5.51.tgz
Creating gzip'd tar ball in '/usr/ports/packages/i386/all/unzip-5.51.tgz'
Link to /usr/ports/packages/i386/ftp/unzip-5.51.tgz
Link to /usr/ports/packages/i386/cdrom/unzip-5.51.tgz
===>  Installing unzip-5.51 from /usr/ports/packages/i386/all/unzip-5.51.tgz
Adding /usr/ports/packages/i386/all/unzip-5.51.tgz
Error: archive does not matchshare/doc/unzip!=@ @man man/man1/funzip.1
*** Error code 255

Stop in /usr/ports/archivers/unzip (line 1824 of /usr/ports/infrastructure/mk/bsd.port.mk).

Mein System ist:
Code:
root# uname -a
OpenBSD hostname.foobar.domain 3.5 GENERIC#34 i386

In der besagten Datei steht bei Zeile 1824 (die ab @cd $....):
Code:
[...]
# The real install

${_INSTALL_COOKIE}:  ${_PACKAGE_COOKIES}
        @cd ${.CURDIR} && DEPENDS_TARGET=install exec ${MAKE} _internal-run-depends _internal-lib-depends
        @${ECHO_MSG} "===>  Installing ${FULLPKGNAME${SUBPACKAGE}} from ${PKGFILE${SUBPACKAGE}}"
.  for _m in ${MODULES}  
.    if defined(MOD${_m:U}_pre_install)
        @${MOD${_m:U}_pre_install}
.    endif
.  endfor
.  if ${TRUST_PACKAGES:L} == "yes"
        @if pkg dependencies check ${FULLPKGNAME${SUBPACKAGE}}; then \
                echo "Package ${FULLPKGNAME${SUBPACKAGE}} is already installed"; \
        else \
                ${SUDO} ${SETENV} PKG_PATH=${PKGREPOSITORY}:${PKG_PATH}PKG_TMPDIR=${PKG_TMPDIR} pkg_add ${PKGFILE${SUBPACKAGE}}; \
        fi
.  else
        @${SUDO} ${SETENV} PKG_PATH=${PKGREPOSITORY}:${PKG_PATH}PKG_TMPDIR=${PKG_TMPDIR} pkg_add ${PKGFILE${SUBPACKAGE}}
.  endif
        @-${SUDO} ${_MAKE_COOKIE} $@
.endif

[...]

cu alex
 
Zuletzt bearbeitet:
Sagt, mal kann das sein das ihr einen -current portstree auf nem release/stable System benutzt?!

Falls ja, das funzt auch nicht!!!
Current ist für current, release ist für release und stable ist für stable.
 
Wenn ihr euch das ports.tar.gz gezogen habt, dann habt ihr die release Ports.
Dann habt ihr anscheinend soweit das richtige verwendet.

Was ich allerdings nicht verstehe, woher kommt denn bei euch die bash-3.0 und unzip-5.51?
In meinem portstree, den ich gestern auf stable aktualisiert habe, ist bash 2.0.5 und unzip-5.50p2
 
Ich hab ein cvsup gemacht, wie ich es unter FreeBSD kenne...

mein ports-supfile ist:
Code:
# Defaults that apply to all the collections
*default host=cvsup2.de.openbsd.org
*default base=/usr
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix compress

# Ports Collection.
OpenBSD-ports tag=.

Ist das Ports-System unter OpenBSD ein bischen anders als unter FreeBSD?

cu alex
 
Versuche mal src/usr.sbin/pkg_add und src/libexec/makewhatis zu updaten. Dann müsste es eigentlich wieder funktionieren.
 
Hi,

mit deinem Tipp:
Code:
Adding /usr/ports/packages/i386/all/unzip-5.51.tgz
Error: archive does not matchshare/doc/unzip!=@ @man man/man1/funzip.1
Use of uninitialized value in string ne at /usr/sbin/pkg_add line 437.
Use of uninitialized value in print at /usr/sbin/pkg_add line 438.
Adjusting md5 for /usr/local/bin/zipinfo from  to a70d4901de78229bc24547e478f8bb46
Installation of unzip-5.51 failed.
Partial installation recorded as borked.1
*** Error code 1

Stop in /usr/ports/archivers/unzip (line 1824 of /usr/ports/infrastructure/mk/bsd.port.mk).
*** Error code 1

cu alex
 
Also ich hab jetzt auf den angegebenen Seiten dies gefunden:
Running CVSup in Checkout Mode

As an alternative to getting the repository and using CVS, you can run CVSup in checkout mode by adding a tag or date keyword to your supfile, either as a *default or as an option to a collection. In particular, you can use this to efficiently update the source and ports trees shipped on the CDROMs.

The following supfile could be used to update your ports tree:

# Defaults that apply to all the collections
*default host=cvsup.uk.openbsd.org
*default base=/var
*default prefix=/usr
*default release=cvs
*default delete use-rel-suffix compress

# Ports Collection.
OpenBSD-ports tag=.

Any CVS symbolic tag can be used. A single period "." means HEAD, i.e. the newest revision of all files in the main branch. Take care to specify an existing tag, as CVSup cannot distinguish valid from invalid tags, and an attempt to synchronize an existing source tree to an invalid tag will remove all files.

Alternatively, use the keyword date=[cc.]yy.mm.dd.hh.mm.ss to select a revision by date. All 17 or 20 characters must be given as shown. For the years 2000 and beyond, specify the century cc. For earlier years, specify only the last two digits yy. You may also combine the tag and date keywords.

Ist mit dem tag gemeint, das ich da statt dem "." ein OPENBSD_3_5 eintragen sollte? Und bekomm ich dann die bash-3.0?

cu alex
 
Ok, dann geb ich mich geschlagen... :) Will ja auch ein stabiles und sicheres System haben und gerade in der Funktion als Firewall kann ich auf eher experimentelle Features verzichten.
Was ich auf meinem Desktop mach steht auf einem anderen Blatt. ;)

cu alex und vielen Dank fuer die Hilfe!

PS: Werde die CVS-35'er benutzen um so mein System aktuell zu halten.
 
Zurück
Oben