Bug 124897 - /usr/ports/emulators/linux_base-f8 fails to make and install
Summary: /usr/ports/emulators/linux_base-f8 fails to make and install
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: Boris Samorodov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-23 05:50 UTC by Fritz Katz
Modified: 2008-07-22 14:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fritz Katz 2008-06-23 05:50:01 UTC
Two of the RPM files that are downloaded as part of the linux_base-f8 emulator have the wrong name, size, and MD5/SHA256 checksums.

Fix: 

Modify Makefile, distinfo.i386 
---------------------------

# diff distinfo.i386_ORIG distinfo.i386
22,24c22,24
< MD5 (rpm/i386/fedora/8/coreutils-6.9-16.fc8.i386.rpm) = 724e04a0ebd6f974695efb5fc678394e
< SHA256 (rpm/i386/fedora/8/coreutils-6.9-16.fc8.i386.rpm) = 8ab432b3c6f00e3ed5cde6da7129e7177a5155a0bc1b18f3fb2a0b32b3ca4c99
< SIZE (rpm/i386/fedora/8/coreutils-6.9-16.fc8.i386.rpm) = 3488742
---
> MD5 (rpm/i386/fedora/8/coreutils-6.9-9.fc8.i386.rpm) = 503a7995117d487374f3501846d53bdd
> SHA256 (rpm/i386/fedora/8/coreutils-6.9-9.fc8.i386.rpm) = aa6d978be525f131f770faa0963f6f6eab8cf59a5293d9f8779ee4864939f4bf
> SIZE (rpm/i386/fedora/8/coreutils-6.9-9.fc8.i386.rpm) = 3487191
64,66c64,66
< MD5 (rpm/i386/fedora/8/krb5-libs-1.6.2-13.fc8.i386.rpm) = 4c16ffbf9e8ea56b0f5e5509222f7bfa
< SHA256 (rpm/i386/fedora/8/krb5-libs-1.6.2-13.fc8.i386.rpm) = ab79c019303745a0229a49858b805558d82a215ba6d2f066fdd3b57492197b21
< SIZE (rpm/i386/fedora/8/krb5-libs-1.6.2-13.fc8.i386.rpm) = 719048
---
> MD5 (rpm/i386/fedora/8/krb5-libs-1.6.2-9.fc8.i386.rpm) = 067eb396faa475d1e2d39be849619bb9
> SHA256 (rpm/i386/fedora/8/krb5-libs-1.6.2-9.fc8.i386.rpm) = dbf1f99e60ad1642a7e995de5232ed7c8b86b6610d2122e68cb53f65b994b9d3
> SIZE (rpm/i386/fedora/8/krb5-libs-1.6.2-9.fc8.i386.rpm) = 717481
-------------------------------------------------------
# diff Makefile_ORIG Makefile
30c30
<               coreutils-6.9-16.fc8.${LINUX_RPM_ARCH}.rpm \
---
>               coreutils-6.9-9.fc8.${LINUX_RPM_ARCH}.rpm \
44c44
<               krb5-libs-1.6.2-13.fc8.${LINUX_RPM_ARCH}.rpm \
---
>               krb5-libs-1.6.2-9.fc8.${LINUX_RPM_ARCH}.rpm \
73c73
<               coreutils-6.9-16.fc8.src.rpm \
---
>               coreutils-6.9-9.fc8.src.rpm \
86c86
<               krb5-1.6.2-13.fc8.src.rpm \
---
>               krb5-1.6.2-9.fc8.src.rpm \
-------------------------------------------------------
How-To-Repeat: # su
# cd /usr/ports/emulators/linux_base-f8
# mv /compat/linux /compat/linux-2.4.2
# sysctl compat.linux.osrelease=2.6.16
# make

   ((( first several files download OK )))

Attempting to fetch from http://mirrors.kernel.org/fedora/core/../updates/8/i386/.
fetch: http://mirrors.kernel.org/fedora/core/../updates/8/i386/coreutils-6.9-16.fc8.i386.rpm: Not Found
=> Attempting to fetch from ftp://mirrors.kernel.org/fedora/core/../releases/8/Everything/i386/os/Packages/.
fetch: ftp://mirrors.kernel.org/fedora/core/../releases/8/Everything/i386/os/Packages/coreutils-6.9-16.fc8.i386.rpm: File unavailable (e.g., file not found, no access)
=> Attempting to fetch from ftp://mirrors.kernel.org/fedora/core/../updates/8/i386/.
fetch: ftp://mirrors.kernel.org/fedora/core/../updates/8/i386/coreutils-6.9-16.fc8.i386.rpm: File unavailable (e.g., file not found, no access)

  ((( ... then goes on to attempt every ftp site in the list for the non-existant files )))

These are the files that the droid is looking for: :-)

http://mirrors.kernel.org/fedora/releases/8/Everything/i386/os/Packages/
  coreutils-6.9-9.fc8.i386.rpm
  krb5-libs-1.6.2-9.fc8.i386.rpm
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-06-23 05:50:06 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bsam

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2008-07-22 13:48:19 UTC
bsam        2008-07-22 12:48:11 UTC

  FreeBSD ports repository

  Modified files:
    emulators/linux_base-f8 Makefile distinfo.i386 
  Log:
  Upgrade to the recent Fedora-8 updates (coreutils and krb5).
  Inspirited by the PR.
  
  PR:             124897
  Submitted by:   Fritz Katz <frtzkatz yahoo com>
  
  Revision  Changes    Path
  1.43      +5 -5      ports/emulators/linux_base-f8/Makefile
  1.23      +12 -12    ports/emulators/linux_base-f8/distinfo.i386
_______________________________________________
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"
Comment 3 Boris Samorodov freebsd_committer freebsd_triage 2008-07-22 13:49:09 UTC
State Changed
From-To: open->closed

A different patch is used to update the port (submitter didn't notice 
"updates" subdirectory for Fedora 8 at distribution sites). 

Thanks for the report!