[Bug 332354] New: autotools/ install-sh script conflicts with checkinstall script
https://bugzilla.novell.com/show_bug.cgi?id=332354 Summary: autotools/install-sh script conflicts with checkinstall script Product: openSUSE 10.3 Version: Final Platform: All OS/Version: openSUSE 10.3 Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: gilles.sabourin@free.fr QAContact: qa@suse.de Found By: Customer Using checkinstall-1.6.1-33 with automake 1.10-46 shipped in opensuse 10.3, I am not more able to generate successfully a rpm package. The process ends systematically with a script error like : chmod: changing permissions of `/usr/share/applications/_inst.xxxxx_': No such file or directory I have checked that the kind of temp file above came from install-sh script included in automake package : 446 # Make a couple of temp file names in the proper directory. 447 dsttmp=$dstdir/_inst.$$_ 448 rmtmp=$dstdir/_rm.$$_ 449 450 # Trap to clean up those temp files at exit. 451 trap 'ret=$?; rm -f "$dsttmp" "$rmtmp" && exit $ret' 0 452 453 # Copy the file name to the temp name. 454 (umask $cp_umask && $doit_exec $cpprog "$src" "$dsttmp") && 455 456 # and set any options; do chmod last to preserve setuid bits. 457 # Maybe the problem originates in the method (line 451) used to catch some errors in install-sh ? then, the temp file would have been removed before finishing the work later in : 458 # If any of these fail, we abort the whole thing. If we want to 459 # ignore errors from any of these, just make sure not to ignore 460 # errors from the above "$doit $cpprog $src $dsttmp" command. 461 # 462 { test -z "$chowncmd" || $doit $chowncmd "$dsttmp"; } \ 463 && { test -z "$chgrpcmd" || $doit $chgrpcmd "$dsttmp"; } \ 464 && { test -z "$stripcmd" || $doit $stripcmd "$dsttmp"; } \ 465 && { test -z "$chmodcmd" || $doit $chmodcmd $mode "$dsttmp"; } && Trying with older checkinstall version coming from opensuse 10.2 leads to the same error. For exemple, here are the backtraces of vlc package generation : test -z "/usr/share" || /bin/mkdir -p "/usr/share" /bin/sh /home/gilles/vlc-0.9.0/autotools/install-sh -c -m 644 'applications/vlc.desktop' '/usr/share/applications/vlc.desktop' chmod: changing permissions of `/usr/share/applications/_inst.14776_': No such file or directory make[3]: *** [install-nobase_dist_dataDATA] Error 1 make[3]: Leaving directory `/home/gilles/vlc-0.9.0/share' make[2]: *** [install-am] Error 2 make[2]: Leaving directory `/home/gilles/vlc-0.9.0/share' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/gilles/vlc-0.9.0' make: *** [install] Error 2 **** Installation failed. Aborting package creation. Cleaning up...OK Bye. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=332354#c1
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=332354#c2
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=332354
Philipp Thomas
https://bugzilla.novell.com/show_bug.cgi?id=332354
User pth@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=332354#c3
Philipp Thomas
participants (1)
-
bugzilla_noreply@novell.com