[opensuse] Checkinstall fails
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I can't make packages with checkinstall any longer, it has failed on two diferent packages: - --------------------- ... Making install in hackersguide make[2]: Entering directory `/usr/local/compilaciones/MultiMedia/xine/xine-lib-1.1.15/doc/hackersguide' make[3]: Entering directory `/usr/local/compilaciones/MultiMedia/xine/xine-lib-1.1.15/doc/hackersguide' make[3]: Nothing to be done for `install-exec-am'. test -z "/usr/local/share/doc/xine-lib/hackersguide" || /bin/mkdir -p "/usr/local/share/doc/xine-lib/hackersguide" /bin/mkdir: cannot create directory `/usr/local/share/doc/xine-lib': No such file or directory make[3]: *** [install-hackersguideDATA] Error 1 make[3]: Leaving directory `/usr/local/compilaciones/MultiMedia/xine/xine-lib-1.1.15/doc/hackersguide' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/usr/local/compilaciones/MultiMedia/xine/xine-lib-1.1.15/doc/hackersguide' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/compilaciones/MultiMedia/xine/xine-lib-1.1.15/doc' make: *** [install-recursive] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. - --------------- I can manually create that dir (remember that checkinstall runs as root, in my case via sudo), and the next run it goes a little further, and fails again with permission denied on another directory create. I have two alternatives: create each directory manually, or run "make install" (as root), followed by "checkinstall". This is not clean. Ideas? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjkAWQACgkQtTMYHG2NR9VvvACeNWYhuqCxc4N1SBJaVpGRm7cq 65MAn1ixT/D0DmzdQkay4/O2q8LlF1L1 =ixlE -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/02/2008 07:01 AM, Carlos E. R. wrote:
I can't make packages with checkinstall any longer, it has failed on two diferent packages:
<snip>
I can manually create that dir (remember that checkinstall runs as root, in my case via sudo), and the next run it goes a little further, and fails again with permission denied on another directory create.
I have two alternatives: create each directory manually, or run "make install" (as root), followed by "checkinstall". Have you tried to configure the document path in the config file? -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 2008-10-02 at 07:11 +0800, Joe Morris wrote:
I can manually create that dir (remember that checkinstall runs as root, in my case via sudo), and the next run it goes a little further, and fails again with permission denied on another directory create.
I have two alternatives: create each directory manually, or run "make install" (as root), followed by "checkinstall". Have you tried to configure the document path in the config file?
What document path? The checkinstall configuration is the same as it has been for years, not changed. The program I'm compiling, same thing, it compiled correctly in 10.3. And the paths the rpm contains are correct. Notice that the error is: /bin/mkdir: cannot create directory `/usr/local/share/doc/xine-lib': No such file or directory but the `/usr/local/share/doc/' exists, and the previous command had to create the "xine-lib" and failed: test -z "/usr/local/share/doc/xine-lib/hackersguide" || /bin/mkdir -p "/usr/local/share/doc/xine-lib/hackersguide" /bin/mkdir: cannot create directory `/usr/local/share/doc/xine-lib': No such file or directory If I run that command manually, it works: nimrodel:~ # test -z "/usr/local/share/doc/xine-lib/hackersguide" || /bin/mkdir -p "/usr/local/share/doc/xine-lib/hackersguersguide" nimrodel:~ # l /usr/local/share/doc/xine-lib/hackersguersguide total 0 drwxr-xr-x 2 root root 48 Oct 2 01:20 ./ drwxr-xr-x 3 root root 88 Oct 2 01:20 ../ why does it fail when checkinstall runs it? - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjkCRsACgkQtTMYHG2NR9VtJgCfTwukDY3kJh7xAaRZUqZFgU4M DmIAmQGPisOEzWbuRHpmpg71uwwv/00q =VLyl -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On 10/02/2008 07:34 AM, Carlos E. R. wrote:
On Thursday 2008-10-02 at 07:11 +0800, Joe Morris wrote:
I can manually create that dir (remember that checkinstall runs as root, in my case via sudo), and the next run it goes a little further, and fails again with permission denied on another directory create.
I have two alternatives: create each directory manually, or run "make install" (as root), followed by "checkinstall". Have you tried to configure the document path in the config file?
What document path?
In /etc/checkinstallrc, i.e. DOC_DIR. I have mine set to /usr/share/doc/packages, though I haven't used checkinstall in a few years.
The checkinstall configuration is the same as it has been for years, not changed. The program I'm compiling, same thing, it compiled correctly in 10.3. And the paths the rpm contains are correct.
Since I am still using 10.3 here, and it worked last time I tried, perhaps it is a bug in the 11.0 package. -- Joe Morris Registered Linux user 231871 running openSUSE 10.3 x86_64 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 2008-10-02 at 07:51 +0800, Joe Morris wrote:
Have you tried to configure the document path in the config file?
What document path? In /etc/checkinstallrc, i.e. DOC_DIR. I have mine set to /usr/share/doc/packages, though I haven't used checkinstall in a few years.
It is currently empty. In 10.3 it worked, it is actually the same file (system upgrade). I'll try setting that variable. Ok, I run checkinstall on a nother package (gxine). Works. Then I remove the old rpm that was still installed. Now checkinstall fails. I set the DOC_DIR variable. Checkinstall fails in the same place... it is not that.
The checkinstall configuration is the same as it has been for years, not changed. The program I'm compiling, same thing, it compiled correctly in 10.3. And the paths the rpm contains are correct. Since I am still using 10.3 here, and it worked last time I tried, perhaps it is a bug in the 11.0 package.
That's what I fear. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjkHvQACgkQtTMYHG2NR9WRDwCeMpCOUC621VRD9RonXz5y3M3G wcQAnAmyiD7N6PRfI9sdZ7hQm82GaMuC =0LqT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 2008-10-02 at 01:01 +0200, Carlos E. R. wrote:
I can't make packages with checkinstall any longer, it has failed on two diferent packages:
Another test. Checkinstal fails: - ---------- Making install in man make[2]: Entering directory `/usr/local/compilaciones/MultiMedia/xine/xine-ui-0.99.5/doc/man' Making install in fr make[3]: Entering directory `/usr/local/compilaciones/MultiMedia/xine/xine-ui-0.99.5/doc/man/fr' make[4]: Entering directory `/usr/local/compilaciones/MultiMedia/xine/xine-ui-0.99.5/doc/man/fr' make[4]: Nothing to be done for `install-exec-am'. /home/cer/compilaciones/MultiMedia/xine/200811-V11.0/xine-ui-0.99.5/install-sh -d /usr/local/man/fr/man1 chmod: changing permissions of `/usr/local/man/fr/man1': No such file or directory make[4]: *** [install-man1] Error 1 make[4]: Leaving directory `/usr/local/compilaciones/MultiMedia/xine/xine-ui-0.99.5/doc/man/fr' make[3]: *** [install-am] Error 2 make[3]: Leaving directory `/usr/local/compilaciones/MultiMedia/xine/xine-ui-0.99.5/doc/man/fr' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/usr/local/compilaciones/MultiMedia/xine/xine-ui-0.99.5/doc/man' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/compilaciones/MultiMedia/xine/xine-ui-0.99.5/doc' make: *** [install-recursive] Error 1 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. - ---------- As it happens, I do have the rpm created on 10.3. I install it. Now I run checkinstall: it suceeds. I can install the new rpm. Why? Because installing the rpm creates the paths that checkinstall can't. Why can't? that's the problem. To check if "sudo" is the problem, I "su -" to root and run the checkinstall command: fails in the same point. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjkCyEACgkQtTMYHG2NR9XJbgCeNqs5LOXaTA3gzucZWOzB+CEZ 7ZcAoJF03sQAspsQPXwgSxnyJaq6rQIC =0OUA -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wednesday 01 October 2008 04:43:27 pm Carlos E. R. wrote:
On Thursday 2008-10-02 at 01:01 +0200, Carlos E. R. wrote:
To check if "sudo" is the problem, I "su -" to root and run the checkinstall command: fails in the same point.
-- Cheers, Carlos E. R.
Carlos you don't say what version of checkinstall your using or version of 11.0. I used checkinstall about two weeks ago to create a version of kdat. I'm on checkinstall-1.6.1-72.1, and 11.0. (2.6.25.16-0.1-pae). [32-bit]. sequence I used was: as user: tar -xzvf package name ./configure make as root (I used su, I have never got sudo to work) checkinstall -R --install=yes in my case the rpm then showed up in /usr/src/packages/RPMS/i386 I then used YaSt to install it Sorry I cannot help more. -- Russ Linux register user 441463 openSUSE 11.0 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 2008-10-01 at 18:26 -0700, russbucket wrote:
Carlos you don't say what version of checkinstall your using
The one that comes with opensuse 11.0, obviously.
or version of 11.0.
Huh? The version of 11.0 is 11.0. what do you mean?
I used checkinstall about two weeks ago to create a version of kdat. I'm on checkinstall-1.6.1-72.1, and 11.0. (2.6.25.16-0.1-pae). [32-bit].
Same. But what has the kernel version got to do?
sequence I used was:
as user:
tar -xzvf package name ./configure make
as root (I used su, I have never got sudo to work)
checkinstall -R --install=yes
- -R is not needed (config file), and I don't use "install".
in my case the rpm then showed up in /usr/src/packages/RPMS/i386
I then used YaSt to install it
Sorry I cannot help more.
Weird. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjkKIUACgkQtTMYHG2NR9UdxACfRAzkuZVDIRVM8x7xQ6LpL3z7 ac8AnRzcMPOLewz8rq0GaZX/NXqkhK3T =3bSm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2008-10-02 at 01:01 +0200, Carlos E. R. wrote:
I can't make packages with checkinstall any longer, it has failed on two diferent packages:
Carlos, I use checkinstall often. I'm running opensuse 11. 1. First I run it like you did $ ./configure $make #checkinstall 2. If it give you errors I do the following $./configure $make #make install #checkinstall #make uninstall Regards, -=terry(Denver)=- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 2008-10-02 at 05:26 -0600, Teruel de Campo MD wrote:
On Thu, 2008-10-02 at 01:01 +0200, Carlos E. R. wrote:
I can't make packages with checkinstall any longer, it has failed on two diferent packages:
Carlos,
I use checkinstall often. I'm running opensuse 11.
1. First I run it like you did
$ ./configure $make #checkinstall
2. If it give you errors I do the following
$./configure $make #make install #checkinstall #make uninstall
Yes, that's what I'm doing. Almost. If checkinstall fails, I run "make install", then "checkinstall". If I do the clean then checkinstall fails again. Another method: install an rpm from the previous run, then run checkinstall, uninstall previous rpm, install new one. Another one, way more tedious but cleaner: create each path checkinstall complains about by hand. - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjks/oACgkQtTMYHG2NR9U/PQCfUUzMPJY3zgEC7N1SBY9H4MCm NcUAnRwlgBGp4g95laPj9dYcLkw1O9uc =66Kr -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Thu, 2 Oct 2008 13:42:44 +0200 (CEST), you wrote:
Yes, that's what I'm doing. Almost. If checkinstall fails, I run "make install", then "checkinstall". If I do the clean then checkinstall fails again.
Another method: install an rpm from the previous run, then run checkinstall, uninstall previous rpm, install new one.
Another one, way more tedious but cleaner: create each path checkinstall complains about by hand.
Carlos, please open a bug and assign it to pth@novell.com (or at least put me into CC) and I'll have a look at it as soon as I'm back from my holiday next week. Ah yes, please add a testcase so I might reproduce it. Philipp -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 2008-10-03 at 19:32 +0200, Philipp Thomas wrote:
Carlos, please open a bug and assign it to pth@novell.com (or at least put me into CC) and I'll have a look at it as soon as I'm back from my holiday next week. Ah yes, please add a testcase so I might reproduce it.
Ok! :-) - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjmj98ACgkQtTMYHG2NR9WmyACffxIxvQ9ZDIIwClEFpo2CVs0F JyYAn2KWl8w32BMPOAxaKA8CuJZv5vJh =WdSm -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday, 2008-10-03 at 19:32 +0200, Philipp Thomas wrote:
Carlos, please open a bug and assign it to pth@novell.com (or at least put me into CC) and I'll have a look at it as soon as I'm back from my holiday next week. Ah yes, please add a testcase so I might reproduce it.
Done: Bug 432497 - -- Cheers, Carlos E. R. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjp19YACgkQtTMYHG2NR9VNfgCgjI5pC2TfKBjtZ5zVV8Lnsu3v Kp4Anjtmub2P7Vml/KJJAYPPnu4ov/vT =EfRy -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (6)
-
Carlos E. R.
-
Carlos E. R.
-
Joe Morris
-
Philipp Thomas
-
russbucket
-
Teruel de Campo MD