Opened 14 years ago

Last modified 14 years ago

#27193 closed defect

pyqt4 hang at configure — at Version 9

Reported by: matteobachetti@… Owned by: michaelld@…
Priority: Normal Milestone:
Component: ports Version: 1.9.1
Keywords: Cc: and.damore@…
Port: py26-pyqt4

Description (last modified by anddam (Andrea D'Amore))

Good morning, I have a problem with pyqt4. I'm running an upgrade (upgrade outdated) and when it reaches pyqt4 (both the py25 and the py26 versions) it hangs during configure. I've run it with the debug mode but it gives no errors, it justs stays in the configure script forever (at least 10 hours...) Here's the line of the debug output where it hangs:

DEBUG: Assembled command: 'cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.
org_release_ports_python_py26-pyqt4/work/PyQt-mac-gpl-4.7.7" &&
/opt/local/bin/python2.6 configure.py  -q /opt/local/bin/qmake 
--confirm-license LFLAGS="-F/opt/local/Library/Frameworks -L/opt/local/lib"'

Any ideas? Thanks in advance, Matteo

Change History (12)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Owner: changed from macports-tickets@… to michaelld@…

comment:2 Changed 14 years ago by michaelld (Michael Dickens)

It also gets stuck for me at the same place, which is strange because I know I just installed it correctly maybe a week ago. Running the 'configure.py' script by hand seems to work, so I'm guessing this issue is due to a change in 'port' itself.

comment:3 in reply to:  2 ; Changed 14 years ago by matteobachetti@…

Replying to michaelld@…:

It also gets stuck for me at the same place, which is strange because I know I just installed it correctly maybe a week ago. Running the 'configure.py' script by hand seems to work, so I'm guessing this issue is due to a change in 'port' itself.

I tried to run it by hand, copying the command from the command line, and it gets stuck after saying "Determining the layout of your Qt installation...". If I press Ctrl+C to stop it, the following message comes out:

Traceback (most recent call last):
  File "configure.py", line 2138, in <module>
    main()
  File "configure.py", line 2073, in main
    macros = get_build_macros(args)
  File "configure.py", line 1743, in get_build_macros
    return sipconfig.parse_build_macros(fname, names, overrides, properties)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/sipconfig.py", line 2495, in parse_build_macros
    estart = rhs.find("$$(")

Is it the same for you?

comment:4 Changed 14 years ago by anddam (Andrea D'Amore)

Cc: and.damore@… added

Cc Me!

comment:5 in reply to:  2 Changed 14 years ago by anddam (Andrea D'Amore)

Replying to michaelld@…:

It also gets stuck for me at the same place, which is strange because I know I just installed it correctly maybe a week ago. Running the 'configure.py' script by hand seems to work, so I'm guessing this issue is due to a change in 'port' itself.

I'm assuming you are on trunk but a regular user is likely gonna use a stable release. Has stable been updated lately?

comment:6 in reply to:  3 ; Changed 14 years ago by anddam (Andrea D'Amore)

Replying to matteobachetti@…:

I tried to run it by hand, copying the command from the command line, and it gets stuck after saying "Determining the layout of your Qt installation...".

Did you run a port selfupdate?

Can you try to run configure.py with -v python option?

I'm attaching the output of my output, I'm quickly asked to accept the GPL license terms.

Changed 14 years ago by anddam (Andrea D'Amore)

comment:7 in reply to:  6 Changed 14 years ago by matteobachetti@…

Replying to and.damore@…:

Replying to matteobachetti@…:

I tried to run it by hand, copying the command from the command line, and it gets stuck after saying "Determining the layout of your Qt installation...".

Did you run a port selfupdate?

Can you try to run configure.py with -v python option?

I'm attaching the output of my output, I'm quickly asked to accept the GPL license terms.

I'm attaching mine. Yes, I ran selfupdate and now the version of Macports is 1.9.2

Changed 14 years ago by matteobachetti@…

Attachment: macports_output.txt added

Changed 14 years ago by matteobachetti@…

comment:8 Changed 14 years ago by matteobachetti@…

Sorry, the first file name was misleading so I resubmitted it with a better name. You can delete the first, if possible.

comment:9 in reply to:  8 Changed 14 years ago by anddam (Andrea D'Amore)

Description: modified (diff)

Replying to matteobachetti@…:

Sorry, the first file name was misleading so I resubmitted it with a better name. You can delete the first, if possible.

Another user found a neverending loop in site-packages/sipconfig.py, maybe this error is due to py26-sip port.

What py26-sip version do you have?

Note: See TracTickets for help on using tickets.