[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#755232: marked as done (graphviz FTBFS on Alpha: missing -lm in link of cmd/dot)



Your message dated Sat, 19 Jul 2014 12:49:01 +0000
with message-id <E1X8U4T-0000OM-Dw@franck.debian.org>
and subject line Bug#755232: fixed in graphviz 2.38.0-4
has caused the Debian Bug report #755232,
regarding graphviz FTBFS on Alpha: missing -lm in link of cmd/dot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
755232: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=755232
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Source: graphviz
Version: 2.38.0-3
Severity: important
User: debian-alpha@lists.debian.org
Usertags: alpha
Justification: fails to build from source but used to build

graphviz FTBFS on Alpha with a failed link of cmd/dot.  From the build
log [1]

/bin/bash ../../libtool  --tag=CC   --mode=link alpha-linux-gnu-gcc  -g -O2 -Wformat -Werror=format-security -mieee -Wall  -Wl,-z,relro -Wl,--as-needed -o dot dot-dot.o dot-no_builtins.o ../../lib/gvc/libgvc.la ../../lib/cgraph/libcgraph.la 
libtool: link: alpha-linux-gnu-gcc -g -O2 -Wformat -Werror=format-security -mieee -Wall -Wl,-z -Wl,relro -Wl,--as-needed -o .libs/dot dot-dot.o dot-no_builtins.o  ../../lib/gvc/.libs/libgvc.so ../../lib/cgraph/.libs/libcgraph.so
/usr/bin/ld: dot-dot.o: undefined reference to symbol 'feenableexcept@@GLIBC_2.2'
//lib/alpha-linux-gnu/libm.so.6.1: error adding symbols: DSO missing from command line

This is a failure to link to feenableexcept() from the standard C maths
library.

Note that there is no "-lm" in the link command, but quoting from the
manpage for feenableexcept:

      Link with -lm.

I attach a patch that adds the math library into the link of cmd/dot.
With the patch graphviz successfully builds on Alpha.

Interestingly graphviz only failed on Alpha for this reason; I do not
know how it succeeded to build on all other architectures!

Cheers
Michael

[1] http://buildd.debian-ports.org/status/fetch.php?pkg=graphviz&arch=alpha&ver=2.38.0-3&stamp=1405642711
Index: graphviz-2.38.0/cmd/dot/Makefile.am
===================================================================
--- graphviz-2.38.0.orig/cmd/dot/Makefile.am
+++ graphviz-2.38.0/cmd/dot/Makefile.am
@@ -48,7 +48,8 @@ dot_SOURCES = dot.c no_builtins.c
 dot_CPPFLAGS = $(AM_CPPFLAGS) -DDEMAND_LOADING=1
 dot_LDADD = \
 	$(top_builddir)/lib/gvc/libgvc.la \
-	$(top_builddir)/lib/cgraph/libcgraph.la
+	$(top_builddir)/lib/cgraph/libcgraph.la \
+	$(MATH_LIBS)
 
 install-data-hook:
 	(cd $(DESTDIR)$(man1dir); for i in $(linkedman); do rm -f $$i; $(LN_S) dot.1 $$i; done;)

--- End Message ---
--- Begin Message ---
Source: graphviz
Source-Version: 2.38.0-4

We believe that the bug you reported is fixed in the latest version of
graphviz, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 755232@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matthias Klose <doko@debian.org> (supplier of updated graphviz package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sat, 19 Jul 2014 14:10:45 +0200
Source: graphviz
Binary: graphviz libgv-guile libgv-lua libgv-perl libgv-php5 libgv-python libgv-ruby libgv-tcl libcgraph6 libcdt5 libpathplan4 libgvc6 libgvc6-plugins-gtk libgvpr2 libxdot4 libgraphviz-dev graphviz-doc graphviz-dev
Architecture: source all amd64
Version: 2.38.0-4
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matthias Klose <doko@debian.org>
Description:
 graphviz   - rich set of graph drawing tools
 graphviz-dev - transitional package for graphviz-dev rename
 graphviz-doc - additional documentation for graphviz
 libcdt5    - rich set of graph drawing tools - cdt library
 libcgraph6 - rich set of graph drawing tools - cgraph library
 libgraphviz-dev - graphviz libs and headers against which to build applications
 libgv-guile - Guile bindings for graphviz
 libgv-lua  - Lua bindings for graphviz
 libgv-perl - Perl bindings for graphviz
 libgv-php5 - PHP5 bindings for graphviz
 libgv-python - Python bindings for graphviz
 libgv-ruby - Ruby bindings for graphviz
 libgv-tcl  - Tcl bindings for graphviz
 libgvc6    - rich set of graph drawing tools - gvc library
 libgvc6-plugins-gtk - rich set of graph drawing tools - gtk plugins
 libgvpr2   - rich set of graph drawing tools - gvpr library
 libpathplan4 - rich set of graph drawing tools - pathplan library
 libxdot4   - rich set of graph drawing tools - xdot library
Closes: 755198 755232
Changes:
 graphviz (2.38.0-4) unstable; urgency=medium
 .
   * QA upload.
   * libgvc6-plugins-gtk: Conflict with libgvc5-plugins-gtk. Closes: #755198.
   * Apply a work around to reduce the package size. Addresses: #755124.
   * Add missing -lm in link of cmd/dot. Closes: #755232.
Checksums-Sha1:
 08c6c93c1998ed3edee3587d2d6d2a1556476709 2603 graphviz_2.38.0-4.dsc
 f12353213e2ab912f4871a311b011b1b1ab81642 43604 graphviz_2.38.0-4.debian.tar.xz
 0f60ac5470460d67302c9362dc4ec925b9b902da 3624994 graphviz-doc_2.38.0-4_all.deb
 89069e04dab5b21817c1d3eed8bd02c350e7103f 50996 graphviz-dev_2.38.0-4_all.deb
 9ea8c98dd1fe3356a6e4ef237124fb130e3bd994 782368 graphviz_2.38.0-4_amd64.deb
 3b80ce791bdc7516f1d358916366e7c2c8dfbec2 69176 libgv-guile_2.38.0-4_amd64.deb
 4dbb7ee15c870b02a29f738a9f3784caaf1a0b23 77864 libgv-lua_2.38.0-4_amd64.deb
 8f805d821a783008707b151529c473a32b39d3ad 84130 libgv-perl_2.38.0-4_amd64.deb
 2a49111355c1aa79632587c4d44e3ad6fe2ec08c 74570 libgv-php5_2.38.0-4_amd64.deb
 efb91cd8f141e97c2464854bb6d4500fa120a3e1 77774 libgv-python_2.38.0-4_amd64.deb
 5018d5eca79275e5c4ff182b4fceddcb2a962478 72720 libgv-ruby_2.38.0-4_amd64.deb
 e7e14c7a29bc87f070538d324d62289f6bbafc7d 734818 libgv-tcl_2.38.0-4_amd64.deb
 a84a9a774503ce87ddfe5df311a8b6547be49142 84714 libcgraph6_2.38.0-4_amd64.deb
 e7ce6ef58a5f38d4810a14aefeaacf00c2d1da40 62370 libcdt5_2.38.0-4_amd64.deb
 62b107962eaef7fdf7b02d96716fdb65df6a405e 65666 libpathplan4_2.38.0-4_amd64.deb
 2fa1e64b8fd95201d97abc7d5981eed696bee2fa 632490 libgvc6_2.38.0-4_amd64.deb
 c22f05fbbce4bfef3b7c6744f38f286f4a35869f 60192 libgvc6-plugins-gtk_2.38.0-4_amd64.deb
 01cbafb8acded7351b9534dde6dcc3f68cadcee2 211846 libgvpr2_2.38.0-4_amd64.deb
 9c5d3d74bca2794d7167efe15dccbfee68af76d6 58438 libxdot4_2.38.0-4_amd64.deb
 61f94a16685d50cf9efec879d501fe0d7786bf05 101584 libgraphviz-dev_2.38.0-4_amd64.deb
Checksums-Sha256:
 9975ef04c23ae316883ba6c9db6efd0ff1e56ea688413ccbd0365ff62409c55e 2603 graphviz_2.38.0-4.dsc
 6d06871fa4467a648f4433d067377c9c600a2d341348f02846350ddfeb628f14 43604 graphviz_2.38.0-4.debian.tar.xz
 e389704a9d531c25bd93c2df0eb3f7b6fc295f663e2e748918b33317c1196474 3624994 graphviz-doc_2.38.0-4_all.deb
 988ea267263b2a40c15eed3f78a2651e558affebe9098702dac4ba876047ba90 50996 graphviz-dev_2.38.0-4_all.deb
 b7bfe40314765e3505c52cb928d03c8cc151dcd96dd5e7bbd5fd9d341d408fc8 782368 graphviz_2.38.0-4_amd64.deb
 597ba1a8631f61aeff550e1c7d783b9b71c46ff574be8761604eb899fc773336 69176 libgv-guile_2.38.0-4_amd64.deb
 ef4b984e26b6fa5a2e075f41d01399797494453d898ed6631c636a17c8af586f 77864 libgv-lua_2.38.0-4_amd64.deb
 cad419c7336ea991c607f0973e169fb05fd5bfa11cd5b4156c0e1dc1024155d4 84130 libgv-perl_2.38.0-4_amd64.deb
 3dfa3bf112ba1dd76660d62a6f5e09e55304a1f945c7467c3132597f3581f762 74570 libgv-php5_2.38.0-4_amd64.deb
 12a35fff5e663ff064a23cef2daa330ef6942e0e1e3277cc2a5a2987e416b50d 77774 libgv-python_2.38.0-4_amd64.deb
 d302598ecd13333190ebd6a9dec3114f310068dbaa86f1020408b5ea144eefb9 72720 libgv-ruby_2.38.0-4_amd64.deb
 6d20d99978b1d9b9f0669e9ce49c49195e2a1ccd3c04e64acf268ec75ed84c46 734818 libgv-tcl_2.38.0-4_amd64.deb
 b8f476555e21458b6359c119edb4ecf77b830f05ea36ee193791eaf240528ddd 84714 libcgraph6_2.38.0-4_amd64.deb
 a5005ccc25651c631d698e303d112448b959b746c5c6eb1c085c6ebd679d610f 62370 libcdt5_2.38.0-4_amd64.deb
 a036deefe3db1cbf1ebf21a0cf1d57ca4064ba60c9b8a15f6d0f2344c0200b99 65666 libpathplan4_2.38.0-4_amd64.deb
 b500f9edfe70a078a6397b73dc8ec75f2d2eea3a63243a6d50d15f924d25aaba 632490 libgvc6_2.38.0-4_amd64.deb
 34575224031c0bf035915485635b813fd28354e388375c67a1d45b31a747f000 60192 libgvc6-plugins-gtk_2.38.0-4_amd64.deb
 0e086b792b1c3d097fe4906f171d857118eeb75224a7a12ab5fd906f9150a0d7 211846 libgvpr2_2.38.0-4_amd64.deb
 7efca374f0f92dc10af2cfd22de38d6f069e5d9545368b4d54f49bb3e38b1a00 58438 libxdot4_2.38.0-4_amd64.deb
 5e9f3a8c9e8dd15cb01878a55b7c2b0eda9c9d407bf0e99f2c740d1ac1564836 101584 libgraphviz-dev_2.38.0-4_amd64.deb
Files:
 b0f836c40841160612265db249d2b9c9 3624994 doc optional graphviz-doc_2.38.0-4_all.deb
 186fb8fe474053bb577732ec4309e658 50996 oldlibs extra graphviz-dev_2.38.0-4_all.deb
 2300b377953282a9318e4bd87e403eee 782368 graphics optional graphviz_2.38.0-4_amd64.deb
 7fac783ec08fb9968993c2010850f50e 69176 interpreters optional libgv-guile_2.38.0-4_amd64.deb
 ab8950291a315cac2f614948b0c2a3fe 77864 interpreters optional libgv-lua_2.38.0-4_amd64.deb
 e1afa080854334310d94183b18304f5c 84130 perl optional libgv-perl_2.38.0-4_amd64.deb
 b36a08ff9ffca213f5b1b43f15e14576 74570 php optional libgv-php5_2.38.0-4_amd64.deb
 143d8939b7a09f0b7978d383c3947c65 77774 python optional libgv-python_2.38.0-4_amd64.deb
 f44af7b29f74c78343ba9b264b9f98f1 72720 ruby optional libgv-ruby_2.38.0-4_amd64.deb
 a9b02a83c8420e1a8865bce5b765b850 734818 interpreters optional libgv-tcl_2.38.0-4_amd64.deb
 c8d30f89b6617fa9638dd77d3e9fe7cf 84714 libs optional libcgraph6_2.38.0-4_amd64.deb
 9052e33ca35174c21dd559cc98027446 62370 libs optional libcdt5_2.38.0-4_amd64.deb
 c31d3d9d60aa39265c6ecfdfc886a36c 65666 libs optional libpathplan4_2.38.0-4_amd64.deb
 b256d3715fb364943e32e8376ceff1de 632490 libs optional libgvc6_2.38.0-4_amd64.deb
 9bc073e2124a61e6e0c7c0370d41d1e1 60192 libs optional libgvc6-plugins-gtk_2.38.0-4_amd64.deb
 c9c82596b24eac4f03e918d37fe1bef7 211846 libs optional libgvpr2_2.38.0-4_amd64.deb
 4eb3851e4777a581017670a0ae82a882 58438 libs optional libxdot4_2.38.0-4_amd64.deb
 fe8d880b4e6fd22e9dbe221dd8ebdd1b 101584 libdevel optional libgraphviz-dev_2.38.0-4_amd64.deb
 14d0e83f11a77e5b2d764a7502a141da 2603 graphics optional graphviz_2.38.0-4.dsc
 892a6e444bd50a4681ebe76f98fd13c0 43604 graphics optional graphviz_2.38.0-4.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlPKZgYACgkQStlRaw+TLJxUTACfc1W7kCEErdVFWbbmfej6GEml
IDMAn0Yesd0dN7RJzkgfqDOSB8gjvS36
=GGFU
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: