You are not logged in.

#1 2011-02-08 23:51:10

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

Makepkg issue: cannot create temp file for here-document

Hi there,

Since few weeks ago i'm not able to build aur packages. I use yaourt  but i notice the problem comes from makepkg (i searched for the output message and found fakeroot related issues). Here the complete log of, for example, launching makepgk on with the ruby-headers PKGBUILD:

$ makepkg 
==> Creazione del pacchetto: ruby-headers 1.9.2_p136-1 (mer  9 feb 2011, 00.27.35, CET)
==> Controllo delle dipendenze per l'esecuzione in corso...
==> Controllo delle dipendenze per la compilazione in corso...
==> Download dei sorgenti in corso...
  -> Download di ruby-1.9.2-p136.tar.bz2 in corso...
--2011-02-09 00:27:35--  ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2
           => "ruby-1.9.2-p136.tar.bz2.part"
Risoluzione di ftp.ruby-lang.org... 221.186.184.68
Connessione a ftp.ruby-lang.org|221.186.184.68|:21... connesso.
Accesso come utente anonymous ... Login eseguito!
==> SYST ... fatto.   ==> PWD ... fatto.
==> TYPE I ... fatto.  ==> CWD (1) /pub/ruby/1.9 ... fatto.
==> SIZE ruby-1.9.2-p136.tar.bz2 ... 8819324
==> PASV ... fatto.   ==> RETR ruby-1.9.2-p136.tar.bz2 ... 
Errore nella risposta del server, chiusura della connessione di controllo.
Altro tentativo in corso.

--2011-02-09 00:28:47--  ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2
  (tentativo: 2) => "ruby-1.9.2-p136.tar.bz2.part"
Connessione a ftp.ruby-lang.org|221.186.184.68|:21... connesso.
Accesso come utente anonymous ... Login eseguito!
==> SYST ... fatto.   ==> PWD ... fatto.
==> TYPE I ... fatto.  ==> CWD (1) /pub/ruby/1.9 ... fatto.
==> SIZE ruby-1.9.2-p136.tar.bz2 ... 8819324
==> PASV ... fatto.   ==> RETR ruby-1.9.2-p136.tar.bz2 ... fatto.
Lunghezza: 8819324 (8,4M) (non autorevole)

100%[====================================================================>] 8.819.324    107K/s   in 1m 58s  

2011-02-09 00:30:51 (72,8 KB/s) - "ruby-1.9.2-p136.tar.bz2.part" salvato [8819324]

==> Validazione dei file sorgenti con md5sums in corso...
    ruby-1.9.2-p136.tar.bz2 ... Verificato
==> Estrazione dei sorgenti in corso...
  -> estrazione di ruby-1.9.2-p136.tar.bz2 con bsdtar in corso... 
==> Avvio di build() in corso...
==> Entrata nell'ambiente di fakeroot in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
==> Avvio di package() in corso...
==> Rimozione dei dati superflui in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Rimozione degli altri file in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Compressione delle pagine man ed info in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Rimozione dei simboli non necessari dai binari e dalle librerie in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
==> Creazione del pacchetto in corso...
  -> Generazione del file .PKGINFO in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Compressione del pacchetto in corso...
xz: /tmp/rb_hdrs/ruby-headers-1.9.2_p136-1-any.pkg.tar: impossibile rimuovere: Successo

Hints?

Thanks in advance

Offline

#2 2011-02-09 00:11:48

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,652
Website

Re: Makepkg issue: cannot create temp file for here-document

The two lines you are getting errors on are:

268:   local needle=$(tr '[:upper:]' '[:lower:]' <<< $1); shift
272:   opt=$(tr '[:upper:]' '[:lower:]' <<< $opt)

which should not be issues....

Where are you building (i.e. the folder) or does this occur everywhere?

Offline

#3 2011-02-09 00:25:23

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

Re: Makepkg issue: cannot create temp file for here-document

That time it was in /tmp/ruby_headers (which i created) but it happens with yaourt too and for every pkg i tried.

[miche@bob tmp]$ yaourt -S ruby_headers
ruby_headers non trovato su AUR
[miche@bob tmp]$ yaourt -S ruby_header
ruby_header non trovato su AUR                                                                                                
^[[A[miche@bob tmp]$ yaourt -S ruby-headers                                                                                  
==> Continuazione dalla compilazione precedente                                                                               
                                                                                                                              
==> Scaricamento del PKGBUILD di ruby-headers da AUR...                                                                       
                                                                                                                              
Comment by: hilton on Tue, 28 Dec 2010 03:51:14 +0000                                                                         
Updated to 1.9.2_p136!                                                                                                        
                                                                                                                              
                                                                                                                              
      First Submitted: Sat, 13 Nov 2010 20:25:52 +0000                                                                        
ruby-headers 1.9.2_p136-1 : A package of all Ruby headers needed by some gems like ruby-debug.                                
( Pacchetto non supportato: Potenzialmente pericoloso ! )                                                                     
==>  Modificare il PKGBUILD (altamente raccomandato per ragioni di sicurezza) ? [S/n]("A" per annullare)                      
==>   ----------------------------------------------
==>n


==> Dipendenze di ruby-headers
 - ruby (già installato)
==>  Continuare la compilazione di ruby-headers? [S/n]
==>   ----------------------------------------------
==>s


==> Install or build missing dependencies for ruby-headers:
==> Compilazione e installazione del pacchetto

==> Dipendenze di ruby-headers
 - ruby (già installato)
==> Creazione del pacchetto: ruby-headers 1.9.2_p136-1 (mer  9 feb 2011, 01.23.54, CET)
==> Controllo delle dipendenze per l'esecuzione in corso...
==> Controllo delle dipendenze per la compilazione in corso...
==> Download dei sorgenti in corso...
  -> È stato trovato ruby-1.9.2-p136.tar.bz2
==> Validazione dei file sorgenti con md5sums in corso...
    ruby-1.9.2-p136.tar.bz2 ... Verificato
==> Estrazione dei sorgenti in corso...
  -> estrazione di ruby-1.9.2-p136.tar.bz2 con bsdtar in corso... 
==> Rimozione dell'esistente directory pkg/ in corso...
==> Avvio di build() in corso...
==> Entrata nell'ambiente di fakeroot in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
==> Avvio di package() in corso...
==> Rimozione dei dati superflui in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Rimozione degli altri file in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Compressione delle pagine man ed info in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Rimozione dei simboli non necessari dai binari e dalle librerie in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
==> Creazione del pacchetto in corso...
  -> Generazione del file .PKGINFO in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Compressione del pacchetto in corso...
xz: /tmp/yaourt-tmp-miche/aur-ruby-headers/ruby-headers/ruby-headers-1.9.2_p136-1-any.pkg.tar.xz: impossibile rimuovere: Successo
Error: Makepkg non ha potuto costruire il pacchetto ruby-headers.

[miche@bob tmp]$ 

Offline

#4 2011-02-09 01:14:23

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,652
Website

Re: Makepkg issue: cannot create temp file for here-document

Try building outside of /tmp

Offline

#5 2011-02-09 03:00:13

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,360

Re: Makepkg issue: cannot create temp file for here-document

Allan wrote:

Try building outside of /tmp

i.e. in some directory you know you have full permissions with.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#6 2011-02-09 10:38:11

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

Re: Makepkg issue: cannot create temp file for here-document

I tried within my home (~/tmp/ruby_headers) but i had the same output

[miche@bob ruby_headers]$ makepkg
==> Creazione del pacchetto: ruby-headers 1.9.2_p136-1 (mer  9 feb 2011, 11.31.39, CET)
==> Controllo delle dipendenze per l'esecuzione in corso...
==> Controllo delle dipendenze per la compilazione in corso...
==> Download dei sorgenti in corso...
  -> Download di ruby-1.9.2-p136.tar.bz2 in corso...
--2011-02-09 11:31:51--  ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p136.tar.bz2
           => "ruby-1.9.2-p136.tar.bz2.part"
Risoluzione di ftp.ruby-lang.org... 221.186.184.68
Connessione a ftp.ruby-lang.org|221.186.184.68|:21... connesso.
Accesso come utente anonymous ... Login eseguito!
==> SYST ... fatto.   ==> PWD ... fatto.
==> TYPE I ... fatto.  ==> CWD (1) /pub/ruby/1.9 ... fatto.
==> SIZE ruby-1.9.2-p136.tar.bz2 ... 8819324
==> PASV ... fatto.   ==> RETR ruby-1.9.2-p136.tar.bz2 ... fatto.
Lunghezza: 8819324 (8,4M) (non autorevole)

100%[====================================================================================>] 8.819.324   25,6K/s   in 2m 42s  

2011-02-09 11:34:46 (53,1 KB/s) - "ruby-1.9.2-p136.tar.bz2.part" salvato [8819324]

==> Validazione dei file sorgenti con md5sums in corso...
    ruby-1.9.2-p136.tar.bz2 ... Verificato
==> Estrazione dei sorgenti in corso...
  -> estrazione di ruby-1.9.2-p136.tar.bz2 con bsdtar in corso... 
==> Avvio di build() in corso...
==> Entrata nell'ambiente di fakeroot in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
==> Avvio di package() in corso...
==> Rimozione dei dati superflui in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Rimozione degli altri file in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Compressione delle pagine man ed info in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Rimozione dei simboli non necessari dai binari e dalle librerie in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
==> Creazione del pacchetto in corso...
  -> Generazione del file .PKGINFO in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
  -> Compressione del pacchetto in corso...
xz: /home/miche/tmp/ruby_headers/ruby-headers-1.9.2_p136-1-any.pkg.tar: impossibile rimuovere: Successo
[miche@bob ruby_headers]$ 

Offline

#7 2011-02-10 10:33:42

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

Re: Makepkg issue: cannot create temp file for here-document

I found a post from an italian ubuntu user who encounters the exact same problem.

May be the real issue is with fakeroot? He wrote he tried creating a package with the root user and succeded.

What could be a solution? Delete fakeroot configuration? Try to re-install it? I'm sure (as the guy from the other post) i have enough disk space (more than 2GB) and full permissions..

Any guess? Thank you

Offline

#8 2011-02-11 13:54:29

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

Re: Makepkg issue: cannot create temp file for here-document

Updates: i tried re-installing fakeroot (p -R fakeroot; p -S fakeroot) and assured /etc/ls.so.conf.d/fakeroot.conf was renewed, but that didn't solve the problem.

I noticed that a valid package was created but i'm afraid it doesn't contain all correct. Am i wrong? should i try installing it anyway?

No other suggestions? i would not have to install my system again..

Offline

#9 2011-02-26 18:24:20

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

Re: Makepkg issue: cannot create temp file for here-document

updates: i reinstalled my system (in the occasion, i tried ht e 64bit version and it rocks!)

Everything went very very good, i restarted creating packages via aur, here is a list of all the packages i succesfully built:

$ pacman -Qqm
amule-adnza
aurvote
baobab
crimson
dreamchess
dropbox
eggdbus
emesene2-git
firebrand
flashplugin-prerelease
fontcacheproto
google-chrome-dev
kdebase-kappfinder
lib32-libsasl
libjpeg6
libpng12
libxfontcache
libxxf86misc
package-query
ruby-headers
winff
xf86miscproto
yaourt

until tonight! i tried installing ethereal (for some net studies) and here it is, again:

$ y -S ethereal

==> Scaricamento del PKGBUILD di ethereal da AUR...
x PKGBUILD


First Submitted: Fri, 06 Nov 2009 12:06:11 +0000
ethereal 0.99.0-1 : Powerful Multi-Platform Analysis
( Pacchetto non supportato: Potenzialmente pericoloso! )
==> Modificare PKGBUILD?  [S/n] ("A" per annullare)
==> -----------------------------------------------
==> n

==> Dipendenze di ethereal:
 - libpcap (già installato)
 - heimdal (già installato)
 - openssl (già installato)
 - glib2 (già installato)
 - zlib (già installato)
 - gtk2 (già installato)


==> Continuare la compilazione di ethereal? [S/n]
==> ---------------------------------------------
==> 
==> Compilazione e installazione del pacchetto
==> Creazione del pacchetto: ethereal 0.99.0-1 (sab 26 feb 2011, 19.10.21, CET)
==> Controllo delle dipendenze per l'esecuzione in corso...
==> Controllo delle dipendenze per la compilazione in corso...
==> Download dei sorgenti in corso...
  -> Download di ethereal-0.99.0.tar.gz in corso...
--2011-02-26 19:10:22--  http://www.ethereal.com/distribution/ethereal-0.99.0.tar.gz
Risoluzione di www.ethereal.com... 75.63.248.6
Connessione a www.ethereal.com|75.63.248.6|:80... connesso.
HTTP richiesta inviata, in attesa di risposta... 200 OK
Lunghezza: 11284145 (11M) [application/x-gzip]
Salvataggio in: "ethereal-0.99.0.tar.gz.part"

100%[=========================================>] 11.284.145   599K/s   in 35s     

2011-02-26 19:10:57 (316 KB/s) - "ethereal-0.99.0.tar.gz.part" salvato [11284145/11284145]

==> Validazione dei file sorgenti con md5sums in corso...
    ethereal-0.99.0.tar.gz ... Verificato
==> Estrazione dei sorgenti in corso...
  -> estrazione di ethereal-0.99.0.tar.gz con bsdtar in corso... 
==> Entrata nell'ambiente di fakeroot in corso...
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 268: cannot create temp file for here-document: Successo
/usr/bin/makepkg: line 272: cannot create temp file for here-document: Successo
==> Avvio di build() in corso...
rm: cannot remove `conf8585.sh'
rm: cannot remove `conf8585'
rm: cannot remove `conf8585.file'
./configure: line 1203: cannot create temp file for here-document: Success
./configure: line 1214: cannot create temp file for here-document: Success
./configure: line 1248: cannot create temp file for here-document: Success
./configure: line 1400: cannot create temp file for here-document: Success
./configure: line 1405: cannot create temp file for here-document: Success
./configure: line 1410: cannot create temp file for here-document: Success
./configure: line 1415: cannot create temp file for here-document: Success
./configure: line 1420: cannot create temp file for here-document: Success
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... rm: cannot remove `conftest.file'
yes
./configure: line 1778: cannot create temp file for here-document: Success
sed: couldn't open file conftest.sed: No such file or directory
rm: cannot remove `conftest.sed': No such file or directory
checking for gawk... gawk
checking whether make sets $(MAKE)... ./configure: line 1876: cannot create temp file for here-document: Success
rm: cannot remove `conftest.make'
no
./configure: line 1931: cannot create temp file for here-document: Success
./configure: line 1936: cannot create temp file for here-document: Success
checking for gcc... gcc
./configure: line 2420: cannot create temp file for here-document: Success
./configure: line 2424: cannot create temp file for here-document: Success
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
./configure: line 6: cannot create temp file for here-document: Success
./configure: line 29: cannot create temp file for here-document: Success
./configure: line 58: cannot create temp file for here-document: Success
rm: cannot remove `conftest.c'
rm: cannot remove `conftest.file'
rm: cannot remove `conftest.make'
rm: cannot remove `confdefs.h'
rm: cannot remove `conf8585'
rm: cannot remove `conf8585.file'
rm: cannot remove `conf8585.sh'
rm: cannot remove `a.out'
    L'operazione sta per essere interrotta...
==> ERROR: Makepkg non è riuscito a compilare ethereal.
==> Riavviare la compilazione di ethereal? [s/N]
==> --------------------------------------------
==> 

So i tried reinstall a package i already had built (google-chrome-dev) and got that message again.

Do you think i can find out the recent changes in my system and see if there is the source of all?

thank you

Offline

#10 2011-02-27 00:16:22

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

Re: Makepkg issue: cannot create temp file for here-document

Update:

i noticed, after I installed the last aur package i then ran a system upgrade. It seems my local db was veery  old as a lot of packages was upgraded. one of those was fakeroot (up from version 1.14.4-2 to 1.14.5-1).

So i thought i found the problem, i removed fakeroot and installed 'manually' the older version i found on a belgioum server:

$ ftp://ftp.belnet.be/packages/archlinux/core/os/x86_64/fakeroot-1.14.4-2-x86_64.pkg.tar.xz
# pacman -U fakeroot-1.14.4-2-x86_64.pkg.tar.xz

Unfortunatly the issue remains.. i really don't know how to go on searching... Ideas?

Offline

#11 2011-03-03 11:26:42

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

Re: Makepkg issue: cannot create temp file for here-document

mmhh.. so, I'm wondering why my fakeroot is stopping makepkg in compilation process and I started doing some experiments.

Can you guys tell me if your system acts like mine?

I wrote a simple script:

#!/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

and all i got is a 'permission denied' message

$ fakeroot bin/fakeroot_touch_and_remove
bash: /home/miche/bin/fakeroot_touch_and_remove: Permesso negato

Is it normal? should fakeroot act this way? (i also tried that within my home directory and got the exact same message)

Thank you

[meta-discussion] I see lots of people are viewing this thread, but i'm getting no answer. Mods: should i stop writing in here? Thanks [/meta-discussion]

Last edited by Miche (2011-03-03 11:38:27)

Offline

#12 2011-03-30 08:13:44

monotiz
Member
Registered: 2007-10-20
Posts: 140

Re: Makepkg issue: cannot create temp file for here-document

I've the same problem.... and I didn't solve yet...

Offline

#13 2011-04-01 09:36:28

monotiz
Member
Registered: 2007-10-20
Posts: 140

Re: Makepkg issue: cannot create temp file for here-document

Offline

Board footer

Powered by FluxBB