Opened 19 months ago

Last modified 19 months ago

#67294 assigned defect

hugin-app build fails

Reported by: m-kuutti Owned by: mascguy (Christopher Nielsen)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: MarcusCalhoun-Lopez (Marcus Calhoun-Lopez)
Port: hugin-app

Description (last modified by jmroot (Joshua Root))

Build fails apparently for issues with hugin_hdrmerge.cpp.o:

Undefined symbols for architecture arm64:
  "half::_eLut", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "half::convert(int)", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "half::_toFloat", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaInputFile::readPixels(int, int)", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaInputFile::setFrameBuffer(Imf_2_3::Rgba*, unsigned long, unsigned long)", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaInputFile::RgbaInputFile(char const*, int)", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaOutputFile::writePixels(int)", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaOutputFile::setFrameBuffer(Imf_2_3::Rgba const*, unsigned long, unsigned long)", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaOutputFile::RgbaOutputFile(char const*, Imath_2_3::Box<Imath_2_3::Vec2<int>> const&, Imath_2_3::Box<Imath_2_3::Vec2<int>> const&, Imf_2_3::RgbaChannels, float, Imath_2_3::Vec2<float>, float, Imf_2_3::LineOrder, Imf_2_3::Compression, int)", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaOutputFile::~RgbaOutputFile()", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::globalThreadCount()", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaInputFile::dataWindow() const", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
  "Imf_2_3::RgbaInputFile::displayWindow() const", referenced from:
      void reduceFilesToHDR<vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>>(std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>>>, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>>, bool, vigra_ext::ReduceToHDRFunctor<vigra::RGBValue<float, 0u, 1u, 2u>>&) in hugin_hdrmerge.cpp.o
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [src/tools/hugin_hdrmerge] Error 1
make[2]: Leaving directory `/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_hugin-app/hugin-app/work/build'
make[1]: *** [src/tools/CMakeFiles/hugin_hdrmerge.dir/all] Error 2

I’m on a MacBook Pro, 14-inch, 2021, Apple M1 Max, 13.3.1 (22E261)

Attachments (3)

main.log (1.3 MB) - added by m-kuutti 19 months ago.
main.2.log (311.6 KB) - added by m-kuutti 19 months ago.
log from trace mode installation attempt
main.3.log (311.6 KB) - added by m-kuutti 19 months ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 19 months ago by jmroot (Joshua Root)

Cc: mascguy added
Description: modified (diff)
Owner: set to MarcusCalhoun-Lopez
Status: newassigned
Summary: hugin-app installation failshugin-app build fails

comment:2 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Please attach the main.log file. We had successful builds of this port on our buildbot last time we tried it.

Changed 19 months ago by m-kuutti

Attachment: main.log added

comment:3 Changed 19 months ago by mascguy (Christopher Nielsen)

As another point of reference, you may want to try installing with trace mode enabled:

$ sudo port clean hugin-app
$ sudo port -t install hugin-app

Let us know how it goes!

Changed 19 months ago by m-kuutti

Attachment: main.2.log added

log from trace mode installation attempt

comment:4 Changed 19 months ago by ryandesign (Ryan Carsten Schmidt)

Your first log contains references to things in /opt/homebrew. Please use only one package manager (MacPorts or Homebrew) and uninstall the other one.

comment:5 Changed 19 months ago by m-kuutti

Shouldn’t trace mode work around homebrew during build? I have software installed using homebrew I need.

comment:6 in reply to:  5 Changed 19 months ago by mascguy (Christopher Nielsen)

Replying to m-kuutti:

Shouldn’t trace mode work around homebrew during build? I have software installed using homebrew I need.

Not necessarily, depending on where those components are installed to.

For your trace mode build attempt, it looks like the process was cancelled/killed during the extract phase. Did you attached the wrong log file, or...?

:info:extract Killed by signal: 9
:error:extract Failed to extract hugin-app: command execution failed

Changed 19 months ago by m-kuutti

Attachment: main.3.log added

comment:7 Changed 19 months ago by m-kuutti

A fresh try:

sudo port -t install hugin-app ---> Computing dependencies for hugin-app ---> Fetching archive for hugin-app ---> Attempting to fetch hugin-app-2022.0.0_0+openblas+python310.darwin_22.arm64.tbz2 from https://packages.macports.org/hugin-app ---> Attempting to fetch hugin-app-2022.0.0_0+openblas+python310.darwin_22.arm64.tbz2 from https://cph.dk.packages.macports.org/hugin-app ---> Attempting to fetch hugin-app-2022.0.0_0+openblas+python310.darwin_22.arm64.tbz2 from https://nue.de.packages.macports.org/hugin-app ---> Fetching distfiles for hugin-app ---> Verifying checksums for hugin-app ---> Extracting hugin-app Error: Failed to extract hugin-app: command execution failed Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_graphics_hugin-app/hugin-app/main.log for details. Error: Follow https://guide.macports.org/#project.tickets if you believe there is a bug. Error: Processing of port hugin-app failed

I did not kill it but it gets killed. New log attached.

comment:8 Changed 19 months ago by mascguy (Christopher Nielsen)

Cc: MarcusCalhoun-Lopez added; mascguy removed
Owner: changed from MarcusCalhoun-Lopez to mascguy

I'm surprised that the extract is failing, unless there are known issues with trace mode and Ventura.

@jmroot and @ryandesign, any thoughts...?

Note: See TracTickets for help on using tickets.