Opened 10 years ago

Closed 10 years ago

#45773 closed defect (invalid)

rev-upgrade not parsing Qt4 executables

Reported by: shreyasjoshi15@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.2
Keywords: Cc: neverpanic (Clemens Lang), michaelld (Michael Dickens)
Port:

Description (last modified by larryv (Lawrence Velázquez))

sudo port install umbrello
--->  Computing dependencies for umbrello
--->  Cleaning umbrello
--->  Scanning binaries for linking errors
Warning: Error parsing file /Applications/MacPorts/Qt4/Assistant.app/Contents/MacOS/Assistant: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/Qt4/Designer.app/Contents/MacOS/Designer: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/Qt4/Linguist.app/Contents/MacOS/Linguist: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/Qt4/QMLViewer.app/Contents/MacOS/QMLViewer: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/Qt4/pixeltool.app/Contents/MacOS/pixeltool: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/Qt4/qdbusviewer.app/Contents/MacOS/qdbusviewer: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/Qt4/qhelpconverter.app/Contents/MacOS/qhelpconverter: Error opening or reading file
Warning: Error parsing file /Applications/MacPorts/Qt4/qttracereplay.app/Contents/MacOS/qttracereplay: Error opening or reading file
--->  No broken files found.

Change History (12)

comment:1 Changed 10 years ago by larryv (Lawrence Velázquez)

Cc: cal@… michaelld@… added
Component: portsbase
Description: modified (diff)
Summary: Umbrello Installrev-upgrade not parsing Qt4 executables

Doesn’t look like this has anything to do with umbrello. The rev-upgrade stage is choking on some Qt4 files for some reason.

comment:2 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Why can't these files be opened or read? Do they exist? Are their permissions such that they can be read? Do these applications work? I don't see these errors on my system.

comment:3 in reply to:  2 ; Changed 10 years ago by shreyasjoshi15@…

Replying to ryandesign@…:

Why can't these files be opened or read? Do they exist? Are their permissions such that they can be read? Do these applications work? I don't see these errors on my system.

I don't know, can you please help me on it. How can I check the permission issue here? Also, I get the similar issue, when I try to install the geany. Please suggest me any method to fix it.

comment:4 Changed 10 years ago by shreyasjoshi15@…

Is there any way to re-install the dependencies like qt4? I expect that when I try to install geany or umbrello, it should install the dependencies also. Why can't it install the dependencies?

comment:5 in reply to:  3 Changed 10 years ago by larryv (Lawrence Velázquez)

Replying to shreyasjoshi15@…:

I don't know, can you please help me on it. How can I check the permission issue here?

Run something like this and tell us what it says:

$ for f in Assistant Designer Linguist QMLViewer pixeltool qdbusviewer qhelpconverter qttracereplay ; do ls -l /Applications/MacPorts/Qt4/${f}.app/Contents/MacOS/${f} ; done

Also, I get the similar issue, when I try to install the geany. Please suggest me any method to fix it.

This is not a problem with installing ports. The “Scanning binaries for linking errors” step occurs after everything else has already completed.

comment:6 Changed 10 years ago by shreyasjoshi15@…

Here is the output -

SHREYASs-MacBook-Pro:~ shreyasjoshi$ for f in Assistant Designer Linguist QMLViewer pixeltool qdbusviewer qhelpconverter qttracereplay ; do ls -l /Applications/MacPorts/Qt4/${f}.app/Contents/MacOS/${f} ; done ls: /Applications/MacPorts/Qt4/Assistant.app/Contents/MacOS/Assistant: No such file or directory ls: /Applications/MacPorts/Qt4/Designer.app/Contents/MacOS/Designer: No such file or directory ls: /Applications/MacPorts/Qt4/Linguist.app/Contents/MacOS/Linguist: No such file or directory ls: /Applications/MacPorts/Qt4/QMLViewer.app/Contents/MacOS/QMLViewer: No such file or directory ls: /Applications/MacPorts/Qt4/pixeltool.app/Contents/MacOS/pixeltool: No such file or directory ls: /Applications/MacPorts/Qt4/qdbusviewer.app/Contents/MacOS/qdbusviewer: No such file or directory ls: /Applications/MacPorts/Qt4/qhelpconverter.app/Contents/MacOS/qhelpconverter: No such file or directory ls: /Applications/MacPorts/Qt4/qttracereplay.app/Contents/MacOS/qttracereplay: No such file or directory

comment:7 Changed 10 years ago by shreyasjoshi15@…

SHREYASs-MacBook-Pro:~ shreyasjoshi$ qmake --version QMake version 2.01a Using Qt version 4.8.6 in /opt/local/lib SHREYASs-MacBook-Pro:~ shreyasjoshi$

comment:8 Changed 10 years ago by michaelld (Michael Dickens)

OK; seems like something hosed that part of your MacPorts install. Did you upgrade to a new OS on a new boot drive and then migrate your login & other stuff over?

Anyway, try this:

sudo port -f deactivate qt4-mac
sudo port activate qt4-mac

and see if those files are back.

comment:9 Changed 10 years ago by shreyasjoshi15@…

Thanks! a lot it worked. We can mark it as resolved. But one thing is that I never upgrade to a new OS - this is my first macbook, which I bought 2 months back only. One more problem is that I cannot open geany - I installed geany as sudo port install geany. However, I cannot open geany. There was no error in installation. Perhaps, I can raise an another ticket for it. Why I am discussing this is because I got the qt error while installing geany previously. But, now qt is resolved. However geany installation again works fine - I did again sudo port install geany, which failed earlier . However, I get the error on launching geany from spotlight.

Last login: Wed Nov 5 23:41:48 on ttys001 SHREYASs-MacBook-Pro:~ shreyasjoshi$ /opt/local/bin/geany ; exit;

(process:9410): Gtk-WARNING : Locale not supported by C library.

Using the fallback 'C' locale.

Geany: cannot open display

logout

[Process completed]

comment:10 in reply to:  9 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: newclosed

Please open another ticket for that.

comment:11 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: closedreopened

comment:12 Changed 10 years ago by larryv (Lawrence Velázquez)

Resolution: invalid
Status: reopenedclosed
Note: See TracTickets for help on using tickets.