#42128: [NEW] Firebird 2.5 Portfile, still problem compiling -------------------------+-------------------------------- Reporter: jul_bsd@… | Owner: macports-tickets@… Type: submission | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: Port: Firebird | -------------------------+-------------------------------- Comment (by cal@…): Replying to [comment:7 jul_bsd@…]:
* systemicu, it builds almost all at second call and fails on something
stupid. joined B1,B2 logs
{{{ :info:build cp ../../examples/include/*.*
../../gen/firebird/examples/include/
:info:build cp ../../examples/stat/*.* ../../gen/firebird/examples/stat/ :info:build cp ../../examples/udf/*.* ../../gen/firebird/examples/udf/ :info:build cp employee.fdb ../../gen/firebird/examples/empbuild/ :info:build cp: employee.fdb: No such file or directory :info:build gmake[2]: *** [../../gen/firebird/examples/README] Error 1 :info:build gmake[2]: Leaving directory `/opt/local/var/macports/build/_Volumes_Data_myports_database_firebirdsql/Firebird/work/Firebird-2.5.2.26540-0/gen/examples' :info:build gmake[1]: *** [examples_cp] Error 2 :info:build gmake[1]: *** Waiting for unfinished jobs.... }}}
Can't offer any insight on that, sorry. Seems you'll have to dive into the Makefiles and fine out where the missing file should come from.
* includedicu the search_path_first fails in configure. clang only?
{{{ configure:3193: checking for C compiler default output file name configure:3215: /opt/local/bin/gcc-mp-4.9 -pipe -Os -m64 -I/opt/local/include -L/opt/local/var/macports/build/_Volumes_Data_myports_database_firebirdsql/Firebird/work/Firebird-2.5.2.26540-0/extern/icu/source/lib -search_paths_first -L/opt/local/lib -Wl,-headerpad_max_install_names conftest.c -framework CoreFoundation >&5 gcc-mp-4.9: error: unrecognized command line option '-search_paths_first' configure:3219: $? = 1 }}}
It's a linker flag, try with `-Wl,-search_paths_first` if you're passing it to the compiler.
after a build without it, I have an empty extern/icu/source/lib, files are in extern/icu/source/stubdata/
Why is `extern/icu/source/lib` empty when building with included ICU? That sounds wrong to me, but then again, I can only guess at this point short of diving into the Makefiles myself, and I currently have no time to do so. Maybe starting over (`port clean firebird`) would help? -- Ticket URL: <https://trac.macports.org/ticket/42128#comment:8> MacPorts <http://www.macports.org/> Ports system for OS X