Bug 41839

Summary: devel/libtool 1.3.4 port patch files inconsistent with tarball on CD-ROM set
Product: Ports & Packages Reporter: M. Lavondes <baloo>
Component: Individual Port(s)Assignee: Ade Lovett <ade>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description M. Lavondes 2002-08-21 11:00:03 UTC
The tarball directory structure in libtool-1.3.4_3.tgz isn't what the
patches (files/patch-a[a-d] are the ones I tried so far) expect.
patch-aa refers to a non-existent .texi file (what I think is the corresponding .info file already has the change integrated, I think).
The changes in patch-ac and patch-ad appear to be already applied to
(again what I think are) the corresponding files extracted from the tarball.
I think I was able to make the patch-ab changes by hand.

I searched the mailing list archives and the PR database and didn't find anything that looked relevant.

(Sorry if some or all of the above is too vague. I'm filing this from an Internet Cafe, and have no way to carry files or logs from my machine to there, not even on paper - no printer.)

Fix: 

Removing each patch file after checking that the diffs in it were
applied or are irrelevant to the install (eg, title line in a .text or .info) seems to alleviate the problem (ie, you get to deal with the next patch file down the list instead). I wouldn't call that a fix, though, and I'm still not sure it's a complete workaround by itself.
How-To-Repeat: (as root, with CD #1 of the 4-CD FreeBSD 4.6-RELEASE set from freebsdmall.com mounted as /cdrom)
# cd /usr/ports
# cp `find /cdrom -name libtool-1.3.4_3.tgz -print` distfiles
# ln -s libtool-1.3.4_3.tgz distfiles/libtool-1.3.4.tar.gz
# cd devel/libtool
# make install
Comment 1 Mario Sergio Fujikawa Ferreira freebsd_committer freebsd_triage 2002-08-21 14:45:45 UTC
Responsible Changed
From-To: freebsd-ports->ade

Over to maintainer(s)
Comment 2 M. Lavondes 2002-09-08 09:09:34 UTC
First, the uname -a that was missing:

FreeBSD goofball.lavondes.com 4.6-RELEASE FreeBSD 4.6-RELEASE #0: Sat Aug
15 20:25:28 CEST 2002     root@:/usr/src/sys/compile/GOOFBALL  i386

Second, what I did to solve the problem (for libtool first, then for
gettext, expat, and gmake, which also had similar problems) by:

1. Getting port descriptions either from CVS on CD#2 of the set or
   directly from ftp.freebsd.org.

2. Getting tarballs from ftp.freebsd.org or ftp.gnu.org.

3. "make install"-ing in the appropriate directories.

I ended up installing the following:

libtool-1.3.4_4     Generic shared library support script
expat-1.95.4        XML 1.0 parser written in C
gettext-0.11.5      GNU gettext package
gmake-3.79.1_2      GNU version of 'make' utility

At that point, of course, gmake decided that it didn't need any of the
others after all. :-)

I'm not sure what caused the original problem, but I suspect the port
descriptions and tarballs somehow got out of sync. Probably best to close
the PR with caveats in the appropriate places, unless you want me to look
at specific files in the CD set for more detailed analysis.
Comment 3 Trevor Johnson freebsd_committer freebsd_triage 2002-09-09 05:39:21 UTC
Responsible Changed
From-To: ade->freebsd-ports

Ade resigned.
Comment 4 Trevor Johnson freebsd_committer freebsd_triage 2002-09-09 05:39:21 UTC
Responsible Changed
From-To: ade->freebsd-ports

Ade resigned.
Comment 5 Trevor Johnson freebsd_committer freebsd_triage 2002-09-09 05:39:21 UTC
Responsible Changed
From-To: ade->freebsd-ports

Ade resigned.
Comment 6 Trevor Johnson freebsd_committer freebsd_triage 2002-09-09 05:39:21 UTC
Responsible Changed
From-To: ade->freebsd-ports

Ade resigned.
Comment 7 Trevor Johnson freebsd_committer freebsd_triage 2002-09-09 05:39:21 UTC
Responsible Changed
From-To: ade->freebsd-ports

Ade resigned.
Comment 8 Ade Lovett freebsd_committer freebsd_triage 2003-01-20 04:52:22 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ade

I'll be looking at all things libtool prior to 4.8-RELEASE
Comment 9 Ade Lovett freebsd_committer freebsd_triage 2003-06-27 00:04:07 UTC
State Changed
From-To: open->closed

Pretty much irrelevant now, since we're at libtool-1.3.5