Mailinglist Archive: opensuse (1196 mails)

< Previous Next >
Re: [opensuse] checkinstall and opensuse 11.2 - partial solution
  • From: "Carlos E. R." <robin.listas@xxxxxxxxxxxxxx>
  • Date: Thu, 07 Jan 2010 01:03:00 +0100
  • Message-id: <4B4524B4.1030601@xxxxxxxxxxxxxx>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2010-01-06 00:01, Philipp Thomas wrote:
On Mon, 28 Dec 2009 22:58:50 +0100 (CET), you wrote:

Ok, I installed "checkinstall-1.6.2-14.2.i586".

Could you test the patch for checkinstall that I checked in that
overrides rpmbuild's buildroot from the commandline and give me
feedback? This should fix the last known bug.

I think I tested this already, that part was solved. With the package listed
above, if I bypass the
directory creation problem by installing a copy of the target rpm before
running checkinstall, the
buildroot problem does not appear.

Testing again. I install "checkinstall-1.6.2-16.1.i586".
/etc/checkinstallrc is not replaced, I think.

bombadillo:/home/cer/Compilaciones/Translators/poedit-1.4.3 # diff
/etc/checkinstallrc
/etc/checkinstallrc-dist
16c16
< DEBUG=2
- ---
DEBUG=0
52c52
< INSTYPE="R"
- ---
INSTYPE=""
133c133
< REVIEW_SPEC=1
- ---
REVIEW_SPEC=0


I run it:

...# strace -f -o checkinstall.rpmnotinstalled_V_1.6.2-16.1.trace -e trace=file
checkinstall


Fails as expected:

========================= Installation results ===========================
debug: INSTW_EXCLUD before sort
=/home/cer/Compilaciones/Translators/poedit-1.4.3,/dev,/proc,/tmp,/var/tmp
debug:
INSTW_EXCLUDE=/dev,/home/cer/Compilaciones/Translators/poedit-1.4.3,/proc,/tmp,/var/tmp,
debug: INSTW_ROOTPATH=/var/tmp/tmp.TRoZsU26ll
debug: INSTW_LOGFILE=/var/tmp/tmp.TRoZsU26ll/newfiles.tmp
debug: INSTW_DBGFILE=/var/tmp/tmp.TRoZsU26ll/dbgfile
debug: INSTW_DBGLVL=2
Making install in src
make[1]: Entering directory
`/home/cer/Compilaciones/Translators/poedit-1.4.3/src'
Making install in icons
make[2]: Entering directory
`/home/cer/Compilaciones/Translators/poedit-1.4.3/src/icons'
make[3]: Entering directory
`/home/cer/Compilaciones/Translators/poedit-1.4.3/src/icons'
make[3]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/icons/hicolor/16x16/apps" || /bin/mkdir -p
"/usr/local/share/icons/hicolor/16x16/apps"
/bin/mkdir: cannot create directory `/usr/local/share/icons': No such file or
directory
make[3]: *** [install-icons16DATA] Error 1
make[3]: Leaving directory
`/home/cer/Compilaciones/Translators/poedit-1.4.3/src/icons'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory
`/home/cer/Compilaciones/Translators/poedit-1.4.3/src/icons'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
`/home/cer/Compilaciones/Translators/poedit-1.4.3/src'
make: *** [install-recursive] Error 1

**** Installation failed. Aborting package creation.

Cleaning up...(Debugging mode on, KEEPING temp dir /var/tmp/tmp.TRoZsU26ll)...OK

Bye.


# rpm --install /usr/src/packages/RPMS/i386/poedit-1.4.3-1.i386.rpm

# strace -f -o checkinstall.rpminstalled_V_1.6.2-16.1.trace -e trace=file
checkinstall

...

And succeeds, as expected. I'll sends the log files direct in a moment.


- --
Cheers / Saludos,

Carlos E. R.
(from 11.2 "Emerald" GM (bombadillo))
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org/

iEYEARECAAYFAktFJLQACgkQU92UU+smfQU52gCfcgll4kugf70Er6fuim7gqGK/
EKMAoIwk3JtzAvlM6FbghV9HCFon94SE
=Luu9
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups
References