Bug 90252 - port linux_base-8 fails install if installed with portinstall, works with 'make install'
Summary: port linux_base-8 fails install if installed with portinstall, works with 'ma...
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: freebsd-emulation (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-11 18:20 UTC by Torfinn Ingolfsen
Modified: 2005-12-13 13:17 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 Torfinn Ingolfsen 2005-12-11 18:20:03 UTC

'portupgrade -R linux_base-8' fails. After deinstalling linux_base-8, 'portinstall -R linux_base-8' also fails.
Old version of linux_base-8 was 8.0_9, new version is:
root@kg-quiet# portversion -v | grep linux_base
linux_base-8-8.0_10         =  up-to-date with port

Fix: 

No fix known (by submitter) at this time.
Workaround:
- deinstall linux_base-8
- install it manually:
cd /usr/ports/emulators/linux_base-8
make install
How-To-Repeat: 

Use FreeBSD 6.0 / amd64 (I don't know if this problem exists on other archs)

Try 'portinstall -R linux_base-8', or if you have linux_base-8 installed already, try 'portupgrade -R linux_base-8'.
(Obviously, this requires that you have a not up to date  version installed)
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2005-12-11 19:52:30 UTC
Responsible Changed
From-To: freebsd-ports-bugs->freebsd-emulation

Over to maintainer
Comment 2 Sam Lawrance 2005-12-11 20:04:09 UTC
On 12/12/2005, at 5:14 AM, Torfinn Ingolfsen wrote:
>
> 'portupgrade -R linux_base-8' fails. After deinstalling  
> linux_base-8, 'portinstall -R linux_base-8' also fails.
> Old version of linux_base-8 was 8.0_9, new version is:
> root@kg-quiet# portversion -v | grep linux_base
> linux_base-8-8.0_10         =  up-to-date with port

You haven't shown anything about how it fails.  Can you describe the  
mode of failure, and provide the relevant parts of a build log?
Comment 3 Torfinn Ingolfsen 2005-12-11 23:38:05 UTC
Quoting Sam Lawrance <boris@brooknet.com.au>:

> You haven't shown anything about how it fails.  Can you describe the  
> mode of failure, and provide the relevant parts of a build log?

Sorry about that, too hasty of me. It is the install script / install part of
the port that fails. Here is the relevant part of the output:
===>  Patching for linux_base-8-8.0_10
===>   linux_base-8-8.0_10 depends on executable: rpm - found
===>  Configuring for linux_base-8-8.0_10
--->  Installing the new version via the port
===>  Installing for linux_base-8-8.0_10
===>   Generating temporary packing list
===>  Checking if emulators/linux_base-8 already installed
kern.fallback_elf_brand: -1 -> 3
redhat-release-8.0-8.noarch.rpm
glibc-common-2.3.2-4.80.8.i386.rpm
ELF binary type "0" not known.
execution of glibc-common-2.3.2-4.80.8 script failed, exit status 255
*** Error code 1

Stop in /usr/ports/emulators/linux_base-8.
*** Error code 1

Stop in /usr/ports/emulators/linux_base-8.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portinstall28575.11
make reinstall
** Fix the installation problem and try again.
** Listing the failed packages (*:skipped / !:failed)
        ! emulators/linux_base-8        (install error)
--->  Packages processed: 0 done, 11 ignored, 0 skipped and 1 failed

The strange part (for me) is that this doesn't happen when I install the port
manually.

I hope this is what you wanted, if not, feel free to ask more questions.
-- 
Regards,
Torfinn

-------------------------------------------------------------------------
Start.no tilbyr nå raskere bredbånd til lavere pris.
Sjekk http://www.start.no/bredband/ for mer informasjon
Comment 4 Sam Lawrance freebsd_committer freebsd_triage 2005-12-13 13:15:54 UTC
State Changed
From-To: open->closed

This PR describes the same problem as reported in ports/80679. 

A more extensive analysis is available there.