id summary reporter owner description type status priority milestone component version severity resolution keywords cc 180 build2pkg fails because of /etc/gentoo-release Marc Elser Bruno Cornec "Hi, I just checked out the newest branches/2.2.4 and branches/2.2.5 from svn as described in http://www.mondorescue.org/cgi-bin/trac.cgi/wiki/DistributionPackaging. After installeing jadetex and docbook2ps I could run ""tools/svn2build"" and it created the tar and zip files for mondo-doc mindi mindiy-busybox and mondo. But I could not use ""tools/build2pkg"" and so I began debugging and found out that build2pkg tries to extract files for gentoo-1.12 from the .tar.gz, but of course the files in the .tar.gz where are named gentoo-1.6. After more debugging I found out that the distro-env read the gentoo version is from /etc/gentoo-release. Problem is, that in newer baselayouts this file gets updated with the current baselayout number which is at the moment baselayout-1.12.9-r2 which writes the following into /etc/gentoo-release {{{ Gentoo Base System release 1.12 }}} So, I changed this to {{{ Gentoo Base System release 1.6 }}} and then build2pkg worked perfectly. The problem is that this file will be overwritte when the next baselayout is released with the next baselayout version. So, build2pkg must somehow be updated to use the version 1.6 (the version which is in the svn tree) on gentoo systems and not what's written in /etc/gentoo-release." defect closed normal 2.2.5 mondo 2.2.3 normal fixed build2pkg