Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 14631] New: host-go-bootstrap: go not being built for package in external tree
@ 2022-03-01 19:49 bugzilla
  2022-03-06 15:33 ` [Buildroot] [Bug 14631] " bugzilla
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla @ 2022-03-01 19:49 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14631

            Bug ID: 14631
           Summary: host-go-bootstrap: go not being built for package in
                    external tree
           Product: buildroot
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P5
         Component: Other
          Assignee: unassigned@buildroot.uclibc.org
          Reporter: contact@martb.dev
                CC: buildroot@uclibc.org
  Target Milestone: ---

Hey,

running on 2022.02-rc2.

I tried adding a local go package inside my external tree using the following
stripped down config.

Config.in (included correctly, showing up inside menuconfig)
```
config BR2_PACKAGE_APOGEE
        bool "apogee"
        depends on BR2_PACKAGE_HOST_GO_TARGET_ARCH_SUPPORTS
        help
          my help string
```

.mk
```
APOGEE_SITE = $(BR2_EXTERNAL_MYTREE_PATH)/src/apogee
APOGEE_SITE_METHOD = local
APOGEE_BUILD_TARGETS = cmd/apogee
APOGEE_INSTALL_BINS = apogee
APOGEE_GOMOD = "<stripped>/apogee"
...
$(eval $(golang-package))
```

Whenever i try building this package i get:

```
/bin/sh: Line 1:
/home/<censored>/Schreibtisch/<censored>/mytree/output/host/bin/go: File or
directory not found
```

Building a different go package like tinifier seems to trigger the bootstrap
build fine though.
Is this some limitation due to the "local" site source or due to the external
tree im using?

Kind regards
Martin

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14631] host-go-bootstrap: go not being built for package in external tree
  2022-03-01 19:49 [Buildroot] [Bug 14631] New: host-go-bootstrap: go not being built for package in external tree bugzilla
@ 2022-03-06 15:33 ` bugzilla
  2022-03-07 19:02 ` bugzilla
  2022-03-07 21:29 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2022-03-06 15:33 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14631

--- Comment #1 from Fabrice Fontaine <fontaine.fabrice@gmail.com> ---
Hello,

Thanks for your bug report, the following patch should fix your issue:
https://patchwork.ozlabs.org/project/buildroot/patch/11477_1644506977_62052F61_11477_142_1_1cfdf4aa3ac96d2d2cf246385325f93b451d773b.1644506959.git.yann.morin@orange.com/

Unfortunately, this patch has not been applied to master yet.

Best Regards,

Fabrice

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14631] host-go-bootstrap: go not being built for package in external tree
  2022-03-01 19:49 [Buildroot] [Bug 14631] New: host-go-bootstrap: go not being built for package in external tree bugzilla
  2022-03-06 15:33 ` [Buildroot] [Bug 14631] " bugzilla
@ 2022-03-07 19:02 ` bugzilla
  2022-03-07 21:29 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2022-03-07 19:02 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14631

--- Comment #2 from contact@martb.dev ---
Thanks for bringing this to my attention Fabrice!

Applied for now, i hope it makes its way into 2022.02 sooner or later.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

* [Buildroot] [Bug 14631] host-go-bootstrap: go not being built for package in external tree
  2022-03-01 19:49 [Buildroot] [Bug 14631] New: host-go-bootstrap: go not being built for package in external tree bugzilla
  2022-03-06 15:33 ` [Buildroot] [Bug 14631] " bugzilla
  2022-03-07 19:02 ` bugzilla
@ 2022-03-07 21:29 ` bugzilla
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla @ 2022-03-07 21:29 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=14631

Peter Korsgaard <jacmet@uclibc.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #3 from Peter Korsgaard <jacmet@uclibc.org> ---
Fixed by
https://git.buildroot.org/buildroot/commit/?id=3539f45ca09558a22fb5816baae9088c34490380,
thanks

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

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

end of thread, other threads:[~2022-03-07 21:29 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-01 19:49 [Buildroot] [Bug 14631] New: host-go-bootstrap: go not being built for package in external tree bugzilla
2022-03-06 15:33 ` [Buildroot] [Bug 14631] " bugzilla
2022-03-07 19:02 ` bugzilla
2022-03-07 21:29 ` bugzilla

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox