Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 343217 - Removal of dev-perl/CUFlow (and dev-perl/Cflow) ?
Summary: Removal of dev-perl/CUFlow (and dev-perl/Cflow) ?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Netmon project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-10-29 07:37 UTC by Torsten Veller (RETIRED)
Modified: 2012-02-26 19:07 UTC (History)
2 users (show)

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


Attachments
new ebuild (Cflow-1.053.ebuild,700 bytes, text/plain)
2011-01-26 14:59 UTC, Oleg Gawriloff
Details
fixed ebuild (Cflow-1.053.ebuild,822 bytes, text/plain)
2011-01-26 16:10 UTC, Oleg Gawriloff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Torsten Veller (RETIRED) gentoo-dev 2010-10-29 07:37:47 UTC
Can we remove dev-perl/CUFlow and dev-perl/Cflow?
This requires to remove net-analyzer/FlowScan and dev-perl/JKFlow too.


https://bugs.gentoo.org/buglist.cgi?quicksearch=dev-perl/CUFlow,dev-perl/Cflow,net-analyzer/FlowScan,dev-perl/JKFlow

#194957	[fPIC] dev-perl/Cflow-1.051-r1 compile fails
#240244	dev-perl/Cflow fails to build but ebuild doesn't die (gcc 4.2+ at least)
#294856	dev-perl/Cflow installs in site dir rather than vendor dir
#306911	dev-perl/CUFlow-1.5: CUGrapher.pl don't show graph, if use net-analyzer/rrdtool-1.3.8
Comment 1 Oleg Gawriloff 2011-01-26 14:59:44 UTC
Created attachment 260781 [details]
new ebuild

Here's new dev-perl/Cflow ebuild which solve
#294856 - it install in right place:
>>> Installing (1 of 1) dev-perl/Cflow-1.053
 * checking 7 files for package collisions
--- /usr/
--- /usr/bin/
>>> /usr/bin/flowdumper
--- /usr/share/
--- /usr/share/doc/
>>> /usr/share/doc/Cflow-1.053/
>>> /usr/share/doc/Cflow-1.053/README.bz2
>>> /usr/share/doc/Cflow-1.053/Changes.bz2
--- /usr/share/man/
--- /usr/share/man/man1/
>>> /usr/share/man/man1/flowdumper.1.bz2
--- /usr/lib64/
--- /usr/lib64/perl5/
--- /usr/lib64/perl5/vendor_perl/
--- /usr/lib64/perl5/vendor_perl/5.12.2/
--- /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi/
>>> /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi/Cflow.pm
--- /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi/auto/
>>> /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi/auto/Cflow/
>>> /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi/auto/Cflow/Cflow.so
>>> /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi/auto/Cflow/autosplit.ix

#194957 - compiles normally on amd64:
>>> Unpacking source...
>>> Unpacking Cflow-1.053.tar.gz to /var/tmp/portage/dev-perl/Cflow-1.053/work
>>> Unpacking flow-tools-0.68.tar.gz to /var/tmp/portage/dev-perl/Cflow-1.053/work
>>> Source unpacked in /var/tmp/portage/dev-perl/Cflow-1.053/work
>>> Compiling source in /var/tmp/portage/dev-perl/Cflow-1.053/work/Cflow-1.053 ...
 * Using ExtUtils::MakeMaker
 * perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor INSTALLMAN3DIR=none DESTDIR=/var/tmp/portage/dev-perl/Cflow-1.053/image/
Checking if your kit is complete...
Looks good
Writing Makefile for Cflow
 * emake OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed
make 'OTHERLDFLAGS=-Wl,-O1 -Wl,--as-needed'
cp Cflow.pm blib/lib/Cflow.pm
AutoSplitting blib/lib/Cflow.pm (blib/lib/auto/Cflow)
/usr/bin/perl5.12.2 /usr/lib64/perl5/vendor_perl/5.12.2/ExtUtils/xsubpp  -typemap /usr/lib64/perl5/5.12.2/ExtUtils/typemap  Cflow.xs > Cflow.xsc && mv Cflow.xsc Cflow.c
x86_64-pc-linux-gnu-gcc -c   -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -pipe -fstack-protector -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2 -pipe -march=nocona   -DVERSION=\"1.053\" -DXS_VERSION=\"1.053\" -fPIC "-I/usr/lib64/perl5/5.12.2/x86_64-linux-thread-multi/CORE"   Cflow.c
Running Mkbootstrap for Cflow ()
chmod 644 Cflow.bs
rm -f blib/arch/auto/Cflow/Cflow.so
x86_64-pc-linux-gnu-gcc  -shared -O2 -pipe -march=nocona -fstack-protector -Wl,-O1 -Wl,--as-needed Cflow.o -Wl,-O1 -Wl,--as-needed -o blib/arch/auto/Cflow/Cflow.so     \
           -lnsl        \

chmod 755 blib/arch/auto/Cflow/Cflow.so
cp Cflow.bs blib/arch/auto/Cflow/Cflow.bs
chmod 644 blib/arch/auto/Cflow/Cflow.bs
/usr/bin/perl5.12.2 "-Iblib/arch" "-Iblib/lib" flowdumper.PL flowdumper
cp flowdumper blib/script/flowdumper
/usr/bin/perl5.12.2 -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/flowdumper
Manifying blib/man1/flowdumper.1
>>> Source compiled.
 
and #240244 as well

available in my overlay: http://code.google.com/p/barzog-gentoo-overlay/
Comment 2 Oleg Gawriloff 2011-01-26 15:42:39 UTC
Hmm, its seems that in my ebuild flow-tools support is broken, further investigation needed.
Comment 3 Oleg Gawriloff 2011-01-26 16:10:09 UTC
Created attachment 260790 [details]
fixed ebuild

Here's valid one.
At compile stage:
Found flow-tools... using "-DOSU -I../../lib -I../../lib/.. -L../../lib -lft -lz".

Library:
$ ldd /usr/lib64/perl5/vendor_perl/5.12.2/x86_64-linux-thread-multi/auto/Cflow/Cflow.so
        linux-vdso.so.1 =>  (0x00007fff099ff000)
        libft.so.0 => /usr/lib64/libft.so.0 (0x00007f57df4a2000)
        libc.so.6 => /lib64/libc.so.6 (0x00007f57df146000)
        libcrypto.so.1.0.0 => /usr/lib/libcrypto.so.1.0.0 (0x00007f57ded9f000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00007f57deb87000)
        libwrap.so.0 => /lib/libwrap.so.0 (0x00007f57de97f000)
        libz.so.1 => /lib/libz.so.1 (0x00007f57de769000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f57df930000)
        libdl.so.2 => /lib/libdl.so.2 (0x00007f57de565000)
Comment 4 Torsten Veller (RETIRED) gentoo-dev 2012-02-01 12:40:56 UTC
# Sammuli Suominen <ssuominen@gentoo.org> (01 Feb 2012)                                                   
# Masked for removal in 30 days for having unallowed depend for                                           
# unslotted <net-analyzer/rrdtool-1.2 in the same stabilization                                           
# level                                                                                                   
net-analyzer/FlowScan                                                                                     
dev-perl/CUFlow                                                                                           
dev-perl/JKFlow
Comment 5 Torsten Veller (RETIRED) gentoo-dev 2012-02-26 19:07:24 UTC
net-analyzer/FlowScan, dev-perl/CUFlow and dev-perl/JKFlow were removed.
Cflow is still wanted by users.

Closing.