Package Details: waifu2x-converter-qt-git 1.1.0.9.g1e203ad-1

Git Clone URL: https://aur.archlinux.org/waifu2x-converter-qt-git.git (read-only, click to copy)
Package Base: waifu2x-converter-qt-git
Description: Qt frontend of waifu2x. (GIT version)
Upstream URL: https://github.com/khws4v1/waifu2x-converter-qt
Licenses: MIT
Conflicts: waifu2x-converter-qt
Provides: waifu2x-converter-qt
Submitter: maz-1
Maintainer: sl1pkn07
Last Packager: sl1pkn07
Votes: 5
Popularity: 0.000004
First Submitted: 2015-10-22 15:23 (UTC)
Last Updated: 2022-02-26 18:31 (UTC)

Latest Comments

dreieck commented on 2023-06-01 11:30 (UTC)

It fails to me while linking:

g++ -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu -pipe -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive -Og -fno-lto -gdwarf-5 -ggdb -gno-strict-dwarf -g3 -gpubnames -grecord-gcc-switches -fno-eliminate-unused-debug-symbols -fvar-tracking -fvar-tracking-assignments -fdebug-types-section -fno-stack-protector -fno-omit-frame-pointer -D_FORTIFY_SOURCE=0 -DDEBUG -ffile-prefix-map=/tmp/makepkg/build/waifu2x-converter-qt-git/src=/usr/src/debug/waifu2x-converter-qt-git -std=gnu++11 -pthread -flto=4 -fno-fat-lto-objects -fuse-linker-plugin -fPIC -o waifu2x-converter-qt libnotifyhandler.o main.o mainwindow.o waifu2xconverterqtsettings.o processdialog.o droplabel.o preferencesdialog.o aboutdialog.o optionpreferencesform.o waifu2xconvertercppoptions.o processmodemodel.o qrc_icons.o moc_mainwindow.o moc_processdialog.o moc_droplabel.o moc_preferencesdialog.o moc_aboutdialog.o moc_optionpreferencesform.o   -lnotify -lgdk_pixbuf-2.0 -lgio-2.0 -lgobject-2.0 -lglib-2.0 /usr/lib/libQt5Widgets.so /usr/lib/libQt5Gui.so /usr/lib/libQt5Core.so -lGL -lpthread   
/usr/bin/ld: libnotifyhandler.o: plugin needed to handle lto object
/usr/bin/ld: libnotifyhandler.o: plugin needed to handle lto object
/usr/bin/ld: main.o: plugin needed to handle lto object
/usr/bin/ld: main.o: plugin needed to handle lto object
/usr/bin/ld: mainwindow.o: plugin needed to handle lto object
/usr/bin/ld: mainwindow.o: plugin needed to handle lto object
/usr/bin/ld: waifu2xconverterqtsettings.o: plugin needed to handle lto object
/usr/bin/ld: waifu2xconverterqtsettings.o: plugin needed to handle lto object
/usr/bin/ld: processdialog.o: plugin needed to handle lto object
/usr/bin/ld: processdialog.o: plugin needed to handle lto object
/usr/bin/ld: droplabel.o: plugin needed to handle lto object
/usr/bin/ld: droplabel.o: plugin needed to handle lto object
/usr/bin/ld: preferencesdialog.o: plugin needed to handle lto object
/usr/bin/ld: preferencesdialog.o: plugin needed to handle lto object
/usr/bin/ld: aboutdialog.o: plugin needed to handle lto object
/usr/bin/ld: aboutdialog.o: plugin needed to handle lto object
/usr/bin/ld: optionpreferencesform.o: plugin needed to handle lto object
/usr/bin/ld: optionpreferencesform.o: plugin needed to handle lto object
/usr/bin/ld: waifu2xconvertercppoptions.o: plugin needed to handle lto object
/usr/bin/ld: waifu2xconvertercppoptions.o: plugin needed to handle lto object
/usr/bin/ld: processmodemodel.o: plugin needed to handle lto object
/usr/bin/ld: processmodemodel.o: plugin needed to handle lto object
/usr/bin/ld: qrc_icons.o: plugin needed to handle lto object
/usr/bin/ld: qrc_icons.o: plugin needed to handle lto object
/usr/bin/ld: moc_mainwindow.o: plugin needed to handle lto object
/usr/bin/ld: moc_mainwindow.o: plugin needed to handle lto object
/usr/bin/ld: moc_processdialog.o: plugin needed to handle lto object
/usr/bin/ld: moc_processdialog.o: plugin needed to handle lto object
/usr/bin/ld: moc_droplabel.o: plugin needed to handle lto object
/usr/bin/ld: moc_droplabel.o: plugin needed to handle lto object
/usr/bin/ld: moc_preferencesdialog.o: plugin needed to handle lto object
/usr/bin/ld: moc_preferencesdialog.o: plugin needed to handle lto object
/usr/bin/ld: moc_aboutdialog.o: plugin needed to handle lto object
/usr/bin/ld: moc_aboutdialog.o: plugin needed to handle lto object
/usr/bin/ld: moc_optionpreferencesform.o: plugin needed to handle lto object
/usr/bin/ld: moc_optionpreferencesform.o: plugin needed to handle lto object
/usr/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/13.1.1/../../../../lib/Scrt1.o: in function `_start':
(.text+0x1b): undefined reference to `main'
collect2: error: ld returned 1 exit status
make: *** [Makefile:456: waifu2x-converter-qt] Error 1

↗ Upstream issue report.

  • GCC version: 13.1.1
  • ld (GNU binutils) version: 2.40.0
  • $CFLAGS:
    -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC
  • $CXXFLAGS:
    -g0 -march=x86-64 -mtune=native -O3 -flto -ffat-lto-objects -pipe -fstack-protector --param=ssp-buffer-size=4 -D_FORTIFY_SOURCE=2 -fomit-frame-pointer -fPIC -fpermissive
  • $LDFLAGS:
    -Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu

When I remove -flto -ffat-lto-objects from the $CFLAGS/ $CXXFLAGS build succeeds, but appending -fno-lto -fno-fat-lto-objects to them does not help out.

So you should write some sed script that parses the $CFLAGS/ $CXXFLAGS environment variables and removes the LTO related options, if they are set via makepkg.conf.

Regards!

idanka commented on 2022-10-16 19:06 (UTC) (edited on 2022-10-24 13:01 (UTC) by idanka)

GeForce® GTX 1650 OC 4G build error

nvcc fatal : Value 'sm_30' is not defined for option 'gpu-architecture'
make[2]: [CMakeFiles/gensrcs.dir/build.make:84: modelHandler_CUDA.ptx30] Error 1
make[2]:
Waiting for unfinished jobs....
make[1]: [CMakeFiles/Makefile2:141: CMakeFiles/gensrcs.dir/all] Error 2
make:
[Makefile:146: all] Error 2
==> HIBA: Hiba történt a build()-ben.
Megszakítás...
Finished with result: exit-code

https://arnon.dk/matching-sm-architectures-arch-and-gencode-for-various-nvidia-cards/

NVIDIA Architecture Name: 1650 card Turing (sm_75) and not Kepler (sm_30 / sm_35 / sm_37)
https://www.nvidia.com/en-eu/geforce/graphics-cards/compare/?section=compare-16

artivision commented on 2021-03-08 17:49 (UTC)

Build problem.

-- The C compiler identification is GNU 10.2.0 -- The CXX compiler identification is GNU 10.2.0 -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/bin/cc - skipped -- Detecting C compile features -- Detecting C compile features - done -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/bin/c++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Found git, set version to: v5.3.3 (makepkg-b45498b) -- System is: Linux (Linux) -- Looking for CL_VERSION_2_2 -- Looking for CL_VERSION_2_2 - found -- Found OpenCL: /usr/lib/libOpenCL.so (found version "2.2") -- Found OpenCV: /usr (found version "4.5.1") CUDA_TOOLKIT_ROOT_DIR not found or specified -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY) -- CUDA not found. disabled. -- -- Config summary: -- OpenCV: 4.5.1 -- OpenCL: 2.2 -- CUDA: Not found -- Unicode: TRUE -- Installing models to: /usr/share/waifu2x-converter-cpp -- Not building test binaries -- Building for: Unix Makefiles-x86_64 -- -- Configuring done -- Generating done -- Build files have been written to: /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp Scanning dependencies of target conv [ 4%] Building C object CMakeFiles/conv.dir/conv.c.o [ 9%] Linking C executable conv [ 9%] Built target conv Scanning dependencies of target gensrcs [ 14%] Generating modelHandler_OpenCL.cl.h [ 14%] Built target gensrcs Scanning dependencies of target w2xc [ 19%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_avx.cpp.o [ 23%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_fma.cpp.o [ 28%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler.cpp.o [ 33%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_sse.cpp.o [ 38%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_OpenCL.cpp.o c++: προειδοποίηση: ‘-pipe’ ignored because ‘-save-temps’ specified [ 42%] Building CXX object CMakeFiles/w2xc.dir/src/convertRoutine.cpp.o [ 47%] Building CXX object CMakeFiles/w2xc.dir/src/threadPool.cpp.o [ 52%] Building CXX object CMakeFiles/w2xc.dir/src/modelHandler_CUDA.cpp.o /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/threadPool.cpp: In function ‘void w2xc::notify_event(int)’: /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/threadPool.cpp:99:4: σφάλμα: ‘perror’ was not declared in this scope 99 | perror("write"); / ?? / | ^~~~~~ /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/threadPool.cpp: In function ‘void w2xc::wait_event(int)’: /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/threadPool.cpp:111:4: σφάλμα: ‘perror’ was not declared in this scope 111 | perror("read"); / ?? / | ^~~~~~ [ 57%] Building CXX object CMakeFiles/w2xc.dir/src/w2xconv.cpp.o make[2]: [CMakeFiles/w2xc.dir/build.make:160: CMakeFiles/w2xc.dir/src/threadPool.cpp.o] Error 1 make[2]: Waiting for unfinished jobs.... /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/modelHandler.cpp: In constructor ‘w2xc::Model::Model(FILE)’: /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/modelHandler.cpp:1075:8: προειδοποίηση: ignoring return value of ‘size_t fread(void, size_t, size_t, FILE)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1075 | fread(&nInputPlanes, 4, 1, binfp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/modelHandler.cpp:1076:8: προειδοποίηση: ignoring return value of ‘size_t fread(void, size_t, size_t, FILE)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1076 | fread(&nOutputPlanes, 4, 1, binfp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/modelHandler.cpp:1096:12: προειδοποίηση: ignoring return value of ‘size_t fread(void, size_t, size_t, FILE)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1096 | fread(&v, 8, 1, binfp); | ~~~~~^~~~~~~~~~~~~~~~~ /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/modelHandler.cpp:1108:9: προειδοποίηση: ignoring return value of ‘size_t fread(void, size_t, size_t, FILE)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1108 | fread(&v, 8, 1, binfp); | ~~~~~^~~~~~~~~~~~~~~~~ /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/modelHandler.cpp: In static member function ‘static bool w2xc::modelUtility::generateModelFromJSON(const _tstring&, std::vector<std::unique_ptr\<w2xc::Model> >&)’: /var/tmp/pamac-build-jojo/waifu2x-converter-cpp/src/waifu2x-converter-cpp/src/modelHandler.cpp:1173:9: προειδοποίηση: ignoring return value of ‘size_t fread(void, size_t, size_t, FILE)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 1173 | fread(&nModel, 4, 1, binfp); | ~~~~~^~~~~~~~~~~~~~~~~~~~~~ make[1]: [CMakeFiles/Makefile2:155: CMakeFiles/w2xc.dir/all] Error 2 make: * [Makefile:160: all] Error 2

sl1pkn07 commented on 2016-01-31 11:25 (UTC)

the icon and .desktop is installed with +X permissions

sl1pkn07 commented on 2015-12-04 21:57 (UTC)

please add libnotify

<deleted-account> commented on 2015-10-27 10:21 (UTC)

Checksum for the .png file needs updating, as well as the .desktop file.