Bug#537008: plr: FTBFS: dh_install: missing files, aborting
tags 537008 + patch thanks Patch attached. The included /usr/lib/postgresql/8.3/lib/pgxs/src/Makefile.global runs the default pg_config which returns 8.4-related paths, resulting in files being installed under debian/tmp/../8.4 (and probably spurious links and dependencies if you have happen to have both 8.3 and 8.4 installed at the same time). We thus export PG_CONFIG to the 8.3 version and--as a bonus--use this in 10_Makefile.patch to avoid duplication. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org `- diff -urNd plr-8.3.0.6.orig/debian/patches/10_Makefile.patch plr-8.3.0.6/debian/patches/10_Makefile.patch --- plr-8.3.0.6.orig/debian/patches/10_Makefile.patch 2009-07-27 14:06:35.0 +0200 +++ plr-8.3.0.6/debian/patches/10_Makefile.patch2009-07-27 14:07:14.0 +0200 @@ -22,7 +22,7 @@ ifdef USE_PGXS -PGXS := $(shell pg_config --pgxs) -+PGXS := $(shell /usr/lib/postgresql/8.3/bin/pg_config --pgxs) ++PGXS := $(shell $(PG_CONFIG) --pgxs) include $(PGXS) else subdir = contrib/plr diff -urNd plr-8.3.0.6.orig/debian/rules plr-8.3.0.6/debian/rules --- plr-8.3.0.6.orig/debian/rules 2009-07-27 14:06:35.0 +0200 +++ plr-8.3.0.6/debian/rules2009-07-27 14:06:53.0 +0200 @@ -8,7 +8,7 @@ #SHLIB_LINK=-Wl,-rpath /usr/lib/R/lib #export LDFLAGS SHLIB_LINK -DEB_MAKE_ENVVARS:=USE_PGXS=1 +DEB_MAKE_ENVVARS:=USE_PGXS=1 PG_CONFIG=/usr/lib/postgresql/8.3/bin/pg_config # Do not set R_HOME to force variable setting via pkg-config which leads to more # reasonable results regarding r_includespec # R_HOME=/usr/lib/R signature.asc Description: PGP signature
Bug#537008: plr: FTBFS: dh_install: missing files, aborting
Package: plr Version: 1:8.3.0.6-3 Severity: serious User: debian...@lists.debian.org Usertags: qa-ftbfs-20090713 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part: make[1]: Entering directory `/build/user-plr_8.3.0.6-3-amd64-C65C0X/plr-8.3.0.6' mkdir -p -- debian/tmp//usr/share/postgresql/8.4/contrib mkdir -p -- debian/tmp//usr/lib/postgresql/8.4/lib mkdir -p -- debian/tmp//usr/share/doc/postgresql/contrib /bin/sh /usr/lib/postgresql/8.3/lib/pgxs/src/makefiles/../../config/install-sh -c -m 644 plr.sql 'debian/tmp//usr/share/postgresql/8.4/contrib' /bin/sh /usr/lib/postgresql/8.3/lib/pgxs/src/makefiles/../../config/install-sh -c -m 644 ./README.plr 'debian/tmp//usr/share/doc/postgresql/contrib' /bin/sh /usr/lib/postgresql/8.3/lib/pgxs/src/makefiles/../../config/install-sh -c -m 755 libplr.so.0.0 'debian/tmp//usr/lib/postgresql/8.4/lib/plr.so' make[1]: Leaving directory `/build/user-plr_8.3.0.6-3-amd64-C65C0X/plr-8.3.0.6' dh_installdirs -ppostgresql-8.3-plr dh_installdocs -ppostgresql-8.3-plr dh_installexamples -ppostgresql-8.3-plr dh_installman -ppostgresql-8.3-plr dh_installinfo -ppostgresql-8.3-plr dh_installmenu -ppostgresql-8.3-plr dh_installcron -ppostgresql-8.3-plr dh_installinit -ppostgresql-8.3-plr dh_installdebconf -ppostgresql-8.3-plr dh_installemacsen -ppostgresql-8.3-plr dh_installcatalogs -ppostgresql-8.3-plr dh_installpam -ppostgresql-8.3-plr dh_installlogrotate -ppostgresql-8.3-plr dh_installlogcheck -ppostgresql-8.3-plr dh_installchangelogs -ppostgresql-8.3-plr dh_installudev -ppostgresql-8.3-plr dh_lintian -ppostgresql-8.3-plr dh_install -ppostgresql-8.3-plr --sourcedir=debian/tmp --fail-missing dh_install: usr/share/postgresql/8.4/contrib/plr.sql exists in debian/tmp but is not installed to anywhere dh_install: usr/share/doc/postgresql/contrib/README.plr exists in debian/tmp but is not installed to anywhere dh_install: missing files, aborting make: *** [binary-install/postgresql-8.3-plr] Error 1 The full build log is available from: http://people.debian.org/~lucas/logs/2009/07/13/plr_1:8.3.0.6-3_lsid64.buildlog A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute! About the archive rebuild: The rebuild was done on about 50 AMD64 nodes of the Grid'5000 platform, using a clean chroot. Internet was not accessible from the build systems. -- | Lucas Nussbaum | lu...@lucas-nussbaum.net http://www.lucas-nussbaum.net/ | | jabber: lu...@nussbaum.fr GPG: 1024D/023B3F4F | -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org