Bug #213788 resulted in a new patch being applied to flow-export in the flow-tools ebuild with a revbump to net-analyzer/flow-tools-0.68-r6. I believe the patch was unnecessary and indeed breaks flow-export: A. Looking at the code prior to the patch, db_tmp was the variable name containing the port number from the command line as a string. db_port then gets the port converted to an integer. Validating db_tmp, the string, was perfectly valid. B. After the patch, the code is truly broken: the line "db_port = atoi(db_tmp);" remains, but the line where db_tmp is set before that is removed, so its value is uninitialized. C. Further evidence: I'm running the original, unpatched code on an Ubuntu box and it works fine (inserting into MySQL, incidentally - haven't tested PostgreSQL, though we do plan to switch to it before going into production). Full disclosure: I haven't actually tested what I'm saying on Gentoo, but just glancing at the code it seems inescapable.
Don't CC when you can't set the Assignee, please.
*** This bug has been marked as a duplicate of bug 213788 ***