Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[Bug 210926] [NEW PORT] emulators/linux_base-c7: base port for future linux-c7 metaport

19 views
Skip to first unread message

bugzilla...@freebsd.org

unread,
Jul 11, 2016, 11:44:19 AM7/11/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Johannes Jost Meixner <x...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |emul...@FreeBSD.org,
| |x...@FreeBSD.org

--- Comment #4 from Johannes Jost Meixner <x...@FreeBSD.org> ---
Someone else will want to look at this.

Thanks
-J

--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
freebsd-...@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-emulation
To unsubscribe, send any mail to "freebsd-emulat...@freebsd.org"

bugzilla...@freebsd.org

unread,
Jul 16, 2016, 12:45:55 PM7/16/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Tijl Coosemans <ti...@FreeBSD.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Assignee|freebsd-ports-bugs@FreeBSD. |ti...@FreeBSD.org
|org |

--- Comment #5 from Tijl Coosemans <ti...@FreeBSD.org> ---
There are i386 packages at http://mirror.centos.org/altarch/7.2.1511/
I think you can just add this to MASTER_SITE_SUBDIR and then remove some of the
changes in the Mk diff.

bugzilla...@freebsd.org

unread,
Jul 16, 2016, 5:51:02 PM7/16/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

--- Comment #6 from Piotr Kubaj <pku...@anongoth.pl> ---
(In reply to Tijl Coosemans from comment #5)
I know about those. Thing is, I've already asked about including i386 support
on #freebsd on FreeNode and got the response that it's probably not worth it.
Do you still believe that we should include i386 c7 support even though i386 is
basically unsupported in c7 (they only officially support amd64)?

bugzilla...@freebsd.org

unread,
Jul 17, 2016, 10:57:29 AM7/17/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Joe <j...@getsomewhere.net> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |j...@getsomewhere.net

--- Comment #7 from Joe <j...@getsomewhere.net> ---
I'm not sure on your conversations on irc, but I think what you're likely to
find is a bunch of users wanting the 64bit linux installation with support for
32bit applications. This would add a few rpms which are both 32bit & 64bit,
such as the libstdc++. I know they ran into that in the c6.7-64bit
installation.
See https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206943 as a reference to
that they even patched the c6-64 port for that.

I know for my purposes that I'd be using steamcmd, which is 32bit, and can
install a variety of 32bit and 64bit applications.

bugzilla...@freebsd.org

unread,
Jul 17, 2016, 11:46:14 AM7/17/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

--- Comment #8 from Tijl Coosemans <ti...@FreeBSD.org> ---
I would like to keep support for multiple archs, because at some point we may
want to add ARM support. i386 support seems easy to keep for now and according
to https://wiki.centos.org/SpecialInterestGroup/AltArch/i386 the packages are
built as part of the 64 bit build so they are at least semiofficial.

bugzilla...@freebsd.org

unread,
Jul 17, 2016, 12:31:03 PM7/17/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

--- Comment #9 from Piotr Kubaj <pku...@anongoth.pl> ---
I'd like to clarify on this issue. i386 packages are included in linux-c7
ports, so you will be able to run i386 binaries on amd64 (i386 packages are
already present in linux_base-c7 distinfo). What is not possible in this setup
is running i386 binaries on i386.

So yeah, you will be able to run Steam in this scenario. And who uses
exclusively i386 anyway nowadays?

bugzilla...@freebsd.org

unread,
Jul 17, 2016, 1:26:26 PM7/17/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Ivan <b...@abinet.ru> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |b...@abinet.ru

--- Comment #10 from Ivan <b...@abinet.ru> ---
(In reply to Piotr Kubaj from comment #9)
Cheap vps hosters provide i386 FreeBSD, for example https://vds6.net/

bugzilla...@freebsd.org

unread,
Jul 17, 2016, 6:02:31 PM7/17/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172244|0 |1
is obsolete| |
Attachment #172328|0 |1
is obsolete| |

--- Comment #11 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172619
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172619&action=edit
linux_base-c7 shar

Includes amd64 and i386 support. Please test.

bugzilla...@freebsd.org

unread,
Jul 17, 2016, 6:04:02 PM7/17/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172242|0 |1
is obsolete| |

--- Comment #12 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172620
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172620&action=edit
Mk patch

bugzilla...@freebsd.org

unread,
Jul 19, 2016, 1:05:26 PM7/19/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172620|0 |1
is obsolete| |

--- Comment #13 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172728
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172728&action=edit
Mk patch

I've found that after adding back i386, the port doesn't fetch correctly, so
I'm attaching another shar to make it fetch.

Also, I've simplified bsd.linux-rpm.mk - it doesn't use centos7 LINUX_DIST
variable.

bugzilla...@freebsd.org

unread,
Jul 19, 2016, 1:07:04 PM7/19/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172619|0 |1
is obsolete| |

--- Comment #14 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172729
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172729&action=edit
linux_base-c7 shar

bugzilla...@freebsd.org

unread,
Jul 19, 2016, 2:49:39 PM7/19/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172728|0 |1
is obsolete| |

--- Comment #15 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172733
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172733&action=edit
Mk patch

I was wondering why all of linux-c7-* ports fail to fetch because of
LINUX_RPM_ARCH. Turns out linux stuff is also defined in bsd.port.mk, which
this patch fixes.

bugzilla...@freebsd.org

unread,
Jul 19, 2016, 8:07:03 PM7/19/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172733|0 |1
is obsolete| |

--- Comment #16 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172737
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172737&action=edit
Mk patch

I added version checks to ensure that versions < 10.3 don't use linux-c7-*
ports. I've tested this port myself and started adding other linux-c7-* ports.

I currently consider this patch and shar of linux_base-c7 ready to commit
(although some stylistic corrections might be applied).

bugzilla...@freebsd.org

unread,
Jul 19, 2016, 8:08:16 PM7/19/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172729|0 |1
is obsolete| |

--- Comment #17 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172738
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172738&action=edit
linux_base-c7 shar

bugzilla...@freebsd.org

unread,
Jul 19, 2016, 8:11:25 PM7/19/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172737|0 |1
is obsolete| |

--- Comment #18 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172739
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172739&action=edit
Mk patch

Correct diff with removed testing check.

bugzilla...@freebsd.org

unread,
Jul 22, 2016, 10:11:05 PM7/22/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #172738|0 |1
is obsolete| |

--- Comment #19 from Piotr Kubaj <pku...@anongoth.pl> ---
Created attachment 172851
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=172851&action=edit
linux_base-c7 - correct distinfo

There seems to be some strange bugs in distinfo parser. It only happens in
Poudriere, I can do "make package" just fine. Poudriere fails to download some
distfiles. This shar contains corrected distinfo files.
Tested with Poudriere builds for i386 and amd64.

bugzilla...@freebsd.org

unread,
Jul 23, 2016, 6:38:38 AM7/23/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

Piotr Kubaj <pku...@anongoth.pl> changed:

What |Removed |Added
----------------------------------------------------------------------------
Blocks| |211308


Referenced Bugs:

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211308
[Bug 211308] emulators/linux-c7: first set of ports

bugzilla...@freebsd.org

unread,
Jul 23, 2016, 7:11:07 AM7/23/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

--- Comment #20 from Tijl Coosemans <ti...@FreeBSD.org> ---
I'm going to rework the Linux support a bit before adding c7, convert USE_LINUX
to USES=linux, simplify a few things etc.

bugzilla...@freebsd.org

unread,
Jul 23, 2016, 7:26:16 AM7/23/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

--- Comment #21 from Piotr Kubaj <pku...@anongoth.pl> ---
(In reply to Tijl Coosemans from comment #20)
How big are your changes? I'm not sure whether to further work on c7 ports, or
just wait until you commit your work. I don't want to finish linux-c7 only to
find out that I need to redo all the ports :)

bugzilla...@freebsd.org

unread,
Jul 23, 2016, 11:28:52 AM7/23/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

--- Comment #22 from Tijl Coosemans <ti...@FreeBSD.org> ---
(In reply to Piotr Kubaj from comment #21)
So far it's just s/USE_LINUX=c7/USES+=linux:c7/ and
s/USE_LINUX_APPS/USE_LINUX/.

bugzilla...@freebsd.org

unread,
Aug 4, 2016, 5:51:13 AM8/4/16
to
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=210926

--- Comment #23 from Piotr Kubaj <pku...@anongoth.pl> ---
(In reply to Tijl Coosemans from comment #22)
Could you notify me when you're done with ports framework changes? I don't want
to correct my shars every couple of days.
0 new messages