On 5/24/14, Mika <[email protected]> wrote: > Hi, > > i tried to compile postfix with mysql and sasl2 from stable (on > openBSD 5.5 - fresh install) and ended up this error message: > > # cd /usr/ports/mail/postfix/stable/ > # env FLAVOR="mysql sasl2" make > install > ===> Faking installation for postfix-2.11.0-sasl2-mysql > install -d -o root -g bin -m 755 > /usr/ports/pobj/postfix-2.11.0-sasl2-mysql/fake-amd64-sasl2-mysql/usr/local/share/examples/postfix > /bin/sh: cd: /usr/ports/pobj/postfix-2.11.0/postfix-2.11.0 - No such > file or directory > *** Error 1 in /usr/ports/mail/postfix/stable (../Makefile.inc:109 > 'do-install': @(cd /usr/ports/pobj/postfix-2.11.0/postfix-2.11.0; sh > post...) > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2748 > '/usr/ports/pobj/postfix-2.11.0-sasl2-mysql/fake-amd64-sasl2-mysql/.fake_done') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1874 > '/usr/ports/packages/amd64/all/postfix-2.11.0-sasl2-mysql.tgz') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2426 > '_internal-package') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:2406 'package') > *** Error 1 in . (/usr/ports/infrastructure/mk/bsd.port.mk:1891 > '/var/db/pkg/postfix-2.11.0-sasl2-mysql/+CONTENTS') > *** Error 1 in /usr/ports/mail/postfix/stable > (/usr/ports/infrastructure/mk/bsd.port.mk:2406 'install') > > I used google to look for a way to solve this problem but did not find one. > As far I understand this compiling is fine but installing messed up. > It looks like make install is looking in the wrong directory > (/usr/ports/pobj/postfix-2.11.0/postfix-2.11.0 instead of /usr/ports > /pobj/postfix-2.11.0-sasl2-mysql/fake-amd64-sasl2-mysql/postfix- > 2.11.0/).
You need use SUDO="sudo -E". The FLAVOR environment variable is getting lost during making fake it looks like. --patrick > #cat > /usr/ports/pobj/postfix-2.* > > < > total 144 > drwxr-xr-x 5 root wheel 1024 May 24 13:00 . > drwxr-xr-x 12 root wheel 512 May 24 13:18 .. > -rw-r--r-- 1 root wheel 0 May 24 13:00 .build_done > -rw-r--r-- 1 root wheel 0 May 24 12:59 .buildwantlibs > -rw-r--r-- 1 root wheel 0 May 24 12:59 .configure_done > -rw-r--r-- 1 root wheel 22 May 24 12:59 .dep-databases-mysql > -rw-r--r-- 1 root wheel 10 May 24 12:48 .dep-devel-pcre > -rw-r--r-- 1 root wheel 21 May 24 12:49 .dep-security-cyrus-sasl2 > -rw-r--r-- 1 root wheel 0 May 24 12:59 .distpatch_done > -rw-r--r-- 1 root wheel 0 May 24 12:59 .extract_done > -rw-r--r-- 1 root wheel 0 May 24 12:48 .extract_started > -rw-r--r-- 1 root wheel 0 May 24 12:59 .patch_done > -rw-r--r-- 1 root wheel 0 May 24 12:59 .spec-c > -rw-r--r-- 1 root wheel 0 May 24 12:59 .spec-crypto > -rw-r--r-- 1 root wheel 0 May 24 12:59 > .spec-lib-mysql-mysqlclient-ge-10 > -rw-r--r-- 1 root wheel 0 May 24 12:59 .spec-pcre > -rw-r--r-- 1 root wheel 0 May 24 12:59 .spec-pthread > -rw-r--r-- 1 root wheel 0 May 24 12:59 .spec-sasl2 > -rw-r--r-- 1 root wheel 0 May 24 12:59 .spec-sqlite3 > -rw-r--r-- 1 root wheel 0 May 24 12:59 .spec-ssl > drwxr-xr-x 2 root wheel 512 May 24 12:48 bin > drwxr-xr-x 5 root wheel 512 May 24 13:00 fake-amd64-sasl2-mysql > drwxr-xr-x 16 root wheel 1536 May 24 12:59 postfix-2.11.0 > -rw-r--r-- 1 root wheel 57001 May 24 12:48 systrace.policy > > Any hints how to solve this problem? > > Thx for your help. > > Mika > > > # dmesg > OpenBSD 5.5 (GENERIC) #271: Wed Mar 5 09:31:16 MST 2014 > [email protected]:/usr/src/sys/arch/amd64/compile/GENERIC > real mem = 17127964672 (16334MB) > avail mem = 16663453696 (15891MB) > warning: no entropy supplied by boot loader > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.5 @ 0x9f400 (62 entries) > bios0: vendor American Megatrends Inc. version "0603" date 09/21/2011 > bios0: ASUSTeK Computer INC. M5A78L-M/USB3 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S1 S3 S4 S5 > acpi0: tables DSDT FACP APIC MCFG OEMB HPET SSDT > acpi0: wakeup devices PCE2(S4) PCE3(S4) PCE4(S4) PCE5(S4) PCE6(S4) > PCE7(S4) PCE9(S4) PCEA(S4) RLAN(S4) PCEB(S4) PCEC(S4) SBAZ(S4) PS2K(S4) > PS2M(S4) UAR1(S4) P0PC(S4) [...] > acpitimer0 at acpi0: 3579545 Hz, 32 bits > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Phenom(tm) II X6 1055T Processor, 2812.98 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,MWAIT,CX16,POPCNT,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,ABM,SSE4A,MASSE,3DNOWP,OSVW,IBS,SKINIT,NODEID,ITSC > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 512KB > 64b/line 16-way L2 cache, 6MB 64b/line 48-way L3 cache > cpu0: ITLB 32 4KB entries fully associative, 16 4MB entries fully > associative > cpu0: DTLB 48 4KB entries fully associative, 48 4MB entries fully > associative > cpu0: AMD erratum 721 detected and fixed > cpu0: smt 0, core 0, package 0 > mtrr: Pentium Pro MTRR support, 8 var ranges, 88 fixed ranges > cpu0: apic clock running at 200MHz > cpu at mainbus0: not configured > cpu at mainbus0: not configured > cpu at mainbus0: not configured > cpu at mainbus0: not configured > cpu at mainbus0: not configured > ioapic0 at mainbus0: apid 6 pa 0xfec00000, version 21, 24 pins > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-255 > acpihpet0 at acpi0: 14318180 Hz > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 1 (P0P1) > acpiprt2 at acpi0: bus -1 (PCE2) > acpiprt3 at acpi0: bus -1 (PCE3) > acpiprt4 at acpi0: bus -1 (PCE4) > acpiprt5 at acpi0: bus 2 (PCE7) > acpiprt6 at acpi0: bus -1 (PCE9) > acpiprt7 at acpi0: bus 3 (PCEA) > acpiprt8 at acpi0: bus 4 (P0PC) > acpicpu0 at acpi0: C2, PSS > aibs0 at acpi0 RTMP RVLT RFAN GGRP GITM SITM > acpibtn0 at acpi0: PWRB > cpu0: 2812 MHz: speeds: 2800 2200 1500 800 MHz > pci0 at mainbus0 bus 0 > pchb0 at pci0 dev 0 function 0 "AMD RS780 Host" rev 0x00 > ppb0 at pci0 dev 1 function 0 vendor "Asustek", unknown product 0x9602 > rev 0x00 > pci1 at ppb0 bus 1 > radeondrm0 at pci1 dev 5 function 0 "ATI Radeon HD 3000" rev 0x00 > drm0 at radeondrm0 > radeondrm0: apic 6 int 18 > azalia0 at pci1 dev 5 function 1 "ATI RS780 HD Audio" rev 0x00: msi > azalia0: no supported codecs > ppb1 at pci0 dev 7 function 0 "AMD RS780 PCIE" rev 0x00: msi > pci2 at ppb1 bus 2 > "ASMedia ASM1042 xHCI" rev 0x00 at pci2 dev 0 function 0 not configured > ppb2 at pci0 dev 10 function 0 "AMD RS780 PCIE" rev 0x00: msi > pci3 at ppb2 bus 3 > re0 at pci3 dev 0 function 0 "Realtek 8168" rev 0x06: RTL8168E/8111E-VL > (0x2c80), msi, address c8:60:00:53:d6:8e > rgephy0 at re0 phy 7: RTL8169S/8110S PHY, rev. 5 > ahci0 at pci0 dev 17 function 0 "ATI SBx00 SATA" rev 0x00: apic 6 int > 22, AHCI 1.1 > scsibus0 at ahci0: 32 targets > sd0 at scsibus0 targ 0 lun 0: <ATA, ST1000DM003-9YN1, CC4B> SCSI3 > 0/direct fixed naa.5000c5004b584485 > sd0: 953869MB, 512 bytes/sector, 1953525168 sectors > sd1 at scsibus0 targ 2 lun 0: <ATA, Hitachi HDS72101, MS2O> SCSI3 > 0/direct fixed naa.5000cca37cc3f7b1 > sd1: 953869MB, 512 bytes/sector, 1953525168 sectors > ohci0 at pci0 dev 18 function 0 "ATI SB700 USB" rev 0x00: apic 6 int 16, > version 1.0, legacy support > ohci1 at pci0 dev 18 function 1 "ATI SB700 USB" rev 0x00: apic 6 int 16, > version 1.0, legacy support > ehci0 at pci0 dev 18 function 2 "ATI SB700 USB2" rev 0x00: apic 6 int 17 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "ATI EHCI root hub" rev 2.00/1.00 addr 1 > ohci2 at pci0 dev 19 function 0 "ATI SB700 USB" rev 0x00: apic 6 int 18, > version 1.0, legacy support > ohci3 at pci0 dev 19 function 1 "ATI SB700 USB" rev 0x00: apic 6 int 18, > version 1.0, legacy support > ehci1 at pci0 dev 19 function 2 "ATI SB700 USB2" rev 0x00: apic 6 int 19 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "ATI EHCI root hub" rev 2.00/1.00 addr 1 > piixpm0 at pci0 dev 20 function 0 "ATI SBx00 SMBus" rev 0x3c: SMI > iic0 at piixpm0 > iic0: addr 0x20 01=10 02=1d 03=2c 04=00 05=00 06=00 07=00 08=00 09=00 > 0a=10 0b=10 0c=10 0d=10 0e=10 0f=8a 10=00 11=00 12=00 13=00 14=00 15=0e > 16=38 17=a0 18=c0 19=fb 1a=a7 1b=a0 1c=ae 1d=80 1e=0c 1f=03 20=09 21=09 > 22=09 23=09 24=43 3e=9f words 00=ff10 01=101d 02=1d2c 03=2c00 04=0000 > 05=0000 06=0000 07=0000 > spdmem0 at iic0 addr 0x50: 4GB DDR3 SDRAM PC3-10600 > spdmem1 at iic0 addr 0x51: 4GB DDR3 SDRAM PC3-10600 > spdmem2 at iic0 addr 0x52: 4GB DDR3 SDRAM PC3-10600 > spdmem3 at iic0 addr 0x53: 4GB DDR3 SDRAM PC3-10600 > pciide0 at pci0 dev 20 function 1 "ATI SB700 IDE" rev 0x00: DMA, channel > 0 configured to compatibility, channel 1 configured to compatibility > azalia1 at pci0 dev 20 function 2 "ATI SBx00 HD Audio" rev 0x00: apic 6 > int 16 > azalia1: codecs: VIA/0x0397 > audio0 at azalia1 > pcib0 at pci0 dev 20 function 3 "ATI SB700 ISA" rev 0x00 > ppb3 at pci0 dev 20 function 4 "ATI SB600 PCI" rev 0x00 > pci4 at ppb3 bus 4 > ohci4 at pci0 dev 20 function 5 "ATI SB700 USB" rev 0x00: apic 6 int 18, > version 1.0, legacy support > pchb1 at pci0 dev 24 function 0 "AMD AMD64 10h HyperTransport" rev 0x00 > pchb2 at pci0 dev 24 function 1 "AMD AMD64 10h Address Map" rev 0x00 > pchb3 at pci0 dev 24 function 2 "AMD AMD64 10h DRAM Cfg" rev 0x00 > km0 at pci0 dev 24 function 3 "AMD AMD64 10h Misc Cfg" rev 0x00 > pchb4 at pci0 dev 24 function 4 "AMD AMD64 10h Link Cfg" rev 0x00 > usb2 at ohci0: USB revision 1.0 > uhub2 at usb2 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb3 at ohci1: USB revision 1.0 > uhub3 at usb3 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb4 at ohci2: USB revision 1.0 > uhub4 at usb4 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > usb5 at ohci3: USB revision 1.0 > uhub5 at usb5 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > isa0 at pcib0 > isadma0 at isa0 > com0 at isa0 port 0x3f8/8 irq 4: ns16550a, 16 byte fifo > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > lpt0 at isa0 port 0x378/4 irq 7 > it0 at isa0 port 0x2e/2: IT8728F rev 1, EC port 0x290 > usb6 at ohci4: USB revision 1.0 > uhub6 at usb6 "ATI OHCI root hub" rev 1.00/1.00 addr 1 > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > scsibus2 at softraid0: 256 targets > root on sd0a (0d3a287f5bcc4b75.a) swap on sd0b dump on sd0b > drm: initializing kernel modesetting (RS780 0x1002:0x9616 0x1043:0x8388). > radeondrm0: VRAM: 32M 0x00000000C0000000 - 0x00000000C1FFFFFF (32M used) > radeondrm0: GTT: 512M 0x00000000A0000000 - 0x00000000BFFFFFFF > error: [drm:pid0:r600_init_microcode] *ERROR* r600_cp: Failed to load > firmware "radeon-rs780_pfp" > error: [drm:pid0:r600_startup] *ERROR* Failed to load firmware! > error: [drm:pid0:r600_init] *ERROR* disabling GPU acceleration > error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfffffe841d49e2b0 unpin not > necessary > error: [drm:pid0:radeon_bo_unpin] *ERROR* 0xfffffe841d49e2b0 unpin not > necessary > No connectors reported connected with modes > Cannot find any crtc or sizes - going 1024x768 > radeondrm0: 1024x768 > wsdisplay0 at radeondrm0 mux 1: console (std, vt100 emulation), using > wskbd0 > wsdisplay0: screen 1-5 added (std, vt100 emulation) > > # pkg_info -mq > curl-7.34.0p0 > nano-2.2.6 > quirks-1.113 > wget-1.15 > # pkg_info -q > autoconf-2.63p0 > bzip2-1.0.6p0 > curl-7.34.0p0 > cyrus-sasl-2.1.26p10 > gettext-0.18.2p4 > gmake-4.0p0 > groff-1.22.2p4 > help2man-1.41.1p0 > libiconv-1.14p1 > libidn-1.28p0 > lua-5.2.3 > metaauto-1.0p1 > mysql-client-5.1.73v0 > nano-2.2.6 > pcre-8.33 > quirks-1.113 > wget-1.15

