Bug#724105: openresolv: FTBFS: make[1]: *** No rule to make target `config.mk'. Stop.
Hi I've uploaded openresolv-3.5.7-1 to mentors, which fixes this issue: http://mentors.debian.net/debian/pool/main/o/openresolv/openresolv_3.5.7-1.dsc If you could put the package into Debian proper I'd appreciate it. Thanks Roy -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#724105: openresolv: FTBFS: make[1]: *** No rule to make target `config.mk'. Stop.
control: tags -1 +patch Hi, I've made a patch for this FTBFS issue, just ignoring config.mk in Makefile and build fine. Please check and consider to apply it. Thanks. -- Regards, Hideki Yamane henrich @ debian.or.jp/org http://wiki.debian.org/HidekiYamane diff -Nru openresolv-3.5.2/debian/changelog openresolv-3.5.2/debian/changelog --- openresolv-3.5.2/debian/changelog 2012-04-07 00:04:35.0 +0900 +++ openresolv-3.5.2/debian/changelog 2014-04-22 05:59:54.0 +0900 @@ -1,3 +1,11 @@ +openresolv (3.5.2-1.1) unstable; urgency=low + + * Non-maintainer upload. + * debian/patches +- add ignore-nonexist-config.mk-file.patch to fix FTBFS (Closes: #724105) + + -- Hideki Yamane henr...@debian.org Tue, 22 Apr 2014 05:48:08 +0900 + openresolv (3.5.2-1) unstable; urgency=low * New upstream release diff -Nru openresolv-3.5.2/debian/patches/ignore-nonexist-config.mk-file.patch openresolv-3.5.2/debian/patches/ignore-nonexist-config.mk-file.patch --- openresolv-3.5.2/debian/patches/ignore-nonexist-config.mk-file.patch 1970-01-01 09:00:00.0 +0900 +++ openresolv-3.5.2/debian/patches/ignore-nonexist-config.mk-file.patch 2014-04-22 05:59:27.0 +0900 @@ -0,0 +1,31 @@ +Description: just ignore config.mk file + + upstream doesn't ship source with config.mk file but Makefile looks it. + +Bug-Debian: http://bugs.debian.org/724105 +Forwarded: no +Last-Update: 2014-04-23 + +Index: openresolv-3.5.2/Makefile +=== +--- openresolv-3.5.2.orig/Makefile 2014-04-22 05:47:35.0 +0900 openresolv-3.5.2/Makefile 2014-04-22 05:53:33.536800942 +0900 +@@ -1,5 +1,3 @@ +-include config.mk +- + NAME= openresolv + VERSION= 3.5.2 + PKG= ${NAME}-${VERSION} +@@ -34,10 +32,10 @@ + $ $@ + + clean: +- rm -f ${TARGET} openresolv-${VERSION}.tar.bz2 ++ -rm -f ${TARGET} openresolv-${VERSION}.tar.bz2 + + distclean: clean +- rm -f config.mk ++ -rm -f config.mk + + installdirs: + diff -Nru openresolv-3.5.2/debian/patches/series openresolv-3.5.2/debian/patches/series --- openresolv-3.5.2/debian/patches/series 1970-01-01 09:00:00.0 +0900 +++ openresolv-3.5.2/debian/patches/series 2014-04-22 05:58:10.0 +0900 @@ -0,0 +1 @@ +ignore-nonexist-config.mk-file.patch
Bug#724105: openresolv: FTBFS: make[1]: *** No rule to make target `config.mk'. Stop.
Hi On 23/04/2014 12:41, Hideki Yamane wrote: I've made a patch for this FTBFS issue, just ignoring config.mk in Makefile and build fine. Please check and consider to apply it. From the dh_auto_clean man page: This is intended to work for about 90% of packages. If it doesn’t work, or tries to use the wrong clean target, you’re encouraged to skip using dh_auto_clean at all, and just run make clean manually. So why can we just skip dh_auto_clean? I'm loath to accept that patch as it's GNU make only. Attached is a patch applied upstream which allows it to work with GNU make and BSD make. RoyIndex: Makefile == --- Makefile +++ Makefile @@ -1,6 +1,19 @@ -include config.mk +# Nasty hack so that make clean works without configure being run +_CONFIG_MK_SH= test -e config.mk echo config.mk || echo config-null.mk +_CONFIG_MK!= ${_CONFIG_MK_SH} +CONFIG_MK= ${_CONFIG_MK}$(shell ${_CONFIG_MK_SH}) +include ${CONFIG_MK} + +SBINDIR?= /sbin +SYSCONFDIR?= /etc +LIBEXECDIR?= /libexec/resolvconf +VARDIR?= /var/run/resolvconf +RCDIR?= /etc/rc.d +RESTARTCMD?= if ${RCDIR}/\1 status /dev/null 2\1; then \ + ${RCDIR}/\1 restart; \ + fi NAME= openresolv VERSION= 3.5.6 PKG= ${NAME}-${VERSION} ADDED config-null.mk Index: config-null.mk == --- config-null.mk +++ config-null.mk @@ -0,0 +1,1 @@ +# This space left intentionally blank
Bug#724105: openresolv: FTBFS: make[1]: *** No rule to make target `config.mk'. Stop.
Source: openresolv Version: 3.5.2-1 Severity: serious Tags: jessie sid User: debian...@lists.debian.org Usertags: qa-ftbfs-20130922 qa-ftbfs Justification: FTBFS on amd64 Hi, During a rebuild of all packages in sid, your package failed to build on amd64. Relevant part (hopefully): fakeroot debian/rules clean dh clean dh_testdir dh_auto_clean make[1]: Entering directory `/«PKGBUILDDIR»' Makefile:1: config.mk: No such file or directory make[1]: *** No rule to make target `config.mk'. Stop. make[1]: Leaving directory `/«PKGBUILDDIR»' dh_auto_clean: make -j1 distclean returned exit code 2 make: *** [clean] Error 2 The full build log is available from: http://aws-logs.debian.net/ftbfs-logs/2013/09/22/openresolv_3.5.2-1_unstable.log 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 EC2 VM instances from Amazon Web Services, using a clean, minimal and up-to-date chroot. Every failed build was retried once to eliminate random failures. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org