| Summary: | /ports/multimedia/qmmp not compile | ||
|---|---|---|---|
| Product: | Ports & Packages | Reporter: | Belansky Stanislav <stanislav> |
| Component: | Individual Port(s) | Assignee: | Eitan Adler <eadler> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | Latest | ||
| Hardware: | Any | ||
| OS: | Any | ||
Maintainer of multimedia/qmmp,
Please note that PR ports/169684 has just been submitted.
If it contains a patch for an upgrade, an enhancement or a bug fix
you agree on, reply to this email stating that you approve the patch
and a committer will take care of it.
The full text of the PR can be found at:
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/169684
--
Edwin Groothuis via the GNATS Auto Assign Tool
edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool) Thank you for an exact report. I am sorry but any perfect solution
are not found.
This problem has been very important since this port was introduced,
but I do not have any good ideas. The current build system usually
loads header files from installed version instead of source tree,
even if former one is older. When a package of certain version is
installed, patch level (micro) upgrading might work without error,
but minor release upgrading (like from v0.5.x to v0.6.x) should result
always in fail because of version incompatibility of header files.
There may be three ways to workaround. Please choose select one of
them and apply it by your hand:
A) Uninstall (pkg_delete) qmmp-0.5.6. Then upgrading the port
should finish with hopefully no errors.
B) Remove installed header files. Package manager may blame
that some files does not exsist when uninstallation, but will
not stop its process.
C) Edit search order of header file paths. To do this, after the
phase of 'make configure', run the following command:
cd ports/multimedia/qmmp ; \
find work/.build -type f -name flags.make -exec \
sed -i.bak -e '/_FLAGS =3D /s|-I/usr/local/include |g' \
-e '/_FLAGS =3D /s|$| -I/usr/local/include|' {} +
When you apply the third measures during compilation, portupgrade
also may pass the process safely.
Uglyness of these kludges are all caused by my shortage of CMake
knowledge.
SimaMoto,Ry=C5=8DTa <liangtai.s4@gmail.com>
07.07.2012 09:10, RyÅTa SimaMoto: > The following reply was made to PR ports/169684; it has been noted by GNATS. > > From: =?UTF-8?Q?Ry=C5=8DTa_SimaMoto?= <liangtai.s4@gmail.com> > To: bug-followup@freebsd.org, stanislav@icmail.ru > Cc: > Subject: Re: ports/169684: /ports/multimedia/qmmp not compile > Date: Sat, 7 Jul 2012 14:01:34 +0900 > > Thank you for an exact report. I am sorry but any perfect solution > are not found. > > This problem has been very important since this port was introduced, > but I do not have any good ideas. The current build system usually > loads header files from installed version instead of source tree, > even if former one is older. When a package of certain version is > installed, patch level (micro) upgrading might work without error, > but minor release upgrading (like from v0.5.x to v0.6.x) should result > always in fail because of version incompatibility of header files. > > There may be three ways to workaround. Please choose select one of > them and apply it by your hand: > A) Uninstall (pkg_delete) qmmp-0.5.6. Then upgrading the port > should finish with hopefully no errors. > B) Remove installed header files. Package manager may blame > that some files does not exsist when uninstallation, but will > not stop its process. > C) Edit search order of header file paths. To do this, after the > phase of 'make configure', run the following command: > cd ports/multimedia/qmmp ; \ > find work/.build -type f -name flags.make -exec \ > sed -i.bak -e '/_FLAGS =3D /s|-I/usr/local/include |g' \ > -e '/_FLAGS =3D /s|$| -I/usr/local/include|' {} + > When you apply the third measures during compilation, portupgrade > also may pass the process safely. > > Uglyness of these kludges are all caused by my shortage of CMake > knowledge. > > SimaMoto,Ry=C5=8DTa <liangtai.s4@gmail.com> > _______________________________________________ > freebsd-ports-bugs@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-ports-bugs > To unsubscribe, send any mail to "freebsd-ports-bugs-unsubscribe@freebsd.org" > > Thank you very much. After uninstalling previous version 0.5.6 next version 0.6.0 build successfully. -- Belansky Stanislav State Changed From-To: feedback->closed Problem has been fixed Responsible Changed From-To: freebsd-ports-bugs->eadler I closed it. |
Don't compile new version from ports collection. In console I see next errors: [ 8%] Generating ui_aboutdialog.h Scanning dependencies of target qmmpui [ 8%] Building CXX object src/qmmpui/CMakeFiles/qmmpui.dir/general.o [ 9%] Building CXX object src/qmmpui/CMakeFiles/qmmpui.dir/uihelper.o In file included from /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.cpp:34: /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.h:92: error: 'instance' is not a member of 'PlayListManager' /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.h:94: error: 'instance' is not a member of 'PlayListManager' /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.h:96: error: 'instance' is not a member of 'PlayListManager' /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.h:98: error: 'instance' is not a member of 'PlayListManager' /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.h:100: error: 'instance' is not a member of 'PlayListManager' /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.cpp: In member function 'void UiHelper::loadPlayList(QWidget*, PlayListModel*)': /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.cpp:157: error: invalid use of incomplete type 'struct PlaylistFormat' /usr/local/include/qmmpui/playlistparser.h:25: error: forward declaration of 'struct PlaylistFormat' /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.cpp: In member function 'void UiHelper::savePlayList(QWidget*, PlayListModel*)': /usr/ports/multimedia/qmmp/work/qmmp-0.6.0/src/qmmpui/uihelper.cpp:183: error: invalid use of incomplete type 'struct PlaylistFormat' /usr/local/include/qmmpui/playlistparser.h:25: error: forward declaration of 'struct PlaylistFormat' *** [src/qmmpui/CMakeFiles/qmmpui.dir/uihelper.o] Error code 1 Stop in /usr/ports/multimedia/qmmp/work/.build. *** [src/qmmpui/CMakeFiles/qmmpui.dir/all] Error code 1 Stop in /usr/ports/multimedia/qmmp/work/.build. *** [all] Error code 1 Stop in /usr/ports/multimedia/qmmp/work/.build. *** [do-build] Error code 1 Stop in /usr/ports/multimedia/qmmp. *** [build] Error code 1 Stop in /usr/ports/multimedia/qmmp. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade20120706-86609-1qgvlzp env UPGRADE_TOOL=portupgrade UPGRADE_PORT=qmmp-0.5.6 UPGRADE_PORT_VER=0.5.6 make ** Fix the problem and try again. ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! multimedia/qmmp (qmmp-0.5.6) (unknown build error)