Opened 14 years ago

Closed 14 years ago

Last modified 6 months ago

#2193 closed defect (fixed)

DEBIAN: Compile problem

Reported by: SF/mnbv Owned by: sev-
Priority: normal Component: Port: Linux
Keywords: Cc:


I tried to build the current cvs version of the game by
make deb
in the scummvm directory. All I'm getting, however, is :
make deb
ln -sf dists/debian;
make: execvp: debian/prepare: Permission denied
make: *** [deb] Error 127

I have tried deleting my scummvm directory and
redownloading it but still the same error.

I'm using debian amd64 unstable with gcc4.0.1

Ticket imported from: #1288011. Ticket imported from: bugs/2193.

Change History (11)

comment:1 Changed 14 years ago by SF/mnbv

Summary: Compiler problemCompile problem

comment:2 Changed 14 years ago by eriktorbjorn

That sounds like the sort of thing that would happen if the
debian/prepare file isn't executable, or something like
that, but I don't know anything about the Debian build
system -- I just use the default "make" target.

Assigning to Tore, since I believe he's the official
maintainer for the ScummVM Debian package.

comment:3 Changed 14 years ago by eriktorbjorn

Owner: set to SF/toreanderson

comment:4 Changed 14 years ago by fingolfin

Summary: Compile problemDEBIAN: Compile problem

comment:5 Changed 14 years ago by SF/mnbv

I had to play with some of the permissions myself to get
this to compile in the end.

I had to alter debian/prepare and there was another file
that I can't remember in the same directory.

I'm not sure if the bug still occurs on a virgin cvs update
I'm afraid.

comment:6 Changed 14 years ago by SF/toreanderson

Indeed, dist/debian/rules needs to be executable for the
build to work.

I must admit I have no idea on how to fix this (nor how it
ended up broken in the first place). If I do a chmod 0755
rules and then a cvs commit, the new permissions aren't
picked up as a change by CVS, and thus nothing was commited.

This applies to dists/debian/prepare as well, IIRC.

I think I need some advice from someone who's better with
CVS than me...


comment:7 Changed 14 years ago by sev-

Owner: changed from SF/toreanderson to sev-

comment:8 Changed 14 years ago by sev-

PR to staff submitted. Hopefully it will be resolved
soon. There is no way to change permissons of already
commited file. That should be done before first commit. So
only admins can do that. Removing/adding file to CVS
will not help either.

comment:9 Changed 14 years ago by sev-

PR request was fulfilled. Remove files dists/debian/prepare
and dists/debian/rules then checkout. The files will have
execution file mode on.


comment:10 Changed 14 years ago by sev-

Resolution: fixed
Status: newclosed

comment:11 Changed 6 months ago by digitall

Component: Port: Linux
Note: See TracTickets for help on using tickets.