Opened 8 years ago
Closed 8 years ago
#53358 closed defect (fixed)
webp @0.5.2: fails to build, undefined referenced symbols from freeglut
Reported by: | chtonic | Owned by: | ryandesign (Ryan Carsten Schmidt) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.5 |
Keywords: | Cc: | ||
Port: | webp |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
:info:build Undefined symbols for architecture x86_64: :info:build "_glutLeaveMainLoop", referenced from: :info:build _HandleKey in vwebp-vwebp.o :info:build "_glutSetOption", referenced from: :info:build _main in vwebp-vwebp.o :info:build ld: symbol(s) not found for architecture x86_64 :info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)
Attachments (3)
Change History (13)
comment:3 Changed 8 years ago by mf2k (Frank Schima)
Owner: | set to ryandesign |
---|---|
Status: | new → assigned |
In the future, please Cc the port maintainers (port info --maintainers webp
), if any.
comment:4 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:5 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
As always, please attach the main.log file.
comment:6 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
That wasn't a clean build attempt. Please clean and try again.
comment:7 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
I committed [0fb0ecb1b8219de69274da728378f31aa6bd24d8/macports-ports] to add a dependency on MacPorts freeglut; before it might have used the system's OpenGL or maybe even something from /usr/local. Please run sudo port selfupdate
and try again. If it fails again, please attach the new main.log, because in [1bbfa18aba19dfeb69dbe89e896c342452b7a6aa/macports-ports] I disabled silent rules which should make the log more detailed.
Changed 8 years ago by chtonic
Attachment: | main.3.log added |
---|
Third log, obtained after running selfupdate, clean webp and port upgrade webp
comment:8 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Looks like your third attempt didn't pick up my changes yet. It can take a few hours for the changes to become available via selfupdate. When sudo port selfupdate && port info webp
shows version 0.5.2 revision 1, try again.
comment:9 follow-up: 11 Changed 8 years ago by chtonic
Finally success! Are these packages somehow recursively dependent? It starts by updating webp, then building freeglut, then again building webp.
comment:11 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Summary: | webp fails to build, undefined referenced symbols from freeglut → webp @0.5.2: fails to build, undefined referenced symbols from freeglut |
Replying to chtonic:
Finally success! Are these packages somehow recursively dependent? It starts by updating webp, then building freeglut, then again building webp.
In the above commit, I changed webp to depend on freeglut. If you try to install or upgrade webp, freeglut will be installed or upgraded first, if it is not already installed and up to date. If you believe something else happened on your system, you could show us your terminal transcript.