Bug 145202 - [PATCH] net/cvsup: Causes errors during 'make index' on amd64
Summary: [PATCH] net/cvsup: Causes errors during 'make index' on amd64
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Pav Lucistnik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-30 15:00 UTC by Kevin Kobb
Modified: 2010-03-31 15:40 UTC (History)
0 users

See Also:


Attachments
file.diff (1.13 KB, patch)
2010-03-30 15:00 UTC, Kevin Kobb
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Kobb 2010-03-30 15:00:16 UTC
If you try to try to create and INDEX file by running 'make index' or using portsdb on an amd64 system, you will always get an 'Duplicate INDEX entry: cvsup-without-gui-16.1h_4' warning message. The make process detects you are on amd64 and creates an entry for cvsup-without-gui from the net/cvsup directory and the net/cvsup-without-gui directory. You wind up with the duplicate index message for cvsup-without-gui, and no index entry at all for net/cvsup.

Fix: Patch attached. Not sure if this the best way to do it, but it does get rid of the duplicate index errors, and the port seems to build and work OK. I don't actually use the port, but it would be nice not to get the index errors. 

Patch attached with submission follows:
How-To-Repeat: Run make index or portsdb -U on an amd64 system.
Comment 1 Pav Lucistnik freebsd_committer 2010-03-31 13:22:06 UTC
State Changed
From-To: open->feedback

This is not a correct patch - there is no X11 support on amd64, so the port 
must be forced to no-X11 on amd64. With your change, this no longer happens. 


Comment 2 Pav Lucistnik freebsd_committer 2010-03-31 13:22:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->pav

This is not a correct patch - there is no X11 support on amd64, so the port 
must be forced to no-X11 on amd64. With your change, this no longer happens.
Comment 3 Pav Lucistnik freebsd_committer 2010-03-31 15:33:43 UTC
State Changed
From-To: feedback->closed

Ok, I think (I hope) it will stop producing this warning now
Comment 4 dfilter service freebsd_committer 2010-03-31 15:34:07 UTC
pav         2010-03-31 14:33:52 UTC

  FreeBSD ports repository

  Modified files:
    net/cvsup            Makefile 
  Log:
  - Mark IGNORE on amd64 unless WITHOUT_X11 is selected, instead of faking that
    option
  
  PR:             ports/145202 (inspired by)
  
  Revision  Changes    Path
  1.71      +5 -4      ports/net/cvsup/Makefile
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"