Martin, the linked branch contains a fix. If you like to, you could try
building from it. I'll upload a fixed package to my PPA later today.

** Changed in: graphviz (Ubuntu)
       Status: In Progress => Incomplete

** Summary changed:

- FTBFS: libgraphviz4 fails to compile in karmic due to missing 
debian/tmp/usr/share/man/man3/gv_tcl.3
+ FTBFS when tcl8.4 is installed

** Description changed:

- Repro steps:
- 1. mkdir libgraphviz_ftbfs
- 2. cd libgraphviz_ftbfs/
- 3. apt-get source libgraphviz4
- 4. sudo apt-get build-dep libgraphviz4
- 5. cd graphviz-2.20.2
- 6. debuild -us -uc -b
- 7. Package build process fails like seen below:
- 
- # Install lintian overrides
- install -d 
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/tmp/usr/share/lintian/overrides
- install -m 644 
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/libgraphviz4.lintian-overrides
 \
-               
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/tmp/usr/share/lintian/overrides/libgraphviz4
- # Rename manpages: s/.n.3/
- for i in 
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/tmp/usr/share/man/mann/*.n
 ; do \
-               mv $i ${i%%.n}.3; \
-       done
- # Move manpages
- install -d 
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/tmp/usr/share/man/man3
- find 
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/tmp/usr/share/man/mann 
-name '*.3' \
-               -exec mv {} 
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/tmp/usr/share/man/man3 
';'
- # Compute the dependencies of the -dev package
- # NOTE: It is important to do that before splitting the files into
- # their respective packages, otherwise the symlinks are broken
- d-devlibdeps \
-               --override s/libpathplan4-dev// \
-               --override s/libgraph4-dev//    \
-               --override s/libcdt4-dev//      \
-               
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/libgraphviz-dev.substvars
 \
-               
/home/mnemo/src/libgraphviz_ftbfs/graphviz-2.20.2/debian/tmp/usr/lib/*.so
-  --> libc6-dev package exists.
-  --> libexpat1-dev package exists.
-  --> libltdl7-dev is provided by a package.
-  --> zlib1g-dev package exists.
- # Move from debian/tmp to the appropriate packages, rename one binary
- dh_install --sourcedir=debian/tmp --list-missing
- cp: cannot stat `debian/tmp/usr/share/man/man3/gv_tcl.3': No such file or 
directory
- dh_install: cp returned exit code 1
- make: *** [install] Error 1
- dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 
2
- debuild: fatal error at line 1334:
- dpkg-buildpackage -rfakeroot -D -us -uc -b failed
- mn...@kingfish:~/src/libgraphviz_ftbfs/graphviz-2.20.2$
+ When tcl8.4 is installed graphviz FTBFS because it tries to use tcl8.4 
instead of tcl8.5.
+ This is because tclsh points to tclsh8.4. The fix is to use explicitly 
tclsh8.5.

-- 
FTBFS when tcl8.4 is installed
https://bugs.launchpad.net/bugs/414057
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to