Opened 19 years ago

Closed 18 years ago

Last modified 5 years ago

#2193 closed defect (fixed)

DEBIAN: Compile problem

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

Description

I tried to build the current cvs version of the game by running: ./configure make deb in the scummvm directory. All I'm getting, however, is : make deb ln -sf dists/debian; debian/prepare 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 by SF/mnbv, 19 years ago

Summary: Compiler problemCompile problem

comment:2 by eriktorbjorn, 19 years ago

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 by eriktorbjorn, 19 years ago

Owner: set to SF/toreanderson

comment:4 by fingolfin, 19 years ago

Summary: Compile problemDEBIAN: Compile problem

comment:5 by SF/mnbv, 18 years ago

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 by SF/toreanderson, 18 years ago

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...

Tore

comment:7 by sev-, 18 years ago

Owner: changed from SF/toreanderson to sev-

comment:8 by sev-, 18 years ago

PR to sf.net 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 sf.net admins can do that. Removing/adding file to CVS will not help either.

comment:9 by sev-, 18 years ago

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

Fixed.

comment:10 by sev-, 18 years ago

Resolution: fixed
Status: newclosed

comment:11 by digitall, 5 years ago

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