Mailinglist Archive: opensuse-bugs (8111 mails)

< Previous Next >
[Bug 249998] New: compiz.spec %prep, %setup broken
  • From: bugzilla_noreply@xxxxxxxxxx
  • Date: Wed, 28 Feb 2007 15:49:29 -0700 (MST)
  • Message-id: <bug-249998-21960@xxxxxxxxxxxxxxxxxxxxxxxxx/>
https://bugzilla.novell.com/show_bug.cgi?id=249998

Summary: compiz.spec %prep, %setup broken
Product: openSUSE 10.3
Version: Alpha 1plus
Platform: All
OS/Version: All
Status: NEW
Severity: Normal
Priority: P5 - None
Component: X11 Applications
AssignedTo: mhopf@xxxxxxxxxx
ReportedBy: andreas.hanke@xxxxxxxxxxxxxx
QAContact: sndirsch@xxxxxxxxxx


compiz doesn't build for me because it does broken things in the spec file:

- It does "rm -rf %_builddir/*", which is wrong because it can result in data
loss (files owned by other packages) and will fail if another user has some
non-writable files there

- It does "%setup -n .", which breaks the build as non-root because %setup runs
chmod, which obviously fails for a root-owned directory like %_builddir/.

Error message:

Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.27694
+ umask 022
+ cd /usr/src/packages/BUILD
+ rm -rf /usr/src/packages/BUILD/compiz-0.3.7
/usr/src/packages/BUILD/gnome-xgl-settings-0.9
/usr/src/packages/BUILD/Mesa-6.5.2
+ cd /usr/src/packages/BUILD
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/MesaLib-6.5.2.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/bzip2 -dc /usr/src/packages/SOURCES/compiz-0.3.7.tar.bz2
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ /usr/bin/gzip -dc /usr/src/packages/SOURCES/gnome-xgl-settings-0.9.tar.gz
+ tar -xf -
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd .
++ /usr/bin/id -u
+ '[' 1000 = 0 ']'
++ /usr/bin/id -u
+ '[' 1000 = 0 ']'
+ /bin/chmod -Rf a+rX,u+w,g-w,o-w .
error: Bad exit status from /var/tmp/rpm-tmp.27694 (%prep)


RPM build errors:
Bad exit status from /var/tmp/rpm-tmp.27694 (%prep)


--
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, or are watching someone who is.

< Previous Next >
List Navigation