make: *** [build-stamp] Error 2

Coordinamento delle attività e informazioni sui progetti del gruppo: creazione, modifica e gestione dei pacchetti di Ubuntu e relative problematiche.

Moderatore: Gruppo Sviluppo

Scrivi risposta
Avatar utente
salerno91
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1033
Iscrizione: martedì 10 luglio 2007, 12:11
Contatti:

make: *** [build-stamp] Error 2

Messaggio da salerno91 »

:( ciao a tutti ho un grave problema quando creo i pacchetti .deb

praticamente dato questo comando debuild binary

risulta questo processo :

dh_testdir
# Add here commands to compile the package.
/usr/bin/make
make[1]: Entering directory `/home/salerno91/Desktop/tibia-11'
make[1]: *** No targets specified and no makefile found.  Stop.
make[1]: Leaving directory `/home/salerno91/Desktop/tibia-11'

che porta a questo errore :

make: *** [build-stamp] Error 2
debuild: fatal error at line 1210:
couldn't exec fakeroot debian/rules:

SAPETE AIUTARMI IO LE STO PROVANDO TUTTE VI PREGO AIUTATEMI CIAO  :(

RINGRAZIO IN ANTICIPO
Ciao :D
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da DktrKranz »

Potresti allegare il file debian/rules?
Avatar utente
salerno91
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1033
Iscrizione: martedì 10 luglio 2007, 12:11
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da salerno91 »

per favore mi dici la posizione del file grazie  :-\
Ciao :D
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da DktrKranz »

L'ho indicata prima, directory debian, file rules ;)
Avatar utente
Janvitus
Amministratore
Amministratore
Messaggi: 18778
Iscrizione: lunedì 25 aprile 2005, 15:52
Desktop: GNOME Shell / Xfce
Sesso: Maschile
Località: Potenza
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da Janvitus »

Ehm... nei sorgenti del pacchetto che vuoi compilare si è creata una cartella debian, li sono tutti i file per creare il pacchetto .deb.

Ma hai letto le guide consigliate in questo forum?
+Fedora 39 • +Xubuntu 23.10
Avatar utente
salerno91
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1033
Iscrizione: martedì 10 luglio 2007, 12:11
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da salerno91 »

a si in quella cartella ho visto ma non c`e` nessun file rules
Ciao :D
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da DktrKranz »

debuild binary si aspetta di trovare il file rules, se esso manca il processo di creazione del pacchetto non può continuare.
hattory
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 542
Iscrizione: martedì 21 agosto 2007, 16:19
Desktop: Gnome-Shell
Distribuzione: Ubuntu precise i686
Località: Varese
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da hattory »

Sarebbe bello sapere qual'è il pacchetto in questione e il procedimento che hai seguito  ;)
Avatar utente
salerno91
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1033
Iscrizione: martedì 10 luglio 2007, 12:11
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da salerno91 »

e allora come faccio

posso trovare rules da qualche parte oppure reinstallo fakeroot ?
Ciao :D
Avatar utente
salerno91
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1033
Iscrizione: martedì 10 luglio 2007, 12:11
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da salerno91 »

eccolo il file rules

Codice: Seleziona tutto

#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1


# These are used for cross-compiling and for saving the configure script
# from having to guess our platform (since we know it already)
DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)


CFLAGS = -Wall -g

ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
	CFLAGS += -O0
else
	CFLAGS += -O2
endif

config.status: configure
	dh_testdir
	# Add here commands to configure the package.
	./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"


build: build-stamp

build-stamp:  config.status
	dh_testdir

	# Add here commands to compile the package.
	$(MAKE)
	#docbook-to-man debian/xchat.sgml > xchat.1

	touch $@

clean:
	dh_testdir
	dh_testroot
	rm -f build-stamp 

	# Add here commands to clean up after the build process.
	-$(MAKE) distclean
ifneq "$(wildcard /usr/share/misc/config.sub)" ""
	cp -f /usr/share/misc/config.sub config.sub
endif
ifneq "$(wildcard /usr/share/misc/config.guess)" ""
	cp -f /usr/share/misc/config.guess config.guess
endif


	dh_clean 

install: build
	dh_testdir
	dh_testroot
	dh_clean -k 
	dh_installdirs

	# Add here commands to install the package into debian/xchat.
	$(MAKE) DESTDIR=$(CURDIR)/debian/xchat install


# Build architecture-independent files here.
binary-indep: build install
# We have nothing to do by default.

# Build architecture-dependent files here.
binary-arch: build install
	dh_testdir
	dh_testroot
	dh_installchangelogs ChangeLog
	dh_installdocs
	dh_installexamples
#	dh_install
#	dh_installmenu
#	dh_installdebconf	
#	dh_installlogrotate
#	dh_installemacsen
#	dh_installpam
#	dh_installmime
#	dh_python
#	dh_installinit
#	dh_installcron
#	dh_installinfo
	dh_installman
	dh_link
	dh_strip
	dh_compress
	dh_fixperms
#	dh_perl
#	dh_makeshlibs
	dh_installdeb
	dh_shlibdeps
	dh_gencontrol
	dh_md5sums
	dh_builddeb

binary: binary-indep binary-arch
.PHONY: build clean binary-indep binary-arch binary install 
EDIT: Messo fra tag CODE per migliorare la visibilità del messaggio.
Ultima modifica di DktrKranz il giovedì 23 agosto 2007, 17:49, modificato 1 volta in totale.
Ciao :D
hattory
Scoppiettante Seguace
Scoppiettante Seguace
Messaggi: 542
Iscrizione: martedì 21 agosto 2007, 16:19
Desktop: Gnome-Shell
Distribuzione: Ubuntu precise i686
Località: Varese
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da hattory »

Scusa potresti modificare il post mettendo l'output tra i tag code? (icona # per intenderci) se no il post diventa illeggibile
Avatar utente
DktrKranz
Rampante Reduce
Rampante Reduce
Messaggi: 5071
Iscrizione: giovedì 2 novembre 2006, 11:24
Desktop: GNOME Shell
Distribuzione: Debian GNU/Linux sid - x86_64
Località: Guastalla (RE)
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da DktrKranz »

Il rules in questione l'hai generato tu o era già presente?
Avatar utente
salerno91
Entusiasta Emergente
Entusiasta Emergente
Messaggi: 1033
Iscrizione: martedì 10 luglio 2007, 12:11
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da salerno91 »

generato io
Ciao :D
Avatar utente
Janvitus
Amministratore
Amministratore
Messaggi: 18778
Iscrizione: lunedì 25 aprile 2005, 15:52
Desktop: GNOME Shell / Xfce
Sesso: Maschile
Località: Potenza
Contatti:

Re: make: *** [build-stamp] Error 2

Messaggio da Janvitus »

Ma prima di fare il pacchetto hai provato il locale almeno se il ./configure e il make vanno a buon fine?
+Fedora 39 • +Xubuntu 23.10
Scrivi risposta

Ritorna a “Gruppo Sviluppo”

Chi c’è in linea

Visualizzano questa sezione: 0 utenti iscritti e 11 ospiti