{"action":"opened","issue":{"url":"https://api.github.com/repos/lxi-tools/lxi-tools/issues/12","repository_url":"https://api.github.com/repos/lxi-tools/lxi-tools","labels_url":"https://api.github.com/repos/lxi-tools/lxi-tools/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/lxi-tools/lxi-tools/issues/12/comments","events_url":"https://api.github.com/repos/lxi-tools/lxi-tools/issues/12/events","html_url":"https://github.com/lxi-tools/lxi-tools/issues/12","id":295140926,"number":12,"title":"configure fails to find QT libs on FreeBSD","user":{"login":"dmgk","id":5332688,"avatar_url":"https://avatars0.githubusercontent.com/u/5332688?v=4","gravatar_id":"","url":"https://api.github.com/users/dmgk","html_url":"https://github.com/dmgk","followers_url":"https://api.github.com/users/dmgk/followers","following_url":"https://api.github.com/users/dmgk/following{/other_user}","gists_url":"https://api.github.com/users/dmgk/gists{/gist_id}","starred_url":"https://api.github.com/users/dmgk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmgk/subscriptions","organizations_url":"https://api.github.com/users/dmgk/orgs","repos_url":"https://api.github.com/users/dmgk/repos","events_url":"https://api.github.com/users/dmgk/events{/privacy}","received_events_url":"https://api.github.com/users/dmgk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-07T13:39:40Z","updated_at":"2018-02-07T13:39:40Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"v1.18 switched from PKG_CHECK_MODULES to AC_CHECK_LIB, which broke FreeBSD build:\r\n\r\n```\r\n(cd /usr/home/dg/ports/misc/lxi-tools/work/lxi-tools-1.18 &&  _LATE_CONFIGURE_ARGS=\"\" ;  if [ -z \"\" ] &&  ./configure --help 2>&1 | /usr/bin/grep -- --localstatedir > /dev/null; then  _LATE_CONFIGURE_ARGS=\"${_LATE_CONFIGURE_ARGS} --localstatedir=/var\" ;  fi ;  if [ ! -z \"`./configure --help 2>&1 | /usr/bin/grep -- '--mandir'`\" ]; then  _LATE_CONFIGURE_ARGS=\"${_LATE_CONFIGURE_ARGS} --mandir=/usr/local/man\" ;  fi ;  if [ ! -z \"`./configure --help 2>&1 | /usr/bin/grep -- '--disable-silent-rules'`\" ]; then  _LATE_CONFIGURE_ARGS=\"${_LATE_CONFIGURE_ARGS} --disable-silent-rules\" ;  fi ;  if [ ! -z \"`./configure --help 2>&1 | /usr/bin/grep -- '--enable-jobserver\\[.*#\\]'`\" ]; then  _LATE_CONFIGURE_ARGS=\"${_LATE_CONFIGURE_ARGS} --enable-jobserver=4\" ;  fi ;  if [ ! -z \"`./configure --help 2>&1 | /usr/bin/grep -- '--infodir'`\" ]; then  _LATE_CONFIGURE_ARGS=\"${_LATE_CONFIGURE_ARGS} --infodir=/usr/local/info/\" ;  fi ;  if [ -z \"`./configure --version 2>&1 | /usr/bin/egrep -i '(autoconf.*2\\.13|Unrecognized option)'`\" ]; then  _LATE_CONFIGURE_ARGS=\"${_LATE_CONFIGURE_ARGS} --build=amd64-portbld-freebsd11.1\" ;  else  _LATE_CONFIGURE_ARGS=\"${_LATE_CONFIGURE_ARGS} amd64-portbld-freebsd11.1\" ;  fi ;  if ! /usr/bin/env CC=\"cc\" CPP=\"cpp\" CXX=\"c++\"  CFLAGS=\"-O2 -pipe  -D_WITH_GETLINE -fstack-protector -isystem /usr/local/include -fno-strict-aliasing\" CPPFLAGS=\"-I/usr/local/include -isystem /usr/local/include\" CXXFLAGS=\"-O2 -pipe -D_WITH_GETLINE -fstack-protector -isystem /usr/local/include -fno-strict-aliasing  -isystem /usr/local/include\"  LDFLAGS=\" -L/usr/local/lib -fstack-protector\" LIBS=\"-L/usr/local/lib\"  INSTALL=\"/usr/bin/install -c\"  INSTALL_DATA=\"install  -m 0644\"  INSTALL_LIB=\"install  -s -m 0644\"  INSTALL_PROGRAM=\"install  -s -m 555\"  INSTALL_SCRIPT=\"install  -m 555\"  QT_SELECT=qt5 QMAKEMODULES=\"/usr/home/dg/ports/misc/lxi-tools/work/lxi-tools-1.18/mkspecs/modules:/usr/local/lib/qt5/mkspecs/modules\" PKG_CONFIG=pkgconf XDG_DATA_HOME=/usr/home/dg/ports/misc/lxi-tools/work  XDG_CONFIG_HOME=/usr/home/dg/ports/misc/lxi-tools/work  HOME=/usr/home/dg/ports/misc/lxi-tools/work PATH=/usr/home/dg/ports/misc/lxi-tools/work/.bin:/home/dg/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin:/home/dg/bin SHELL=/bin/sh CONFIG_SHELL=/bin/sh QTDIR=\"/usr/local/lib/qt5\" QMAKE=\"/usr/local/lib/qt5/bin/qmake\"  MOC=\"/usr/local/lib/qt5/bin/moc\" RCC=\"/usr/local/lib/qt5/bin/rcc\" UIC=\"/usr/local/lib/qt5/bin/uic\"  QMAKESPEC=\"/usr/local/lib/qt5/mkspecs/freebsd-$(ccver=\"$(c++ --version)\"; case \"$ccver\" in *clang*) echo clang ;; *) echo g++ ;; esac)\" CMAKE_PREFIX_PATH=\"/usr/local\" CONFIG_SITE=/home/dg/ports/Templates/config.site lt_cv_sys_max_cmd_len=262144 ./configure --disable-static --without-bash-completion-dir --enable-lxi-gui --with-qt-includes=/usr/local/include/qt5  --with-qt-libraries=/usr/local/lib/qt5  --with-extra-includes=/usr/local/include  --with-extra-libs=/usr/local/lib --x-libraries=/usr/local/lib --x-includes=/usr/local/include --prefix=/usr/local ${_LATE_CONFIGURE_ARGS}; then  echo \"===>  Script \\\"configure\\\" failed unexpectedly.\";  (echo \"Please report the problem to dg@syrec.org [maintainer] and attach the \\\"/usr/home/dg/ports/misc/lxi-tools/work/lxi-tools-1.18/config.log\\\" including the output of the failure of your make command. Also, it might be a good idea to provide an overview of all packages installed on your system (e.g. a /usr/local/sbin/pkg-static info -g -Ea).\") | /usr/bin/fmt 75 79 ;  false;  fi)\r\nconfigure: WARNING: unrecognized options: --with-qt-includes, --with-qt-libraries, --with-extra-includes, --with-extra-libs\r\n```\r\n\r\nconfigure.ac expects to find libQt5*.so in \"the usual places\" but on FreeBSD they are in /usr/local/lib/qt5. Ports framework passes QT include/lib paths in `--with-qt-includes` and `--with-qt-libraries` args which need to be respected for confugure to succeed."}}
{"actor":{"display_login":"dmgk"}}