unsubscribe

ryan koehler ryantkoehler at yahoo.com
Wed Jan 30 12:08:37 PST 2013


unsubscribe




________________________________
 From: "macports-users-request at lists.macosforge.org" <macports-users-request at lists.macosforge.org>
To: macports-users at lists.macosforge.org 
Sent: Wednesday, January 30, 2013 12:00 PM
Subject: macports-users Digest, Vol 77, Issue 26
 
Send macports-users mailing list submissions to
    macports-users at lists.macosforge.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.macosforge.org/mailman/listinfo/macports-users
or, via email, send a message with subject or body 'help' to
    macports-users-request at lists.macosforge.org

You can reach the person managing the list at
    macports-users-owner at lists.macosforge.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of macports-users digest..."


Today's Topics:

   1. Re: Installing newer version of Clang from MacPorts
      (Lawrence Vel?zquez)
   2. Re: ffmpeg fails to build against ??? (Lawrence Vel?zquez)
   3. Re: ffmpeg fails to build against ??? (LLLActive at GMX.Net)
   4. Re: ffmpeg fails to build against ??? (Jeremy Lavergne)
   5. Re: ffmpeg fails to build against ??? (LLLActive at GMX.Net)
   6. How do I link with Aquaterm library for an external build? (Jerry)
   7. Re: How do I link with Aquaterm library for an external
      build? (Mojca Miklavec)
   8. Side effects? (Eneko Gotzon Ares)
   9. Re: Side effects? (Brandon Allbery)
  10. Re: Side effects? (Jeremy Lavergne)
  11. Re: Side effects? (Brandon Allbery)
  12. Re: Side effects? (Jeremy Lavergne)


----------------------------------------------------------------------

Message: 1
Date: Tue, 29 Jan 2013 16:06:49 -0500
From: Lawrence Vel?zquez <larryv at macports.org>
To: Fredrik <starkbeats at gmail.com>
Cc: MacPorts Users <macports-users at lists.macosforge.org>
Subject: Re: Installing newer version of Clang from MacPorts
Message-ID: <E98B2064-A657-4B99-B0BC-81FDF631B94C at macports.org>
Content-Type: text/plain; charset=us-ascii

On Jan 29, 2013, at 2:22 PM, Fredrik <starkbeats at gmail.com> wrote:

> Frank and Jeremy, thanks. I wanted some ideas on how to deal with this, as messing with the system components seems fragile. I will look into the clang_select port.

Be aware that clang_select just lets you use "port select" to choose which clang runs when you execute "clang". You'll still have multiple versions installed. There really is no way around this.

vq

------------------------------

Message: 2
Date: Tue, 29 Jan 2013 16:18:14 -0500
From: Lawrence Vel?zquez <larryv at macports.org>
To: LLLActive at GMX.Net
Cc: macports-users at lists.macosforge.org
Subject: Re: ffmpeg fails to build against ???
Message-ID: <77B6CEFE-2700-437E-991A-888E6415B1FA at macports.org>
Content-Type: text/plain; charset=us-ascii

On Jan 29, 2013, at 11:11 AM, LLLActive at GMX.Net wrote:

> BTW, after a 'sudo port selfupdate' the message comes to do a 'port upgrade outdated'. When I do it I often get the error-message "Error: No ports match the given expression". Only after some new selfupdate or closing the CLI and restarting it, it 'sometimes' works.

MacPorts considers a port "outdated" when it is installed but its version is older than the version given by its portfile.

Running "port selfupdate" fetches the most recent portfiles from the MacPorts servers/mirrors. 

After a selfupdate, some of your installed ports might have become outdated. Then again, maybe none of the are outdated; maybe they are all still the newest version available. In this case, "port upgrade outdated" will "fail" because there are no outdated ports to upgrade. This is not really an error because there is no problem.

vq

------------------------------

Message: 3
Date: Tue, 29 Jan 2013 22:23:30 +0100
From: "LLLActive at GMX.Net" <LLLActive at GMX.Net>
To: Brandon Allbery <allbery.b at gmail.com>
Cc: "macports-users at lists.macosforge.org >> MacPorts Users"
    <macports-users at lists.macosforge.org>
Subject: Re: ffmpeg fails to build against ???
Message-ID: <51083DD2.5080107 at GMX.Net>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 29.01.13 19:38, Brandon Allbery wrote:
> On Tue, Jan 29, 2013 at 12:21 PM, LLLActive at GMX.Net <LLLActive at gmx.net 
> <mailto:LLLActive at gmx.net>> wrote:
>
>     Pardon, there was nolog file after the clean. It was the logfile
>     with the error build of ffmpeg. I can not get "sudo port upgrade
>     outdated" to run.
>
>
> Right, after the clean you have to try the build again; the point is 
> we need the log starting *from* a clean build, because if you just run 
> the build again without cleaning, it will skip past everything it 
> thinks succeeded.  We need to see a full, from the beginning, build log.
>
> As for port upgrade outdated, I guess what I said before made no sense 
> to you?  I'm not sure how to explain it... if there's nothing to 
> upgrade, it's not going to do anything except complain that there are 
> no outdated ports to upgrade.
>
Ok, I get it then that the following means all is OK, even if the 
"Error: No ports matched the given expression" is a little confusing. :-/

MM:~ MM$ sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.1.2 installed,
MacPorts base version 2.1.2 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version

The ports tree has been updated. To upgrade your installed ports, you 
should run
   port upgrade outdated

MM:~ MM$ sudo port upgrade outdated
Error: No ports matched the given expression  = All OK then, nothing to 
upgrade then.

Thanks for the info.

:-)
Dreiel


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20130129/d053dc27/attachment-0001.html>

------------------------------

Message: 4
Date: Tue, 29 Jan 2013 16:26:25 -0500
From: Jeremy Lavergne <jeremy at lavergne.gotdns.org>
To: LLLActive at GMX.Net
Cc: "macports-users at lists.macosforge.org >> MacPorts Users"
    <macports-users at lists.macosforge.org>
Subject: Re: ffmpeg fails to build against ???
Message-ID: <8EA2738D-ACD1-4101-817E-C5D8DDD52E53 at lavergne.gotdns.org>
Content-Type: text/plain; charset=us-ascii

> Ok, I get it then that the following means all is OK, even if the "Error: No ports matched the given expression" is a little confusing. :-/
> 
> Error: No ports matched the given expression  = All OK then, nothing to upgrade then.

It's just an abstraction: "outdated" evaluates to set a portnames. If you're trying to "upgrade" an empty set then it is technically an error, but in this specific case not one to really care about.



------------------------------

Message: 5
Date: Tue, 29 Jan 2013 22:29:11 +0100
From: "LLLActive at GMX.Net" <LLLActive at GMX.Net>
To: macports-users at lists.macosforge.org
Subject: Re: ffmpeg fails to build against ???
Message-ID: <51083F27.50306 at GMX.Net>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

On 29.01.13 22:18, ? wrote:
> After a selfupdate, some of your installed ports might have become outdated. Then again, maybe none of the are outdated; maybe they are all still the newest version available. In this case, "port upgrade outdated" will "fail" because there are no outdated ports to upgrade. This is not really an error because there is no problem.
>
> vq
... this is a good explanation!Thanks.

:-)
Dreiel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20130129/36862e6f/attachment-0001.html>

------------------------------

Message: 6
Date: Wed, 30 Jan 2013 02:40:40 -0700
From: Jerry <lanceboyle at qwest.net>
To: macports-users -Users <macports-users at lists.macosforge.org>
Subject: How do I link with Aquaterm library for an external build?
Message-ID: <A44C15F9-763B-4D44-99A0-A17F8CD4DEA6 at qwest.net>
Content-Type: text/plain; charset=us-ascii

I recently deleted my AquaTerm version that was installed by the AquaTerm installer which had put a framework in /Library/Applications/Frameworks as well as things in other places. I think there might have been a link from the framework to somewhere in /usr/bin but I don't recall exactly.

Now, with Aquaterm installed via Macports, I can no longer build PLplot with the Aquaterm option. (I'm a PLplot developer so I have to build Plplot from SVN and not via Macports.)

I build PLplot with cmake and so I think I have to tell cmake where to find the necessary Aquaterm stuff but I don't know how to do that. When I earlier built with the /Library/Applications/Frameworks, it "just got found" somehow, but now the necessary Aquaterm library or whatever is not being found.

How do I fix this? Where (and how) should I point cmake in /opt/local/ to link with the Aquaterm library?

Thanks tons,
Jerry

------------------------------

Message: 7
Date: Wed, 30 Jan 2013 11:04:40 +0100
From: Mojca Miklavec <mojca at macports.org>
To: MacPorts Users Mailing-list <macports-users at lists.macosforge.org>
Subject: Re: How do I link with Aquaterm library for an external
    build?
Message-ID:
    <CALBOmsbDLmj7OvQ=HUhUbbnHMfOjssrDTKbxxNmyGvca-OLUdw at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Wed, Jan 30, 2013 at 10:40 AM, Jerry wrote:
> I recently deleted my AquaTerm version that was installed by the AquaTerm installer which had put a framework in /Library/Applications/Frameworks as well as things in other places. I think there might have been a link from the framework to somewhere in /usr/bin but I don't recall exactly.
>
> Now, with Aquaterm installed via Macports, I can no longer build PLplot with the Aquaterm option. (I'm a PLplot developer so I have to build Plplot from SVN and not via Macports.)
>
> I build PLplot with cmake and so I think I have to tell cmake where to find the necessary Aquaterm stuff but I don't know how to do that. When I earlier built with the /Library/Applications/Frameworks, it "just got found" somehow, but now the necessary Aquaterm library or whatever is not being found.
>
> How do I fix this? Where (and how) should I point cmake in /opt/local/ to link with the Aquaterm library?

Please try to add "-F/opt/local/Frameworks" to CFLAGS
(CXXFLAGS/ObjCFLAGS/FFLAGS/FCFLAGS) and LDFLAGS in addition to
"-framework AquaTerm" and report whether it works. I don't have any
good idea how to make this work automatically (apart from introducing
pkg-config configuration).

Apple automatically looks into /Library/Frameworks, but not into any
other place unless you provide an additional flag.

Mojca


------------------------------

Message: 8
Date: Wed, 30 Jan 2013 20:28:18 +0100
From: Eneko Gotzon Ares <enekogotzon at gmail.com>
To: macports-users at lists.macosforge.org
Subject: Side effects?
Message-ID: <2E1B2FD4-04EE-4D4C-B0BD-1C86447640E9 at gmail.com>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
    delsp=yes

Hello everyone :)

To execute powerful commands (for MacPorts) in Terminal, can cause  
negative side effects? (disturb the drivers of smart card readers, the  
display adjustment, etc?).

Recently my ?loved? computer has started suffering some little such  
kind of problems for which I find no explanation.

Thank you very much.

* kbuildsycoca4 is already running fine :) Thanks!!
**Excuse my simple questions, sometimes I'm not very smart? ;)
--
Eneko Gotzon Ares



------------------------------

Message: 9
Date: Wed, 30 Jan 2013 14:36:50 -0500
From: Brandon Allbery <allbery.b at gmail.com>
To: Eneko Gotzon Ares <enekogotzon at gmail.com>
Cc: macports-users at lists.macosforge.org
Subject: Re: Side effects?
Message-ID:
    <CAKFCL4WJLkqziQw_vaSMXoycEtax9=XqJteQuEWbU7vEJkb2NA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Wed, Jan 30, 2013 at 2:28 PM, Eneko Gotzon Ares <enekogotzon at gmail.com>wrote:

> To execute powerful commands (for MacPorts) in Terminal, can cause
> negative side effects? (disturb the drivers of smart card readers, the
> display adjustment, etc?).
>

All's fair for root --- this is why MacPorts uses sandboxing and does
builds as a nonprivileged user, to minimize the chances of this happening.
(Hm, do we have a paranoid mode where it makes an archive but doesn't
install it automatically, so one can inspect the archive before activating
it?)

I would be inclined to suspect something else is wrong; first guess would
be power, although you might also check things like CPU temperature etc.
If MacPorts is building from source instead of downloading prebuilt
archives, it may be pushing some marginal component too close to the edge.
(Electronic components do age and fail, and can sometimes be defective in
ways that only show at the outside edges of their design specifications.)

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20130130/99130dff/attachment-0001.html>

------------------------------

Message: 10
Date: Wed, 30 Jan 2013 14:39:21 -0500
From: Jeremy Lavergne <jeremy at lavergne.gotdns.org>
To: Brandon Allbery <allbery.b at gmail.com>
Cc: macports-users at lists.macosforge.org
Subject: Re: Side effects?
Message-ID: <19633B61-6CEC-49FB-B514-2B46402D3954 at lavergne.gotdns.org>
Content-Type: text/plain; charset=us-ascii

> (Hm, do we have a paranoid mode where it makes an archive but doesn't install it automatically, so one can inspect the archive before activating it?)

Likely either `port destroot` or `port archive` to inspect what will be installed. Keep in mind, however, that a Portfile might dictate things to be done upon install/activate.



------------------------------

Message: 11
Date: Wed, 30 Jan 2013 14:45:53 -0500
From: Brandon Allbery <allbery.b at gmail.com>
To: Jeremy Lavergne <jeremy at lavergne.gotdns.org>
Cc: macports-users at lists.macosforge.org
Subject: Re: Side effects?
Message-ID:
    <CAKFCL4VErVJVf0GFTnwRkfrXLvtFPG8NKiLbykNX=oPdFUKtXQ at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Wed, Jan 30, 2013 at 2:39 PM, Jeremy Lavergne <jeremy at lavergne.gotdns.org
> wrote:

> > (Hm, do we have a paranoid mode where it makes an archive but doesn't
> install it automatically, so one can inspect the archive before activating
> it?)
>
> Likely either `port destroot` or `port archive` to inspect what will be
> installed. Keep in mind, however, that a Portfile might dictate things to
> be done upon install/activate.
>

That is exactly what I am thinking of; such actions are present as scripts
in the archive, are they not?  I'm thinking that they can be inspected
before installing.

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20130130/4e981e67/attachment-0001.html>

------------------------------

Message: 12
Date: Wed, 30 Jan 2013 14:49:39 -0500
From: Jeremy Lavergne <jeremy at lavergne.gotdns.org>
To: Brandon Allbery <allbery.b at gmail.com>
Cc: macports-users at lists.macosforge.org
Subject: Re: Side effects?
Message-ID: <5DBE4F4D-B228-48E2-9D66-547361359610 at lavergne.gotdns.org>
Content-Type: text/plain; charset=us-ascii

> That is exactly what I am thinking of; such actions are present as scripts in the archive, are they not?  I'm thinking that they can be inspected before installing.

I know a copy of the portfile is kept in the registry and it is actually used for deactivate/uninstall.

The copy in the archive is one of the metadata files (whether used or not I'm not sure):
+COMMENT
+CONTENTS
+DESC
+PORTFILE
+STATE



------------------------------

_______________________________________________
macports-users mailing list
macports-users at lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


End of macports-users Digest, Vol 77, Issue 26
**********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20130130/acd16f33/attachment.html>


More information about the macports-users mailing list