Description of problem: pdfedit fails to build from source on aarch64 because it is using -posix switch. It works fine on primary architectures but on aarch64 g++ does not know that switch: 13:53 hrw@pinkiepie-rawhide:puchatek-del$ g++ hello.cc -posix g++: error: unrecognized command line option ‘-posix’ 13:55 hrw@puchatek:del$ g++ -posix hello.cc 13:58 hrw@puchatek:del$ pinkiepie is aarch64, puchatek is x86-64. Both have same version of g++ installed: 13:58 hrw@puchatek:del$ g++ --version g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4) 13:55 hrw@pinkiepie-rawhide:puchatek-del$ g++ --version g++ (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4) Version-Release number of selected component (if applicable): 5.1.1-4 How reproducible: always Steps to Reproduce: 1. g++ -posix hello.cc Actual results: 13:53 hrw@pinkiepie-rawhide:puchatek-del$ g++ hello.cc -posix g++: error: unrecognized command line option ‘-posix’ Expected results: source compiled Additional info:
Just fix up pdfedit not to do it, use portable -D_POSIX_SOURCE instead? These compatibility options really shouldn't be added to new ports.
Thanks Jakub. Will patch.