You are not logged in.

#1 2011-02-14 13:31:47

rogorido
Member
Registered: 2009-08-17
Posts: 111

[PARTIALLY SOLVED] makepkg problem: line 268 and 272

I'm trying to build packages with makepkg and I'm always getting the same error.

For instance: http://pastie.org/1562553

I think this is related to this thread: https://bbs.archlinux.org/viewtopic.php?id=113232

any hints?

PS: i'm of course trying to build the package in my home directory.

Last edited by rogorido (2011-02-18 22:33:28)

Offline

#2 2011-02-14 13:39:49

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: [PARTIALLY SOLVED] makepkg problem: line 268 and 272

it would be cool the have the output in english


Give what you have. To someone, it may be better than you dare to think.

Offline

#3 2011-02-14 14:28:50

rogorido
Member
Registered: 2009-08-17
Posts: 111

Re: [PARTIALLY SOLVED] makepkg problem: line 268 and 272

yes, sorry, I forgot the translation.

línea 268: no se puede crear un fichero temporal para el documento-aquí: Conseguido

means

line 268: the temporary here-file [sic!] could not be created: Success

a little bit strange...

Offline

#4 2011-02-18 22:35:29

rogorido
Member
Registered: 2009-08-17
Posts: 111

Re: [PARTIALLY SOLVED] makepkg problem: line 268 and 272

I managed to partially solve the problem with a non very good solution:

i'm running makepkg and yaourt as root. This solves the problem which obviously has something to do with right permissions... maybe fakeroot? I don't know, and the problme is really annoying me...

Offline

#5 2011-02-27 00:23:07

Miche
Member
Registered: 2009-04-28
Posts: 23

Re: [PARTIALLY SOLVED] makepkg problem: line 268 and 272

Hi roogorido, as you found, i'm experiencing the axect same problem! take a look at the other thread for updates (i re-installed the system, fixed and then got this issue again!).

I think it would better keep one of these two posts.

(mmhh i'm a little concerned about your solution as i read it's not safe to build as root. Anyone can explain why?)

Offline

#6 2011-03-03 11:31:35

Miche
Member
Registered: 2009-04-28
Posts: 23

Re: [PARTIALLY SOLVED] makepkg problem: line 268 and 272

Hi rogorido,

did you find any other solution? i'm investigating fakeroot behaviour. can you please run this simple script as fakeroot on your system?

#!/bin/bash

touch /tmp/fkroot_script_tempfile
echo "Write something in it" > /tmp/fkroot_script_tempfile
rm /tmp/fkroot_script_tempfile

echo >>EOF
Hi there!
EOF

maybe you can change the file from the /tmp/ directory to your home ~.
When i run it, i get a permission denied message. Do you? Do others?

Thank you

Offline

Board footer

Powered by FluxBB