Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 678214 - net-analyzer/argus-clients-3.0.8.2-r2 USE=mysql - ld: rasqlinsert.o: in function `RaInitCurses': rasqlinsert.c:(.text+0x244c): undefined reference to `rl_initialize'
Summary: net-analyzer/argus-clients-3.0.8.2-r2 USE=mysql - ld: rasqlinsert.o: in funct...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-02-17 08:26 UTC by Keith Harrison
Modified: 2019-02-17 12:54 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log (build.log,49.99 KB, text/plain)
2019-02-17 08:26 UTC, Keith Harrison
Details
emerge --info (emerge.info,7.06 KB, application/x-info)
2019-02-17 08:27 UTC, Keith Harrison
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Harrison 2019-02-17 08:26:54 UTC
Created attachment 565620 [details]
build.log

sb2600k ~ # emerge -pqv '=net-analyzer/argus-clients-3.0.8.2-r2::gentoo'
[ebuild     U ] net-analyzer/argus-clients-3.0.8.2-r2 [3.0.8.2-r1] USE="mysql tcpd -debug -ft -geoip -sasl"

...

make[2]: Entering directory '/var/tmp/portage/net-analyzer/argus-clients-3.0.8.2-r2/work/argus-clients-3.0.8.2/examples/ramysql'
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -I. -I../../include -I../../common -I -I./../../libwrap -I/usr/include/mysql -DHAVE_CONFIG_H -c ./rasql.c
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -I. -I../../include -I../../common -I -I./../../libwrap -I/usr/include/mysql -DHAVE_CONFIG_H -c ./rasqlinsert.c
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -I. -I../../include -I../../common -I -I./../../libwrap -I/usr/include/mysql -DHAVE_CONFIG_H -c ./raclient.c
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -I. -I../../include -I../../common -I -I./../../libwrap -I/usr/include/mysql -DHAVE_CONFIG_H -c ./rasqltimeindex.c
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -o ../../bin/rasql rasql.o -Wl,-O1 -Wl,--as-needed -L/usr/lib64/mysql -lmysqlclient  ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm   -ltirpc -lpthread     -lz
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -o ../../bin/rasqltimeindex rasqltimeindex.o  -Wl,-O1 -Wl,--as-needed -L/usr/lib64/mysql -lmysqlclient  ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm   -ltirpc -lpthread     -lz
x86_64-pc-linux-gnu-gcc -O2 -march=native -pipe -fomit-frame-pointer -Wl,-O1 -Wl,--as-needed -o ../../bin/rasqlinsert raclient.o rasqlinsert.o  -Wl,-O1 -Wl,--as-needed -L/usr/lib64/mysql -lmysqlclient  ../../lib/argus_parse.a ../../lib/argus_common.a ../../lib/argus_client.a -lm   -ltirpc -lpthread     -lz -lncurses
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.o: warning: relocation against `rl_redisplay_function' in read-only section `.text'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.o: in function `RaInitCurses':
rasqlinsert.c:(.text+0x244c): undefined reference to `rl_initialize'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.c:(.text+0x2464): undefined reference to `rl_redisplay_function'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.c:(.text+0x2478): undefined reference to `rl_getc_function'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.c:(.text+0x2486): undefined reference to `rl_event_hook'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.c:(.text+0x2499): undefined reference to `rl_set_keyboard_input_timeout'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.c:(.text+0x24a5): undefined reference to `rl_outstream'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.c:(.text+0x24bd): undefined reference to `rl_catch_signals'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.c:(.text+0x24c7): undefined reference to `rl_catch_sigwinch'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.c:(.text+0x25e7): undefined reference to `rl_resize_terminal'
/usr/lib/gcc/x86_64-pc-linux-gnu/7.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: rasqlinsert.o: in function `RaResizeScreen.part.6':
rasqlinsert.c:(.text+0x36d8): undefined reference to `rl_set_screen_size'
Comment 1 Keith Harrison 2019-02-17 08:27:21 UTC
Created attachment 565622 [details]
emerge --info
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2019-02-17 12:39:43 UTC
acsite.m4 does its own mysqlclient library detection which is apparently not compatible with dev-db/mysql-connector-c.
Comment 3 Larry the Git Cow gentoo-dev 2019-02-17 12:54:04 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9869c57802fc123b8e785992106ea54fb65512bf

commit 9869c57802fc123b8e785992106ea54fb65512bf
Author:     Jeroen Roovers <jer@gentoo.org>
AuthorDate: 2019-02-17 12:53:34 +0000
Commit:     Jeroen Roovers <jer@gentoo.org>
CommitDate: 2019-02-17 12:54:00 +0000

    net-analyzer/argus-clients: Fix USE=mysql
    
    Package-Manager: Portage-2.3.60, Repoman-2.3.12
    
    Fixes: https://bugs.gentoo.org/678214
    Signed-off-by: Jeroen Roovers <jer@gentoo.org>

 .../argus-clients/argus-clients-3.0.8.2-r2.ebuild   |  1 +
 .../argus-clients-3.0.8.2-curses-readline.patch     | 21 +++++++++++++++++++++
 2 files changed, 22 insertions(+)