• Bug#1096238: ros-image-pipeline: FTBFS: ld: cannot find -lopencv_barcod

    From Lucas Nussbaum@21:1/5 to All on Mon Feb 17 17:50:07 2025
    Source: ros-image-pipeline
    Version: 1.17.0-2
    Severity: serious
    Justification: FTBFS
    Tags: trixie sid ftbfs
    User: lucas@debian.org
    Usertags: ftbfs-20250215 ftbfs-trixie

    Hi,

    During a rebuild of all packages in sid, your package failed to build
    on amd64.


    Relevant part (hopefully):
    /usr/bin/c++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_THREAD_DYN_LINK -DBOOST_THREAD_NO_LIB -DOPENCV_TRAITS_ENABLE_DEPRECATED -DROSCONSOLE_BACKEND_LOG4CXX -DROS_BUILD_SHARED_LIBS=1 -DROS_PACKAGE_NAME=\"image_proc\" -Dimage_proc_EXPORTS -I/
    build/reproducible-path/ros-image-pipeline-1.17.0/obj-x86_64-linux-gnu/_devel/include -I/build/reproducible-path/ros-image-pipeline-1.17.0/image_proc/include -I/usr/include/xmlrpcpp -I/usr/include/pluginlib -I/usr/include/class_loader -I/usr/include/
    ament_index_cpp -I/usr/include/rcpputils -I/usr/include/rcutils -isystem /usr/include/opencv4 -g -O2 -ffile-prefix-map=/build/reproducible-path/ros-image-pipeline-1.17.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security
    -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -MD -MT CMakeFiles/image_proc.dir/src/nodelets/edge_aware.cpp.o -MF CMakeFiles/image_proc.dir/src/nodelets/edge_aware.cpp.o.d -o CMakeFiles/image_proc.dir/src/nodelets/edge_aware.cpp.o -c /build/
    reproducible-path/ros-image-pipeline-1.17.0/image_proc/src/nodelets/edge_aware.cpp
    [ 86%] Linking CXX shared library /build/reproducible-path/ros-image-pipeline-1.17.0/obj-x86_64-linux-gnu/_devel/lib/x86_64-linux-gnu/libimage_proc.so
    /usr/bin/cmake -E cmake_link_script CMakeFiles/image_proc.dir/link.txt --verbose=1
    /usr/bin/c++ -fPIC -g -O2 -ffile-prefix-map=/build/reproducible-path/ros-image-pipeline-1.17.0=. -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -Wdate-time -D_FORTIFY_SOURCE=2 -Wl,--dependency-file=
    CMakeFiles/image_proc.dir/link.d -Wl,-z,relro -Wl,-z,now -shared -Wl,-soname,libimage_proc.so.0d -o /build/reproducible-path/ros-image-pipeline-1.17.0/obj-x86_64-linux-gnu/_devel/lib/x86_64-linux-gnu/libimage_proc.so.1.17.0 CMakeFiles/image_proc.dir/src/
    libimage_proc/processor.cpp.o CMakeFiles/image_proc.dir/src/nodelets/debayer.cpp.o CMakeFiles/image_proc.dir/src/nodelets/rectify.cpp.o CMakeFiles/image_proc.dir/src/nodelets/resize.cpp.o CMakeFiles/image_proc.dir/src/nodelets/crop_decimate.cpp.o
    CMakeFiles/image_proc.dir/src/libimage_proc/advertisement_checker.cpp.o CMakeFiles/image_proc.dir/src/nodelets/edge_aware.cpp.o CMakeFiles/image_proc.dir/src/nodelets/crop_non_zero.cpp.o -lcv_bridge -limage_geometry -lopencv_calib3d -lopencv_core -
    lopencv_dnn -lopencv_features2d -lopencv_flann -lopencv_highgui -lopencv_imgcodecs -lopencv_imgproc -lopencv_ml -lopencv_objdetect -lopencv_photo -lopencv_stitching -lopencv_video -lopencv_videoio -lopencv_alphamat -lopencv_aruco -lopencv_barcode -
    lopencv_bgsegm -lopencv_bioinspired -lopencv_ccalib -lopencv_cvv -lopencv_datasets -lopencv_dnn_objdetect -lopencv_dnn_superres -lopencv_dpm -lopencv_face -lopencv_freetype -lopencv_fuzzy -lopencv_hdf -lopencv_hfs -lopencv_img_hash -lopencv_intensity_
    transform -lopencv_line_descriptor -lopencv_mcc -lopencv_optflow -lopencv_phase_unwrapping -lopencv_plot -lopencv_quality -lopencv_rapid -lopencv_reg -lopencv_rgbd -lopencv_saliency -lopencv_shape -lopencv_stereo -lopencv_structured_light -lopencv_
    superres -lopencv_surface_matching -lopencv_text -lopencv_tracking -lopencv_videostab -lopencv_viz -lopencv_wechat_qrcode -lopencv_ximgproc -lopencv_xobjdetect -lopencv_xphoto -limage_transport -lroslib -lrospack -lboost_program_options -ldynamic_
    reconfigure_config_init_mutex -lmessage_filters -lnodeletlib -lbondcpp -lboost_date_time -luuid -ltinyxml2 -lroslib -lclass_loader -lament_index_cpp -lconsole_bridge -lrcpputils -lrcutils -lroscpp -lboost_chrono -lboost_filesystem -lrosconsole -
    lrosconsole_log4cxx -lrosconsole_backend_interface -llog4cxx -lboost_regex -lboost_system -lboost_thread -lxmlrpcpp -lroscpp_serialization -lrostime -lcpp_common /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.83.0 /usr/lib/x86_64-linux-gnu/libopencv_
    stitching.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_alphamat.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_aruco.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_bgsegm.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_bioinspired.so.4.10.0 /usr/lib/x86_64-
    linux-gnu/libopencv_ccalib.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_cvv.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_dnn_objdetect.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_dnn_superres.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_dpm.so.4.10.
    0 /usr/lib/x86_64-linux-gnu/libopencv_face.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_freetype.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_fuzzy.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_hdf.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_hfs.so.4.
    10.0 /usr/lib/x86_64-linux-gnu/libopencv_img_hash.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_intensity_transform.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_line_descriptor.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_mcc.so.4.10.0 /usr/lib/x86_64-
    linux-gnu/libopencv_quality.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_rapid.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_reg.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_rgbd.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_saliency.so.4.10.0 /usr/lib/
    x86_64-linux-gnu/libopencv_shape.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_signal.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_stereo.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_structured_light.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_
    superres.so.4.10.0 /usr/lib/x86_64-linux-gnu/libopencv_surface_matching.so.4.10.0 /usr//usr/bin/ld: cannot find -lopencv_barcode: No such file or directory
    collect2: error: ld returned 1 exit status


    The full build log is available from: http://qa-logs.debian.net/2025/02/15/ros-image-pipeline_1.17.0-2_unstable.log

    All bugs filed during this archive rebuild are listed at: https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20250215;users=lucas@debian.org
    or: https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20250215&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

    A list of current common problems and possible solutions is available at http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

    If you reassign this bug to another package, please mark it as 'affects'-ing this package. See https://www.debian.org/Bugs/server-control#affects

    If you fail to reproduce this, please provide a build log and diff it with mine so that we can identify if something relevant changed in the meantime.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Debian Bug Tracking System@21:1/5 to All on Mon Feb 17 18:00:01 2025
    This is a multi-part message in MIME format...

    Your message dated Mon, 17 Feb 2025 17:49:09 +0100
    with message-id <Z7NohWWQWixN53ah@vis>
    and subject line Re: Bug#1096238: ros-image-pipeline: FTBFS: ld: cannot find -lopencv_barcode: No such file or directory
    has caused the Debian Bug report #1096238,
    regarding ros-image-pipeline: FTBFS: ld: cannot find -lopencv_barcode: No such file or directory
    to be marked as done.

    This means that you claim that the problem has been dealt with.
    If this is not the case it is now your responsibility to reopen the
    Bug report if necessary, and/or fix the problem forthwith.

    (NB: If you are a system administrator and have no idea what this
    message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@bugs.debian.org
    immediately.)


    --
    1096238: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1096238
    Debian Bug Tracking System
    Contact owner@bugs.debian.org with problems

    Received: (at submit) by bugs.debian.org; 17 Feb 2025 16:44:16 +0000 X-Spam-Checker-Version: SpamAssassin 3.4.6-bugs.debian.org_2005_01_02
    (2021-04-09) on buxtehude.debian.org
    X-Spam-Level:
    X-Spam-Status: No, score=-104.2 required=4.0 tests=BAYES_00,DKIMWL_WL_HIGH,
    DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROMDEVELOPER,
    FVGT_m_MULTI_ODD,SPF_HELO_NONE,SPF_NONE,UNPARSEABLE_RELAY,
    USER_IN_DKIM_WELCOMELIST,USER_IN_DKIM_WHITELIST,WORD_WITHOUT_VOWELS
    autolearn=ham autolearn_force=no
    version=3.4.6-bugs.debian.org_2005_01_02
    X-Spam-Bayes: score:0.0000 Tokens: new, 44; hammy, 150; neutral, 273; spammy,
    0. spammytokens:
    hammytokens:0.000-+--Hx-spam-relays-external:sk:stravin,
    0.000-+--H*RT:sk:stravin, 0.000-+--Hx-spam-relays-external:311,
    0.000-+--H*RT:311, 0.000-+--H*RT:108
    Return-path: <lucas@debian.org>
    Received: from stravinsky.debian