-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Unknown option: buildsystem" error #32
Comments
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. |
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, --- test.sh 2010-06-26 13:04:15.000000000 -0300 case 1: build from pre-existing source tarball==============================================================-py2dsc --force-buildsystem=False cd deb_dist/$DEBSOURCE; if [[ ==============================================================tar xzf |
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, |
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... |
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:
|
As of now (40b3704), I'm not seeing this issue on Debian wheezy. Please re-open if you are still having trouble. |
I have installed stdeb 0.6.0 from sources on a debian Lenny system. When running the provided test.sh, I get an "Unknown option: buildsystem" error after "dh clean", followed by an abort. The full output of test.sh is given below.
Thanks for your efforts on stdeb. I hope to use it to build numpy and friends for a few of the different architectures I need.
Thanks,
Tom
$ ./test.sh
--2010-06-26 12:00:44-- http://astraw.com/misc_files/simplepack-8.0.1+r23437.tar.gz
Resolving astraw.com... 69.163.194.242
Connecting to astraw.com|69.163.194.242|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 518 [application/x-tar]
Saving to: `simplepack-8.0.1+r23437.tar.gz'
100%[======================================>] 518 --.-K/s in 0s
2010-06-26 12:00:45 (18.8 MB/s) - `simplepack-8.0.1+r23437.tar.gz' saved [518/518]
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
running the following command in directory: deb_dist/tmp_py2dsc/simplepack-8.0.1+r23437
/usr/bin/python setup.py --command-packages stdeb.command sdist_dsc --dist-dir=/home/tomduck/install/archive/stdeb-0.6.0/deb_dist --use-premade-distfile=/home/tomduck/install/archive/stdeb-0.6.0/simplepack-8.0.1+r23437.tar.gz
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
running sdist_dsc
CALLING dpkg-source -b simplepack-8.0.1+r23437 simplepack_8.0.1+r23437.orig.tar.gz (in dir /home/tomduck/install/archive/stdeb-0.6.0/deb_dist)
dpkg-source: info: using source format `1.0'
dpkg-source: info: building simplepack using existing simplepack_8.0.1+r23437.orig.tar.gz
dpkg-source: info: building simplepack in simplepack_8.0.1+r23437-1.diff.gz
dpkg-source: info: building simplepack in simplepack_8.0.1+r23437-1.dsc
dpkg-source: warning: extracting unsigned source package (simplepack_8.0.1+r23437-1.dsc)
dpkg-source: extracting simplepack in simplepack-8.0.1+r23437
dpkg-source: info: unpacking simplepack_8.0.1+r23437.orig.tar.gz
dpkg-source: info: applying simplepack_8.0.1+r23437-1.diff.gz
dpkg-buildpackage: set CFLAGS to default value: -g -O2
dpkg-buildpackage: set CPPFLAGS to default value:
dpkg-buildpackage: set LDFLAGS to default value:
dpkg-buildpackage: set FFLAGS to default value: -g -O2
dpkg-buildpackage: set CXXFLAGS to default value: -g -O2
dpkg-buildpackage: source package simplepack
dpkg-buildpackage: source version 8.0.1+r23437-1
dpkg-buildpackage: source changed by unknown unknown@unknown
dpkg-buildpackage: host architecture i386
fakeroot debian/rules clean
dh clean
Unknown option: buildsystem
dh: unknown option; aborting
make: *** [clean] Error 1
dpkg-buildpackage: failure: fakeroot debian/rules clean gave error exit status 2
The text was updated successfully, but these errors were encountered: