Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

extend version on Mac gives "ld: warning: ignoring duplicate libraries: '-lc++', '-lm'" error massed on go install #12659

Open
gedw99 opened this issue Jul 15, 2024 · 3 comments

Comments

@gedw99
Copy link

gedw99 commented Jul 15, 2024

What version of Hugo are you using (hugo version)?

latest

Does this issue reproduce with the latest release?

yes

How to reproduce ?

I have only done this on a Mac m2.

Hugo still installs and works, but I wanted to just raise this, as originally I thought the install failed, due to the message. Maybe there is an easy way to fix this message occurring, so I figured that it is worth raising.

CGO_ENABLED=1 go install -tags extended github.com/gohugoio/hugo@latest
# github.com/gohugoio/hugo
ld: warning: ignoring duplicate libraries: '-lc++', '-lm'
hugo version                                                           
hugo v0.128.2+extended darwin/arm64 BuildDate=unknown

-tags extended,osusergo,netgo works still

CGO_ENABLED=1 go install -tags extended,osusergo,netgo github.com/gohugoio/hugo@latest
# github.com/gohugoio/hugo
ld: warning: ignoring duplicate libraries: '-lc++', '-lm'
hugo version                                                           
hugo v0.128.2+extended darwin/arm64 BuildDate=unknown
@bep bep added Upstream and removed NeedsTriage labels Jul 15, 2024
@bep bep added this to the v0.130.0 milestone Jul 15, 2024
@bep
Copy link
Member

bep commented Jul 15, 2024

This comes from

  • LibSass
  • I have patched similar warnings before, but this library is deprecated, and we will most likely remove this sooner rather than later, so I don't think we can spend much time on this.

You could try to convince this project to fix this: https://github.com/sass/libsass

@gedw99
Copy link
Author

gedw99 commented Jul 15, 2024

Thanks @bep

Close this and reduce the backlog; to me its not worth the effort …

@gedw99
Copy link
Author

gedw99 commented Jul 15, 2024

Thanks @bep

Close this and reduce the backlog; to me like not worth the effort …

@bep bep modified the milestones: v0.130.0, v0.131.0 Jul 30, 2024
@bep bep modified the milestones: v0.131.0, v0.133.0 Aug 9, 2024
@bep bep modified the milestones: v0.133.0, Unscheduled Aug 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants