BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 30th, 2002, 09:42 AM
estrabd's Avatar
estrabd estrabd is offline
o0o.o0o
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2001
Location: m00n
Posts: 184 estrabd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 4 m 48 sec
Reputation Power: 8
Send a message via ICQ to estrabd Send a message via AIM to estrabd Send a message via Yahoo to estrabd
why ports fail?

What are the most common reasons ports fail with the error message saying that "x out of y hunks failed"? I assume it can't find the patch files.

If this happens, where is the best place to go to diagnose the problem? The *.rej file or what?

Lastly, is it really worth it to rely on the ports system all the time? Is it a bad practice to try to do the building and installing manually sometimes?

On a side note, I was able to rebuld my kernel and update 4.4-RELEASE to 4.5-STABLE finally.

TIA,
Brett

Reply With Quote
  #2  
Old April 30th, 2002, 06:40 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> error message saying that "x out of y hunks failed"?

The patch doesn't match your src.

>> where is the best place to go to diagnose the problem?

What's your uname -r? Which particular port and its modified date in its Makefile? The best way is to contact the port maintainer if it's broken.

>> The *.rej file or what?

To fix it by hand, yes, just read the .rej and merge the diffs to the original src by hand. That's exactly what I have done to qmail source all the time when trying to patch it with 15 different patches that conflict one another.

>> is it really worth it to rely on the ports system all the time?

Yes but with make extract and examination of the original src under that work dir.

>> Is it a bad practice to try to do....

No if that software is not available in the ports collection.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > why ports fail?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway