Bug 202264 - Linux f10 ports broken with 64-bit c6 ports
Summary: Linux f10 ports broken with 64-bit c6 ports
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Ports Framework (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Tijl Coosemans
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-08-12 07:27 UTC by Koop Mast
Modified: 2016-09-06 10:33 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Koop Mast freebsd_committer freebsd_triage 2015-08-12 07:27:14 UTC
For my testing of the newest flash update, I encountered this issue.

I set the following macros to get the c6_64 bit ports.
OVERRIDE_LINUX_BASE_PORT=c6_64
OVERRIDE_LINUX_NONBASE_PORTS=c6_64

Either we need to finally axe linux f10 support, or the framework need to be taught not to try to use 64bit libs for f10 ports.

------------------------------------------------------------------------

===>   linux-f10-flashplugin-11.2r202.508 depends on file: /compat/linux/bin/sh - found
===>   Returning to build of linux-f10-flashplugin-11.2r202.508
===>   linux-f10-flashplugin-11.2r202.508 depends on file: /compat/linux/usr/lib64/libatk-1.0.so.0.3009.1 - not found
===>   Installing existing package /packages/All/linux-c6_64-atk-1.30.0.txz
[101amd64-kwm-job-01] Installing linux-c6_64-atk-1.30.0...
[101amd64-kwm-job-01] `-- Installing linux_base-c6_64-6.6_6...
pkg-static: linux_base-c6_64-6.6_6 conflicts with linux_base-f10-10_9 (installs files into the same place).  Problematic file: /compat/linux/bin/[

Failed to install the following 1 package(s): /packages/All/linux-c6_64-atk-1.30.0.txz
*** Error code 70

Stop.
make: stopped in /usr/ports/www/linux-f10-flashplugin11
Comment 1 Johannes Jost Meixner freebsd_committer freebsd_triage 2015-08-19 14:58:25 UTC
That's expected.

linux-f10-* sets USE_LINUX= f10, which in turn depends on linux_base-f10, which will conflict with linux_base-c6 as it installs files into the same place.

Likewise for other dependencies through e.g. USE_LINUX_APPS - you're really not supposed to even try this.
Comment 2 Johannes Jost Meixner freebsd_committer freebsd_triage 2015-08-19 15:10:24 UTC
Actually, I'll partly have to eat my words:

You can fix this error by appending " && ! defined(USE_LINUX)" to line 43 of Mk/bsd.linux-apps.mk.

What you then obtain is a dependency on linux-f10-flashplugin11 entirely on -f10 things.

Now, with CentOS 6.7 64bit installed, this will fail because Fedora 10 and CentOS 6 conflict *per se*. But that's another story.
Comment 3 Tijl Coosemans freebsd_committer freebsd_triage 2016-09-06 10:33:47 UTC
Fixed in ports r421387.