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

building mysql-3.23.30 packages from source fails



Maintainer: Christian Hammers <ch@debian.org>

Does anybody know how to get around these problems?

  dpkg-source: extracting mysql in mysql-3.23.30
  Reversed (or previously applied) patch detected!  Skipping patch.
  1 out of 1 hunk ignored -- saving rejects to file isam/isamchk.c.rej
  dpkg-source: failure: patch gave error exit status 1
  Unpack command 'dpkg-source -x mysql_3.23.30-2.dsc' failed.
  E: Child process failed

I did ignore this error, cd-ed to mysql-3.23.30 and executed:

# ARCH=i386 fakeroot dpkg-buildpackage -b -uc

  dpkg-buildpackage: source package is mysql
  dpkg-buildpackage: source version is 3.23.30-2
  dpkg-buildpackage: source maintainer is Christian Hammers <ch@debian.org>
  dpkg-buildpackage: build architecture is i386
   debian/rules clean DEB_BUILD_ARCH=i386 DEB_BUILD_GNU_CPU=i386
  DEB_BUILD_GNU_SYSTEM=linux DEB_BUILD_GNU_TYPE=i386-linux
  DEB_HOST_ARCH=i386 DEB_HOST_GNU_CPU=i386 DEB_HOST_GNU_SYSTEM=linux
  DEB_HOST_GNU_TYPE=i386-linux
  /usr/bin/dpkg-buildpackage: debian/rules: Permission denied

# chmod +x debian/rules
# ARCH=i386 fakeroot dpkg-buildpackage -b -uc

It pukes out later like this:

        chown -R 0.0 debian/mysql-doc/usr/share/doc
        chmod -R go=rX debian/mysql-doc/usr/share/doc
        chmod -R u\+rw debian/mysql-doc/usr/share/doc
        install -g 0 -o 0 -m 644 -p debian/copyright \
          debian/mysql-doc/usr/share/doc/mysql-doc/copyright
        echo "# Automatically added by dh_installdocs">> \
          debian/mysql-doc.postinst.debhelper
        sed "s/#PACKAGE#/mysql-doc/g" \
          /usr/share/debhelper/autoscripts/postinst-doc >> \
          debian/mysql-doc.postinst.debhelper
        echo '# End automatically added section' >> \
          debian/mysql-doc.postinst.debhelper
        echo "# Automatically added by dh_installdocs">> \
          debian/mysql-doc.prerm.debhelper
        sed "s/#PACKAGE#/mysql-doc/g" \
          /usr/share/debhelper/autoscripts/prerm-doc >> \
          debian/mysql-doc.prerm.debhelper
        echo '# End automatically added section' >> \
          debian/mysql-doc.prerm.debhelper
  Cannot read debian/mysql-doc.doc-base.dpkg-orig.
    at /usr/bin/dh_installdocs line 101.
   make: *** [binary-indep] Error 13

And Christian, please, don't fix it. Correct the errors instead :)

Cheers,
Cristian

-- 
Mommy, mommy! The garbage man is here! Well, tell him we don't want any!
(Groucho Marx)




Reply to: