[DragonFlyBSD - Bug #3334] (Resolved) ports-mgmt/dialog4ports fails linking

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Thu Jan 5 09:33:26 PST 2023


Задача #3334 була оновлена daftaupe.

Параметр Статус змінився з New на Resolved
Параметр Призначена до змінився на daftaupe

----------------------------------------
Bug #3334: ports-mgmt/dialog4ports fails linking
http://bugs.dragonflybsd.org/issues/3334#change-14447

* Автор: arcade at b1t.name
* Статус: Resolved
* Пріоритет: Normal
* Призначена до: daftaupe
* Категорія: DPorts
* Версія: 6.4
* Початок: 2022-12-14
----------------------------------------
When trying to build I get:

===>  Applying ports patches for dialog4ports-0.1.6_1 from /usr/dports/ports-mgmt/dialog4ports/files             
/usr/bin/sed -i.bak -e "s at -lncurses@-rpath /lib/priv -L/usr/lib/priv -lprivate_ncursesw at g"  /usr/obj/dports/ports
-mgmt/dialog4ports/dialog4ports-0.1.6/Makefile                                                                   
===>  Configuring for dialog4ports-0.1.6_1                                                                       
===>  Building for dialog4ports-0.1.6_1                                                                          
--- dialog4ports.o ---                                                                                           
--- mixedlist.o ---                                                                                              
--- dialog4ports.1.gz ---                                                                                        
--- dialog4ports.o ---                                                                                           
cc  -pipe -I/usr/include/priv/ncurses -O2 -fno-strict-aliasing   -Wall -pedantic -c dialog4ports.c               
--- mixedlist.o ---                                                                                              
cc  -pipe -I/usr/include/priv/ncurses -O2 -fno-strict-aliasing   -Wall -pedantic -c mixedlist.c                  
--- dialog4ports.1.gz ---                                                                                        
gzip -cn dialog4ports.1 > dialog4ports.1.gz                                                                      
--- mixedlist.o ---
mixedlist.c: In function 'dlg_mixedlist':
mixedlist.c:344:7: warning: implicit declaration of function 'MAX' [-Wimplicit-function-declaration]
       MAX(26, use_width));
       ^~~
mixedlist.c:395:15: warning: implicit declaration of function 'MIN' [-Wimplicit-function-declaration]
  max_choice = MIN(use_height, item_no);
               ^~~
--- dialog4ports ---
cc -pipe -I/usr/include/priv/ncurses -O2 -fno-strict-aliasing   -Wall -pedantic dialog4ports.o mixedlist.o -o dialog4ports -rpath /lib/priv -L/usr/lib/priv -lprivate_ncursesw -lm -ldialog
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MAX'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MIN'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MAX'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MAX'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MIN'
mixedlist.o:mixedlist.c:function dlg_mixedlist: error: undefined reference to 'MIN'
collect2: error: ld returned 1 exit status
*** [dialog4ports] Error code 1

# uname -a
DragonFly probe2 6.3-DEVELOPMENT DragonFly v6.3.0.373.g81a8d1-DEVELOPMENT #1: Tue Dec  6 11:07:13 EET 2022     arcade at probe2:/usr/obj/usr/src/sys/DMIN  x86_64




-- 
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account


More information about the Bugs mailing list