Opened 11 years ago

Closed 10 years ago

#39947 closed defect (worksforme)

FreeRDP-1.1.0-beta+2013071101 Build Fails

Reported by: brian@… Owned by: anddam (Andrea D'Amore)
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: Cc: ClintO (Clint O)
Port: FreeRDP

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

OS X 10.8.4. Xcode 4.6.3.

Here's the output when doing a port upgrade:

--->  Attempting to fetch FreeRDP-1.1.0-beta+2013071101.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/FreeRDP
--->  Verifying checksums for FreeRDP
--->  Extracting FreeRDP
--->  Configuring FreeRDP
--->  Building FreeRDP
Error: org.macports.build for port FreeRDP returned: command execution failed
Please see the log file for port FreeRDP for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_FreeRDP/FreeRDP/main.log
Error: Unable to upgrade port: 1

And here's some log output that shows the error:

:info:build /opt/local/bin/cmake -E cmake_progress_report /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_FreeRDP/FreeRDP/work/FreeRDP-1.1.0-beta+2013071101/CMakeFiles  64 65
:info:build [  3%] Built target winpr-crt
:info:build make[1]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_FreeRDP/FreeRDP/work/FreeRDP-1.1.0-beta+2013071101'
:info:build make: *** [all] Error 2
:info:build make: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_FreeRDP/FreeRDP/work/FreeRDP-1.1.0-beta+2013071101'
:info:build Command failed:  cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_FreeRDP/FreeRDP/work/FreeRDP-1.1.0-beta+2013071101" && /usr/bin/make -j4 -w all 
:info:build Exit code: 2
:error:build org.macports.build for port FreeRDP returned: command execution failed
:debug:build Error code: CHILDSTATUS 15803 2
:debug:build Backtrace: command execution failed
    while executing
"system -nice 0 $fullcmdstring"
    ("eval" body line 1)
    invoked from within
"eval system $notty $nice \$fullcmdstring"
    invoked from within
"command_exec build"
    (procedure "portbuild::build_main" line 8)
    invoked from within
"$procedure $targetname"
:info:build Warning: targets not executed for FreeRDP: org.macports.install org.macports.build org.macports.destroot
:notice:build Please see the log file for port FreeRDP for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_net_FreeRDP/FreeRDP/main.log

Attachments (2)

main.log (121.3 KB) - added by brian@… 11 years ago.
main.2.log (69.5 KB) - added by pkutzner+macports@… 11 years ago.
Build log for FreeRDP on 10.8.4, Xcode 4.6.3 (Build 4H1503)

Download all attachments as: .zip

Change History (13)

comment:1 in reply to:  description Changed 11 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to and.damore@…

Replying to brian@…:

And here's some log output that shows the error:

You did not include the source of the error. Please clean, try again, and attach the complete main.log file.

% sudo port clean freerdp && sudo port install freerdp

Changed 11 years ago by brian@…

Attachment: main.log added

comment:2 Changed 11 years ago by brian@…

I've attached the complete main.log file. Thanks!

comment:3 Changed 11 years ago by macsmulders@…

Hi, on Lion (10.7.5), Xcode 4.6.3 same problem. Log file looks exactly the same

Rgds Dirk

comment:4 Changed 11 years ago by pkutzner+macports@…

On ML 10.8.4, Xcode 4.6.3 (Build 4H1503) with same problem. Log file looks the same for me as well.

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

Replying to macsmulders@…:

on Lion (10.7.5), Xcode 4.6.3 same problem. Log file looks exactly the same

I'm on 10.7 as well but I cannot reproduce the issue, can you attach your build log?

Changed 11 years ago by pkutzner+macports@…

Attachment: main.2.log added

Build log for FreeRDP on 10.8.4, Xcode 4.6.3 (Build 4H1503)

comment:6 Changed 11 years ago by pkutzner+macports@…

I've rolled-back to the previous version of FreeRDP, as it's still working for me, until this bug is fixed.

However, I was wondering if there is a way to "hold" specific port versions so that running a "port upgrade outdated" will skip held versions? It's annoying having an 'update outdated' bail halfway through due to a build error and then having to manually go through each remaining package one-by-one to upgrade them. I haven't found a way to do so via the documentation. If this isn't a feature, it would definitely be a handy one to have.

comment:7 in reply to:  6 Changed 11 years ago by anddam (Andrea D'Amore)

Replying to pkutzner+macports@…:

However, I was wondering if there is a way to "hold" specific port versions so that running a "port upgrade outdated" will skip held versions? It's annoying having an 'update outdated' bail halfway through due to a build error and then having to manually go through each remaining package one-by-one to upgrade them. I haven't found a way to do so via the documentation. If this isn't a feature, it would definitely be a handy one to have.

You either skip that specific port (like I do in a temporary situation like this one) using conditions, e.g.:

port upgrade outdated and not name:FreeRDP

Or you create a local repository and copy there a portfile of the specific version you want to keep (that you already seem to know how to do). The local portfile will have precedence over the main ports' tree if done following point 2 at the previously linked chapter of the Guide.

Last edited 10 years ago by anddam (Andrea D'Amore) (previous) (diff)

comment:8 in reply to:  6 Changed 11 years ago by brian@…

Replying to pkutzner+macports@…:

I've rolled-back to the previous version of FreeRDP, as it's still working for me, until this bug is fixed.

However, I was wondering if there is a way to "hold" specific port versions so that running a "port upgrade outdated" will skip held versions? It's annoying having an 'update outdated' bail halfway through due to a build error and then having to manually go through each remaining package one-by-one to upgrade them. I haven't found a way to do so via the documentation. If this isn't a feature, it would definitely be a handy one to have.

I've found that I can deactivate FreeRDP, upgrade all outdated items, and then reactive FreeRDP:

sudo port deactivate FreeRDP

sudo port upgrade -c -u outdated

sudo port activate FreeRDP

I hope this helps.

--Brian

comment:9 Changed 11 years ago by ClintO (Clint O)

Cc: clint.olsen@… added

Cc Me!

comment:10 Changed 11 years ago by pkutzner+macports@…

I'm still experiencing the same issue on the latest version of the package. Build fails trying to compile libwinpr-crt.a I currently have 1.1.0-beta1_0 installed and working. I have a co-worker that just set up a new installation and was able to compile FreeRDP just fine. So, I'm not sure where the hang-up is here. I don't really want to rip out my installation and start over, but there's obviously something preventing it from compiling if you already have it installed.

comment:11 Changed 10 years ago by anddam (Andrea D'Amore)

Resolution: worksforme
Status: newclosed

I can still not reproduce on Mavericks using Xcode 5.1, the port builds just fine.

The only difference I can see in both the attached logs compared to mine is that my log has a -I${prefix}/include flag more and a -O3 flag less in the line building winpr/libwinpr/handle/CMakeFiles/winpr-handle.dir/handle.c.o.

The port had a couple update since the ticket was last updated and since it builds on my system I'm closing this as worksforme, please reopen the ticket if you still get the error. When attaching the log remember to add build.jobs=1 to the port command as in

port clean FreeRDP
port install FreeRDP build.jobs=1

this makes easier tracking the error cause when reproducing.

Note: See TracTickets for help on using tickets.