Package Details: cdw 0.8.1-2

Git Clone URL: https://aur.archlinux.org/cdw.git (read-only, click to copy)
Package Base: cdw
Description: Ncurses CD writer program which uses cdrecord and mkisofs
Upstream URL: http://cdw.sourceforge.net/
Keywords: burn CD writer
Licenses: GPL
Submitter: Snowman
Maintainer: TrialnError
Last Packager: TrialnError
Votes: 68
Popularity: 0.003573
First Submitted: 2008-06-02 21:03 (UTC)
Last Updated: 2022-11-18 21:17 (UTC)

Latest Comments

1 2 Next › Last »

TrialnError commented on 2022-11-18 21:13 (UTC)

Okay.. it was easier to fix the source...

TrialnError commented on 2022-11-18 20:40 (UTC) (edited on 2022-11-18 20:56 (UTC) by TrialnError)

The irks with a codebase that is getting older...
What is probably more worthwhile to patch is the Makefile and in there remove the use of -Werror=format-security. Although a similar sour taste just relocated.
Best would be to fix it in source but I dunno if I can get behind the logic. May take some time.

Edit: Urgs.. autotools. Need to figure out first where the Werror comes from.

MCOfficer commented on 2022-11-16 14:42 (UTC) (edited on 2022-11-16 14:42 (UTC) by MCOfficer)

Got a bit of a strange error in 2022:

make[4]: Entering directory '/home/mco/.cache/yay/cdw/src/cdw-0.8.1/src/user_interface/widgets'
gcc -DHAVE_CONFIG_H -I. -I../../..  -D _FILE_OFFSET_BITS=64 -I../../../src/ -I../../../src/external_tools/ -I../../../src/tasks/ -I../../../src/utilities/ -I../../../src/user_interface/widgets/ -I../../../src/user_interface/ -I../../../src/configuration/ -I../../../src/native_file_system/ -I../../../src/optical_file_systems/ -I../../../src/disc_and_drive/ -I../../../gnulib/lib/ -DNDEBUG  -std=gnu99 -O2 -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -MT cdw_dropdown.o -MD -MP -MF .deps/cdw_dropdown.Tpo -c -o cdw_dropdown.o cdw_dropdown.c
cdw_dropdown.c: In function ‘cdw_dropdown_display_current_item_reverse’:
cdw_dropdown.c:707:9: error: format not a string literal and no format arguments [-Werror=format-security]
  707 |         mvwprintw(dropdown->parent, dropdown->begin_y, dropdown->begin_x + 1, dropdown->items[dropdown->current_item_ind]->label);
      |         ^~~~~~~~~
cc1: some warnings being treated as errors
make[4]: *** [Makefile:422: cdw_dropdown.o] Error 1

As a monkeypatch, making PKGBUILD use ./configure --prefix=/usr CFLAGS="" works, but leaves a sour taste.

ohli commented on 2018-04-05 21:48 (UTC) (edited on 2018-04-05 21:49 (UTC) by ohli)

Sadly, my system libraries are too old and softlinking doesn't help either. Will check the compile flags soon...

ldd /usr/bin/cdw

...
libcdio.so.16 => not found
libiso9660.so.10 => not found

kfgz commented on 2014-08-11 15:15 (UTC)

Last chance ;) - use 02 flag instead of 0fast (btw, wtf? ;) - don't use flto flag

nbvcxz commented on 2014-08-11 14:30 (UTC)

Unfortunatelly switching from cdrkit to cdrtools doesn't help. Here full log of building: http://pastebin.com/dKf2PRuH

kfgz commented on 2014-08-11 14:03 (UTC)

If you have cdrkit installed, try to change to cdrtools. Also you can paste whole log to pastebin.com

nbvcxz commented on 2014-08-11 12:31 (UTC)

Got problem with 0.8.0-1 version: ===== gcc -std=gnu99 -O2 -march=i686 -mtune=generic -Ofast -flto -pipe -fstack-protector --param=ssp-buffer-size=4 -Wl,-O1,--sort-common,--as-needed,-z,relro -o cdw cdw-cddb.o cdw-main.o ../src/external_tools/libcdwexternaltools.a ../src/user_interface/widgets/libcdwwidgets.a ../src/disc_and_drive/libcdwdiscanddrive.a ../src/tasks/libcdwtasks.a ../src/external_tools/libcdwexternaltools.a ../src/user_interface/libcdwuserinterface.a ../src/utilities/libcdwutilities.a ../src/native_file_system/libcdwnativefilesystem.a ../src/optical_file_systems/libcdwopticalfilesystems.a ../src/configuration/libcdwconfiguration.a ../src/user_interface/libcdwuserinterface.a ../gnulib/lib/libgnulib.a ../src/external_tools/libcdwexternaltools.a ../src/user_interface/widgets/libcdwwidgets.a ../src/tasks/libcdwtasks.a -lmenuw -lformw -lpanelw -lncursesw -lpthread -lcdio -liso9660 -lm -lburn /tmp/ccpK0Emd.ltrans0.ltrans.o: In function `cdw_conditional_exit': ccpK0Emd.ltrans0.o:(.text+0x2c): undefined reference to `cdw_buttons_dialog' /tmp/ccpK0Emd.ltrans0.ltrans.o: In function `main': ccpK0Emd.ltrans0.o:(.text.startup+0x1a): undefined reference to `cdw_sys_signal_handlers_init' ccpK0Emd.ltrans0.o:(.text.startup+0x1f): undefined reference to `cdw_locale_init' ccpK0Emd.ltrans0.o:(.text.startup+0x29): undefined reference to `cdw_utils_process_commandline_arguments' ccpK0Emd.ltrans0.o:(.text.startup+0x45): undefined reference to `cdw_ncurses_clean' ccpK0Emd.ltrans0.o:(.text.startup+0x4f): undefined reference to `cdw_ncurses_init' ccpK0Emd.ltrans0.o:(.text.startup+0x5f): undefined reference to `cdw_colors_init_phase1' ccpK0Emd.ltrans0.o:(.text.startup+0x67): undefined reference to `cdw_fs_clean' ccpK0Emd.ltrans0.o:(.text.startup+0x71): undefined reference to `cdw_fs_init' ccpK0Emd.ltrans0.o:(.text.startup+0x84): undefined reference to `cdw_config_module_clean' ccpK0Emd.ltrans0.o:(.text.startup+0x8e): undefined reference to `cdw_config_module_init' ccpK0Emd.ltrans0.o:(.text.startup+0x95): undefined reference to `cdw_commandline_arguments' ccpK0Emd.ltrans0.o:(.text.startup+0x9a): undefined reference to `global_config' ccpK0Emd.ltrans0.o:(.text.startup+0x9f): undefined reference to `cdw_colors_init_phase2' ccpK0Emd.ltrans0.o:(.text.startup+0xa6): undefined reference to `cdw_cdio_drives_clean' ccpK0Emd.ltrans0.o:(.text.startup+0xb0): undefined reference to `cdw_cdio_drives_init' ccpK0Emd.ltrans0.o:(.text.startup+0xb7): undefined reference to `cdw_drive_clean' ccpK0Emd.ltrans0.o:(.text.startup+0xc1): undefined reference to `cdw_drive_init' ccpK0Emd.ltrans0.o:(.text.startup+0xc8): undefined reference to `cdw_cdio_clean' ccpK0Emd.ltrans0.o:(.text.startup+0xd2): undefined reference to `cdw_cdio_init' ccpK0Emd.ltrans0.o:(.text.startup+0xd7): undefined reference to `cdw_disc_init' ccpK0Emd.ltrans0.o:(.text.startup+0xde): undefined reference to `cdw_logging_module_clean' ccpK0Emd.ltrans0.o:(.text.startup+0xe8): undefined reference to `cdw_logging_module_init' ccpK0Emd.ltrans0.o:(.text.startup+0xfb): undefined reference to `cdw_ext_tools_clean' ccpK0Emd.ltrans0.o:(.text.startup+0x105): undefined reference to `cdw_ext_tools_init' ccpK0Emd.ltrans0.o:(.text.startup+0x122): undefined reference to `cdw_file_manager_clean' ccpK0Emd.ltrans0.o:(.text.startup+0x12c): undefined reference to `cdw_file_manager_init' ccpK0Emd.ltrans0.o:(.text.startup+0x13f): undefined reference to `cdw_main_window_module_clean' ccpK0Emd.ltrans0.o:(.text.startup+0x149): undefined reference to `cdw_main_window_module_init' ccpK0Emd.ltrans0.o:(.text.startup+0x15e): undefined reference to `display_tooltip' ccpK0Emd.ltrans0.o:(.text.startup+0x163): undefined reference to `cdw_main_window_get_main_menu' ccpK0Emd.ltrans0.o:(.text.startup+0x16a): undefined reference to `cdw_main_window_get_main_window' ccpK0Emd.ltrans0.o:(.text.startup+0x1c1): undefined reference to `cdw_main_window_wrefresh' ccpK0Emd.ltrans0.o:(.text.startup+0x2a6): undefined reference to `cdw_burn_disc' ccpK0Emd.ltrans0.o:(.text.startup+0x2da): undefined reference to `cdw_burn_disc' ccpK0Emd.ltrans0.o:(.text.startup+0x317): undefined reference to `cdw_logging_display_log' ccpK0Emd.ltrans0.o:(.text.startup+0x365): undefined reference to `display_tooltip' ccpK0Emd.ltrans0.o:(.text.startup+0x386): undefined reference to `cdw_verify' ccpK0Emd.ltrans0.o:(.text.startup+0x39b): undefined reference to `cdw_drive_toggle_tray_with_ui_update2' ccpK0Emd.ltrans0.o:(.text.startup+0x3a5): undefined reference to `show_help_main' ccpK0Emd.ltrans0.o:(.text.startup+0x3af): undefined reference to `cdw_read_disc' ccpK0Emd.ltrans0.o:(.text.startup+0x3b9): undefined reference to `cdw_config_window' ccpK0Emd.ltrans0.o:(.text.startup+0x401): undefined reference to `cdw_read_and_display_disc_info' ccpK0Emd.ltrans0.o:(.text.startup+0x410): undefined reference to `cdw_drive_update_ui_with_disc' ccpK0Emd.ltrans0.o:(.text.startup+0x449): undefined reference to `cdw_buttons_dialog' ccpK0Emd.ltrans0.o:(.text.startup+0x456): undefined reference to `cdw_main_window_show_license' ccpK0Emd.ltrans0.o:(.text.startup+0x4af): undefined reference to `cdw_main_window_add_to_selected_files' ccpK0Emd.ltrans0.o:(.text.startup+0x4ce): undefined reference to `cdw_main_window_delete_from_selected_files' ccpK0Emd.ltrans0.o:(.text.startup+0x4d8): undefined reference to `cdw_create_image' ccpK0Emd.ltrans0.o:(.text.startup+0x4e2): undefined reference to `cdw_erase_disc' ccpK0Emd.ltrans0.o:(.text.startup+0x4ec): undefined reference to `cdw_about' ccpK0Emd.ltrans0.o:(.text.startup+0x51e): undefined reference to `cdw_buttons_dialog' collect2: error: ld returned 1 exit status Makefile:745: recipe for target 'cdw' failed make[3]: *** [cdw] Error 1 make[3]: Leaving directory '/var/tmp/yaourt-tmp-root/aur-cdw/src/cdw-0.8.0/src' Makefile:840: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory '/var/tmp/yaourt-tmp-root/aur-cdw/src/cdw-0.8.0/src' Makefile:368: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory '/var/tmp/yaourt-tmp-root/aur-cdw/src/cdw-0.8.0' Makefile:308: recipe for target 'all' failed make: *** [all] Error 2 ===== Any clue what can be reason and how to solve it?

msx commented on 2012-12-08 06:53 (UTC)

This little app is awesome! May be I can now jubilate K3b!? In any case, thanks for packaginf this.

kfgz commented on 2011-08-20 16:15 (UTC)

Done.