[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Experiences with compiling Debian



[ Please don't Cc: public replies to me. ]

I've been compiling bo/source using the script I posted some
time ago. Some common problems:

- no newline at end
- unpacks into wrong directory
- patch file creates subdirectories
- "-rm foo" should be "rm -f foo" (aesthethic problem)

Some notes:

- having a central repository for autoconf test result might speed things
  up (I think autoconf supports this; someone should investigate)
- source dependencies would be nice, but are not absolutely necessary
- the build process is too verbose, it is difficult to see any warnings
  and errors in the voluminous output
- idea: developers upload source only, central machine(s) build
  .debs, so that everything uses the same libs, etc
- at least: don't accept packages that don't compile (this should be
  a requirement for hamm)
- but: can someone provide a machine and network connection?

I haven't got all packages from bo to compile.  I'm too lazy to
go through all failing packages, here's a list of some of them,
with the reason for the failure listed. Some packages failed
because I didn't have the time to install the stuff they needed.

	alien: contains object (alien-3.2/) not in expected directory
	(alien-3.3).
	
	boot-floppies: requires a partial Debian mirror to build, and
	requires customization of the Makefile to set the location of
	the archive.
	
	cfengine: tries to do "make distclean", but that target doesn't
	exist.
	
	dftp: contains object (dftp/) not in expected directory (dftp-3.0).
	
	hdparm: debian/debstd: Permission denied
	
	pcmcia-cs: not sure what happens, but seems to crash in middle of
	configuration script
	
	qcrack: debian/install: Permission denied
	
	quota: tries to do chown on the packages that have been built;
	does the quota maintainer build everything as root?
	
	sac: diff patches file (sac-1.5.orig/scripts/check) whose
	directory does not appear in tarfile
	
	super: tries to use -lshadow; I couldn't find that in bo.
	
	wg15-locale: tries to do "cp locales/* /usr/share/i18n/locales"; this
	is quite wrong, of course.
	
	bsdutils: /bin/sh: -c: line 1: syntax error near unexpected token `;'
	(bo has bash 2.0).
	
	dpkg-ftp: contains object (dpkg-ftp-1.4.9/) not in expected
	directory (dpkg-ftp-1.4.8)
	
	fileutils: calls msgfmt with wrong arguments
	
	procps: tries to link with -ltermcap
	
	shadow: diff patches file (shadow-961025.orig/src/.deps/.P)
	whose directory does not appear in tarfile
	
	tar: /bin/sh: -c: line 1: syntax error near unexpected token `;'
	
	adbbs: diff contains unknown line `\ No newline at end of file'
	
	dialdcost: tires to include libintl.h, which is not in bo (according
	to Contents).
	
	xtel: tries to use compress (to create font files, I think)
	
	c2man: diff patches file (c2man-2.41.orig/debian/Config/README)
	whose directory does not appear in tarfile
	
	cvs: diff contains unknown line `\ No newline at end of file'
	
	dejagnu: tries to use Tk sources? (don't know if that's
	a problem).  Fails: dpkg-deb: maintainer script `preinst'
	has bad permissions 644 (must be >=0555 and <=0775)
	
	dist: diff patches file (dist-3.70.orig/debian/Config/README)
	whose directory does not appear in tarfile
	
	electric-fence: contains object (electric-fence_2.0.5.orig/)
	not in expected directory (electric-fence-2.0.5.orig)
	
	g77: needs gcc source code to build
	
	gnats: diff patches file
	(gnats-3.101.orig/gnats/contrib/tkgnats/print/Description_Summary)
	whose directory does not appear in tarfile
	
	gpc: diff patches file (gpc-2.0.orig/debian/gpc-doc/examples)
	whose directory does not appear in tarfile
	
	groupkit: needs tcl sources?
	
	ilu: diff patches file
	(ilu-2.0.0.8.orig/debian/packages/base/prerm) whose directory
	does not appear in tarfile
	
	java-lex: needs a java compiler (javac), which isn't part of bo
	proper (theres jdk in non-free, kaffe in contrib)
	
	kernel-source: 3c523.c:1270: redefinition of `kernel_version'
	
	lapack-doc: /bin/sh: ../../../../mancp: Permission denied
	
	linux86: elks.c:123: too few arguments to function `vm86'
	
	make: diff patches file
	(make-3.75.orig/debian/html/make_toc.html) whose directory does
	not appear in tarfile
	
	xxgdb: /usr/X11R6/include/X11/Xlib.h:79: conflicting types for
	`wchar_t'

-- 
Please read <http://www.iki.fi/liw/mail-to-lasu.html> before mailing me.
Please don't Cc: public replies to me.


Attachment: pgpg2t5GdTuUq.pgp
Description: PGP signature


Reply to: