I´ve somehow the idea the packages should be compiled with non-root privileges.
I created .openpk/build wher I put -P sudo in.

This worked fine except for 2 packages I was upgrading.
The db-4.2.52.2-2.2.0 and libxslt-1.1.11-2.2.0 compiled with non-root privileges
aparently, generating binary .rpm, but when I try to install them I got:
sudo /opkg/bin/openpkg rpm --force -Uvh
/opkg/RPM/PKG/db-4.2.52.2-2.2.0.ix86-rhl7.3-opk.rpm
error: unpacking of archive failed on file /opkg/bin/db_verify;4179a8af: cpio:
MD5 sum mismatch
exit 1

sudo /opkg/bin/openpkg rpm --force -Uvh
/opkg/RPM/PKG/libxslt-1.1.11-2.2.0.ix86-rhl7.3-opk.rpm
error: unpacking of archive failed on file /opkg/bin/xsltproc;4179b559: cpio:
read failed - Inappropriate ioctl for device
exit 1

Both packages compiled with the same command issued by root, generated a binary
that instaled with no complains.


Any idea why that happens ?

Alex

PS. When compiling I was in an chroot environment on my production server.


--
ATIX Tecnologia e Com Ltda
Tel.: +55-(11) 4667-5900

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      [EMAIL PROTECTED]

Reply via email to