Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 932315 - media-gfx/hugin-2023.0.0-r1: src/hugin_base/hugin_utils/filesystem.h:67:51: error: ‘boost::filesystem::copy_option’ has not been declared
Summary: media-gfx/hugin-2023.0.0-r1: src/hugin_base/hugin_utils/filesystem.h:67:51: e...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andreas K. Hüttel
URL:
Whiteboard:
Keywords: PATCH, PullRequest
Depends on:
Blocks: boost-1.85
  Show dependency tree
 
Reported: 2024-05-20 17:24 UTC by Andreas Sturmlechner
Modified: 2024-05-28 01:06 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
media-gfx:hugin-2023.0.0-r1:20240520-171845.log (media-gfx:hugin-2023.0.0-r1:20240520-171845.log,283.66 KB, text/plain)
2024-05-20 17:24 UTC, Andreas Sturmlechner
Details
Fix for hugin compile error after boot upgrade (hugin-filesystem_header.patch,758 bytes, patch)
2024-05-20 20:10 UTC, devsk
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2024-05-20 17:24:26 UTC
Created attachment 893594 [details]
media-gfx:hugin-2023.0.0-r1:20240520-171845.log

Portage 3.0.64 (python 3.12.3-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-14, glibc-2.39-r6, 6.6.31-gentoo x86_64)
=================================================================
System uname: Linux-6.6.31-gentoo-x86_64-AMD_Ryzen_9_5950X_16-Core_Processor-with-glibc2.39
KiB Mem:    65765148 total,  17077960 free
KiB Swap:    4194292 total,   4194292 free
Timestamp of repository gentoo: Mon, 20 May 2024 14:15:00 +0000
Head commit of repository gentoo: c11cbec28dbd063e597839ed1603f9bea62d3e73
Timestamp of repository steam-overlay: Fri, 17 May 2024 12:20:53 +0000
Head commit of repository steam-overlay: 50cd00c3db1b246b78295a54101cc1b0ba385c64

sh bash 5.2_p26-r3
ld GNU ld (Gentoo 2.41 p5) 2.41.0
app-misc/pax-utils:        1.3.7::gentoo
app-shells/bash:           5.2_p26-r3::gentoo
dev-build/autoconf:        2.13-r8::gentoo, 2.71-r7::gentoo, 2.72-r1::gentoo
dev-build/automake:        1.16.5-r2::gentoo
dev-build/cmake:           3.29.3::gentoo
dev-build/libtool:         2.4.7-r4::gentoo
dev-build/make:            4.4.1-r1::gentoo
dev-build/meson:           1.4.0-r1::gentoo
dev-java/java-config:      2.3.3-r1::gentoo
dev-lang/perl:             5.38.2-r5::gentoo
dev-lang/python:           3.10.12::gentoo, 3.11.9::gentoo, 3.12.3::gentoo, 3.13.0_beta1_p1::gentoo
dev-lang/rust-bin:         1.77.1::gentoo
sys-apps/baselayout:       2.15::gentoo
sys-apps/openrc:           0.54::gentoo
sys-apps/sandbox:          2.38::gentoo
sys-devel/binutils:        2.41-r5::gentoo, 2.42-r1::gentoo
sys-devel/binutils-config: 5.5::gentoo
sys-devel/clang:           16.0.6::gentoo, 17.0.6::gentoo
sys-devel/gcc:             13.2.1_p20240210::gentoo, 14.1.1_p20240518::gentoo
sys-devel/gcc-config:      2.11::gentoo
sys-devel/lld:             16.0.6::gentoo, 17.0.6::gentoo
sys-devel/llvm:            16.0.6::gentoo, 17.0.6::gentoo
sys-kernel/linux-headers:  6.9::gentoo (virtual/os-headers)
sys-libs/glibc:            2.39-r6::gentoo
Repositories:

gentoo
    location: /var/db/repos/gentoo
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    volatile: False
    sync-rsync-extra-opts: 
    sync-rsync-verify-max-age: 3
    sync-rsync-verify-metamanifest: yes
    sync-rsync-verify-jobs: 1

kde
    location: /var/db/repos/kde
    masters: gentoo
    volatile: True

qt
    location: /var/db/repos/qt
    masters: gentoo kde
    volatile: True

steam-overlay
    location: /var/db/repos/steam-overlay
    sync-type: git
    sync-uri: https://github.com/gentoo-mirror/steam-overlay.git
    masters: gentoo
    volatile: False

Installed sets: @binhost, @development, @fonts, @hardware, @kde-apps, @kde-sdk, @kdetools-ownage, @network, @php-ownage, @system, @texlive13-ownage, @useful
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="@FREE AdobeFlash-11.x android AVASYS Eizo Interbase-1.0 PUEL unRAR OSGi-Specification-2.0 Q3AEULA Q3AEULA-20000111 worldofpadman intel-ucode linux-fw-redistributable no-source-code as-is bluez-firmware all-rights-reserved bh-luxi exljbris-free freedist free-noncomm MSttfEULA ValveSteamLicense MPEG-4"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0 /usr/share/themes/oxygen-gtk/gtk-3.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php8.2/ext-active/ /etc/php/apache2-php8.3/ext-active/ /etc/php/cgi-php8.2/ext-active/ /etc/php/cgi-php8.3/ext-active/ /etc/php/cli-php8.2/ext-active/ /etc/php/cli-php8.3/ext-active/ /etc/php/fpm-php8.2/ext-active/ /etc/php/fpm-php8.3/ext-active/ /etc/php/phpdbg-php8.2/ext-active/ /etc/php/phpdbg-php8.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=native -pipe"
DISTDIR="/var/lib/portage/distfiles"
EMERGE_DEFAULT_OPTS="--keep-going"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GDK_PIXBUF_MODULE_FILE GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR XDG_STATE_HOME"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs binpkg-multi-instance buildpkg buildpkg-live clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync merge-wait multilib-strict network-sandbox news parallel-fetch pkgdir-index-trusted preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="https://mirror.leaseweb.com/gentoo/ ftp://mirror.netcologne.de/gentoo/ https://ftp.halifax.rwth-aachen.de/gentoo/ https://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.fau.de/gentoo"
LANG="de_AT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LEX="flex"
LINGUAS="en_GB en de_AT de"
MAKEOPTS="-j30"
PKGDIR="/var/lib/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
SHELL="/bin/bash"
USE="X a52 aacs acl acpi activities addressbook alsa amd64 apache2 avahi bash-completion bluetooth bluray branding bzip2 cairo caps cdda cddb cdparanoia cdr cli colord corefonts crypt cups custom-cflags custom-cpuopts dbus declarative dirac discover djvu dri dts dvb dvd dvdr egl elogind encode epub exif expat ffmpeg fftw flac fontconfig fortran ftp gd gdbm geolocation gif git gpg gpm gs gui iconv icu id3tag idn imagemagick inotify ipv6 jpeg jpeg2k jumbo-build kde kf6compat kwallet lame laptop lastfm lcms libinput libnotify libtirpc lm-sensors lqr lzma lzo mad markdown matroska mng mp3 mp4 mpeg mplayer mtp multilib musicbrainz ncurses networkmanager nls offensive ogg openexr opengl openmp pam pcre pdf pipewire plasma pm-utils png policykit postgres ppds pulseaudio qml qrcode qt5 quicktime raw readline samba schroedinger screencast sdl seccomp secure-delete semantic-desktop share smp sound spamassassin spell split-usr ssl startup-notification svg syslog taglib test-rust theora thunderbolt tidy tiff touchpad truetype udev udisks uefi unicode upower usb v4l vaapi vcd vlc vorbis vpx vulkan wayland webengine webp widgets x264 xattr xcb xft xml xmp xpm xv xvid yaz zeroconf zip zlib" ABI_X86="64" ADA_TARGET="gcc_12" ALSA_CARDS="hda-intel" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_anon authn_dbm authn_file authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias lbmethod_byrequests proxy proxy_balancer slotmem_shm" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon nikon pentax ptp2 ricoh" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 fma3 mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GRUB_PLATFORMS="pc" INPUT_DEVICES="libinput joystick" KERNEL="linux" L10N="en_GB en de_AT de en en-GB de-AT de" LCD_DEVICES="bayrad cfontz glk hd44780 lb216 lcdm001 mtxorb text" LUA_SINGLE_TARGET="lua5-1" LUA_TARGETS="lua5-1" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php8-1" POSTGRES_TARGETS="postgres9_4 postgres12" PYTHON_SINGLE_TARGET="python3_11" PYTHON_TARGETS="python3_11 python3_12" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 x86_64" QEMU_USER_TARGETS="aarch64 arm i386 x86_64" VIDEO_CARDS="amdgpu radeonsi radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipp2p iface geoip fuzzy condition tarpit sysrq proto logmark ipmark dhcpmac delude chaos account"
Unset:  ADDR2LINE, AR, ARFLAGS, AS, ASFLAGS, CC, CCLD, CONFIG_SHELL, CPP, CPPFLAGS, CTARGET, CXX, CXXFILT, ELFEDIT, EXTRA_ECONF, F77FLAGS, FC, GCOV, GPROF, INSTALL_MASK, LC_ALL, LD, LFLAGS, LIBTOOL, MAKE, MAKEFLAGS, NM, OBJCOPY, OBJDUMP, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PYTHONPATH, RANLIB, READELF, RUSTFLAGS, SIZE, STRINGS, STRIP, YACC, YFLAGS
Comment 1 Branko Grubic 2024-05-20 18:28:58 UTC
I saw a same issue after boost upgrade, I was able to solve with with following upstream patch[1]. Only strange thing is that file encoding is weird for hugin source files `ASCII text, with CRLF, LF line terminators`, so it's tricky if you use regular editor, maybe I didn't try hard but `dos2unix` or `unix2dos` utils didn't help, while I was able to create my own diff and apply it. So I'm a little bit hesitant to create a pull request with this fix. (also upstream mercurial is something I'm not familiar with to extract proper commit/diff with author info ...)




[1] https://sourceforge.net/p/hugin/hugin/ci/4d081490b48aaff820cee7601b8624b37b652c06/tree/src/hugin_base/hugin_utils/filesystem.h?diff=4b55f17c4e72d6c2f8b4930e3367ff52e1741b45
Comment 2 devsk 2024-05-20 20:10:27 UTC
Created attachment 893606 [details, diff]
Fix for hugin compile error after boot upgrade

The attached patch applied cleanly and helped me get past this issue.
Comment 3 Johannes Hirte 2024-05-21 21:54:37 UTC
(In reply to devsk from comment #2)
> Created attachment 893606 [details, diff] [details, diff]
> Fix for hugin compile error after boot upgrade
> 
> The attached patch applied cleanly and helped me get past this issue.

Doesn't work for me
Comment 4 Jeroen Mathon 2024-05-22 08:25:25 UTC
(In reply to Johannes Hirte from comment #3)
> (In reply to devsk from comment #2)
> > Created attachment 893606 [details, diff] [details, diff] [details, diff]
> > Fix for hugin compile error after boot upgrade
> > 
> > The attached patch applied cleanly and helped me get past this issue.
> 
> Doesn't work for me

I second this
Comment 5 Jeroen Mathon 2024-05-22 08:30:16 UTC
The patch worked, it was my user error why it didnt work the first time
Comment 6 Juan Pedro 2024-05-23 06:01:35 UTC
When I apply the patch I get this error

patching file src/hugin_base/hugin_utils/filesystem.h
Hunk #1 FAILED at 64 (different line endings).
1 out of 1 hunk FAILED -- saving rejects to file src/hugin_base/hugin_utils/filesystem.h [ !! ]
Comment 7 Branko Grubic 2024-05-23 17:49:50 UTC
(In reply to Juan Pedro from comment #6)
> When I apply the patch I get this error
> 
> patching file src/hugin_base/hugin_utils/filesystem.h
> Hunk #1 FAILED at 64 (different line endings).
> 1 out of 1 hunk FAILED -- saving rejects to file
> src/hugin_base/hugin_utils/filesystem.h [ !! ]

I mentioned this as a quirk, you must be sure that patch file you save has CR+LF line endings (DOS/Windows), not LF (Unix/Linux). If you copy and paste the content of the patch to most editors in linux (if not configured differently), it will get saved with LF line endings, and it will fail, since original file it patches is using CR+LF, so you must be sure that your patch file reports something like this when you execute:


$ file <patch_file>
<patch_file>: unified diff output, ASCII text, with CRLF, LF line terminators
Comment 8 Andrey Grozin gentoo-dev 2024-05-24 15:20:01 UTC
I confirm that this patch fixes the compilation problem.
Comment 9 Petr Šourek 2024-05-27 09:40:05 UTC
I can also confirm, that the patch is working. Thanks
Comment 10 Larry the Git Cow gentoo-dev 2024-05-28 01:06:17 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d265543f19147b95fa12ddb4ad4b131213116400

commit d265543f19147b95fa12ddb4ad4b131213116400
Author:     Branko Grubic <bitlord0xff@gmail.com>
AuthorDate: 2024-05-27 20:51:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2024-05-28 01:04:30 +0000

    media-gfx/hugin: Fixes build with boost >=1.85
    
    Closes: https://bugs.gentoo.org/932315
    Signed-off-by: Branko Grubic <bitlord0xff@gmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/36855
    Signed-off-by: Sam James <sam@gentoo.org>

 media-gfx/hugin/files/boost-1.85-932315.patch | 25 +++++++++++++++++++++++++
 media-gfx/hugin/hugin-2023.0.0-r1.ebuild      |  3 +++
 2 files changed, 28 insertions(+)