Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0002462graphvizBuild/Installpublic2014-06-02 15:562014-06-02 17:46
Reporterflok 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusnewResolutionopen 
Platformx64OSlinux, debianOS Versionwheezy
Summary0002462: debian package won't build
DescriptionToday I pulled the git clone https://github.com/ellson/graphviz.git [^] repository.
Tried to build a debian package but this failed:

mauer:/usr/src/graphviz# debuild -us -uc
debuild: fatal error at line 629:
cannot find readable debian/changelog anywhere!
Are you in the source code tree?

Normally a debuild build would do everything neccessary to build a package from a basic pull.
Steps To Reproducegit clone https://github.com/ellson/graphviz.git [^]
cd graphviz
debuild -us -uc
TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT
FORMER-ID
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENT
VERSIONgit of 2014 June 02
Attached Files

- Relationships

-  Notes
User avatar (0000752)
ellson (administrator)
2014-06-02 17:06

Sorry to be unable to answer you question directly. None of the current primary developers are skilled at debian building.

Are debian builds something different than ubuntu builds?

For out nightly builds for Ubuntu we use some scripts from a separate repo...
    git clone https://github.com/ellson/graphviz-build.git [^]
in the ubuntu subdirectory.

To me, there seems to be some code patching that I would prefer to see in the main repo. I think your goal of clone & build from just one place is what we would like to see, as long that that can deal with all the debian and ubuntu platform variants.

If you felt like offering some changes towards this goal, we'd be very happy to consider them.

BTW. There is a debian/changelog in the graphviz repo. Can you tell what's wrong with it?
User avatar (0000753)
flok (reporter)
2014-06-02 17:37

Hi,

Debian and ubuntu are from a packaging point of view basically the same. Well, ubuntu is different from debian in some ways but for graphviz I don't think that matters a lot.

In the git-repo I pulled there was a debian/changelog.in which is not the right file format. Also the latest change is 2.18. Afaik the packaging tools use the changelog to determine the version number in the package.

Had a quick look at the https://github.com/ellson/graphviz-build.git [^] repository but what is underneath ubuntu I don't recognize as standard ubuntu/debian packaging script-files.
User avatar (0000754)
ellson (administrator)
2014-06-02 17:46

Ah yes. To generate consistent version numbering I run ./autogen.sh on a single source-build platform. This generates debian/changelog from debian/changelog.in

All our binaries are built from the single master graphviz-*.tar.gz.

You might be able to do something similar on debian by running ./autogen.sh before debuild?

- Issue History
Date Modified Username Field Change
2014-06-02 15:56 flok New Issue
2014-06-02 17:06 ellson Note Added: 0000752
2014-06-02 17:37 flok Note Added: 0000753
2014-06-02 17:46 ellson Note Added: 0000754


MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker