Skip to content
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

Unable to compile .deb with Debian12 AMD64 #45

Open
Lightwel opened this issue Aug 15, 2023 · 2 comments
Open

Unable to compile .deb with Debian12 AMD64 #45

Lightwel opened this issue Aug 15, 2023 · 2 comments

Comments

@Lightwel
Copy link

Hi - I Followed Debian instructions up to installing build packages with apparent success. Then build failed, as explained, but no .deb at the end of it.

richardh@richardh-SER:~/source/conky-manager2$ ./build-deb.sh Building using working tree Building package in native mode Building the package in /home/richardh/source/builds/temp/conky-manager2-2.7, using debuild This package has a Debian revision number but there does not seem to be an appropriate original tar file or .orig directory in the parent directory; (expected one of conky-manager2_2.7.orig.tar.gz, conky-manager2_2.7.orig.tar.bz2, conky-manager2_2.7.orig.tar.lzma, conky-manager2_2.7.orig.tar.xz or conky-manager2-2.7.orig) continue anyway? (y/n) y dpkg-buildpackage -us -uc -ui dpkg-buildpackage: info: source package conky-manager2 dpkg-buildpackage: info: source version 2.7-0ubuntu2 dpkg-buildpackage: info: source distribution hirsute dpkg-buildpackage: info: source changed by Morten Kjeldgaard <mortenkjeldgaard@gmail.com> dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --buildsystem=meson dh_auto_clean -O--buildsystem=meson dh_autoreconf_clean -O--buildsystem=meson dh_clean -O--buildsystem=meson dpkg-source -b . dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 25 debuild: fatal error at line 1182: dpkg-buildpackage -us -uc -ui failed brz: ERROR: The build failed. Failed richardh@richardh-SER:~/source/conky-manager2$ cd .. richardh@richardh-SER:~/source$ ls builds conky-manager2 richardh@richardh-SER:~/source$ cd builds richardh@richardh-SER:~/source/builds$ ls temp richardh@richardh-SER:~/source/builds$ cd temp richardh@richardh-SER:~/source/builds/temp$ ls conky-manager2-2.7 conky-manager2_2.7-0ubuntu2_amd64.build
I had previously rushed ahead with sudo make install, but reversed with sudo make uninstall. Not clear if that might have made a difference.

here is output of sudo locate conky-manager2, before removing build directories:

`richardh@richardh-SER:$ sudo updatedb
richardh@richardh-SER:
$ sudo locate conky-manager2
/home/richardh/source/conky-manager2
/home/richardh/source/builds/temp/conky-manager2-2.7
/home/richardh/source/builds/temp/conky-manager2_2.7-0ubuntu2_amd64.build
/home/richardh/source/builds/temp/conky-manager2-2.7/.bzrignore
/home/richardh/source/builds/temp/conky-manager2-2.7/AUTHORS
/home/richardh/source/builds/temp/conky-manager2-2.7/COPYING
/home/richardh/source/builds/temp/conky-manager2-2.7/HOWTOBUILD.md
/home/richardh/source/builds/temp/conky-manager2-2.7/INSTALL
/home/richardh/source/builds/temp/conky-manager2-2.7/README.md
/home/richardh/source/builds/temp/conky-manager2-2.7/THANKS
/home/richardh/source/builds/temp/conky-manager2-2.7/TODO
/home/richardh/source/builds/temp/conky-manager2-2.7/build-deb.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/build-install.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/build-installer.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/build-release.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/build-source.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/conky-manager.geany
/home/richardh/source/builds/temp/conky-manager2-2.7/conky-manager2.pot
/home/richardh/source/builds/temp/conky-manager2-2.7/debian
/home/richardh/source/builds/temp/conky-manager2-2.7/git-add-origin.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/git-push-reinit.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/git-push.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/git-sync.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/icons
/home/richardh/source/builds/temp/conky-manager2-2.7/installer
/home/richardh/source/builds/temp/conky-manager2-2.7/list-todo.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/makefile
/home/richardh/source/builds/temp/conky-manager2-2.7/man
/home/richardh/source/builds/temp/conky-manager2-2.7/meson.build
/home/richardh/source/builds/temp/conky-manager2-2.7/po
/home/richardh/source/builds/temp/conky-manager2-2.7/push.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/src
/home/richardh/source/builds/temp/conky-manager2-2.7/upload.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/version-history
/home/richardh/source/builds/temp/conky-manager2-2.7/debian/changelog
/home/richardh/source/builds/temp/conky-manager2-2.7/debian/compat
/home/richardh/source/builds/temp/conky-manager2-2.7/debian/control
/home/richardh/source/builds/temp/conky-manager2-2.7/debian/copyright
/home/richardh/source/builds/temp/conky-manager2-2.7/debian/docs
/home/richardh/source/builds/temp/conky-manager2-2.7/debian/rules
/home/richardh/source/builds/temp/conky-manager2-2.7/debian/sourcerichardh@richardh-SER:~/source/builds/temp$ cat conky-manager2_2.7-0ubuntu2_amd64.build
dpkg-buildpackage -us -uc -ui
dpkg-buildpackage: info: source package conky-manager2
dpkg-buildpackage: info: source version 2.7-0ubuntu2
dpkg-buildpackage: info: source distribution hirsute
dpkg-buildpackage: info: source changed by Morten Kjeldgaard mortenkjeldgaard@gmail.com
dpkg-source --before-build .
dpkg-buildpackage: info: host architecture amd64
fakeroot debian/rules clean
dh clean --buildsystem=meson
dh_auto_clean -O--buildsystem=meson
dh_autoreconf_clean -O--buildsystem=meson
dh_clean -O--buildsystem=meson
dpkg-source -b .
dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision
dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 25

/home/richardh/source/builds/temp/conky-manager2-2.7/debian/source/format
/home/richardh/source/builds/temp/conky-manager2-2.7/icons/conky-manager-14.png
/home/richardh/source/builds/temp/conky-manager2-2.7/icons/conky-manager-192.png
/home/richardh/source/builds/temp/conky-manager2-2.7/icons/conky-manager-64.png
/home/richardh/source/builds/temp/conky-manager2-2.7/installer/install.sh
/home/richardh/source/builds/temp/conky-manager2-2.7/man/ChangeLog
/home/richardh/source/builds/temp/conky-manager2-2.7/man/Makefile.am
/home/richardh/source/builds/temp/conky-manager2-2.7/man/Makefile.in
/home/richardh/source/builds/temp/conky-manager2-2.7/man/conky-manager2.1
/home/richardh/source/builds/temp/conky-manager2-2.7/man/hello.1
/home/richardh/source/builds/temp/conky-manager2-2.7/po/LINGUAS
/home/richardh/source/builds/temp/conky-manager2-2.7/po/POTFILES
/home/richardh/source/builds/temp/conky-manager2-2.7/po/cs.po
/home/richardh/source/builds/temp/conky-manager2-2.7/po/de.po
/home/richardh/source/builds/temp/conky-manager2-2.7/po/fr.po
/home/richardh/source/builds/temp/conky-manager2-2.7/po/hr.po
/home/richardh/source/builds/temp/conky-manager2-2.7/po/ko.po
/home/richardh/source/builds/temp/conky-manager2-2.7/po/meson.build
/home/richardh/source/builds/temp/conky-manager2-2.7/po/nl.po
/home/richardh/source/builds/temp/conky-manager2-2.7/po/pt_BR.po
/home/richardh/source/builds/temp/conky-manager2-2.7/src/AboutWindow.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/DonationWindow.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/EditThemeWindow.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/EditWidgetWindow.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/GeneratePreviewWindow.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/Main.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/MainWindow.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/SettingsWindow.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/Utility.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/XidHelper.vala
/home/richardh/source/builds/temp/conky-manager2-2.7/src/conky-manager2-uninstall
/home/richardh/source/builds/temp/conky-manager2-2.7/src/conky-manager2.appdata.xml
/home/richardh/source/builds/temp/conky-manager2-2.7/src/conky-manager2.desktop
/home/richardh/source/builds/temp/conky-manager2-2.7/src/makefile
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/pixmaps
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/themepacks
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/conky-manager.xcf
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/conky-manager2.png
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/conky-manager2.xcf
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/conky-manager214x14.png
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/conky-manager264x64.png
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/donate.svg
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/help-info.svg
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/image-generate.xcf
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/image-generate24x24.png
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/item-gray.png
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/item-green.png
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/utilities-terminal.png
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/view-list.svg
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/images/view-preview.svg
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/conky-manager2/themepacks/default-themes-2.1.cmtp.7z
/home/richardh/source/builds/temp/conky-manager2-2.7/src/share/pixmaps/conky-manager2.png
/home/richardh/source/conky-manager2/.bzrignore
/home/richardh/source/conky-manager2/.git
/home/richardh/source/conky-manager2/.gitignore
/home/richardh/source/conky-manager2/AUTHORS
/home/richardh/source/conky-manager2/COPYING
/home/richardh/source/conky-manager2/HOWTOBUILD.md
/home/richardh/source/conky-manager2/INSTALL
/home/richardh/source/conky-manager2/README.md
/home/richardh/source/conky-manager2/THANKS
/home/richardh/source/conky-manager2/TODO
/home/richardh/source/conky-manager2/build-deb.sh
/home/richardh/source/conky-manager2/build-install.sh
/home/richardh/source/conky-manager2/build-installer.sh
/home/richardh/source/conky-manager2/build-release.sh
/home/richardh/source/conky-manager2/build-source.sh
/home/richardh/source/conky-manager2/conky-manager.geany
/home/richardh/source/conky-manager2/conky-manager2.pot
/home/richardh/source/conky-manager2/debian
/home/richardh/source/conky-manager2/git-add-origin.sh
/home/richardh/source/conky-manager2/git-push-reinit.sh
/home/richardh/source/conky-manager2/git-push.sh
/home/richardh/source/conky-manager2/git-sync.sh
/home/richardh/source/conky-manager2/icons
/home/richardh/source/conky-manager2/installer
/home/richardh/source/conky-manager2/list-todo.sh
/home/richardh/source/conky-manager2/makefile
/home/richardh/source/conky-manager2/man
/home/richardh/source/conky-manager2/meson.build
/home/richardh/source/conky-manager2/po
/home/richardh/source/conky-manager2/push.sh
/home/richardh/source/conky-manager2/src
/home/richardh/source/conky-manager2/upload.sh
/home/richardh/source/conky-manager2/version-history
/home/richardh/source/conky-manager2/.git/HEAD
/home/richardh/source/conky-manager2/.git/branches
/home/richardh/source/conky-manager2/.git/config
/home/richardh/source/conky-manager2/.git/description
/home/richardh/source/conky-manager2/.git/hooks
/home/richardh/source/conky-manager2/.git/index
/home/richardh/source/conky-manager2/.git/info
/home/richardh/source/conky-manager2/.git/logs
/home/richardh/source/conky-manager2/.git/objects
/home/richardh/source/conky-manager2/.git/packed-refs
/home/richardh/source/conky-manager2/.git/refs
/home/richardh/source/conky-manager2/.git/hooks/applypatch-msg.sample
/home/richardh/source/conky-manager2/.git/hooks/commit-msg.sample
/home/richardh/source/conky-manager2/.git/hooks/fsmonitor-watchman.sample
/home/richardh/source/conky-manager2/.git/hooks/post-update.sample
/home/richardh/source/conky-manager2/.git/hooks/pre-applypatch.sample
/home/richardh/source/conky-manager2/.git/hooks/pre-commit.sample
/home/richardh/source/conky-manager2/.git/hooks/pre-merge-commit.sample
/home/richardh/source/conky-manager2/.git/hooks/pre-push.sample
/home/richardh/source/conky-manager2/.git/hooks/pre-rebase.sample
/home/richardh/source/conky-manager2/.git/hooks/pre-receive.sample
/home/richardh/source/conky-manager2/.git/hooks/prepare-commit-msg.sample
/home/richardh/source/conky-manager2/.git/hooks/push-to-checkout.sample
/home/richardh/source/conky-manager2/.git/hooks/update.sample
/home/richardh/source/conky-manager2/.git/info/exclude
/home/richardh/source/conky-manager2/.git/logs/HEAD
/home/richardh/source/conky-manager2/.git/logs/refs
/home/richardh/source/conky-manager2/.git/logs/refs/heads
/home/richardh/source/conky-manager2/.git/logs/refs/remotes
/home/richardh/source/conky-manager2/.git/logs/refs/heads/add-1.10-support
/home/richardh/source/conky-manager2/.git/logs/refs/remotes/origin
/home/richardh/source/conky-manager2/.git/logs/refs/remotes/origin/HEAD
/home/richardh/source/conky-manager2/.git/objects/info
/home/richardh/source/conky-manager2/.git/objects/pack
/home/richardh/source/conky-manager2/.git/objects/pack/pack-5b2018dcff228bf16cdd8ab38f9c81668825d303.idx
/home/richardh/source/conky-manager2/.git/objects/pack/pack-5b2018dcff228bf16cdd8ab38f9c81668825d303.pack
/home/richardh/source/conky-manager2/.git/refs/heads
/home/richardh/source/conky-manager2/.git/refs/remotes
/home/richardh/source/conky-manager2/.git/refs/tags
/home/richardh/source/conky-manager2/.git/refs/heads/add-1.10-support
/home/richardh/source/conky-manager2/.git/refs/remotes/origin
/home/richardh/source/conky-manager2/.git/refs/remotes/origin/HEAD
/home/richardh/source/conky-manager2/debian/changelog
/home/richardh/source/conky-manager2/debian/compat
/home/richardh/source/conky-manager2/debian/control
/home/richardh/source/conky-manager2/debian/copyright
/home/richardh/source/conky-manager2/debian/docs
/home/richardh/source/conky-manager2/debian/rules
/home/richardh/source/conky-manager2/debian/source
/home/richardh/source/conky-manager2/debian/source/format
/home/richardh/source/conky-manager2/icons/conky-manager-14.png
/home/richardh/source/conky-manager2/icons/conky-manager-192.png
/home/richardh/source/conky-manager2/icons/conky-manager-64.png
/home/richardh/source/conky-manager2/installer/install.sh
/home/richardh/source/conky-manager2/man/ChangeLog
/home/richardh/source/conky-manager2/man/Makefile.am
/home/richardh/source/conky-manager2/man/Makefile.in
/home/richardh/source/conky-manager2/man/conky-manager2.1
/home/richardh/source/conky-manager2/man/hello.1
/home/richardh/source/conky-manager2/po/LINGUAS
/home/richardh/source/conky-manager2/po/POTFILES
/home/richardh/source/conky-manager2/po/cs.po
/home/richardh/source/conky-manager2/po/de.po
/home/richardh/source/conky-manager2/po/fr.po
/home/richardh/source/conky-manager2/po/hr.po
/home/richardh/source/conky-manager2/po/ko.po
/home/richardh/source/conky-manager2/po/meson.build
/home/richardh/source/conky-manager2/po/nl.po
/home/richardh/source/conky-manager2/po/pt_BR.po
/home/richardh/source/conky-manager2/src/AboutWindow.vala
/home/richardh/source/conky-manager2/src/DonationWindow.vala
/home/richardh/source/conky-manager2/src/EditThemeWindow.vala
/home/richardh/source/conky-manager2/src/EditWidgetWindow.vala
/home/richardh/source/conky-manager2/src/GeneratePreviewWindow.vala
/home/richardh/source/conky-manager2/src/Main.vala
/home/richardh/source/conky-manager2/src/MainWindow.vala
/home/richardh/source/conky-manager2/src/SettingsWindow.vala
/home/richardh/source/conky-manager2/src/Utility.vala
/home/richardh/source/conky-manager2/src/XidHelper.vala
/home/richardh/source/conky-manager2/src/conky-manager2
/home/richardh/source/conky-manager2/src/conky-manager2-uninstall
/home/richardh/source/conky-manager2/src/conky-manager2.appdata.xml
/home/richardh/source/conky-manager2/src/conky-manager2.desktop
/home/richardh/source/conky-manager2/src/makefile
/home/richardh/source/conky-manager2/src/share
/home/richardh/source/conky-manager2/src/share/conky-manager2
/home/richardh/source/conky-manager2/src/share/pixmaps
/home/richardh/source/conky-manager2/src/share/conky-manager2/images
/home/richardh/source/conky-manager2/src/share/conky-manager2/themepacks
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/conky-manager.xcf
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/conky-manager2.png
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/conky-manager2.xcf
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/conky-manager214x14.png
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/conky-manager264x64.png
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/donate.svg
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/help-info.svg
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/image-generate.xcf
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/image-generate24x24.png
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/item-gray.png
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/item-green.png
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/utilities-terminal.png
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/view-list.svg
/home/richardh/source/conky-manager2/src/share/conky-manager2/images/view-preview.svg
/home/richardh/source/conky-manager2/src/share/conky-manager2/themepacks/default-themes-2.1.cmtp.7z
/home/richardh/source/conky-manager2/src/share/pixmaps/conky-manager2.png
/usr/share/man/man1/conky-manager2.1.gz
`
And:

richardh@richardh-SER:~/source/builds/temp$ cat conky-manager2_2.7-0ubuntu2_amd64.build dpkg-buildpackage -us -uc -ui dpkg-buildpackage: info: source package conky-manager2 dpkg-buildpackage: info: source version 2.7-0ubuntu2 dpkg-buildpackage: info: source distribution hirsute dpkg-buildpackage: info: source changed by Morten Kjeldgaard <mortenkjeldgaard@gmail.com> dpkg-source --before-build . dpkg-buildpackage: info: host architecture amd64 fakeroot debian/rules clean dh clean --buildsystem=meson dh_auto_clean -O--buildsystem=meson dh_autoreconf_clean -O--buildsystem=meson dh_clean -O--buildsystem=meson dpkg-source -b . dpkg-source: error: can't build with source format '3.0 (native)': native package version may not have a revision dpkg-buildpackage: error: dpkg-source -b . subprocess returned exit status 25

Thanks for any help
R

@Lightwel
Copy link
Author

NOW SOLVED

jamesdbloom/grunt-debian-package#23

Showed me how.

But perhaps the fix could be incorporated in the package?

Tks
R

@Lightwel
Copy link
Author

Solved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant