Autoreply: macports-users Digest, Vol 12, Issue 46

hubert at tamarin.co.uk hubert at tamarin.co.uk
Fri Aug 17 09:17:19 PDT 2007


Hubert is out of the office on annual leave from Monday 13th August and back in the office on Tuesday 21st August. He will respond to your email on his return.

Please contact his colleague John McDermott (john at tamarin.co.uk / T. 020 7267 8553) if your request is urgent.


Your message reads:

Received: from smtp.hotchilli.net (unverified [62.89.140.52]) by mail6.hotchilli.net
 (Rockliffe SMTPRA 5.3.11) with ESMTP id <B0156709443 at mail7.hotchilli.net> for <hubert at tamarin.co.uk>;
 Fri, 17 Aug 2007 17:17:18 +0100
Received: from www2.opensource.apple.com ([17.254.17.105] helo=lists.macosforge.org)
	by smtp.hotchilli.net with esmtp (Exim 4.63)
	(envelope-from <macports-users-bounces at lists.macosforge.org>)
	id 1IM4Vd-0001Yv-PQ
	for hubert at tamarin.co.uk; Fri, 17 Aug 2007 17:17:14 +0100
Received: from lists.macosforge.org (localhost [127.0.0.1])
	by lists.macosforge.org (Postfix) with ESMTP id 06D9A2879661;
	Fri, 17 Aug 2007 09:17:11 -0700 (PDT)
Content-Type: multipart/mixed; boundary="===============0004822361=="
MIME-Version: 1.0
From: macports-users-request at lists.macosforge.org
Subject: macports-users Digest, Vol 12, Issue 46
To: macports-users at lists.macosforge.org
Reply-To: macports-users at lists.macosforge.org
X-BeenThere: macports-users at lists.macosforge.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: MacPorts project general user support
	<macports-users.lists.macosforge.org>
List-Unsubscribe: <http://lists.macosforge.org/mailman/listinfo/macports-users>, 
	<mailto:macports-users-request at lists.macosforge.org?subject=unsubscribe>
List-Archive: <http://lists.macosforge.org/pipermail/macports-users>
List-Post: <mailto:macports-users at lists.macosforge.org>
List-Help: <mailto:macports-users-request at lists.macosforge.org?subject=help>
List-Subscribe: <http://lists.macosforge.org/mailman/listinfo/macports-users>, 
	<mailto:macports-users-request at lists.macosforge.org?subject=subscribe>
Sender: macports-users-bounces at lists.macosforge.org
Errors-To: macports-users-bounces at lists.macosforge.org
Message-Id: <20070817161711.06D9A2879661 at lists.macosforge.org>
Date: Fri, 17 Aug 2007 09:17:11 -0700 (PDT)

--===============0004822361==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: macports-users Digest, Vol 12, Issue 46

Send macports-users mailing list submissions to
	macports-users at lists.macosforge.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://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..."

--===============0004822361==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: Today's Topics (9 messages)

Today's Topics:

   1. Re: Overwriting config files (Ryan Schmidt)
   2. su problem after bad meld install (Jenn Mixxmann)
   3. Re: Overwriting config files (Anders F Bj?rklund)
   4. Re: su problem after bad meld install (Ryan Schmidt)
   5. Re: Error building openmotif (Samuel M. Smith)
   6. Re: Error building openmotif (Samuel M. Smith)
   7. Re: Error building openmotif (Simon Ruderich)
   8. Re: Error building openmotif (Jeff Stubbs)
   9. Re: Error building openmotif (Ryan Schmidt)

--===============0004822361==
Content-Type: multipart/digest; boundary="===============0574192649=="
MIME-Version: 1.0

--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: quoted-printable
From: Ryan Schmidt <ryandesign at macports.org>
Precedence: list
MIME-Version: 1.0 (Apple Message framework v752.3)
Cc: MacPorts Users <macports-users at lists.macosforge.org>
To: =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb at macports.org>
References: <46C4BE71.3080201 at matzon.dk>
	<8FEDAFF3-5A97-4C52-9E28-04956939843B at macports.org>
	<633fc63a718a15b303feccd2ae0d267a at macports.org>
In-Reply-To: <633fc63a718a15b303feccd2ae0d267a at macports.org>
Date: Fri, 17 Aug 2007 03:54:55 -0500
Message-ID: <18B66EA4-1F6F-44B9-8FA0-5D59A3495581 at macports.org>
Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed
Subject: Re: Overwriting config files
Message: 1


On Aug 17, 2007, at 02:47, Anders F Bj=F6rklund wrote:

> Ryan Schmidt wrote:
>
>> Brian Matzon wrote:
>>
>>> I have had some issues lately with upgrades overwriting config =20
>>> files (postfix, apache2).
>>> Should I create a ticket for these issues, or is this being fixed =20=

>>> in this ticket:
>>> I noticed this ticket: http://trac.macports.org/projects/macports/=20=

>>> ticket/2365
>>
>> That ticket is 3 years old and is for general MacPorts =20
>> functionality to support non-volatile default config files. Since =20
>> it's so old, I doubt anything is being done with it at the moment. =20=

>> I'm also not convinced any functionality needs to be added to =20
>> MacPorts base to support this.
>
> The ticket mentions the need to have install/uninstall scripts =20
> (i.e. not do it in activate/deactivate since that only works with =20
> images), and that functionality is needed in order for the *.sample =20=

> approach to be useful. It's another old ticket, though: http://=20
> trac.macports.org/projects/macports/ticket/1068

I don't see how #1068 is related to Brian's request. Don't see why =20
install/uninstall scripts are necessary for anything.

> For the configuration files, it would be a great benefit to the =20
> packaging targets if there was a way to specify which ones are =20
> conffiles. Probably something like "destroot.conffiles", similar to =20=

> the existing "destroot.keepdirs". This would signify that the files =20=

> in question are *not* to be overwritten...

Don't see why that's necessary. I think we're doing just fine with =20
individual portfiles installing their sample conf files with *.sample =20=

or *.default names.

> So all these Tickets are related (#777 is another one), and the =20
> implementation of these missing features should be taken to the =20
> macports-dev list. So to me, it seems that at least two new pieces =20
> of functionality are needed to be added to the MacPorts base in =20
> order to support this ?

#777 seems to be a "nice to have" rather than a requirement:

http://trac.macports.org/projects/macports/ticket/777

"If a port installs a foo.cf.sample it might want to copy =20
foo.cf.sample to foo.cf iff foo.cf doesn't exist. This is probably =20
common enough that the port author shouldn't be forced to write an on-=20=

install foo.cf.sample [ ! -f foo.cf ] && cp foo.cf.sample foo.cf"


I don't understand what functionality requested by Brian cannot be =20
met by MacPorts 1.5.2 as it is today.




--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: quoted-printable
From: "Jenn Mixxmann" <juicimixx at doramail.com>
Precedence: list
MIME-Version: 1.0
To: macports-users at lists.macosforge.org
Date: Fri, 17 Aug 2007 19:07:15 +0800
Message-ID: <20070817110715.292187B7A7 at ws5-10.us4.outblaze.com>
Content-Type: text/plain; charset="iso-8859-1"
Subject: su problem after bad meld install
Message: 2


Hello,
=20=20
   I tried using macports to install meld (a visual diff tool).   The insta=
ll failed due to some dependency.   This turned out to be okay since I ende=
d up using a different tool than meld.   However it left my root account in=
 a bit of a quandry.   I ran
port install meld
directly from the root account since I was taking care of some other tasks =
also.   After the install failed, I exited from the account back to a norma=
l account and did some other work.    When I needed to su back, I noted:
1) the default shell for root had changed from bash to sh
2) every time I ran 'su', Little Snitch would pop up saying that su was try=
ing to contact my DNS server on port 53.   (I can allow or deny the request=
; it doesn't matter since su will still work correctly.)

   I changed the default shell back to bash, however I'm not sure of what t=
o do to fix the second problem or why su needs to contact the DNS server.  =
 Is there a quick fix for this?

thanks.

--=20
_______________________________________________
Get your free email from http://mail.doramail.com

Powered by Outblaze


--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: 7bit
From: =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= <afb at macports.org>
Precedence: list
MIME-Version: 1.0 (Apple Message framework v624)
Cc: MacPorts Users <macports-users at lists.macosforge.org>
To: Ryan Schmidt <ryandesign at macports.org>
References: <46C4BE71.3080201 at matzon.dk>
	<8FEDAFF3-5A97-4C52-9E28-04956939843B at macports.org>
	<633fc63a718a15b303feccd2ae0d267a at macports.org>
	<18B66EA4-1F6F-44B9-8FA0-5D59A3495581 at macports.org>
In-Reply-To: <18B66EA4-1F6F-44B9-8FA0-5D59A3495581 at macports.org>
Date: Fri, 17 Aug 2007 13:25:44 +0200
Message-ID: <075f0c8eb4ba4de466a4e8d4a782c8e4 at macports.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Subject: Re: Overwriting config files
Message: 3

Ryan Schmidt wrote:

>> The ticket mentions the need to have install/uninstall scripts (i.e. 
>> not do it in activate/deactivate since that only works with images), 
>> and that functionality is needed in order for the *.sample approach 
>> to be useful. It's another old ticket, though: 
>> http://trac.macports.org/projects/macports/ticket/1068
>
> I don't see how #1068 is related to Brian's request. Don't see why 
> install/uninstall scripts are necessary for anything.

Necessary and necessary... They are a convenience for users, so that 
you don't have to do anything extra in order to use the default 
configuration ?

Maybe this concrete configuration example from FreeBSD's Ports helps: 
http://www.freebsd.org/doc/en/books/porters-handbook/plist-config.html

>> For the configuration files, it would be a great benefit to the 
>> packaging targets if there was a way to specify which ones are 
>> conffiles. Probably something like "destroot.conffiles", similar to 
>> the existing "destroot.keepdirs". This would signify that the files 
>> in question are *not* to be overwritten...
>
> Don't see why that's necessary. I think we're doing just fine with 
> individual portfiles installing their sample conf files with *.sample 
> or *.default names.

It is great when not installing (port install), such as when using the 
binary packages...

For instance both RPM and DEB have built-in facilities for handling 
configs when upgrading.

>> So all these Tickets are related (#777 is another one), and the 
>> implementation of these missing features should be taken to the 
>> macports-dev list. So to me, it seems that at least two new pieces of 
>> functionality are needed to be added to the MacPorts base in order to 
>> support this ?
>
> #777 seems to be a "nice to have" rather than a requirement:
>
> http://trac.macports.org/projects/macports/ticket/777
>
> "If a port installs a foo.cf.sample it might want to copy 
> foo.cf.sample to foo.cf iff foo.cf doesn't exist. This is probably 
> common enough that the port author shouldn't be forced to write an 
> on-install foo.cf.sample [ ! -f foo.cf ] && cp foo.cf.sample foo.cf"
>
> I don't understand what functionality requested by Brian cannot be met 
> by MacPorts 1.5.2 as it is today.

It's an enhancement alright, but I think that it would fit in great 
with the need of packages to signify which files are configuration ? In 
essence doing "port install/uninstall" and binary archives/packages 
have different needs, but I think it would be great to have features 
for both of them. And I do prefer simply listing the conffiles, rather 
than having to write any such install/uninstall scripts manually.

--anders



--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: 7bit
From: Ryan Schmidt <ryandesign at macports.org>
Precedence: list
MIME-Version: 1.0 (Apple Message framework v752.3)
Cc: macports-users at lists.macosforge.org
To: Jenn Mixxmann <juicimixx at doramail.com>
References: <20070817110715.292187B7A7 at ws5-10.us4.outblaze.com>
In-Reply-To: <20070817110715.292187B7A7 at ws5-10.us4.outblaze.com>
Date: Fri, 17 Aug 2007 07:34:06 -0500
Message-ID: <617AFA78-BF66-495D-9C80-7CD14703DF10 at macports.org>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Subject: Re: su problem after bad meld install
Message: 4

On Aug 17, 2007, at 06:07, Jenn Mixxmann wrote:

>    I tried using macports to install meld (a visual diff tool).    
> The install failed due to some dependency.

Not entirely surprising... when all is said and done, meld has well  
over a hundred dependencies. [1]

> This turned out to be okay since I ended up using a different tool  
> than meld.   However it left my root account in a bit of a  
> quandry.   I ran
> port install meld
> directly from the root account since I was taking care of some  
> other tasks also.   After the install failed, I exited from the  
> account back to a normal account and did some other work.    When I  
> needed to su back, I noted:
> 1) the default shell for root had changed from bash to sh

I'm not aware of any part of MacPorts that should be doing that. Can  
anyone else think of why that would have happened?

For the record, on Mac OS X, sh is bash so this should not have  
caused you any difficulty at all.

> 2) every time I ran 'su', Little Snitch would pop up saying that su  
> was trying to contact my DNS server on port 53.   (I can allow or  
> deny the request; it doesn't matter since su will still work  
> correctly.)
>
>    I changed the default shell back to bash, however I'm not sure  
> of what to do to fix the second problem or why su needs to contact  
> the DNS server.   Is there a quick fix for this?

Also not sure what's going on there. I know that the heimdal port,  
for example, will install its own su, which may behave differently  
from the system's su. But heimdal is not a dependency of meld.



[1] It's a pretty impressive dependency graph, really:

http://www.ryandesign.com/tmp/meld.png


--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: 7bit
From: "Samuel M. Smith" <smithsm at samuelsmith.org>
Precedence: list
MIME-Version: 1.0 (Apple Message framework v752.2)
Cc: macports-users at lists.macosforge.org
To: Andrea D'Amore <adamore at email.it>
References: <AB971F44-B752-4490-BE86-838264E16D52 at samuelsmith.org>
	<93FD31CF-8366-43DA-B705-C409F54EA254 at email.it>
In-Reply-To: <93FD31CF-8366-43DA-B705-C409F54EA254 at email.it>
Date: Fri, 17 Aug 2007 08:25:46 -0600
Message-ID: <03DC4307-E810-454E-82A3-51D2B2C07FC4 at samuelsmith.org>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Subject: Re: Error building openmotif
Message: 5

I am a newbie so some of this stuff I am not sure about.
I did a port sync but now I get a new error

sudo port install xpdf
Error: Unable to execute port: can't read "Id": no such variable


if I do a clean --all on xpdf will it also remove all the  
dependencies that have already been installed?
When you say hash, do you mean to execute
port checksum openmotif ?
I could not find a hash command in the port man.


On 17 Aug 2007, at 04:39 , Andrea D'Amore wrote:

>
> Il giorno 17/ago/07, alle ore 06:22, Samuel M. Smith ha scritto:
>
>> Error: Checksum (md5) mismatch for openmotif-2.3.0.tar.gz
>> Error: Target org.macports.checksum returned: Unable to verify  
>> file checksums
>>
>> I then tried it again
>> port clean --all openmotif
>> and get the same error.
>>
>> Any fix for this
>
> It's an hash mismatch, you could try a "port sync" or simply go to  
> distfiles dir, hash the file and put the new hash in "port edit  
> openmotif" by yourself

**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************




--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: 7bit
From: "Samuel M. Smith" <smithsm at samuelsmith.org>
Precedence: list
MIME-Version: 1.0 (Apple Message framework v752.2)
Cc: macports-users at lists.macosforge.org
To: Ryan Schmidt <ryandesign at macports.org>
References: <AB971F44-B752-4490-BE86-838264E16D52 at samuelsmith.org>
	<3C41DEC4-6A28-48C7-A30E-B9D9B64F34D8 at macports.org>
In-Reply-To: <3C41DEC4-6A28-48C7-A30E-B9D9B64F34D8 at macports.org>
Date: Fri, 17 Aug 2007 08:32:07 -0600
Message-ID: <1CAD51E4-DF29-4608-AEDE-4C96932D3B46 at samuelsmith.org>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Subject: Re: Error building openmotif
Message: 6

I tried it three times with the same result. I did a port clean --all  
openmotif before each try.
/opt/local/var/macports/distfiles/openmotif
openmotif-2.3.0.tar.gz

On 17 Aug 2007, at 01:11 , Ryan Schmidt wrote:

> On Aug 16, 2007, at 23:22, Samuel M. Smith wrote:
>
>> Trying to install openmotif as part of xpdf get error
>>
>>  Fetching openmotif
>> --->  Attempting to fetch openmotif-2.3.0.tar.gz from ftp:// 
>> ftp.ics.com/openmotif/2.3/2.3.0/
>> --->  Verifying checksum(s) for openmotif
>> Error: Checksum (md5) mismatch for openmotif-2.3.0.tar.gz
>> Error: Target org.macports.checksum returned: Unable to verify  
>> file checksums
>>
>> I then tried it again
>> port clean --all openmotif
>> and get the same error.
>>
>> Any fix for this
>
> That file is present on that server. Maybe there was a temporary  
> error. Try again?
>
> If it still doesn't work, try debug output, maybe that will help us  
> see what's going on:
>
> sudo port -dv fetch openmotif
>
> Also, you could check to see what was actually downloaded. Look in / 
> opt/local/var/macports/distfiles/openmotif
>

**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************




--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: 7bit
From: Simon Ruderich <simon at ruderich.com>
Precedence: list
MIME-Version: 1.0
Cc: macports-users at lists.macosforge.org
To: "Samuel M. Smith" <smithsm at samuelsmith.org>
References: <AB971F44-B752-4490-BE86-838264E16D52 at samuelsmith.org>	<93FD31CF-8366-43DA-B705-C409F54EA254 at email.it>
	<03DC4307-E810-454E-82A3-51D2B2C07FC4 at samuelsmith.org>
In-Reply-To: <03DC4307-E810-454E-82A3-51D2B2C07FC4 at samuelsmith.org>
Date: Fri, 17 Aug 2007 16:37:34 +0200
Message-ID: <46C5B2AE.4 at ruderich.com>
Content-Type: text/plain; charset=ISO-8859-1
Subject: Re: Error building openmotif
Message: 7

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Samuel M. Smith wrote:
> I am a newbie so some of this stuff I am not sure about.
> I did a port sync but now I get a new error
> 
> sudo port install xpdf
> Error: Unable to execute port: can't read "Id": no such variable

After a port sync I get this too. It looks like the problem is the
ghostscript port, but I don't know why. Maybe someone else can have a
look at this.

> if I do a clean --all on xpdf will it also remove all the dependencies
> that have already been installed?

No, this just removes all temporary data of the port and the source file.

Simon
- --
+ privacy is necessary
+ using http://gnupg.org
+ public key id: 0x6115F804EFB33229
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iD8DBQFGxbKtYRX4BO+zMikRCn9hAJ4owByyHLelGJa+cD+pUY3kq5LiqwCfUbbx
1M3LYNgG5bWWTdW8cHXDh6U=
=jYim
-----END PGP SIGNATURE-----


--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: 7bit
From: Jeff Stubbs <jeff at cjstubbs.org>
Precedence: list
MIME-Version: 1.0 (Apple Message framework v752.2)
Cc: 
To: "Samuel M. Smith" <smithsm at samuelsmith.org>,
	macports Users <macports-users at lists.macosforge.org>
References: <AB971F44-B752-4490-BE86-838264E16D52 at samuelsmith.org>
	<3C41DEC4-6A28-48C7-A30E-B9D9B64F34D8 at macports.org>
	<1CAD51E4-DF29-4608-AEDE-4C96932D3B46 at samuelsmith.org>
In-Reply-To: <1CAD51E4-DF29-4608-AEDE-4C96932D3B46 at samuelsmith.org>
Date: Fri, 17 Aug 2007 10:55:48 -0400
Message-ID: <7139DF06-3C1C-489C-A7B3-DD10CB43D2A4 at cjstubbs.org>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Subject: Re: Error building openmotif
Message: 8


On Aug 17, 2007, at 10:32 AM, Samuel M. Smith wrote:

> I tried it three times with the same result. I did a port clean -- 
> all openmotif before each try.
> /opt/local/var/macports/distfiles/openmotif
> openmotif-2.3.0.tar.gz
>
> On 17 Aug 2007, at 01:11 , Ryan Schmidt wrote:
>
>> On Aug 16, 2007, at 23:22, Samuel M. Smith wrote:
>>
>>> Trying to install openmotif as part of xpdf get error
>>>
>>>  Fetching openmotif
>>> --->  Attempting to fetch openmotif-2.3.0.tar.gz from ftp:// 
>>> ftp.ics.com/openmotif/2.3/2.3.0/
>>> --->  Verifying checksum(s) for openmotif
>>> Error: Checksum (md5) mismatch for openmotif-2.3.0.tar.gz
>>> Error: Target org.macports.checksum returned: Unable to verify  
>>> file checksums
>>>

Checksum seems wrong in the Portfile, I get this on the manually  
downloaded file:

99d0ecb84d3504da421021a19ff70500

Portfile has this:

ef8f8ca6f6f80bfb96351f12b550b29b

Try editing the portfile to see if this works around the error.





--===============0574192649==
Content-Type: message/rfc822
MIME-Version: 1.0

Content-Transfer-Encoding: 7bit
From: Ryan Schmidt <ryandesign at macports.org>
Precedence: list
MIME-Version: 1.0 (Apple Message framework v752.3)
Cc: macports Users <macports-users at lists.macosforge.org>
To: Jeff Stubbs <jeff at cjstubbs.org>
References: <AB971F44-B752-4490-BE86-838264E16D52 at samuelsmith.org>
	<3C41DEC4-6A28-48C7-A30E-B9D9B64F34D8 at macports.org>
	<1CAD51E4-DF29-4608-AEDE-4C96932D3B46 at samuelsmith.org>
	<7139DF06-3C1C-489C-A7B3-DD10CB43D2A4 at cjstubbs.org>
In-Reply-To: <7139DF06-3C1C-489C-A7B3-DD10CB43D2A4 at cjstubbs.org>
Date: Fri, 17 Aug 2007 11:15:57 -0500
Message-ID: <094735D3-0098-40CA-B7A3-7C8A86459F35 at macports.org>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Subject: Re: Error building openmotif
Message: 9

On Aug 17, 2007, at 09:55, Jeff Stubbs wrote:

> On Aug 17, 2007, at 10:32 AM, Samuel M. Smith wrote:
>
>> On 17 Aug 2007, at 01:11 , Ryan Schmidt wrote:
>>
>>> On Aug 16, 2007, at 23:22, Samuel M. Smith wrote:
>>>
>>>> Trying to install openmotif as part of xpdf get error
>>>>
>>>>  Fetching openmotif
>>>> --->  Attempting to fetch openmotif-2.3.0.tar.gz from ftp:// 
>>>> ftp.ics.com/openmotif/2.3/2.3.0/
>>>> --->  Verifying checksum(s) for openmotif
>>>> Error: Checksum (md5) mismatch for openmotif-2.3.0.tar.gz
>>>> Error: Target org.macports.checksum returned: Unable to verify  
>>>> file checksums
>>
>> I tried it three times with the same result. I did a port clean -- 
>> all openmotif before each try.
>> /opt/local/var/macports/distfiles/openmotif
>> openmotif-2.3.0.tar.gz
>
> Checksum seems wrong in the Portfile, I get this on the manually  
> downloaded file:
>
> 99d0ecb84d3504da421021a19ff70500
>
> Portfile has this:
>
> ef8f8ca6f6f80bfb96351f12b550b29b
>
> Try editing the portfile to see if this works around the error.

Ok, but *why* is it wrong. The checksum exists exactly so that we can  
detect when the distfile changes under our noses. Blindly changing  
the checksum to the file's current checksum completely defeats the  
purpose of having the check in the first place. Please read the FAQ:

http://trac.macosforge.org/projects/macports/wiki/ 
FAQ#IgetError:checksummd5/sha1/rmd160mismatchforport.WhatcanIdoaboutit


On Aug 17, 2007, at 09:37, Simon Ruderich wrote:

>> I did a port sync but now I get a new error
>>
>> sudo port install xpdf
>> Error: Unable to execute port: can't read "Id": no such variable
>
> After a port sync I get this too. It looks like the problem is the
> ghostscript port, but I don't know why. Maybe someone else can have a
> look at this.

I believe this has been resolved already:

http://trac.macosforge.org/projects/macports/changeset/28003






--===============0574192649==--
--===============0004822361==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Description: Digest Footer

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

--===============0004822361==--





More information about the macports-users mailing list