https://bugzilla.redhat.com/show_bug.cgi?id=817193 --- Comment #6 from Ralf Corsepius <rc040203@xxxxxxxxxx> --- - Package does not build in mock: ... cc -g -Wall -pedantic --std=gnu99 -I./ -I../ -Icu/ -o test main.c common.o support.o vec3.o polytope.o boxbox.o spheresphere.o cylcyl.o boxcyl.o mpr_boxbox.o mpr_cylcyl.o mpr_boxcyl.o -L./ -Lcu/ -l /usr/bin/ld: cannot find -lccd collect2: error: ld returned 1 exit status make: *** [test] Error 1 error: Bad exit status from /var/tmp/rpm-tmp.jqQs8y (%check) - Package does not honor RPM_OPT_FLAGS: ... Building C object CMakeFiles/ccd_static.dir/src/ccd.c.o /usr/lib64/ccache/gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -O2 -g -I/builddir/build/BUILD/libccd-1.3/src -o CMakeFiles/ccd_static.dir/src/ccd.c.o -c /builddir/build/BUILD/libccd-1.3/src/ccd.c Here, it accepts $RPM_OPT_FLAGS, but later overrides add "-O2 -g". I.e. it overrides some settings from $RPM_OPT_FLAGS. Later on during the built, the testsuite doesn't honor RPM_OPT_LFLAGS at all: ... make[1]: Entering directory `/builddir/build/BUILD/libccd-1.3/src/testsuites/cu' cc -g -Wall -pedantic -DCU_ENABLE_TIMER -c -o cu.o cu.c ar cr libcu.a cu.o ranlib libcu.a make[1]: Leaving directory `/builddir/build/BUILD/libccd-1.3/src/testsuites/cu' cc -g -Wall -pedantic --std=gnu99 -I./ -I../ -Icu/ -c -o common.o common.c -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ package-review mailing list package-review@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/package-review