Opened 15 years ago

Closed 15 years ago

#20671 closed defect (fixed)

timedrive-0.1.1 Build error - BuildUi.sh returned error 138

Reported by: mark_everitt@… Owned by: nerdling (Jeremy Lavergne)
Priority: Normal Milestone:
Component: ports Version: 1.7.1
Keywords: Cc:
Port: timedrive

Description

Timedrive fails to build. This appears to be a python issue.

Extracting timedrive
Extracting Time-Drive-0.1.1.zip
Configuring timedrive
Building timedrive
./BuildUi.sh: line 2: 89786 Bus error               pyuic4-2.6 uiSettings.ui -o ui_Settings.py
./BuildUi.sh: line 3: 89788 Bus error               pyuic4-2.6 uiMainWindow.ui -o ui_MainWindow.py
./BuildUi.sh: line 4: 89789 Bus error               pyuic4-2.6 uiRestoreFiles.ui -o ui_RestoreFiles.py
Error: Target org.macports.build returned: shell command "cd /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_sysutils_timedrive/work/Time-Drive && ./BuildUi.sh" returned error 138
Command output: ./BuildUi.sh: line 2: 89786 Bus error               pyuic4-2.6 uiSettings.ui -o ui_Settings.py
./BuildUi.sh: line 3: 89788 Bus error               pyuic4-2.6 uiMainWindow.ui -o ui_MainWindow.py
./BuildUi.sh: line 4: 89789 Bus error               pyuic4-2.6 uiRestoreF
iles.ui -o ui_RestoreFiles.py
Warning: the following items did not execute (for timedrive): org.macports.activate org.macports.build org.macports.destroot org.macports.install
Error: Status 1 encountered during processing.

Change History (12)

comment:1 Changed 15 years ago by blb@…

Owner: changed from macports-tickets@… to snc@…

comment:2 Changed 15 years ago by mark_everitt@…

Cc: mark_everitt@… added

Cc Me!

comment:3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: saispo@… added
Keywords: timedrive build error removed
Port: py26-pyqt4 added

The binary that is erroring out is provided by py26-pyqt4. saispo, do you have any input? i didn't have this problem on my system.

installed python26, selected python26 with python_select, then build on timedrive.

comment:4 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: mark_everitt@… removed

comment:5 in reply to:  4 Changed 15 years ago by mark_everitt@…

Replying to snc@…: Thanks for the removal. I didn't realise I'd clicked on CcMe!

Using python_select fixed this issue for me.

comment:6 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: saispo@… removed
Port: py26-pyqt4 removed

Alright, glad it's getting that far. You'll likely hit another python issue though :-) Let me know how it goes.

comment:7 in reply to:  6 Changed 15 years ago by mark_everitt@…

Replying to snc@…:

Alright, glad it's getting that far. You'll likely hit another python issue though :-) Let me know how it goes.

Yup, here's what I get.

$ /opt/local/bin/python2.6 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/app.py 
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/app.py", line 14, in <module>
    from ui_MainWindow import Ui_MainWindow
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/ui_MainWindow.py", line 274, in <module>
    import BackInTime_Icons_rc
ImportError: No module named BackInTime_Icons_rc

comment:8 Changed 15 years ago by nerdling (Jeremy Lavergne)

I updated files/setup.py, it should be available in an hour through selfupdate or sync. Please do a clean and build then.

I still have an issue with it finding duplicity, so you'll likely see another bug after this one.

ImportError: No module named duplicity.backends

comment:9 Changed 15 years ago by nerdling (Jeremy Lavergne)

files/setup.py: r55803.

comment:10 Changed 15 years ago by nerdling (Jeremy Lavergne)

The new version of timedrive has its own setup.py.

comment:11 Changed 15 years ago by nerdling (Jeremy Lavergne)

Status: newassigned

comment:12 Changed 15 years ago by nerdling (Jeremy Lavergne)

Resolution: fixed
Status: assignedclosed

Version updated in r59427; the problem should have gone away.

Note: See TracTickets for help on using tickets.