Git Product home page Git Product logo

Comments (6)

astraw avatar astraw commented on August 17, 2024

Use the "--force-buildsystem=False" option to disable passing the option. I will investigate why I had True as the default and see if it can be changed.

from stdeb.

tomduck avatar tomduck commented on August 17, 2024

Thanks for the incredibly quick feedback!

I made the recommended changes to test.sh, ran the script, and "All tests passed". The universal diff for test.sh is given below for reference.

Cheers,
Tom

--- test.sh 2010-06-26 13:04:15.000000000 -0300
+++ test.sh.orig 2010-06-18 21:51:11.000000000 -0300
@@ -30,7 +30,7 @@

case 1: build from pre-existing source tarball

==============================================================

-py2dsc --force-buildsystem=False $SOURCE_TARBALL; if [[ $? -ne 0 ]]; then exit $?; fi
+py2dsc $SOURCE_TARBALL; if [[ $? -ne 0 ]]; then exit $?; fi

cd deb_dist/$DEBSOURCE; if [[ $? -ne 0 ]]; then exit $?; fi
dpkg-buildpackage -rfakeroot -uc -us; if [[ $? -ne 0 ]]; then exit $?; fi
@@ -45,7 +45,7 @@

==============================================================

tar xzf $SOURCE_TARBALL; if [[ $? -ne 0 ]]; then exit $?; fi
cd $SOURCE_TARBALL_DIR; if [[ $? -ne 0 ]]; then exit $?; fi
-python setup.py --command-packages=stdeb.command sdist_dsc --force-buildsystem=False; if [[ $? -ne 0 ]]; then exit $?; fi
+python setup.py --command-packages=stdeb.command sdist_dsc; if [[ $? -ne 0 ]]; then exit $?; fi
cd deb_dist/$DEBSOURCE; if [[ $? -ne 0 ]]; then exit $?; fi
dpkg-buildpackage -rfakeroot -uc -us; if [[ $? -ne 0 ]]; then exit $?; fi
cd ..; if [[ $? -ne 0 ]]; then exit $?; fi

from stdeb.

tomduck avatar tomduck commented on August 17, 2024

Hi,

Sorry to be a pain -- I'm new here -- but I'm not sure why this report is closed. I don't see any new commits to github, so the original problem still exists.

Cheers,
Tom

from stdeb.

astraw avatar astraw commented on August 17, 2024

I didn't think I closed it. Maybe some github weirdness or maybe my fault for pressing the wrong button. Now I can't seem to re-open it...

from stdeb.

fidlej avatar fidlej commented on August 17, 2024

Note that some packages fail to build when using "--force-buildsystem=False". It happens when a Makefile is present next to the setup.py. The "makefile" buildsystem would be selected in that case.

The list of alternative buildsystems:

autoconf             GNU Autoconf (configure)
perl_makemaker       Perl ExtUtils::MakeMaker (Makefile.PL)
makefile             simple Makefile
python_distutils     Python Distutils (setup.py)
perl_build           Perl Module::Build (Build.PL)
cmake                CMake (CMakeLists.txt)
ant                  Ant (build.xml)
qmake                qmake (*.pro)

from stdeb.

astraw avatar astraw commented on August 17, 2024

As of now (40b3704), I'm not seeing this issue on Debian wheezy. Please re-open if you are still having trouble.

from stdeb.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.