Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000290graphvizBuild/Installpublic2003-10-09 21:002011-04-28 04:02
ReporterMarius Mauch 
Assigned Toellson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOS*-Linux-GentooOS Version
Summary0000290: build process fails with coreutils-5
Description



coreutils-5 deprecated the -# syntax for head/tail/sort that is used in
at least one of your Makefiles. If I try to build graphviz-1.10 on a system
with coretutils-5 I get the following build error:



<CD>
Making all in common
make[3]: Entering directory `/var/tmp/portage/graphviz-1.10/work/graphviz-1.10/dotneato/common'
source='arrows.c' object='arrows.lo' libtool=yes \
depfile='.deps/arrows.Plo' tmpdepfile='.deps/arrows.TPlo' \
depmode=gcc3 /bin/sh ../../depcomp \
/bin/sh ../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dotneato/dotgen -I../../dotneato/neatogen -I../../dotneato/twopigen -I../../graph -I../../cdt -I../../pathplan -I../../gd -march=pentium3 -Os -pipe -ffast-math -fomit-frame-pointer -Wall -Wno-unknown-pragmas -c -o arrows.lo `test -f arrows.c || echo './'`arrows.c
sed s/_//g color_names | sort +0 -1 > color_lib
sort: invalid option -- 1
Try `sort --help' for more information.
sed: couldn't write 1 item to stdout: Broken pipe
make[3]: *** [color_lib] Error 2
make[3]: *** Waiting for unfinished jobs....
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dotneato/dotgen -I../../dotneato/neatogen -I../../dotneato/twopigen -I../../graph -I../../cdt -I../../pathplan -I../../gd -march=pentium3 -Os -pipe -ffast-math -fomit-frame-pointer -Wall -Wno-unknown-pragmas -c arrows.c -MT arrows.lo -MD -MP -MF .deps/arrows.TPlo -fPIC -DPIC -o arrows.lo
make[3]: Leaving directory `/var/tmp/portage/graphviz-1.10/work/graphviz-1.10/dotneato/common'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/graphviz-1.10/work/graphviz-1.10/dotneato'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/graphviz-1.10/work/graphviz-1.10'
make: *** [all] Error 2
</CD>



I was able to fix that by changing line 533 in dotneato/common/Makefile (which
is generated by line 40 in Makefile.am).
Additional Information

[ellson} These coreutil guys are the ones that changed sort's default
behaviour away from C sort order a couple of years ago,
breaking a number of our scripts and Makefiles that had worked just fine
for ten years!

What language's collate sequence could possibly result in color_names
sorting to this?
<CD>
    azure1 240 255 255
    azure2 224 238 238
    azure 240 255 255
    azure3 193 205 205
    azure4 131 139 139
</CD>


TagsNo tags attached.
AUXILLARY-FILES
DATE-FIXED
FIX-COMMENT 
I was able to fix that by changing line 533 in dotneato/common/Makefile (which
is generated by line 40 in Makefile.am) from $(SORT) +0 -1 to $(SORT) -k0,1

[ellson] Neither '-k0,1' nor '-k1,2' worked here. Instead '-k1,1' worked, but
it looks like
a
FORMER-ID361
INPUT-FILE
OUTPUT-FILE
STATUS-COMMENTFixed (10 October 2003)
VERSION     1.10
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user695


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