<86>Dec 4 17:32:38 userdel[1720760]: delete user 'rooter' <86>Dec 4 17:32:38 userdel[1720760]: removed group 'rooter' owned by 'rooter' <86>Dec 4 17:32:38 userdel[1720760]: removed shadow group 'rooter' owned by 'rooter' <86>Dec 4 17:32:39 groupadd[1720777]: group added to /etc/group: name=rooter, GID=642 <86>Dec 4 17:32:39 groupadd[1720777]: group added to /etc/gshadow: name=rooter <86>Dec 4 17:32:39 groupadd[1720777]: new group: name=rooter, GID=642 <86>Dec 4 17:32:39 useradd[1720810]: new user: name=rooter, UID=642, GID=642, home=/root, shell=/bin/bash <86>Dec 4 17:32:39 userdel[1720825]: delete user 'builder' <86>Dec 4 17:32:39 userdel[1720825]: removed group 'builder' owned by 'builder' <86>Dec 4 17:32:39 userdel[1720825]: removed shadow group 'builder' owned by 'builder' <86>Dec 4 17:32:39 groupadd[1720901]: group added to /etc/group: name=builder, GID=643 <86>Dec 4 17:32:39 groupadd[1720901]: group added to /etc/gshadow: name=builder <86>Dec 4 17:32:39 groupadd[1720901]: new group: name=builder, GID=643 <86>Dec 4 17:32:39 useradd[1720935]: new user: name=builder, UID=643, GID=643, home=/usr/src, shell=/bin/bash <13>Dec 4 17:32:43 rpmi: libexpat-2.2.10-alt1 sisyphus+259966.100.1.1 1602824518 installed <13>Dec 4 17:32:43 rpmi: libpng16-1.6.37-alt1 sisyphus+236677.100.2.1 1566917998 installed <13>Dec 4 17:32:43 rpmi: libjpeg-2:2.0.2-alt1 sisyphus+226996.100.1.1 1554902907 installed <13>Dec 4 17:32:43 rpmi: libICE-1.0.10-alt1 sisyphus+247690.100.1.1 1584000387 installed <13>Dec 4 17:32:43 rpmi: libglvnd-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:32:43 rpmi: libwayland-server-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Dec 4 17:32:43 rpmi: libwebp7-1.1.0-alt1 sisyphus+243895.100.1.1 1578410873 installed <13>Dec 4 17:32:43 rpmi: libSM-1.2.3-alt1 sisyphus+226734.100.2.1 1554586158 installed <13>Dec 4 17:32:43 rpmi: xml-utils-1:2.9.10-alt4 sisyphus+261132.100.1.1 1604669137 installed <13>Dec 4 17:32:43 rpmi: libnatspec-0.3.1-alt2 1445691580 installed <13>Dec 4 17:32:43 rpmi: libltdl7-2.4.6-alt1 sisyphus+226971.100.2.1 1554906368 installed <13>Dec 4 17:32:43 rpmi: libgts-0.7.6-alt2.drc20130205.1 sisyphus+225727.500.8.1 1553672623 installed <13>Dec 4 17:32:43 rpmi: libpaper-1.1.28-alt1 sisyphus+259176.100.1.1 1601738993 installed <13>Dec 4 17:32:43 rpmi: libopenjpeg2.0-2.3.1-alt1 sisyphus+226454.100.1.1 1554284337 installed <13>Dec 4 17:32:43 rpmi: libgtk+2-locales-2.24.32-alt5 sisyphus+262336.100.3.1 1606161374 installed <13>Dec 4 17:32:43 rpmi: libfribidi-1.0.10-alt1 sisyphus+254557.100.1.1 1594020362 installed <13>Dec 4 17:32:43 rpmi: libdatrie-0.2.9-alt1_6 1511686676 installed <13>Dec 4 17:32:43 rpmi: libthai-0.1.28-alt1_1 sisyphus+226107.100.1.1 1554123079 installed <13>Dec 4 17:32:43 rpmi: libpixman-3:0.40.0-alt1 sisyphus+250700.100.1.1 1587971055 installed <13>Dec 4 17:32:43 rpmi: liblz4-1:1.9.3-alt1 sisyphus+262305.100.1.1 1606099167 installed <13>Dec 4 17:32:43 rpmi: libgpg-error-1.36-alt1 sisyphus+225621.300.1.1 1553521082 installed <13>Dec 4 17:32:43 rpmi: libgcrypt20-1.8.5-alt3 sisyphus+239622.100.1.1 1571746654 installed <13>Dec 4 17:32:43 rpmi: libsystemd-1:247-alt1 sisyphus+262610.100.3.1 1606868459 installed <13>Dec 4 17:32:43 rpmi: libdbus-1.12.18-alt1 sisyphus+252758.100.1.1 1591203693 installed <13>Dec 4 17:32:43 rpmi: libavahi-0.8-alt1 sisyphus+255349.240.4.1 1595604514 installed <13>Dec 4 17:32:43 rpmi: libcups-2.3.1-alt2 sisyphus+255816.100.2.1 1596533556 installed <13>Dec 4 17:32:44 rpmi: libatk-locales-2.36.0-alt1 sisyphus+249208.100.1.1 1585840405 installed <13>Dec 4 17:32:44 rpmi: libatk-2.36.0-alt1 sisyphus+249208.100.1.1 1585840406 installed <13>Dec 4 17:32:44 rpmi: libbrotlicommon-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Dec 4 17:32:44 rpmi: libbrotlidec-1.0.9-alt2 sisyphus+257777.100.1.1 1599688017 installed <13>Dec 4 17:32:44 rpmi: libgraphite2-1.3.14-alt2 sisyphus+250009.100.1.1 1586943065 installed <13>Dec 4 17:32:44 rpmi: libharfbuzz-2.6.8-alt1 sisyphus+254028.100.1.1 1593106819 installed <13>Dec 4 17:32:44 rpmi: libfreetype-2.10.4-alt2 sisyphus+260293.100.2.1 1604479496 installed <13>Dec 4 17:32:44 rpmi: fontconfig-2.13.1-alt1 sisyphus+257555.100.1.1 1599475160 installed Updating fonts cache: <29>Dec 4 17:32:45 fontconfig: Updating fonts cache: succeeded [ DONE ] <13>Dec 4 17:32:45 rpmi: libxshmfence-1.3-alt1 sisyphus+223149.1000.2.1 1551268571 installed <13>Dec 4 17:32:45 rpmi: libX11-locales-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422159 installed <13>Dec 4 17:32:45 rpmi: libXdmcp-1.1.3-alt1 sisyphus+225206.600.1.2 1552949353 installed <13>Dec 4 17:32:45 rpmi: libXau-1.0.9-alt1 sisyphus+223149.200.2.1 1551268152 installed <13>Dec 4 17:32:45 rpmi: libxcb-1.14-alt1 sisyphus+247358.200.1.3 1583854228 installed <13>Dec 4 17:32:45 rpmi: libX11-3:1.6.12-alt1 sisyphus+256796.100.1.1 1598422166 installed <13>Dec 4 17:32:45 rpmi: libXext-1.3.4-alt1 sisyphus+225206.700.1.2 1552949429 installed <13>Dec 4 17:32:45 rpmi: libXrender-0.9.10-alt1 sisyphus+261890.100.1.1 1605595177 installed <13>Dec 4 17:32:45 rpmi: libXt-1.2.0-alt1 sisyphus+247690.400.1.1 1584000596 installed <13>Dec 4 17:32:45 rpmi: libXmu-1.1.3-alt1 sisyphus+225206.1200.1.2 1552949641 installed <13>Dec 4 17:32:45 rpmi: libXfixes-5.0.3-alt1 sisyphus+226736.100.2.2 1554614841 installed <13>Dec 4 17:32:45 rpmi: libXpm-3.5.13-alt1 sisyphus+247690.300.1.1 1584000526 installed <13>Dec 4 17:32:45 rpmi: libXrandr-1.5.2-alt1 sisyphus+225206.1300.1.2 1552949710 installed <13>Dec 4 17:32:45 rpmi: libXxf86vm-1.1.4-alt2 1527672187 installed <13>Dec 4 17:32:45 rpmi: libXi-1.7.10-alt1 sisyphus+232786.300.1.1 1561106978 installed <13>Dec 4 17:32:45 rpmi: libXdamage-1.1.5-alt1 sisyphus+225206.500.1.2 1552949286 installed <13>Dec 4 17:32:45 rpmi: libXaw-1.0.12-alt1 1391072624 installed <13>Dec 4 17:32:45 rpmi: libXcursor-1.2.0-alt1 sisyphus+225206.400.1.2 1552949218 installed <13>Dec 4 17:32:45 rpmi: libXft-2.3.3-alt1 sisyphus+225206.1000.3.2 1552987708 installed <13>Dec 4 17:32:45 rpmi: libXinerama-1.1.4-alt1 sisyphus+223149.300.2.1 1551268216 installed <13>Dec 4 17:32:45 rpmi: libXcomposite-0.4.5-alt1 sisyphus+225206.300.1.2 1552949137 installed <13>Dec 4 17:32:45 rpmi: libwayland-client-1.18.0-alt1 sisyphus+255795.100.1.1 1596475648 installed <13>Dec 4 17:32:45 rpmi: libpciaccess-1:0.16-alt1 sisyphus+234814.100.1.1 1563438291 installed <13>Dec 4 17:32:45 rpmi: libdrm-1:2.4.103-alt1 sisyphus+261080.100.1.1 1604598368 installed <13>Dec 4 17:32:45 rpmi: libGLX-mesa-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 17:32:45 rpmi: libGLX-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:32:45 rpmi: libGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:32:45 rpmi: libGLU-4:9.0.1-alt1 sisyphus+248864.100.1.1 1585556461 installed <13>Dec 4 17:32:45 rpmi: libfreeglut-3.2.1-alt2 sisyphus+239597.100.1.1 1571728966 installed <13>Dec 4 17:32:45 rpmi: libgbm-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 17:32:45 rpmi: libEGL-mesa-4:20.2.3-alt1 sisyphus+262368.100.1.1 1606200337 installed <13>Dec 4 17:32:45 rpmi: libEGL-7:1.3.2-alt1 sisyphus+254610.100.1.1 1594124268 installed <13>Dec 4 17:32:45 rpmi: libcairo-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Dec 4 17:32:45 rpmi: libcairo-gobject-1:1.16.0-alt1 sisyphus+226534.100.2.3 1554515535 installed <13>Dec 4 17:32:45 rpmi: icon-theme-hicolor-0.17-alt2 sisyphus+248343.100.1.1 1584979043 installed <13>Dec 4 17:32:45 rpmi: libjbig-2.1-alt1 1401380926 installed <13>Dec 4 17:32:45 rpmi: libtiff5-4.1.0-alt1 sisyphus+240802.100.1.1 1573743635 installed <13>Dec 4 17:32:45 rpmi: libgd3-2.3.0-alt2 sisyphus+250375.100.2.1 1587542909 installed <13>Dec 4 17:32:47 rpmi: libgs-9.53.3-alt1 sisyphus+260366.100.1.1 1603614538 installed <13>Dec 4 17:32:47 rpmi: shared-mime-info-2.0-alt1 sisyphus+251302.100.1.1 1588847607 installed <13>Dec 4 17:32:47 rpmi: libgdk-pixbuf-locales-2.42.0-alt1 sisyphus+261999.200.2.1 1605722003 installed <13>Dec 4 17:32:47 rpmi: gsettings-desktop-schemas-data-3.38.0-alt1 sisyphus+258314.500.14.2 1600843028 installed <13>Dec 4 17:32:47 rpmi: libgio-2.66.3-alt1 sisyphus+261863.100.1.1 1605540253 installed <13>Dec 4 17:32:47 rpmi: gsettings-desktop-schemas-3.38.0-alt1 sisyphus+258314.500.14.2 1600843530 installed <13>Dec 4 17:32:47 rpmi: libpango-1.48.0-alt1 sisyphus+261300.100.2.1 1604868816 installed <13>Dec 4 17:32:47 rpmi: libgdk-pixbuf-2.42.0-alt1 sisyphus+261999.200.2.1 1605722034 installed <13>Dec 4 17:32:47 rpmi: gtk-update-icon-cache-3.24.23-alt2 sisyphus+258314.2000.14.2 1600845597 installed <13>Dec 4 17:32:47 rpmi: libgtk+2-2.24.32-alt5 sisyphus+262336.100.3.1 1606161327 installed <13>Dec 4 17:32:47 rpmi: libgtkglext-1.2.0-alt5 sisyphus+256355.100.1.1 1597620700 installed <13>Dec 4 17:32:47 rpmi: libglade-2.6.4-alt5.qa1 1366416177 installed <13>Dec 4 17:32:48 rpmi: librsvg-1:2.50.2-alt1 sisyphus+262203.100.1.2 1605908464 installed <13>Dec 4 17:32:48 rpmi: liblasi-1.1.3-alt2 sisyphus+239300.100.1.1 1571209616 installed <13>Dec 4 17:32:48 rpmi: libgraphviz-2.41.2-alt4 sisyphus+258874.100.1.1 1601381242 installed <13>Dec 4 17:32:48 rpmi: graphviz-2.41.2-alt4 sisyphus+258874.100.1.1 1601381242 installed <13>Dec 4 17:32:48 rpmi: unzip-6.0-alt4 sisyphus+261685.200.2.1 1605218923 installed <13>Dec 4 17:32:49 rpmi: doxygen-1:1.8.17-alt2 sisyphus+251932.100.4.1 1589893423 installed <13>Dec 4 17:32:49 rpmi: dos2unix-7.3.5-alt1 1499695585 installed Building target platforms: i586 Building for target i586 Wrote: /usr/src/in/nosrpm/libtpcmisc-1.4.8-alt2_17.nosrc.rpm Installing libtpcmisc-1.4.8-alt2_17.src.rpm Building target platforms: i586 Building for target i586 Executing(%prep): /bin/sh -e /usr/src/tmp/rpm-tmp.67023 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + rm -rf libtpcmisc + echo 'Source #0 (libtpcmisc_1_4_8_src.zip):' Source #0 (libtpcmisc_1_4_8_src.zip): + /usr/bin/unzip -qq /usr/src/RPM/SOURCES/libtpcmisc_1_4_8_src.zip + cd libtpcmisc + /bin/chmod -c -Rf u+rwX,go-w . + echo 'Patch #0 (libtpcmisc-shared.patch):' Patch #0 (libtpcmisc-shared.patch): + /usr/bin/patch -p1 -b --suffix .shared patching file include/memory_handler.h patching file Makefile patching file memory_handler.c + sed -i '/^CFLAGS/d' Makefile + dos2unix -k History Readme dos2unix: converting file History to Unix format... dos2unix: converting file Readme to Unix format... + iconv -f ISO_8859-1 -t utf8 -o History.new History + mv -f History.new History + exit 0 Executing(%build): /bin/sh -e /usr/src/tmp/rpm-tmp.67023 + umask 022 + /bin/mkdir -p /usr/src/RPM/BUILD + cd /usr/src/RPM/BUILD + cd libtpcmisc + export 'CFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L' + CFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L' + export 'CXXFLAGS=-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -fPIC -DPIC' + CXXFLAGS='-pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -fPIC -DPIC' + make -j8 make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o idcrypt.o idcrypt.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o petc99.o petc99.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o swap.o swap.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o intex.o intex.c intex.c: In function 'intExpand': intex.c:51:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 51 | if(list->nr>0 && list->i!=NULL) free((char*)list->i); list->nr=0; | ^~ intex.c:51:57: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 51 | if(list->nr>0 && list->i!=NULL) free((char*)list->i); list->nr=0; | ^~~~ make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o substitutions.o substitutions.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o backup.o backup.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o halflife.o halflife.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o ift.o ift.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o iftsrch.o iftsrch.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o decpoint.o decpoint.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o quots.o quots.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o libtpcmiscv.o libtpcmiscv.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o studynr.o studynr.c In file included from /usr/include/string.h:508, from studynr.c:59: In function 'strncpy', inlined from 'studynr_in_fname.part.0' at studynr.c:90:3: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin___strncpy_chk' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ studynr.c: In function 'studynr_in_fname.part.0': studynr.c:89:5: note: length computed here 89 | i=strlen(cptr); if(i>FILENAME_MAX) i=FILENAME_MAX; | ^~~~~~~~~~~~ In file included from /usr/include/string.h:508, from studynr.c:59: In function 'strncpy', inlined from 'studynr_from_fname2' at studynr.c:136:3, inlined from 'studynr_from_fname2' at studynr.c:114:5: /usr/include/bits/string_fortified.h:106:10: warning: '__builtin_strncpy' specified bound depends on the length of the source argument [-Wstringop-overflow=] 106 | return __builtin___strncpy_chk (__dest, __src, __len, __bos (__dest)); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ studynr.c: In function 'studynr_from_fname2': studynr.c:135:5: note: length computed here 135 | i=strlen(cptr); if(i>MAX_STUDYNR_LEN) i=MAX_STUDYNR_LEN; | ^~~~~~~~~~~~ make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o memory_handler.o memory_handler.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o iftfile.o iftfile.c make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o petunits.o petunits.c petunits.c: In function 'petCunitId': petunits.c:102:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 102 | else if(strcasecmp(unit, "unknown")==0) return CUNIT_UNKNOWN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:103:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 103 | else if(strcasecmp(unit, "cnts/sec")==0) return CUNIT_CPS; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:104:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 104 | else if(strcasecmp(unit, "counts/sec")==0) return CUNIT_CPS; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:105:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 105 | else if(strcasecmp(unit, "ECAT counts/sec")==0) return CUNIT_CPS; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:106:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 106 | else if(strcasecmp(unit, "cps")==0) return CUNIT_CPS; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:107:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 107 | else if(strcasecmp(unit, "counts")==0) return CUNIT_COUNTS; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:108:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 108 | else if(strcasecmp(unit, "cnts")==0) return CUNIT_COUNTS; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:109:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 109 | else if(strcasecmp(unit, "kBq/cc")==0) return CUNIT_KBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:110:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 110 | else if(strcasecmp(unit, "kBq/mL")==0) return CUNIT_KBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:111:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 111 | else if(strcasecmp(unit, "sec*kBq/cc")==0) return CUNIT_SEC_KBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:112:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 112 | else if(strcasecmp(unit, "sec*kBq/mL")==0) return CUNIT_SEC_KBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:113:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 113 | else if(strcasecmp(unit, "integral")==0) return CUNIT_SEC_KBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:114:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 114 | else if(strcasecmp(unit, "1/sec")==0) return CUNIT_PER_SEC; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:115:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 115 | else if(strcasecmp(unit, "1/s")==0) return CUNIT_PER_SEC; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:116:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 116 | else if(strcasecmp(unit, "s-1")==0) return CUNIT_PER_SEC; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:117:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 117 | else if(strcasecmp(unit, "1/min")==0) return CUNIT_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:118:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 118 | else if(strcasecmp(unit, "min-1")==0) return CUNIT_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:119:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 119 | else if(strcasecmp(unit, "mL/mL")==0) return CUNIT_ML_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:120:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 120 | else if(strcasecmp(unit, "mL/cc")==0) return CUNIT_ML_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:121:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 121 | else if(strcasecmp(unit, "mL/dL")==0) return CUNIT_ML_PER_DL; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:122:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 122 | else if(strcasecmp(unit, "mL/100mL")==0) return CUNIT_ML_PER_DL; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:123:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 123 | else if(strcasecmp(unit, "mL/(mL*min)")==0) return CUNIT_ML_PER_ML_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:124:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 124 | else if(strcasecmp(unit, "mL/(min*mL)")==0) return CUNIT_ML_PER_ML_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:125:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 125 | else if(strcasecmp(unit, "mL/(cc*min)")==0) return CUNIT_ML_PER_ML_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:126:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 126 | else if(strcasecmp(unit, "mL/(min*cc)")==0) return CUNIT_ML_PER_ML_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:127:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 127 | else if(strcasecmp(unit, "mL/mL/min")==0) return CUNIT_ML_PER_ML_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:128:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 128 | else if(strcasecmp(unit, "mL/min/mL")==0) return CUNIT_ML_PER_ML_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:129:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 129 | else if(strcasecmp(unit, "mL/cc/min")==0) return CUNIT_ML_PER_ML_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:130:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 130 | else if(strcasecmp(unit, "mL/min/cc")==0) return CUNIT_ML_PER_ML_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:131:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 131 | else if(strcasecmp(unit, "mL/(dL*min)")==0) return CUNIT_ML_PER_DL_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:132:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 132 | else if(strcasecmp(unit, "mL/(min*dL)")==0) return CUNIT_ML_PER_DL_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:133:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 133 | else if(strcasecmp(unit, "mL/(100mL*min)")==0) return CUNIT_ML_PER_DL_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:134:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 134 | else if(strcasecmp(unit, "mL/(min*100mL)")==0) return CUNIT_ML_PER_DL_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:135:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 135 | else if(strcasecmp(unit, "mL/dL/min")==0) return CUNIT_ML_PER_DL_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:136:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 136 | else if(strcasecmp(unit, "mL/min/dL")==0) return CUNIT_ML_PER_DL_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:137:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 137 | else if(strcasecmp(unit, "mL/100mL/min")==0) return CUNIT_ML_PER_DL_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:138:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 138 | else if(strcasecmp(unit, "mL/min/100mL")==0) return CUNIT_ML_PER_DL_PER_MIN; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:139:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 139 | else if(strcasecmp(unit, "unitless")==0) return CUNIT_UNITLESS; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:140:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 140 | else if(strcasecmp(unit, "nCi/cc")==0) return CUNIT_NCI_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:141:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 141 | else if(strcasecmp(unit, "nCi/mL")==0) return CUNIT_NCI_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:142:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 142 | else if(strcasecmp(unit, "MBq/cc")==0) return CUNIT_MBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:143:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 143 | else if(strcasecmp(unit, "MBq/mL")==0) return CUNIT_MBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:144:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 144 | else if(strcasecmp(unit, "Bq/cc")==0) return CUNIT_BQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:145:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 145 | else if(strcasecmp(unit, "Bq/mL")==0) return CUNIT_BQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:146:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 146 | else if(strcasecmp(unit, "uCi/cc")==0) return CUNIT_UCI_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:147:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 147 | else if(strcasecmp(unit, "uCi/mL")==0) return CUNIT_UCI_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:148:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 148 | else if(strcasecmp(unit, "umol/(100g*min)")==0) return CUNIT_UMOL_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:149:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 149 | else if(strcasecmp(unit, "umol/(min*100g)")==0) return CUNIT_UMOL_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:150:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 150 | else if(strcasecmp(unit, "umol/100g/min")==0) return CUNIT_UMOL_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:151:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 151 | else if(strcasecmp(unit, "umol/min/100g")==0) return CUNIT_UMOL_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:152:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 152 | else if(strcasecmp(unit, "umol/(dL*min)")==0) return CUNIT_UMOL_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:153:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 153 | else if(strcasecmp(unit, "umol/(min*dL)")==0) return CUNIT_UMOL_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:154:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 154 | else if(strcasecmp(unit, "umol/dL/min")==0) return CUNIT_UMOL_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:155:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 155 | else if(strcasecmp(unit, "umol/min/dL")==0) return CUNIT_UMOL_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:156:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 156 | else if(strcasecmp(unit, "mg/(100g*min)")==0) return CUNIT_MG_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:157:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 157 | else if(strcasecmp(unit, "mg/(min*100g)")==0) return CUNIT_MG_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:158:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 158 | else if(strcasecmp(unit, "mg/100g/min")==0) return CUNIT_MG_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:159:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 159 | else if(strcasecmp(unit, "mg/min/100g")==0) return CUNIT_MG_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:160:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 160 | else if(strcasecmp(unit, "mg/(dL*min)")==0) return CUNIT_MG_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:161:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 161 | else if(strcasecmp(unit, "mg/(min*dL)")==0) return CUNIT_MG_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:162:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 162 | else if(strcasecmp(unit, "mg/dL/min")==0) return CUNIT_MG_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:163:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 163 | else if(strcasecmp(unit, "mg/min/dL")==0) return CUNIT_MG_PER_MIN_PER_100G; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:164:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 164 | else if(strcasecmp(unit, "%")==0) return CUNIT_PERCENTAGE; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:165:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 165 | else if(strcasecmp(unit, "kcps")==0) return CUNIT_KCPS; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:166:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 166 | else if(strcasecmp(unit, "min*kBq/cc")==0) return CUNIT_MIN_KBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:167:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 167 | else if(strcasecmp(unit, "min*kBq/mL")==0) return CUNIT_MIN_KBQ_PER_ML; | ^~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c: In function 'petTunitId': petunits.c:181:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 181 | else if(strcasecmp(timeunit, "unknown")==0) return TUNIT_UNKNOWN; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:182:11: warning: implicit declaration of function 'strncasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] 182 | else if(strncasecmp(timeunit, "seconds", 3)==0) return TUNIT_SEC; | ^~~~~~~~~~~ | strcasecmp petunits.c:185:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 185 | else if(strcasecmp(timeunit, "um")==0) return TUNIT_UM; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:186:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 186 | else if(strcasecmp(timeunit, "mm")==0) return TUNIT_MM; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:187:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 187 | else if(strcasecmp(timeunit, "cm")==0) return TUNIT_CM; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:188:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 188 | else if(strcasecmp(timeunit, "m")==0) return TUNIT_M; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:189:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 189 | else if(strcasecmp(timeunit, "h")==0) return TUNIT_HOUR; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:190:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 190 | else if(strcasecmp(timeunit, "months")==0) return TUNIT_MONTH; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:191:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 191 | else if(strcasecmp(timeunit, "y")==0) return TUNIT_YEAR; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ petunits.c:192:22: warning: passing argument 1 of 'strcasecmp' discards 'const' qualifier from pointer target type [-Wdiscarded-qualifiers] 192 | else if(strcasecmp(timeunit, "msec")==0) return TUNIT_MSEC; | ^~~~~~~~ In file included from petunits.c:44: include/substitutions.h:16:22: note: expected 'char *' but argument is of type 'const char *' 16 | int strcasecmp(char *s1, char *s2); | ~~~~~~^~ make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -pipe -frecord-gcc-switches -Wall -g -O2 -march=i586 -mtune=generic -fPIC -DPIC -std=c99 -fPIC -DPIC -D_POSIX_C_SOURCE=200112L -c -o datetime.o datetime.c datetime.c: In function 'isdate': datetime.c:73:6: warning: implicit declaration of function 'strncasecmp'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration] 73 | if(strncasecmp(str, "YYYY-MM-DD", 10)==0) return -1; | ^~~~~~~~~~~ | strcasecmp make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' ar -rvs libtpcmisc.a substitutions.o backup.o idcrypt.o intex.o petc99.o studynr.o swap.o halflife.o ift.o iftfile.o iftsrch.o decpoint.o quots.o petunits.o datetime.o memory_handler.o libtpcmiscv.o ar: creating libtpcmisc.a a - substitutions.o a - backup.o a - idcrypt.o a - intex.o a - petc99.o a - studynr.o a - swap.o a - halflife.o a - ift.o a - iftfile.o a - iftsrch.o a - decpoint.o a - quots.o a - petunits.o a - datetime.o a - memory_handler.o a - libtpcmiscv.o make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' make: Entering directory '/usr/src/RPM/BUILD/libtpcmisc' gcc -shared -o libtpcmisc.so.0.0.0 substitutions.o backup.o idcrypt.o intex.o petc99.o studynr.o swap.o halflife.o ift.o iftfile.o iftsrch.o decpoint.o quots.o petunits.o datetime.o memory_handler.o libtpcmiscv.o -Wl,-soname=libtpcmisc.so.0 -lm /usr/bin/ld.default: iftfile.o:/usr/src/RPM/BUILD/libtpcmisc/include/ift.h:55: multiple definition of `IFT_TEST'; ift.o:/usr/src/RPM/BUILD/libtpcmisc/include/ift.h:55: first defined here /usr/bin/ld.default: iftsrch.o:/usr/src/RPM/BUILD/libtpcmisc/include/ift.h:55: multiple definition of `IFT_TEST'; ift.o:/usr/src/RPM/BUILD/libtpcmisc/include/ift.h:55: first defined here collect2: error: ld returned 1 exit status make: *** [Makefile:74: libtpcmisc.so.0.0.0] Error 1 make: Leaving directory '/usr/src/RPM/BUILD/libtpcmisc' error: Bad exit status from /usr/src/tmp/rpm-tmp.67023 (%build) RPM build errors: Bad exit status from /usr/src/tmp/rpm-tmp.67023 (%build) Command exited with non-zero status 1 1.69user 0.19system 0:00.78elapsed 241%CPU (0avgtext+0avgdata 23496maxresident)k 0inputs+0outputs (0major+72005minor)pagefaults 0swaps hsh-rebuild: rebuild of `libtpcmisc-1.4.8-alt2_17.src.rpm' failed. Command exited with non-zero status 1 9.10user 2.44system 0:18.34elapsed 63%CPU (0avgtext+0avgdata 109080maxresident)k 0inputs+0outputs (0major+352744minor)pagefaults 0swaps