Skip to content

Instantly share code, notes, and snippets.

@jungle-boogie
jungle-boogie / gist:0e1e3eef359ec930e0cc
Created November 13, 2015 03:12
miller failure on f8f230
mlr --csvlite sec2gmt sec ./reg_test/input/sec2gmt
sec
1970-01-01T00:00:00Z
1970-01-01T00:00:01Z
--- 4757,4780 ----
1500000000,2017-07-14T02:40:00Z
2000000000,2033-05-18T03:33:20Z
mlr --csvlite put $sec=gmt2sec($gmt) ./reg_test/input/gmt2sec
gmt,sec
% mlr --csvlite sec2gmt sec ./reg_test/input/sec2gmt
sec
1970-01-01T00:00:00Z
1970-01-01T00:00:01Z
1970-01-01T00:00:10Z
1970-01-01T00:01:40Z
1970-01-01T00:16:40Z
1970-01-01T02:46:40Z
1970-01-02T03:46:40Z
1970-01-12T13:46:40Z
% mlr --csvlite put '$sec=gmt2sec($gmt)' ./reg_test/input/gmt2sec
gmt,sec
1970-01-01T00:00:00Z,0
1970-01-01T00:00:01Z,1
1970-01-01T00:00:10Z,10
1970-01-01T00:01:40Z,100
1970-01-01T00:16:40Z,1000
1970-01-01T02:46:40Z,10000
1970-01-02T03:46:40Z,100000
1970-01-12T13:46:40Z,1000000
# $FreeBSD: releng/10.2/etc/group 256366 2013-10-12 06:08:18Z rpaulo $
#
wheel:*:0:root,freebsd,john
daemon:*:1:
kmem:*:2:
sys:*:3:
tty:*:4:
operator:*:5:root
mail:*:6:
bin:*:7:
EventOccurred,EventType,Description,Status,PaymentType,NameonAccount,TransactionNumber,Amount
10/1/2015,Charged Back,Reason: Authorization Revoked By Customer,Disputed,Checking,John,1,$230.36
10/1/2015,Charged Back,Reason: Authorization Revoked By Customer,Disputed,Checking,Fred,2,$32.25
10/1/2015,Charged Back,Reason: Customer Advises Not Authorized,Disputed,Checking,Bob,3,$39.02
10/1/2015,Charged Back,Reason: Authorization Revoked By Customer,Disputed,Checking,Alice,4,$57.54
10/1/2015,Charged Back,Reason: Authorization Revoked By Customer,Disputed,Checking,Jungle,5,$230.36
10/1/2015,Charged Back,Reason: Payment Stopped,Disputed,Checking,Joe,6,$281.96
10/2/2015,Charged Back,Reason: Customer Advises Not Authorized,Disputed,Checking,Joseph,7,$188.19
10/2/2015,Charged Back,Reason: Customer Advises Not Authorized,Disputed,Checking,Joseph,8,$188.19
10/2/2015,Charged Back,Reason: Payment Stopped,Disputed,Checking,Anthony,9,$250.00
% sudo make -f Makefile.no-autoconfig CC=clang mlr install
make -C dsls -f Makefile.no-autoconfig put_dsl_parse.o
`put_dsl_parse.o' is up to date.
make -C dsls -f Makefile.no-autoconfig put_dsl_lexer.o
`put_dsl_lexer.o' is up to date.
make -C dsls -f Makefile.no-autoconfig put_dsl_wrapper.o
`put_dsl_wrapper.o' is up to date.
make -C dsls -f Makefile.no-autoconfig filter_dsl_parse.o
`filter_dsl_parse.o' is up to date.
make -C dsls -f Makefile.no-autoconfig filter_dsl_lexer.o
% make -f Makefile.no-autoconfig CC=clang mlrp
make -C dsls -f Makefile.no-autoconfig put_dsl_parse.o
clang -o lemon lemon.c
lemon.c:2328:1: warning: control may reach end of non-void function [-Wreturn-type]
}
^
lemon.c:3085:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
2 warnings generated.
/bin/sh ../libtool --tag=CC --mode=link cc -Wall -Werror -std=gnu99 -O3 -g -O2 -o mlr mlrmain.o cli/libcli.la containers/libcontainers.la stream/libstream.la input/libinput.la mapping/libmapping.la output/liboutput.la lib/libmlr.la dsls/libfdsl.la dsls/libpdsl.la -lm
libtool: link: cc -Wall -Werror -std=gnu99 -O3 -g -O2 -o mlr mlrmain.o cli/.libs/libcli.a containers/.libs/libcontainers.a stream/.libs/libstream.a input/.libs/libinput.a mapping/.libs/libmapping.a output/.libs/liboutput.a lib/.libs/libmlr.a dsls/.libs/libfdsl.a dsls/.libs/libpdsl.a -lm
cc -DHAVE_CONFIG_H -I. -I.. -I. -std=gnu99 -g -g -O2 -MT mlrg-mlrmain.o -MD -MP -MF .deps/mlrg-mlrmain.Tpo -c -o mlrg-mlrmain.o `test -f 'mlrmain.c' || echo './'`mlrmain.c
mv -f .deps/mlrg-mlrmain.Tpo .deps/mlrg-mlrmain.Po
/bin/sh ../libtool --tag=CC --mode=link cc -std=gnu99 -g -g -O2 -o mlrg mlrg-mlrmain.o cli/libcli.la containers/libcontainers.la stream/libstream.la input/libinput.la mapping/libmapping.la output/liboutput.la lib/
make test_argparse
cc -DHAVE_CONFIG_H -I. -I../.. -D__TEST_ARGPARSE_MAIN__ -I./../ -std=gnu99 -g -O2 -MT test_argparse-test_argparse.o -MD -MP -MF .deps/test_argparse-test_argparse.Tpo -c -o test_argparse-test_argparse.o `test -f 'test_argparse.c' || echo './'`test_argparse.c
mv -f .deps/test_argparse-test_argparse.Tpo .deps/test_argparse-test_argparse.Po
make[3]: don't know how to make ../containers/libcontainers.la. Stop
make[3]: stopped in /usr/home/sean/bin/miller/c/cli
*** Error code 2
Stop.
make[2]: stopped in /usr/home/sean/bin/miller/c/cli
% autoreconf -if && ./configure CC=clang && make
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, 'autotools'.
libtoolize: copying file 'autotools/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
libtoolize: copying file 'm4/libtool.m4'
libtoolize: copying file 'm4/ltoptions.m4'
libtoolize: copying file 'm4/ltsugar.m4'
libtoolize: copying file 'm4/ltversion.m4'
libtoolize: copying file 'm4/lt~obsolete.m4'
libtoolize: Consider adding '-I m4' to ACLOCAL_AMFLAGS in Makefile.am.