unsubscribe



________________________________
 From: "macports-users-requ...@lists.macosforge.org" 
<macports-users-requ...@lists.macosforge.org>
To: macports-users@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@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-requ...@lists.macosforge.org

You can reach the person managing the list at
    macports-users-ow...@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 ??? (lllact...@gmx.net)
   4. Re: ffmpeg fails to build against ??? (Jeremy Lavergne)
   5. Re: ffmpeg fails to build against ??? (lllact...@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 <lar...@macports.org>
To: Fredrik <starkbe...@gmail.com>
Cc: MacPorts Users <macports-users@lists.macosforge.org>
Subject: Re: Installing newer version of Clang from MacPorts
Message-ID: <e98b2064-a657-4b99-b0bc-81fdf631b...@macports.org>
Content-Type: text/plain; charset=us-ascii

On Jan 29, 2013, at 2:22 PM, Fredrik <starkbe...@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 <lar...@macports.org>
To: lllact...@gmx.net
Cc: macports-users@lists.macosforge.org
Subject: Re: ffmpeg fails to build against ???
Message-ID: <77b6cefe-2700-437e-991a-888e6415b...@macports.org>
Content-Type: text/plain; charset=us-ascii

On Jan 29, 2013, at 11:11 AM, lllact...@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: "lllact...@gmx.net" <lllact...@gmx.net>
To: Brandon Allbery <allber...@gmail.com>
Cc: "macports-users@lists.macosforge.org >> MacPorts Users"
    <macports-users@lists.macosforge.org>
Subject: Re: ffmpeg fails to build against ???
Message-ID: <51083dd2.5080...@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, lllact...@gmx.net <lllact...@gmx.net 
> <mailto:lllact...@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 <jer...@lavergne.gotdns.org>
To: lllact...@gmx.net
Cc: "macports-users@lists.macosforge.org >> MacPorts Users"
    <macports-users@lists.macosforge.org>
Subject: Re: ffmpeg fails to build against ???
Message-ID: <8ea2738d-acd1-4101-817e-c5d8ddd52...@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: "lllact...@gmx.net" <lllact...@gmx.net>
To: macports-users@lists.macosforge.org
Subject: Re: ffmpeg fails to build against ???
Message-ID: <51083f27.50...@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 <lancebo...@qwest.net>
To: macports-users -Users <macports-users@lists.macosforge.org>
Subject: How do I link with Aquaterm library for an external build?
Message-ID: <a44c15f9-763b-4d44-99a0-a17f8cd4d...@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 <mo...@macports.org>
To: MacPorts Users Mailing-list <macports-users@lists.macosforge.org>
Subject: Re: How do I link with Aquaterm library for an external
    build?
Message-ID:
    <CALBOmsbDLmj7OvQ=huhubbnhmfojssrdtkbxxnmygvca-ol...@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 <enekogot...@gmail.com>
To: macports-users@lists.macosforge.org
Subject: Side effects?
Message-ID: <2e1b2fd4-04ee-4d4c-b0bd-1c8644764...@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 <allber...@gmail.com>
To: Eneko Gotzon Ares <enekogot...@gmail.com>
Cc: macports-users@lists.macosforge.org
Subject: Re: Side effects?
Message-ID:
    <CAKFCL4WJLkqziQw_vaSMXoycEtax9=xqjtequewbu7vejkb...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Wed, Jan 30, 2013 at 2:28 PM, Eneko Gotzon Ares <enekogot...@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
allber...@gmail.com                                  ballb...@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 <jer...@lavergne.gotdns.org>
To: Brandon Allbery <allber...@gmail.com>
Cc: macports-users@lists.macosforge.org
Subject: Re: Side effects?
Message-ID: <19633b61-6cec-49fb-b514-2b46402d3...@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 <allber...@gmail.com>
To: Jeremy Lavergne <jer...@lavergne.gotdns.org>
Cc: macports-users@lists.macosforge.org
Subject: Re: Side effects?
Message-ID:
    <CAKFCL4VErVJVf0GFTnwRkfrXLvtFPG8NKiLbykNX=opdfuk...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

On Wed, Jan 30, 2013 at 2:39 PM, Jeremy Lavergne <jer...@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
allber...@gmail.com                                  ballb...@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 <jer...@lavergne.gotdns.org>
To: Brandon Allbery <allber...@gmail.com>
Cc: macports-users@lists.macosforge.org
Subject: Re: Side effects?
Message-ID: <5dbe4f4d-b228-48e2-9d66-547361359...@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@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users


End of macports-users Digest, Vol 77, Issue 26
**********************************************
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to