public inbox for bzip2-devel@sourceware.org
 help / color / mirror / Atom feed
* [Bug bzip2/30001] New: Port to autoconf build system (maybe use sbrabec's patch?)
@ 2023-01-14 11:47 slyich at gmail dot com
  2023-01-14 16:49 ` [Bug bzip2/30001] " sam at gentoo dot org
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: slyich at gmail dot com @ 2023-01-14 11:47 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=30001

            Bug ID: 30001
           Summary: Port to autoconf build system (maybe use sbrabec's
                    patch?)
           Product: bzip2
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bzip2
          Assignee: nobody at sourceware dot org
          Reporter: slyich at gmail dot com
                CC: bzip2-devel at sourceware dot org
  Target Milestone: ---

To ease cross-compilation of bzip2 NixOS uses

   
https://ftp.suse.com/pub/people/sbrabec/bzip2/for_downstream/bzip2-1.0.6.2-autoconfiscated.patch
version of autoconf build system for bzip2.

WDYT of merging it upstream in some form?

Currently NixOS generates ./configure using autoconf and automake. NixOS would
prefer using autoconf-based upstream bzip2 release tarball without a dependency
on these development tools.

Thanks!

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/30001] Port to autoconf build system (maybe use sbrabec's patch?)
  2023-01-14 11:47 [Bug bzip2/30001] New: Port to autoconf build system (maybe use sbrabec's patch?) slyich at gmail dot com
@ 2023-01-14 16:49 ` sam at gentoo dot org
  2023-02-12 17:13 ` eschwartz at archlinux dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: sam at gentoo dot org @ 2023-01-14 16:49 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=30001

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |eschwartz at archlinux dot org,
                   |                            |sam at gentoo dot org

--- Comment #1 from Sam James <sam at gentoo dot org> ---
See Eli's patch series:
https://sourceware.org/pipermail/bzip2-devel/2022q2/000166.html.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/30001] Port to autoconf build system (maybe use sbrabec's patch?)
  2023-01-14 11:47 [Bug bzip2/30001] New: Port to autoconf build system (maybe use sbrabec's patch?) slyich at gmail dot com
  2023-01-14 16:49 ` [Bug bzip2/30001] " sam at gentoo dot org
@ 2023-02-12 17:13 ` eschwartz at archlinux dot org
  2023-02-12 19:22 ` noloader at gmail dot com
  2024-04-20  7:44 ` sam at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: eschwartz at archlinux dot org @ 2023-02-12 17:13 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=30001

--- Comment #2 from Eli Schwartz <eschwartz at archlinux dot org> ---
In general my understanding is that autoconfiscation patch you linked was
explicitly rejected several times due to the "Incompatible changes" section.

My patch series solves this problem and a number of other problems. It should
also still work fine with cross-compilation, just specify `./configure
--host=<triplet>` and it will set up e.g. `$CC` correctly.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/30001] Port to autoconf build system (maybe use sbrabec's patch?)
  2023-01-14 11:47 [Bug bzip2/30001] New: Port to autoconf build system (maybe use sbrabec's patch?) slyich at gmail dot com
  2023-01-14 16:49 ` [Bug bzip2/30001] " sam at gentoo dot org
  2023-02-12 17:13 ` eschwartz at archlinux dot org
@ 2023-02-12 19:22 ` noloader at gmail dot com
  2024-04-20  7:44 ` sam at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: noloader at gmail dot com @ 2023-02-12 19:22 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=30001

Jeffrey Walton <noloader at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |noloader at gmail dot com

--- Comment #3 from Jeffrey Walton <noloader at gmail dot com> ---
(In reply to Eli Schwartz from comment #2)
> In general my understanding is that autoconfiscation patch you linked was
> explicitly rejected several times due to the "Incompatible changes" section.
> 
> My patch series solves this problem and a number of other problems. It
> should also still work fine with cross-compilation, just specify
> `./configure --host=<triplet>` and it will set up e.g. `$CC` correctly.

One comment... To cross-compile, you should specify both --build and --host.
--build is easy. config.guess gives that triplet:

   $ find /usr/share -name config.guess
   ...
   /usr/share/autoconf/build-aux/config.guess

   $ /usr/share/autoconf/build-aux/config.guess
   x86_64-pc-linux-gnu

--host is the trickier one. There is no list of cross-compile triplets.

Also see
https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Hosts-and-Cross_002dCompilation.html
.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bzip2/30001] Port to autoconf build system (maybe use sbrabec's patch?)
  2023-01-14 11:47 [Bug bzip2/30001] New: Port to autoconf build system (maybe use sbrabec's patch?) slyich at gmail dot com
                   ` (2 preceding siblings ...)
  2023-02-12 19:22 ` noloader at gmail dot com
@ 2024-04-20  7:44 ` sam at gentoo dot org
  3 siblings, 0 replies; 5+ messages in thread
From: sam at gentoo dot org @ 2024-04-20  7:44 UTC (permalink / raw)
  To: bzip2-devel

https://sourceware.org/bugzilla/show_bug.cgi?id=30001

Sam James <sam at gentoo dot org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           See Also|                            |https://sourceware.org/bugz
                   |                            |illa/show_bug.cgi?id=31660

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-04-20  7:44 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-01-14 11:47 [Bug bzip2/30001] New: Port to autoconf build system (maybe use sbrabec's patch?) slyich at gmail dot com
2023-01-14 16:49 ` [Bug bzip2/30001] " sam at gentoo dot org
2023-02-12 17:13 ` eschwartz at archlinux dot org
2023-02-12 19:22 ` noloader at gmail dot com
2024-04-20  7:44 ` sam at gentoo dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).