Wireshark ebuilds use gcc-major-version and gcc-minor-version in pkg_pretend and abort if reported version is too old. This check should be unnecessary for binary packages and breaks them when gcc is not installed or too old. If possible, please change it. Some ideas: a) do the check if not merging from binary package, b) move it to a different phase. Reproducible: Always
if [[ ${MERGE_TYPE} != binary ]]; then
maybe even: if [[ ${MERGE_TYPE} != binary ]]; then if [[ $(tc-getCC) =~ gcc ]]; then
oops, that was bash-4.2, use: [[ $(tc-getCC) == *gcc* ]]
fi fi fi (In reply to comment #3) > oops, that was bash-4.2, use: [[ $(tc-getCC) == *gcc* ]] =~ exists in bash 3 too :)
btw. nice idea I think
I'm in the process of removing the entire pkg_pretend and checking to see what breaks...
I removed pkg_pretend() from all ebuilds.
Thanks!