Opened 20 years ago
Closed 14 years ago
#2255 closed defect (fixed)
BUG: qt3-mac failed on configure
Reported by: | ornstedt@… | Owned by: | blair (Blair Zajac) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ranger@…, blb@…, IngmarStein@…, markd@… | |
Port: | qt3-mac |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
Hi,
I am working on a port of mythtv. I have built it successfully on qt3-mac 3.3.2. However I just wanted to test it now on 3.3.3 before I submitted it...
Unfortunatly it seems to fail now?!?
I get these error messages. This never happened on 3.3.2:
---> Configuring mythtv Error: Target com.apple.configure returned: shell command "/opt/local/bin/qmake /opt/darwinports/dports/multimedia/mythtv/work/myt htv-0.16/mythtv.pro" returned error 2 Command output: QMAKESPEC has not been set, so configuration cannot be deduced. Error processing project file: /opt/darwinports/dports/multimedia/mythtv/work/mythtv-0.16/mythtv.pro
Change History (25)
comment:1 Changed 20 years ago by ornstedt@…
comment:2 Changed 20 years ago by ornstedt@…
I have contacted Trolltech to get some feedback from them on this.
/Janne
comment:3 Changed 20 years ago by ornstedt@…
This is a bug related to symlink issues in Darwinports.
See bug #2057
ls -l 3.3.3_0+mysql/opt/local/share/qt3/mkspecs/default
lrwxr-xr-x 1 ornstedt admin 8 9 Oct 20:14 3.3.3_0+mysql/opt/local/share/qt3/mkspecs/default -> macx-g++
Does not properly get installed.
/Janne
comment:4 Changed 20 years ago by rshaw@…
Status: | new → assigned |
---|
comment:5 Changed 20 years ago by rshaw@…
dependson: | → 2057 |
---|
comment:6 Changed 20 years ago by snu@…
Summary: | Bug in qt3-mac → BUG: qt3-mac |
---|
comment:7 Changed 19 years ago by rshaw@…
Owner: | changed from rshaw@… to darwinports-bugs@… |
---|---|
Status: | assigned → new |
No longer maintaining these ports.
comment:8 Changed 19 years ago by snu@…
dependson: | 2057 |
---|
Unrelated to 2057, which is nothing to do with DarwinPorts.
comment:10 Changed 19 years ago by ornstedt@…
This has nothing todo specific with the qt3-mac code as I tried to point out. I later through debuging found out that its darwinports that drops one important symlink when activating the package.
And because of this breaking qt3-mac. I contacted Trolltech and they agreed with my findings.
Anyway someone removed the link to the bug I thought was more correct but apparently they diagreed that it was related.
I have not recently tested if darwinports has been fixed to resolve this issue.
comment:11 Changed 19 years ago by blb@…
Ah, I see it now; my /opt/local/share/qt3/mkspecs/default/macx-g++ shows
lrwxr-xr-x 1 root admin 161 Aug 27 13:31 macx-g++@ -> /opt/local/var/db/dports/build/ file._Users_blb_adjunct_devel_cvs_projects_OpenDarwin_proj_darwinports_dports_aqua_qt3-mac/work/ qt-mac-free-3.3.4/mkspecs/macx-g++
so it would seem 3.3.4_1 still has this issue. Best idea is most likely for qt3-mac to remove the symlink and manually copy the file.
comment:12 Changed 19 years ago by markd@…
Cc: | blb@… markd@… added |
---|
(In reply to comment #8)
Ah, I see it now; my /opt/local/share/qt3/mkspecs/default/macx-g++ shows
lrwxr-xr-x 1 root admin 161 Aug 27 13:31 macx-g++@ -> /opt/local/var/db/dports/build/ file._Users_blb_adjunct_devel_cvs_projects_OpenDarwin_proj_darwinports_dports_aqua_qt3-mac/work/ qt-mac-free-3.3.4/mkspecs/macx-g++
so it would seem 3.3.4_1 still has this issue. Best idea is most likely for qt3-mac to remove the symlink and manually copy the file.
This patch changes from using a symlink to doing a copy. Qt-mac 3.3.6 does it the same so a patch will be needed in the future also. Can anyone verify this fix?
--- qmake/Makefile.unix.org 2004-09-13 11:24:42.000000000 -0700 +++ qmake/Makefile.unix 2006-03-29 21:03:46.000000000 -0800 @@ -49,7 +49,7 @@
-cp -f @BUILD_PATH@/bin/qmake @QT_INSTALL_BINS@
[ -d @QT_INSTALL_DATA@ ] mkdir -p @QT_INSTALL_DATA@ -cp -R -f @SOURCE_PATH@/mkspecs @QT_INSTALL_DATA@
- -ln -s -f @QMAKESPEC@ @QT_INSTALL_DATA@/mkspecs/default
+ -cp -R -f @QMAKESPEC@ @QT_INSTALL_DATA@/mkspecs/default
- clean
- rm -f $(OBJS) $(QOBJS)
ls -l /opt/local/share/qt3/mkspecs/default/ -rw-r--r-- 2 root admin 568 Mar 29 21:56 Info.plist.app drwxr-xr-x 5 root admin 170 Mar 29 22:00 macx-g++ -rw-r--r-- 2 root admin 2749 Mar 29 21:56 qmake.conf -rw-r--r-- 2 root admin 1965 Mar 29 21:56 qplatformdefs.h
comment:13 Changed 19 years ago by ranger@…
FYI, if the qt3 package is based on my fink package, then it's probably doing a bunch of hand-copying of stuff, because for a long time, qt3's "make install" was busted.
As of 3.3.6, at least, that is no longer the case; I cleaned up the fink package (in my experimental directory; it's not released yet) considerably by moving everything back to doing a "make install".
comment:14 Changed 19 years ago by IngmarStein@…
Cc: | IngmarStein@… added |
---|
So is the qt3-mac port going to be updated for 3.3.6?
comment:15 Changed 18 years ago by rhwood@…
dependson: | → 9402 |
---|
comment:16 Changed 18 years ago by pipping@…
Milestone: | → Available Ports |
---|
comment:17 Changed 18 years ago by pipping@…
Milestone: | Available Ports → Port Bugs |
---|
comment:18 Changed 18 years ago by cssdev
Owner: | changed from macports-tickets@… to blair@… |
---|
Assigning to the port maintainer.
comment:19 Changed 17 years ago by nox@…
Cc: | blb@… leimy@… markd@… added; blb@… leimy@… markd@… removed |
---|---|
Priority: | Expected → Normal |
Summary: | BUG: qt3-mac → BUG: qt3-mac failed on configure |
Version: | 1.0 |
comment:21 Changed 17 years ago by afb@…
Still needed for qt3-mac 3.3.8, as it also links into destroot.
comment:22 Changed 17 years ago by jmroot (Joshua Root)
Owner: | changed from blair@… to blair@… |
---|
comment:23 Changed 16 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|---|
Port: | qt3-mac added |
comment:25 Changed 14 years ago by jmroot (Joshua Root)
Resolution: | → fixed |
---|---|
Status: | new → closed |
This really is a bug in qt3's build system; 'make install' in the qmake subdir tries to create the 'default' link when it already exists (and does so using the build path). Fixed in r72955.
Some more info. These are the versions I have installed:
When using the latter it fails. If I activate the older version everything is fine.
Any ideas?